View Thread
Point Defense Systems » Support for our Releases » Coding / Scripting Support
 Print Thread
Ion Trails and fighters
Dafeaz
Quick question: is there a way to remove ion engine trails from the fighters, yet keep them on guided munitions?

Many thanks.
http://www.nationstates.net/feazanthia

Resident forum lurker, no coding or modeling skills required!
Turnin' Battle Barges to swiss cheese and lookin' good doin' it.
 
SRI-Sajuuk
Yes there is. at the end of every ship with a trail. theres a code that mentions the use of a particular trail. remove that code and it wont load a trail. im not home right now, so io cant experiment.
 
Sky_walker
Star Wars Warlords has got it - Proton torpedoes has got trials, when fighters don't. So it's sure it can be done.
Encyclopedia Hiigara Administrator

images.wikia.com/homeworld/images/c/cb/Userbar_1.gif
 
TelQuessir
Set the ship's trail to duration 0 (its the second number in the SetTrails line - open the .ship file in notepad.

I believe after the first time modding something like that you'll find it very easy to customise HW2.
 
Dafeaz
Alright. So I should change something that looks like this...


setEngineTrail(NewShipType,0,0,"trail_ribbon.tga",0.1,0.5,0.025,2)
setEngineTrail(NewShipType,1,0,"trail_ribbon.tga",0.1,0.5,0.025,2)


to something like this...


setEngineTrail(NewShipType,0,0,"trail_ribbon.tga",0.1,0.5,0.025,2)
setEngineTrail(NewShipType,0,0,"trail_ribbon.tga",0.1,0.5,0.025,2)


Or should I just delete "trail_ribbion.tga"?
http://www.nationstates.net/feazanthia

Resident forum lurker, no coding or modeling skills required!
Turnin' Battle Barges to swiss cheese and lookin' good doin' it.
 
TelQuessir
Eh, you don't need to delet anything.

"setEngineTrail(NewShipType,0,0,"trail_ribbon.tga",0.1,0.5,0.025,2)
setEngineTrail(NewShipType,1,0,"trail_ribbon.tga",0.1,0.5,0.025,2)"

This example already has no trails because its duration is 0. That is the second value.
 
Jump to Forum