FSIC Messageboard
  Tech Talk
  Interesting Damage Model Observation!

Post New Topic  Post A Reply
profile | register | preferences | faq | search

UBBFriend: Email This Page to Someone! next newest topic | next oldest topic
Author Topic:   Interesting Damage Model Observation!
Condor
Pilot
posted 11-02- 08:30 AM     Click Here to See the Profile for Condor   Click Here to Email Condor     Edit/Delete Message   Reply w/Quote
Hi all,

Any thoughts on this would be appreciated -
I am seeing unexpected origins for fire which I have not intentionally programmed. I don't understand exactly what is happening here but here are two possibilities(I am leaning toward possibility two:

Possibility one:
As you know the game engine starts engine fires under certain circumstances. I believe someone said at 50% damage, the engine can catch fire. Before I added my engine damage code, the engine fires were always at the center of the engine object.

It appears that now(after adding my damage code) the game engine may be starting the fire at the origin of the last SmokeTrail function processed by the higher level obDamage function.

I have a fuel leak process which creates a "fuel leak" smoke trail coming from the right exhaust manifold on the P51D. Once in a while in addition to the fuel leak smoke trail and a fuel leak noticeable on the fuel gauge, there is a small fire coming from the same origin as the fuel leak smoke trail. It is also the same diameter as the fuel leak smoke trail.

Possibility two:
I have a small fire function immediately following the fuel leak function. It appears the fire function starts the fire at the origin of the fuel leak function. This would seem to say that when the fuel leak and fire functions are called at the same time, the fire starts at the origin of the fuel leak smoke trail. If this is true, then placing the fire function in a different place would cause a fire in the origin of whatever smoke trail function preceeded it. It could also mean if you place the fire function last, it will start a fire at the origin of whatever was the last smoke trail function to be executed.

I know you could explicitly make the fire function have any origin if you code it properly. I like how this effect is working, but I just want to understand exactly why it is doing this.


Thanks,

Condor out

------------------

IP: Logged

Condor
Pilot
posted 11-05- 12:13 PM     Click Here to See the Profile for Condor   Click Here to Email Condor     Edit/Delete Message   Reply w/Quote
UPDATE:

Ok, for those interested, I have isolated the fuel leak function as the only possible damage and....
When damage level 1 is reached the fuel leak and fuel leak smoke is started. If no further damage is done to the engine the fuel leak will not catch on fire.

If further damage is received up to the point the sdoe game engine itself decides to start a fire, it starts the fire at the origin of the last smoke trail started.

Condor out

------------------

IP: Logged

Laika 801
Pilot
posted 11-07- 07:51 AM     Click Here to See the Profile for Laika 801     Edit/Delete Message   Reply w/Quote
I remember...I messed around with these too. Some time ago. Just make a search in the tech talk area.

LK801

IP: Logged

All times are CT (US)

next newest topic | next oldest topic

Administrative Options: Close Topic | Archive/Move | Delete Topic
Post New Topic  Post A Reply
Hop to:

Contact Us | Fighter Squadron Information Center

(This site Copyright (c) 1999 Inertia LLC)

Powered by Infopop www.infopop.com © 2000
Ultimate Bulletin Board 5.45c