Home   Help Search Login Register  

Author Topic: Getting Satchel Charges to Blow (Please Help)  (Read 671 times)

0 Members and 1 Guest are viewing this topic.

jamie_psx

  • Guest
Getting Satchel Charges to Blow (Please Help)
« on: 23 Feb 2003, 06:48:40 »
In earlier versions of OFP, if you wanted a vehicle to explode, you'd just type in:

this SetDammage 4.0

Now it doesn't work.

I want to use the CamCreate command to put a satchel charge near a vehicle.

But how do I get it to blow?


teeBore

  • Guest
Re:Getting Satchel Charges to Blow (Please Help)
« Reply #1 on: 23 Feb 2003, 07:28:07 »
setDammage take a value of 0 - 1.0, nothing else makes any difference

setDammage 1 is enought to destroy a truck, but it will never explode unless you detonate something close to it.

satchelcharge setDammage 1 will destroy the satchel

SpecOpWarrior

  • Guest
Re:Getting Satchel Charges to Blow (Please Help)
« Reply #2 on: 23 Feb 2003, 09:21:50 »
are satchel charges in the editor?

Or do you NEED to have a unit place 1?

teeBore

  • Guest
Re:Getting Satchel Charges to Blow (Please Help)
« Reply #3 on: 23 Feb 2003, 11:40:17 »
Editor satchels don't come standard, to place them you need the popular Kegety's Editor Addon which can be found on this site.

The proper way to do it would be to:
have a unit place one,
use a creatUnit/createVehicle command to create a satchel,
use camCreate to create one

jamie_psx

  • Guest
Re:Getting Satchel Charges to Blow (Please Help)
« Reply #4 on: 23 Feb 2003, 21:45:41 »
Thanks teeBore!

When using the CamCreate command as in:

myCharge=" ? " CamCreate [x,y,z]

What do I put in place of the "?"

Is it "TimeBomb" or "PipeBomb" or something else?

Ace

  • Guest
Re:Getting Satchel Charges to Blow (Please Help)
« Reply #5 on: 23 Feb 2003, 21:49:13 »
just bomb

_hammy_

  • Guest
Re:Getting Satchel Charges to Blow (Please Help)
« Reply #6 on: 24 Feb 2003, 04:33:09 »
what?? there is no satchel name called bomb, its PipeBomb or Timebomb.

If you use timebomb, it blows up in aobut 10 seconds or so.
if you use pipebomb, it just sits there untill you tell it what to do.

also, instead of using "setdammage" you can use "setdamage" instead :)

to get a satchel to camcreate near a vehicle and then explode use
Code: [Select]
_sat = "Pipebomb"

_sat = camcreate getpos vehicle_name
~0.3
"Heat105" camCreate getpos _sat

exit

or to make it just place a satchel there use this:
Code: [Select]
_sat = "Pipebomb"

_sat = camcreate getpos vehicle_name

exit

or a faster way to make the vehicle explode without the satchel would be:
Code: [Select]
"Heat105" camCreate getpos vehicle_name

exit

or to destroy the vehicle without a explosion:
Code: [Select]
vehicle_name setdamage 1

exit
« Last Edit: 24 Feb 2003, 04:38:00 by HAMMY »

teeBore

  • Guest
Re:Getting Satchel Charges to Blow (Please Help)
« Reply #7 on: 24 Feb 2003, 05:20:17 »
Well half that's right, the first bit of code aint correct, no offense intended but ppl might try to use them:
Code: [Select]
_sat = "Pipebomb"

_sat = camcreate getpos vehicle_name
~0.3
"Heat105" camCreate getpos _sat

exit
The above won't work because camcreate isn't being used right, should be:
cameraID = "objecttype" CamCreate [x,y,z]

so:
_sat = "Pipebomb" camCreate getPos vehicle_name

Also I found out that creating the satchel this way won't let you destroy it as if it were an object, ie:

_sat setDammage 1
won't work

i'm not sure how to detonate it, maybe it requires some kind of action applied to it, anyone know?

gwg-striker

  • Guest
Re:Getting Satchel Charges to Blow (Please Help)
« Reply #8 on: 24 Feb 2003, 13:00:22 »
Maybe a silly hint,

but why not build it in version 1.46? Inspect the stuff you want in the mission, and check whether it is in version 1.46. If something isn't you can always decide to use something else instead.

I have an old Paintball adaptation which triggers a Chopper at the start of the mission, it still works when running it under Resistance.


Best regards,
[GWG] Striker
a.k.a. Frans

jamie_psx

  • Guest
Re:Getting Satchel Charges to Blow (Please Help)
« Reply #9 on: 25 Feb 2003, 06:40:02 »
what?? there is no satchel name called bomb, its PipeBomb or Timebomb.

The "bomb" works.
When you use CamCreate to place it you get the LGB that's usually carried by the A-10.
When you use the SetDamage (or SetDammage) it blows just fine.

But, I still can't get the Pipebomb or Timebomb object to blow in this way (or the HandGrenade object, for that matter).

If you use timebomb, it blows up in aobut 10 seconds or so.
if you use pipebomb, it just sits there untill you tell it what to do.


What specific commands do you use to get this to happen?