Home   Help Search Login Register  

Author Topic: burning and exploding fuel barrels script  (Read 3161 times)

0 Members and 1 Guest are viewing this topic.

Offline johnnyboy

  • OFPEC Patron
  • ****
  • Matan los Pantalones!!!
burning and exploding fuel barrels script
« on: 17 Dec 2004, 19:17:42 »
I've had a lot of fun with this one.   When you shoot barrels to half damage, they begin to burn, then explode a few seconds later (like HL2 barrels).  When barrels clustered together, it causes a very cool chain reaction:  When barrel explodes, it causes nearby barrels to burn/explode, etc.

You also pass in an array of soldier groups that you want to burn if the unit is within 10 meters of an exploding barrel.  I realize it would be cleaner to just find any unit within 10 meters of an exploding barrel, but that was a bit too complicated for me...

Any feedback would be welcome.  Especially how to make this work better for multi-player (the barrles explode on all clients, but not all players can see the fires?).

Unzip the attached file to your User Missions directory, and then run it via Mission Editor Preview.

Enjoy.

P.S.  Credit goes to GeneralBarron for his fireEffect.sqs script.  I use that one alot!
« Last Edit: 17 Dec 2004, 22:34:25 by johnnyboy »
El Cojon: "Do you like to Tango?"
You: "Only in Bagango."
Download Last Tango in Bagango and discover how El Cojon earned his name...

bored_onion

  • Guest
Re:burning and exploding fuel barrels script
« Reply #1 on: 17 Dec 2004, 21:27:02 »
requires an addon that i dont have : "KEGrpg7"

if the unit isnt in the mission then delete the entry from the sqm file

Offline johnnyboy

  • OFPEC Patron
  • ****
  • Matan los Pantalones!!!
Re:burning and exploding fuel barrels script
« Reply #2 on: 17 Dec 2004, 22:35:41 »
Sorry for wasting your time onion.  I removed the addon, and the attachment in the frist post should now be clean (no addons).
El Cojon: "Do you like to Tango?"
You: "Only in Bagango."
Download Last Tango in Bagango and discover how El Cojon earned his name...

Offline The-Architect

  • Former Staff
  • ****
  • Bite my shiny metal...
    • Bob's Un-official Flashpoint Page
Re:burning and exploding fuel barrels script
« Reply #3 on: 19 Dec 2004, 09:58:27 »
I like it and I'm gonna use it in my latest project.  ;D
James Andrew Wilkinson 1977 - 2005 R.I.P.
"If it ain't the friggin' incoming it's the friggin' outgoing. Only difference is who gets the friggin' grease, and that ain't no friggin' difference at all."

Offline penguinman

  • Contributing Member
  • **
  • Money is worthless, just paper, ink, and threads
Re:burning and exploding fuel barrels script
« Reply #4 on: 31 Dec 2004, 02:09:20 »
its a lot of fun, i like it.


Seabiscuit

  • Guest
Re:burning and exploding fuel barrels script
« Reply #5 on: 02 Feb 2005, 09:02:37 »
Very nice but I did get one error once the barrels blow up:

typeof |#|_obj == "logic"

Wonder if it's possible to have units in the area to either run away when they're on fire or try to put the barrels out somehow.

I especially liked the burning piles left after the explosion.

SB...

Re: burning and exploding fuel barrels script
« Reply #6 on: 30 Jun 2014, 00:15:58 »
I don't see where to download the script?

Offline Gruntage

  • Missions Depot
  • Administrator
  • *****
  • How do I get outta this chickensh*t outfit?
Re: burning and exploding fuel barrels script
« Reply #7 on: 30 Jun 2014, 20:34:52 »
As this thread is about 10 years old, it's likely that the download link was removed. However, there may some particle effects scripts in the editors' depot which fit your needs.
"But one thing I can tell you from not just OFP but life in general:  criticism is directly proportional to quality. The more criticism a mission receives, the better the outcome" - macguba