Page 1 of 1

Base.LoadBaseInterface

Posted: Wed Nov 12, 2008 12:31 pm
by dagg
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?

Re: Base.LoadBaseInterface

Posted: Wed Nov 12, 2008 12:50 pm
by pyramid
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

Re: Base.LoadBaseInterface

Posted: Wed Nov 12, 2008 1:39 pm
by dagg
right, miss that, thanks for the info