New Damage Types/Effects

Freeform discussion about anything related to modding Transcendence.
Post Reply
User avatar
catfighter
Militia Commander
Militia Commander
Posts: 466
Joined: Fri Nov 08, 2013 5:17 am
Location: Laughing manically amidst the wreckage of the Iocrym fleet.

Is it possible to add new damage types? (beyond laser, kinetic, etc.)

Also, can you add new effects? (by effects I mean mining, disintegration, momentum, etc.)

I am unable to find the code for these in the main file, so I can't teach myself to read them, let alone write them. I am making many weapon mods and I thought it would be cool to create my own damages.
Behold my avatar, one of the few ships to be drawn out pixel by pixel in the dreaded... Microsoft Paint!

Day 31: "I have successfully completed my time reversal experiment! Muahahaha!!!"
Day 30: "I might have run into a little problem here."
User avatar
digdug
Fleet Admiral
Fleet Admiral
Posts: 2620
Joined: Mon Oct 29, 2007 9:23 pm
Location: Decoding hieroglyphics on Tan-Ru-Dorem

In a simple way, no, you can't add new damage types. They are hardcoded, so you won't find code for them in the xmls.

In a hard way, you could simulate a new damage type with custom damage reductions using "generic" damage type and weapon events. Definitely possible.
EditorRUS
Militia Lieutenant
Militia Lieutenant
Posts: 148
Joined: Tue Oct 30, 2012 6:30 pm

Third way: download the source code and change the game.
User avatar
catfighter
Militia Commander
Militia Commander
Posts: 466
Joined: Fri Nov 08, 2013 5:17 am
Location: Laughing manically amidst the wreckage of the Iocrym fleet.

Where would I get the source code? I didn't see any links on the main page and my computer can't read any of the stuff from the game except the XML.
Behold my avatar, one of the few ships to be drawn out pixel by pixel in the dreaded... Microsoft Paint!

Day 31: "I have successfully completed my time reversal experiment! Muahahaha!!!"
Day 30: "I might have run into a little problem here."
User avatar
Atarlost
Fleet Admiral
Fleet Admiral
Posts: 2391
Joined: Tue Aug 26, 2008 12:02 am

Beware that if you try to edit the source you will probably have a great deal of difficulty compiling it. Transcendence uses an old version of DirectX for which the headers are no longer readily available.

You also may have trouble distributing your mod as it is now an executable and people are less likely to download something that requires a second game installation.
Literally is the new Figuratively
Post Reply