Variable List

Freeform discussion about anything related to modding Transcendence.
Post Reply
Vachtra
Militia Commander
Militia Commander
Posts: 308
Joined: Tue Feb 16, 2010 2:03 am
Location: Texas
Contact:

The function list is great but I would like to see a variable list for all available variables and what they do exactly.
Technical terms would help.
Not saying for example that stealth armor makes it harder to see you but that perception= x means that you can't be seen unless they are x0 seconds away or closer or whatever it really is.
Note: I don't know if that's right or not but just throwing it out there.
"Have you guys ever watched the show?" ~ Guy
sdw195
Militia Captain
Militia Captain
Posts: 779
Joined: Wed Nov 18, 2009 1:01 am
Location: Still looking for the csc Antarctica
Contact:

form the function list

Transcendence Global Variables

gItem - is the item that the code it running on
gPlayer is the player (afaik you cant store data on this) used in (plychangeship gplayer newship)
gPlayerShip is teh player ship in any code
gSource is what space obj the code is running on
Image
Image
Image
Image
"Dash_Merc - George is a genius, in that he created this game engine that is infinitely extendable"
"<@sheepluva>Good night everybody, may the source be with you." <-- FOSG dev
"You only need THREE tools in life - WD-40 to make things go, Duct Tape to make things stop And C-4 to make things go away"
Vachtra
Militia Commander
Militia Commander
Posts: 308
Joined: Tue Feb 16, 2010 2:03 am
Location: Texas
Contact:

That was not quite what I was asking.
I want to know what variables are possible for the different weapons, armor, items, etc. that are out there.
For instance, weapons can have configuration = spread3.
Is there a spread5 or any other standard configurations?
Are these possibly attributes instead of variables?
"Have you guys ever watched the show?" ~ Guy
Drako Slyith
Fleet Officer
Fleet Officer
Posts: 1036
Joined: Wed Feb 03, 2010 4:28 am
Location: Researching how to make St. Kats star go supernova.
Contact:

I suggest looking through the base code or and/or mods to find out whatever variable you need.
Image
Image
Play in over 100 systems in a network. Play the 2011 Mod Of the Year
and the highest rated mod on Xelerus, The Network.
Play the July Mod of the Month, Fellow Pilgrims!
Play My other mods as well
(Drako Slyith)* I am a person
(Eliza chatbot)> Do you believe it is normal to be a person?
RPC
Fleet Admiral
Fleet Admiral
Posts: 2876
Joined: Thu Feb 03, 2011 5:21 am
Location: Hmm... I'm confused. Anybody have a starmap to the Core?

Events at the Wiki
Weapons at the Wiki
They have some hardcoded variables, but they aren't up to date. :(
Tutorial List on the Wiki and Installing Mods
Get on Discord for mod help and general chat
Image
Image
Der Tod ist der zeitlose Frieden und das leben ist der Krieg
Wir müssen wissen — wir werden wissen!
I don't want any sort of copyright on my Transcendence mods. Feel free to take/modify whatever you want.
Vachtra
Militia Commander
Militia Commander
Posts: 308
Joined: Tue Feb 16, 2010 2:03 am
Location: Texas
Contact:

Drako, I have looked through the transdata files but I'm only human and I know I miss a lot. Also, I don't like reinventing the wheel if it's already spinning and needs the tires to be replaced.

RPC, the weapons list of attributes, which is what I should have called this, is very helpful. Do you know of any new developments that aren't in the list?
I looked for similar descriptions for armor and devices and came up empty.

Thanks for the help.
"Have you guys ever watched the show?" ~ Guy
RPC
Fleet Admiral
Fleet Admiral
Posts: 2876
Joined: Thu Feb 03, 2011 5:21 am
Location: Hmm... I'm confused. Anybody have a starmap to the Core?

Um... lots. Check the changelog for most, if not all, changes.
The ones i can think out of the top of my head are:
1.06 adds both linkedFire="always" and firearcs (but mixing both does not yield a secondary turret... yet)
1.05 adds autoDefense devices (think ICX) can take targetCriteria.
In general, it helps to look at George's posts when he announces the new version.

And yeah, we need a way to link Xelerus, the wiki and the forums so that it doesn't take too much searching to find info.

I actually have no idea if there is a list of hardcoded variables for armor and devices :(
I'll post when I see it.
Tutorial List on the Wiki and Installing Mods
Get on Discord for mod help and general chat
Image
Image
Der Tod ist der zeitlose Frieden und das leben ist der Krieg
Wir müssen wissen — wir werden wissen!
I don't want any sort of copyright on my Transcendence mods. Feel free to take/modify whatever you want.
RPC
Fleet Admiral
Fleet Admiral
Posts: 2876
Joined: Thu Feb 03, 2011 5:21 am
Location: Hmm... I'm confused. Anybody have a starmap to the Core?

Yeah, that and I don't think that weapon devices page is linked to anything from the homepage O.O
I had to search for it.
I think reading this page gives all the hardcoded variables indirectly though.
Tutorial List on the Wiki and Installing Mods
Get on Discord for mod help and general chat
Image
Image
Der Tod ist der zeitlose Frieden und das leben ist der Krieg
Wir müssen wissen — wir werden wissen!
I don't want any sort of copyright on my Transcendence mods. Feel free to take/modify whatever you want.
User avatar
alterecco
Fleet Officer
Fleet Officer
Posts: 1658
Joined: Wed Jan 14, 2009 3:08 am
Location: Previously enslaved by the Iocrym

there is no complete list of all attributes to set on all the different classes that exist in transcendence. you will need to do quite a bit of searching and testing to compile the knowledge you are lookng for, Like RPC said, there is a good deal of information on the wiki, and the forums are always a treasure house but may require some sifting... In addition IRC is a very good place to get contact to people who you can ask questions directly.
User avatar
digdug
Fleet Admiral
Fleet Admiral
Posts: 2620
Joined: Mon Oct 29, 2007 9:23 pm
Location: Decoding hieroglyphics on Tan-Ru-Dorem

unfortunately, as alterecco said, we don't have a complete list.
For instance, weapons can have configuration = spread3.
Is there a spread5 or any other standard configurations?
I know for certain that spread2 spread3 and spread5 are working; spread4 is not working, but you can simulate it using configurations.
Post Reply