Changing current system via script?
Posted: Sat Mar 19, 2011 9:16 am
Hi,
Can any of the scripting guru's or developers advise if it's possible to change the current system via script - i.e. by changing the planet_number or similar.
Warning - I'm very much a newbie to scripting.
I'm trying to make a small OXP that when loaded will make a new 'Jameson' spawn in a different system (and possibly not in the main station) and with a different ship,equipment,credits (and backstory but that's something else). I can do the 2nd bit, but am stuck on the first.
Eventual aim would be to have a set of OXP's for various new Jameson scenarios for peeps to choose from (e.g. rogue cop - starts as a fugitive in a stolen viper , trader - inherits the family python from dad, escaped slave - starts in a rockhermit in a stolen sidewinder etc etc....)
I've tried this little code snippet as a script.plist which doesn't work (I didn't expect it to work to be honest cos I don't think set: planet_number is valid).........
Can any of the scripting guru's or developers advise if it's possible to change the current system via script - i.e. by changing the planet_number or similar.
Warning - I'm very much a newbie to scripting.
I'm trying to make a small OXP that when loaded will make a new 'Jameson' spawn in a different system (and possibly not in the main station) and with a different ship,equipment,credits (and backstory but that's something else). I can do the 2nd bit, but am stuck on the first.
Eventual aim would be to have a set of OXP's for various new Jameson scenarios for peeps to choose from (e.g. rogue cop - starts as a fugitive in a stolen viper , trader - inherits the family python from dad, escaped slave - starts in a rockhermit in a stolen sidewinder etc etc....)
I've tried this little code snippet as a script.plist which doesn't work (I didn't expect it to work to be honest cos I don't think set: planet_number is valid).........
Code: Select all
{
alt_start_up = (
{
conditions = (
"gui_screen_string equal GUI_SCREEN_INTRO2"
);
do = (
"set: planet_number 8"
);
}
)
}