[Solved] What is startingShipCriteria?

Freeform discussion about anything related to modding Transcendence.
Post Reply
User avatar
Periculi
Fleet Officer
Fleet Officer
Posts: 1282
Joined: Sat Oct 13, 2007 7:48 pm
Location: Necroposting in a forum near you

And how is it used?
Last edited by Periculi on Mon Nov 29, 2010 5:58 pm, edited 1 time in total.
User avatar
Arisaya
Fleet Admiral
Fleet Admiral
Posts: 5535
Joined: Tue Feb 05, 2008 1:10 am
Location: At the VSS Shipyards in the frontier, designing new ships.

Basically you use it to specify what playable ships you want to include or exclude from being seletable.
Both allows for ships you can only buy later in the game, as well as for locking out ships from other adv. ext. or vanilla.
(shpOrder gPlayership 'barrelRoll)

<New tutorials, modding resources, and official extension stuff coming to this space soon!>
User avatar
Periculi
Fleet Officer
Fleet Officer
Posts: 1282
Joined: Sat Oct 13, 2007 7:48 pm
Location: Necroposting in a forum near you

Could you example me with a 'startingShipCriteria="xxx"' so that I can see how it is used?
User avatar
Arisaya
Fleet Admiral
Fleet Admiral
Posts: 5535
Joined: Tue Feb 05, 2008 1:10 am
Location: At the VSS Shipyards in the frontier, designing new ships.

ok, so, you have a playable ship with an attribute of "sandboxPlayership" and another with "Part1Playership". And you only want the sandbox playerships to show, because this is the sandbox adv. extension, so you would have for the startingShipCriteria="+sandboxPlayership -Part1Playership"

NOTE: I'm doing this all from memory, so I may have made some major mixups along the way ... >.> I'm pretty sure it's accurate though.
I just wrote a 50,006 word novel for NaNoWriMo XD
(shpOrder gPlayership 'barrelRoll)

<New tutorials, modding resources, and official extension stuff coming to this space soon!>
User avatar
Star Weaver
Militia Commander
Militia Commander
Posts: 311
Joined: Sun Nov 07, 2010 10:20 pm
Location: . . . between the stars and the warm black sky . . .

There's also an example in Transcendence.xml; near <AdventureDesc
User avatar
alterecco
Fleet Officer
Fleet Officer
Posts: 1658
Joined: Wed Jan 14, 2009 3:08 am
Location: Previously enslaved by the Iocrym

Yeah, as it stands right now, if you tag a playership that has the initialClass="true" with the attribute "notInPartI" then it wont show up in the initial ship selection screen of the vanilla adventure. It will however show up in any other adventure that does not exclude based on the same attribute.
User avatar
Arisaya
Fleet Admiral
Fleet Admiral
Posts: 5535
Joined: Tue Feb 05, 2008 1:10 am
Location: At the VSS Shipyards in the frontier, designing new ships.

Yeah, so my memory was right. ^^
(shpOrder gPlayership 'barrelRoll)

<New tutorials, modding resources, and official extension stuff coming to this space soon!>
User avatar
Periculi
Fleet Officer
Fleet Officer
Posts: 1282
Joined: Sat Oct 13, 2007 7:48 pm
Location: Necroposting in a forum near you

Much clearer now, thanks everyone. :)
User avatar
ThePrivateer
Militia Captain
Militia Captain
Posts: 943
Joined: Tue Oct 12, 2010 5:12 am
Location: Starton Australia

alterecco wrote:Yeah, as it stands right now, if you tag a playership that has the initialClass="true" with the attribute "notInPartI" then it wont show up in the initial ship selection screen of the vanilla adventure. It will however show up in any other adventure that does not exclude based on the same attribute.
That will help me a lot in Hell's Trinity! Thanks alterecco! ;)
Post Reply