Station attributes

Freeform discussion about anything related to modding Transcendence.
Post Reply
User avatar
LordSutekh
Commonwealth Pilot
Commonwealth Pilot
Posts: 87
Joined: Sat Mar 20, 2010 9:36 pm
Location: Bedlam

What do the entries on the attributes tag in StationType actually do? I mean, it's nice to know that a Ringers Shipyard is populated, but does that actually do anything?
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.

Yes; its used to determine stuff like station positions, and various other scripts
(shpOrder gPlayership 'barrelRoll)

<New tutorials, modding resources, and official extension stuff coming to this space soon!>
User avatar
LordSutekh
Commonwealth Pilot
Commonwealth Pilot
Posts: 87
Joined: Sat Mar 20, 2010 9:36 pm
Location: Bedlam

I thought station positions were defined in the levelFrequency and locationCriteria. Stars are actually a StationType and their attribute tag just says "star." Is there really a script somewhere that looks for every station with "star" in the attributes and does something with that information? Or could I change the attribute to "one-eyed monster wearing purple dress?"
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.

well, they location criteria use the attributes to help determine position relative to planets & other stations, from what I can tell.
(shpOrder gPlayership 'barrelRoll)

<New tutorials, modding resources, and official extension stuff coming to this space soon!>
User avatar
LordSutekh
Commonwealth Pilot
Commonwealth Pilot
Posts: 87
Joined: Sat Mar 20, 2010 9:36 pm
Location: Bedlam

Well, then, I guess my question is- how? If I make an extension replacing stO-TypeStar and change

Code: Select all

attributes= "star"
to

Code: Select all

attributes= "planet"
what will happen?
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.

You'd likely have some +InnerSystem stations spawning nearby to the star
(shpOrder gPlayership 'barrelRoll)

<New tutorials, modding resources, and official extension stuff coming to this space soon!>
User avatar
LordSutekh
Commonwealth Pilot
Commonwealth Pilot
Posts: 87
Joined: Sat Mar 20, 2010 9:36 pm
Location: Bedlam

Ah ha! :idea:

So if I made up my own attribute, it would have no effect, because the game wouldn't know what "one-eyed monster wearing purple dress" meant, right?
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; you would have to have a station who's location criteria specifically asks for a preference or aversion to "long thingy that you said"
(shpOrder gPlayership 'barrelRoll)

<New tutorials, modding resources, and official extension stuff coming to this space soon!>
User avatar
alterecco
Fleet Officer
Fleet Officer
Posts: 1658
Joined: Wed Jan 14, 2009 3:08 am
Location: Previously enslaved by the Iocrym

In general the attributes can be used to associate some data with a station. This data can then be used to filter out anything but those stations later (in different ways. You can use scripts or some built in facilities for this)
Post Reply