OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Rubble_Maker on 28 Aug 2002, 13:12:31

Title: Ammo Explosion
Post by: Rubble_Maker on 28 Aug 2002, 13:12:31


[attachment deleted by admin]
Title: Re:Ammo Explosion
Post by: Davies1 on 28 Aug 2002, 14:12:02
thats some good shit right there mate :D
Title: Re:Ammo Explosion
Post by: Stalker on 28 Aug 2002, 18:30:12
How to activate this script in a mission ? When i pasted the test mission in the editor in didn't work. Also when I somehow managed to get it work (some script editing) it said that there is an error. But the demo mission works normally !!! Also I think the final explosion is too big. You should use LGB for it. Make it smaller. And please create the same script for a fuel truck.
Title: Re:Ammo Explosion
Post by: Bomberman on 29 Aug 2002, 01:19:06
OMFG! this script is goin in my mission. with your permision of course.
Title: Re:Ammo Explosion
Post by: Rubble_Maker on 29 Aug 2002, 16:45:22
Permission granted ;)
Title: Re:Ammo Explosion
Post by: Stalker on 29 Aug 2002, 16:55:02
So will you modify it ? Remove the last really BIG explosion. And what about that error ? It sais that there is an error in this line :drop ["cl_fire", "", "Billboard", 1, 1.5, [(getpos _posDrop select 0),(getpos _posDrop select 1),(getpos _posDrop select 2)+2], [(_velocity select 0) + random 0.3, (_velocity select 1) + random 0.3, (_velocity select 2) + random 0.3], 1, 0.004, 0.004, 0.1, [(0.1 + 0.2 * _lifeTick/_lifeTicks) * _intensity, (0.1 + 0.2 * _lifeTick/_lifeTicks) * _intensity, (0.1 + 0.1 * _lifeTick/_lifeTicks) * intensity], [[1,1,1,0], [1,1,1,1], [1,1,1,0.6], [1,1,1,0]], [0,1,0], 0.5, 0.05, "", "", _object]
Title: Re:Ammo Explosion
Post by: Rubble_Maker on 29 Aug 2002, 21:59:20
No I will not modify anything. Removing the last explosion shouldnt be a real hardship for you.
Why you getting this error I cant say. You prolly pass a invalid object ID to the script. Plz try to figure it out yourself.
Title: Re:Ammo Explosion
Post by: Bomberman on 29 Aug 2002, 23:08:45
i removed tha last explosion ans made it a heat shell instead. aldo, i got rid of the green and blue colored lights and made those the flying fireballs instead.
i just want to congradulate Rubble_Maker for owning with this script. (http://www.attrition.org/gallery/computing/forum/go_you.gif) im using the script as the grand finale explosion in my mission when you blow up a hangar full of gas barrels and fuel trucks in houdan. BWHAHAHAHAH!  this is a really cool script dude. MAKE MORE LIKE THIS! add different effects, do something.  cheers

Scott

oh one question: if i want to make it so a bmp called blowbmp, blows up and have it shoot fireballs in the air, do i type in [blowbmp] exec "fireworks.sqs" ???
Title: Re:Ammo Explosion
Post by: Rubble_Maker on 30 Aug 2002, 00:25:18
I think its [(getpos bmp)] exec "fireworks.sqs"