Home   Help Search Login Register  

Author Topic: Satchels  (Read 886 times)

0 Members and 1 Guest are viewing this topic.

Offline bigdave003

  • Members
  • *
  • I'm a double bacon genius burger!!
Satchels
« on: 13 Jul 2005, 18:19:02 »
Is there a way to create a satchel and detonate it without having to have a blackop place it?

Dave
"From this day to the ending of the world we in it shall be remembered. We lucky few, we band of brothers. For he who today sheds his blood with me shall be my brother. "

Offline bedges

  • Administrator
  • *****
    • OFPEC The Editing Center
Re:Satchels
« Reply #1 on: 13 Jul 2005, 18:36:23 »
there is, by faking it. camcreate a satchel package, and then when you want it to explode, camcreate a shell at its position.

if you mean place a satchel which the player can explode, you'd have to add an action manually, which is simple enough.
« Last Edit: 13 Jul 2005, 18:36:33 by bedges »

Offline bigdave003

  • Members
  • *
  • I'm a double bacon genius burger!!
Re:Satchels
« Reply #2 on: 13 Jul 2005, 22:16:00 »
I was thinking along the lines of camcreate command, but would there be a way to name the satchel you create then detonate it?
"From this day to the ending of the world we in it shall be remembered. We lucky few, we band of brothers. For he who today sheds his blood with me shall be my brother. "

Offline bedges

  • Administrator
  • *****
    • OFPEC The Editing Center
Re:Satchels
« Reply #3 on: 13 Jul 2005, 22:18:05 »
to name

Code: [Select]
satch1 = "satchel_model_name" camcreate [x,y,z]

to detonate

Code: [Select]
boom = "shell125" camcreate getpos satch1

Offline bigdave003

  • Members
  • *
  • I'm a double bacon genius burger!!
Re:Satchels
« Reply #4 on: 13 Jul 2005, 22:50:54 »
thanks a lot, ill try that. Instead of the [x,y,z] how would i use the setpos command to put it at the position of a car?
"From this day to the ending of the world we in it shall be remembered. We lucky few, we band of brothers. For he who today sheds his blood with me shall be my brother. "

qqqqqq

  • Guest
Re:Satchels
« Reply #5 on: 13 Jul 2005, 23:00:39 »
getpos car1

Offline bedges

  • Administrator
  • *****
    • OFPEC The Editing Center
Re:Satchels
« Reply #6 on: 14 Jul 2005, 17:10:29 »
Quote
how would i use the setpos command to put it at the position of a car?

Quote
getpos car1

@6q - that's not really all that helpful is it? someone who's asking how to use a command should be given more to go on than just that.

Code: [Select]
satch1 = "satchel_model_name" camcreate getpos car_name
is the code that's needed.

Offline bigdave003

  • Members
  • *
  • I'm a double bacon genius burger!!
Re:Satchels
« Reply #7 on: 14 Jul 2005, 17:23:36 »
Cheers guys, that works fine
"From this day to the ending of the world we in it shall be remembered. We lucky few, we band of brothers. For he who today sheds his blood with me shall be my brother. "

Offline 456820

  • Contributing Member
  • **
Re:Satchels
« Reply #8 on: 14 Jul 2005, 18:02:04 »
to detonate it wouldnt using setdammage work ? works on shells in air so why not satchel charges ? plus it would actually be a satchel not a satchell and a shell

qqqqqq

  • Guest
Re:Satchels
« Reply #9 on: 14 Jul 2005, 19:53:47 »
@bedges

He asked

Quote
Instead of the [x,y,z]

I replied

Quote
getpos car1

which is a complete and correct answer delivered less than ten minutes after the question was posted.    You had already given a correct example of the full line and IMHO a repitition would have been superfluous and therefore potentially confusing.   It's true your car_name is better than my car1 though.   I would have been happy to elucidate if necessary.  

I agree that answers should be as helpful as possible and that is what I was striving to achieve.   Apart from the car name bit, and given the context of the thread, IMHO my answer is not susceptible to improvement.    I would have given the whole line had it not been given in the previous post.


@456820

I have a feeling setdammage doesn't make satchels explode.
« Last Edit: 14 Jul 2005, 20:11:38 by qqqqqq »