Base.LoadBaseInterface

For collaboration on developing the mod capabilities of VS; request new features, report bugs, or suggest improvements

Moderator: Mod Contributor

Base.LoadBaseInterface

Postby dagg » Wed Nov 12, 2008 5:31 am

I'm trying to write an main menu for vegatrek, in the vegastrike main_menu.mission I see this entry:
Code: Select all
   <python>
import Base
import Director

Base.LoadBaseInterface("main_menu")

from privateer import privateer
my_obj=privateer(8000,40000,500,3,2,.6,.25,.1,400000,2000)

   </python>

now I'm sure that this controls the menu creation, but I cant seems to find any python reference to them, where can I find them?
dagg
Bounty Hunter
Bounty Hunter
 
Posts: 138
Topics: 26
Joined: Thu May 22, 2008 1:53 am

Share On:

Share on Facebook Facebook Share on Twitter Twitter Share on Digg Digg

Re: Base.LoadBaseInterface

Postby pyramid » Wed Nov 12, 2008 5:50 am

What you are looking for might be the current main menu in \bases\main_menu.py
The Base and Director classes are coded in C++, though you might find a reference to Director in \modules\stub\Director.py
User avatar
pyramid
Expert Mercenary
Expert Mercenary
 
Posts: 960
Topics: 44
Joined: Wed Jun 14, 2006 6:02 pm
Location: Somewhere in the vastness of space

Re: Base.LoadBaseInterface

Postby dagg » Wed Nov 12, 2008 6:39 am

right, miss that, thanks for the info
dagg
Bounty Hunter
Bounty Hunter
 
Posts: 138
Topics: 26
Joined: Thu May 22, 2008 1:53 am


Return to Modding Engine Room

Who is online

Users browsing this forum: No registered users and 2 guests

cron