Looking for two pieces of code.

Freeform discussion about anything related to modding Transcendence.
Post Reply
User avatar
Resident-Pyromaniac
Militia Lieutenant
Militia Lieutenant
Posts: 207
Joined: Sun Feb 27, 2011 5:11 pm
Location: Looting the Wreck of the CSC terra.

I would like to see two seperate pieces of code:

First, the Radiation Effect.

Second, the Heretic Rad Cloud.

I was wondereing if anyone knew how to modify and/or replicate these pieces of code.
If Transcendence was made in 3D, I would die of Happiness.



If you are reading this, then I have planted a deadly virus into your CPU. (not really, but you can never be too careful.)
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:

Your two best friends: The TDB file and [ctrl]+[f] :D
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?
User avatar
digdug
Fleet Admiral
Fleet Admiral
Posts: 2620
Joined: Mon Oct 29, 2007 9:23 pm
Location: Decoding hieroglyphics on Tan-Ru-Dorem

First, the Radiation Effect.
the radiation effect itself (the green glow) is hardcoded, AFAIK.
you can apply it to ships using a weapon with radiation attribute
or by using the function (shpMakeRadioactive ship)

you can probe a ship for radioactivity using (objIsRadioactive obj)

and you can remove the radioactivity using (shpDecontaminate ship)
Second, the Heretic Rad Cloud.
do you mean the old green glow that was around Heretic stargate before 1.0 ?
that is a <Particles> effect that has been removed but the debris image itself is still included in the resources:
<Image imageID="&rsDebris1;" imageX="0" imageY="32" imageWidth="0" imageHeight="0" imageFrameCount="8" imageTicksPerFrame="4"/>

I don't know if the old <particles> is still working but here is a general code you can put in a station satellites:

Code: Select all

<Satellites>

	<Orbitals distance="0" scale="light-second" angle="random">
						
							<Particles 
									name=		"radiation field"
									count=		"1200"
									radius=		"2"
									dampening=	"50"
									minRadius=	"0"
									damage=		"plasma:22d4; WMD7"
									canhitsource=	"false"
									passthrough=		"100"
									>

								<Image imageID="&rsDebris1;" imageX="0" imageY="32" imageWidth="0" imageHeight="0" imageFrameCount="8" imageTicksPerFrame="4"/>
							</Particles>
				
					</Orbitals>
					</Satellites>
Post Reply