• There seems to be an uptick in Political comments in recent months. Those of us who are long time members of the site know that Political and Religious content has been banned for years. Nothing has changed. Please leave all political and religious comments out of the forums.

    If you recently joined the forums you were not presented with this restriction in the terms of service. This was due to a conversion error when we went from vBulletin to Xenforo. We have updated our terms of service to reflect these corrections.

    Please note any post refering to a politician will be considered political even if it is intended to be humor. Our experience is these topics have a way of dividing the forums and causing deep resentment among members. It is a poison to the community. We appreciate compliance with the rules.

    The Staff of SOH

  • Server side Maintenance is done. We still have an update to the forum software to run but that one will have to wait for a better time.

Question On .fx Files

dvslats

Charter Member
Hi All, I've been messing around with some Ships .dp files to make them look good when they get blowed up. Had a few good results and a couple of real laughfers...like a burnt earth texture showing up behind the stern of the boat. But the actual question I have is...do some of the .fx files subtract life points from a vessel once they are called up? Similar to how engfire_l.fx goes through systems on a aircraft once it's in play...causing it to sink sooner. I'm trying to make sence of the info in the .fx files. Two examples below, the 1st is the starting block of engstrt.fx. Very little going on there. The 2nd is also the starting block of data, but for ship_fire_l.fx. Lots of stuff there. Any clues as to the meaning of all the lines in the 2nd example? This has always ben a mystery to me. :ques:

(fx_engstrt.fx)
[Library Effect]
Lifetime=5
Version=1.00


(fx_ship_fire_l.fx)
[Library Effect]
Lifetime=15
Version=1.00
Damage=1
Hitpoints=75.00, 100.00
Magnitude=20000.00, 20000.00
Time=0.30, 0.30
Range=200.00, 300.00
Fire=1
Fire Delay=5.00
 
Any clues as to the meaning of all the lines in the 2nd example? This has always ben a mystery to me. :ques:

Most of it is a mystery to me too. I just usually adjust and fire for effect.:d

I do think that Lifetime is how long the effect stays active in seconds. But if it were 0 (zero), CFS2 will not end the effect..it will always be be displayed.

Oops! I think I was thinking of the Lifetime in the Emitter section of the effect file, so not really sure about the Lifetime in the Library Effect section.
 
That SDK is perfect Oglivie! Just what the Doctor ordered. :woot: The contents of the website is a little gold mine. Thanks for keeping this post in mind. :ernae:
 
Back
Top