Editing damage details

Freeform discussion about anything related to modding Transcendence.
Post Reply
Kustodiev
Anarchist
Anarchist
Posts: 3
Joined: Mon Nov 21, 2011 3:43 pm

I am trying to create a mod to destroy the planets and so far I got the next issues:

-I cannot find a way to edit the damage details, I don't find where is specified for a Station or ship to get the damage. I want to edit the image to create something like lava and that when the planet is destroyed gets this details. Now looks like I have metallic planets :D
-It is a bit difficult to calculate the mass of the planet so it moves slightly with big weapons. There is a relation momentum/mass some where?

Any help you can offer will be appreciated.
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?

Try using a <hiteffect> in the events of your weapon. (You can look at the wiki for some help with events)
As for momentum, the max value is 7, so I'm unsure if any weapon can move a planet. More script will probably be necessary.
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.
sdw195
Militia Captain
Militia Captain
Posts: 779
Joined: Wed Nov 18, 2009 1:01 am
Location: Still looking for the csc Antarctica
Contact:

make a ship with the image of the planet with no thrust and orders to hold where the plant is, add the mass of the planet and you got a moveable planet with all the math done form you
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"
Kustodiev
Anarchist
Anarchist
Posts: 3
Joined: Mon Nov 21, 2011 3:43 pm

For example if I take this planet: stHydrogenGasGiant

I add the following lines, like is a ship or station, and the planet moves and gets destroyed.

hitPoints= "250000"
explosionType= "&vtThermoExplosion2;"
multiHull= "true"
mobile= "true"
mass= "130000"
armorID= "&itCeramicPlate;"

I put quite a high mass because even with a momentum2 or 3 it was moving quite easily, that I could move a planet like 50 or so of distance.
It would be great to be able to target the planet, at least to see how much life left has, but if I take the scale="world" the planet wouldn't appear in the map. So I couldn't find in the wiki or in mods how to target a planet without faking it with a ship.
Post Reply