startingSystem and startingPos code query

Freeform discussion about anything related to modding Transcendence.
Post Reply
relanat
Militia Captain
Militia Captain
Posts: 941
Joined: Tue Nov 05, 2013 9:56 am

I would like to have one version of the Scorpion GodPlayership for all the adventures; SOTP, VOTG and EP.

I've worked out the libraries and playership attributes needed but am struggling with the startingSystem and startingPos code in <PlayerSettings>.

The way to go would be a switch function which checked the adventureDesc or extension and set the System and Pos accordingly.

But I can't get the code to work inside startingSystem=.

Will code work in there? I've tried (typFind 'a) and (typGetProperty unid 'extension) but have only generated errors so far.

Any help greatly appreciated.

The ship still works in the adventures but starts at the system center instead of the startingPos. This makes it impossible to dock with the Deliverance in VOTG because it takes off if you don't start within 60ls of it.
Stupid code. Do what I want, not what I typed in!
shanejfilomena
Fleet Officer
Fleet Officer
Posts: 1533
Joined: Tue Mar 22, 2011 8:43 pm
Location: Alaska
Contact:

Starting Class ships are supposed to start at the designated "Start" position ( such as the Sisters in Eridani ) in the system that carries that marker ( unless otherwise instructed to pop into another system, at which case it will show up near the star. ( usually ))
Flying Irresponsibly In Eridani......

I don't like to kill pirates in cold blood ..I do it.. but I don't like it..
Post Reply