Home   Help Search Login Register  

Author Topic: Ultimate fire script  (Read 934 times)

0 Members and 1 Guest are viewing this topic.

pazuzu

  • Guest
Ultimate fire script
« on: 20 Mar 2005, 02:10:31 »
Has anyone here used the Utimate fire script by Igor Drukov?

I'm trying to use it in a mission I'm making & I keep getting this bug where smoke & flames surround me & wont go away.

It works for most of the mission but then always at some point I start getting this bug.

Anyone familiar with this?


Thanks.
« Last Edit: 20 Mar 2005, 04:18:06 by pazuzu »

AK-Chester

  • Guest
Re:Ultimate fire script
« Reply #1 on: 20 Mar 2005, 13:35:02 »
...smoke & flames surround me & wont go away.
Any drugs involved?
 ;D
Sorry, I can't help ya, I never used that script.
Sounds interesting though, I might (should) check it out.

pazuzu

  • Guest
Re:Ultimate fire script
« Reply #2 on: 20 Mar 2005, 20:26:40 »
LOL, no unfortunately I cant blame it on drug use....hmm that might be the answer though...

Its a very cool script when it works. The fire & smoke look very real.

AK-Chester

  • Guest
Re:Ultimate fire script
« Reply #3 on: 21 Mar 2005, 20:19:27 »
Hmm indeed. I just had a look at the script (nice one, seems to work fine here) but I didn't find anything in it that would cause a result like you mentioned it... if the script is executed correctly, that is.

Maybe you should give more details on how (exactly) you're using it... (?)

pazuzu

  • Guest
Re:Ultimate fire script
« Reply #4 on: 21 Mar 2005, 20:36:08 »
I just made a trigger for each plane I used it on.


For condition I put: "(damage mig1) > .7".

Without the quotes...

For Activation I put: "[mig1,[0,-9.6,0],0.5] exec "UltimateFire.sqs"

mig1 is the enemy plane & there are 20 of them total.

Could it be that it cant be used for more than one vehicle?

Maybe 20 is too many?

I also tried adjusting the size of fire from 0.2 to 5

& I changed the height which in the demo mission was set to look like a tail rotor fire & then a rocket on fire...I made it so it trailed out the back of planes.

Did you try it for more than one vehicle?

Sometimes it takes a while for this bug to happen....I can be 3/4 of the way through the mission(30min or so) & then I get ingulfed by smoke & fire.

Maybe my house is on fire... ;)


Thanks for the help.

AK-Chester

  • Guest
Re:Ultimate fire script
« Reply #5 on: 22 Mar 2005, 17:38:32 »
Ok, I just had another look at it... and nope, the way it is set up now, you shouldn't use this script with more than one vehicle (at a time). Reason: there's a global variable in it (stopfire) that'll affect ALL vehicles that are using this script. I still don't get how this could cause results like the one you described above though (never ending smoke and fire around the player).

Anyway, to use this script with multiple vehicles (again: at the same time) you'd have to change it, make that variable local (just change all instances of "stopfire" to "_stopfire" - without quotes, indeed). That should solve most issues, but... of course... it'll also remove the ability to stop the script from "outside" (other scripts, triggers, etc).