Home   Help Search Login Register  

Author Topic: Camcreating bombs  (Read 1741 times)

0 Members and 1 Guest are viewing this topic.

SimonRussi

  • Guest
Camcreating bombs
« on: 06 Sep 2002, 12:23:38 »
I use the camcreate trick to create explosions.

bomb= "..." camcreate [_x, _z, 0]

i tried various types of bombs: it works with SHELL's and HEAT's and SmokeShell. It doesn't work with HandGrenade, GrenadeLauncher, PipeBombs and Flares. Why? Is there a trick or something to use HandGrenades?

Offline icarus_uk

  • Members
  • *
  • LiarLiarPants Inflame True
    • [furryclan]
Re:Camcreating bombs
« Reply #1 on: 06 Sep 2002, 13:09:03 »
You need the names right.

Grenade works.  HandGrenade works as well.  And SmokeShell, SmokeShellRed, SmokeShellGreen.  If you camcreate a satchel charge you cant then set it off, so you need some clever faking way if you want to use a satchel.

Offline Davies1

  • Members
  • *
  • Bugger this for a game of soldiers!
Re:Camcreating bombs
« Reply #2 on: 06 Sep 2002, 13:24:58 »
what i do is create a logic and name it.
create a trigger with the activation whatever you like (radio/units etc)

then write this little ditty in the activtion line.

grenade = "whatever you choose" camcreate [getpos logicname select 0, getpos logicname select 1, (getpos logicname select 2) + x]

x = the height you want whatever to appear.
Beer is the fuel for the Heavy Metal Engine.

Offline Davies1

  • Members
  • *
  • Bugger this for a game of soldiers!
Re:Camcreating bombs
« Reply #3 on: 06 Sep 2002, 13:41:35 »


[attachment deleted by admin]
Beer is the fuel for the Heavy Metal Engine.

Cedaie

  • Guest
Re:Camcreating bombs
« Reply #4 on: 06 Sep 2002, 14:00:57 »
why go through all that ribble blabber when you can do it the easy way,


mine setpos getpos Triggername
mine setdammage 1


Or if you wanna make it so the mine sets off when the player is near


#weee
?not(player distance mine > 10):goto "boom"
goto "wee"
#boom
Mine setdammage 1
exit


easy!

Cheers ;D

Offline icarus_uk

  • Members
  • *
  • LiarLiarPants Inflame True
    • [furryclan]
Re:Camcreating bombs
« Reply #5 on: 06 Sep 2002, 14:02:36 »
You have a 10metre trigger on your mines?  Heck Im staying away from your battle field.

SimonRussi

  • Guest
Re:Camcreating bombs
« Reply #6 on: 06 Sep 2002, 15:14:51 »
thanks everybody, but i only need the bombs types, all the rest is already on and working well. Didn't tried "Grenade" but sure as hell "HandGrenade" doesn't work on my situation...

And no, i'm not making a mine, i'm making a artillery script :)

T.S.C.Plage

  • Guest
Re:Camcreating bombs
« Reply #7 on: 06 Sep 2002, 18:22:25 »
Maybe you've forgotten to "setdammage" them?

Also the LGB is a great choice for simulating a bombardement!

SimonRussi

  • Guest
Re:Camcreating bombs
« Reply #8 on: 06 Sep 2002, 18:47:27 »
thinks everybody...

i'd like the HandGrenade to work cause i'd like a great number of small explosion... a cluster bomb!

edit: it was supposed to be a "thanks", not a request to think :)
« Last Edit: 06 Sep 2002, 18:48:35 by SimonRussi »

Offline icarus_uk

  • Members
  • *
  • LiarLiarPants Inflame True
    • [furryclan]
Re:Camcreating bombs
« Reply #9 on: 06 Sep 2002, 18:55:58 »
Use a grenade.  Just the same.