Home   Help Search Login Register  

Author Topic: Boom!  (Read 667 times)

0 Members and 1 Guest are viewing this topic.

Offline Insanoblan

  • Members
  • *
  • Look! Im a chicken Marge!
Boom!
« on: 12 Sep 2004, 05:07:41 »
Hey there fellers. I am trying to figure out how to make it so that I can make a car (lets call it carguy) explode when he enters the trigger. What do I type in the on activation field to make a satchel charge explosion take place under the car once it hits the trigger? Also, in an alternative solution, how can i make it camcreate a satchel explosion at a game logic once it enters the trigger?
« Last Edit: 12 Sep 2004, 05:09:10 by Insanoblan »
Hey kid, wanna see a dead body!?

Offline Blip

  • Members
  • *
  • ...Old OFP FART...
Re:Boom!
« Reply #1 on: 12 Sep 2004, 08:30:38 »
Hey Insanoblan,

Check out this script by GuiltyRoachKiller:

http://www.ofpec.com/editors/resource_view.php?id=677 (ftp://http://www.ofpec.com/editors/resource_view.php?id=677)

I think its what you are looking for.

Blip  :joystick:
...NIGHT WALKER....

Offline ryankaplan

  • Members
  • *
  • yeah...
Re:Boom!
« Reply #2 on: 12 Sep 2004, 12:05:22 »
another thing you can do is (this was taught by macguba to me):
select activated by anybody present
in the condition field of the trigger put:
this && "land" counttype thislist > 0  
and in the on activation field put
explo1 = "Heat125" camcreate [getpos (thislist select 0) select 0, getpos (thislist select 0) select 1, 0.1]

this will blow up any land units (men, armour, APCs, cars, Trucks) when they get in to the trigger.

or if you just want cars  to blow up change the "land" to "car" which will blow up all jeeps, cars and trucks and the tractor but won't touch anything else.

Oh and don't forget to set it to repeatedly, otherwise it will only happen once and won't happen again. unless that's hat you want. hope this helps.

ryan out

Offline Insanoblan

  • Members
  • *
  • Look! Im a chicken Marge!
Re:Boom!
« Reply #3 on: 12 Sep 2004, 16:12:20 »
Alright that works great, but how would I camcreate an lgb/gbu/whateverthef*ck a10 bomb explosion instead of a heat125?

I just dont know the technical name for it
Hey kid, wanna see a dead body!?

PsyWarrior

  • Guest
Re:Boom!
« Reply #4 on: 12 Sep 2004, 23:32:48 »
Greetings,

The A10's LGB munition is:
LaserGuidedBomb  ::)

So:
boom = "LaserGuidedBomb" camCreate getpos unitName

Warning! LaserGuidedBomb explosions are probably the largest stock OFP explosions. Stay well away while observing.

-Supr. Cmdr. PsyWarrior
-Psychic Productions