Base.LoadBaseInterface

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

Moderator: Mod Contributor

Post Reply
dagg
Bounty Hunter
Bounty Hunter
Posts: 138
Joined: Thu May 22, 2008 8:53 am

Base.LoadBaseInterface

Post 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?
pyramid
Expert Mercenary
Expert Mercenary
Posts: 988
Joined: Thu Jun 15, 2006 1:02 am
Location: Somewhere in the vastness of space
Contact:

Re: Base.LoadBaseInterface

Post 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
dagg
Bounty Hunter
Bounty Hunter
Posts: 138
Joined: Thu May 22, 2008 8:53 am

Re: Base.LoadBaseInterface

Post by dagg »

right, miss that, thanks for the info
Post Reply