Home   Help Search Login Register  

Author Topic: car bomb mission  (Read 1006 times)

0 Members and 1 Guest are viewing this topic.

Pravit

  • Guest
car bomb mission
« on: 25 Mar 2003, 00:46:28 »
I have a mission where the player is part of a group of soldiers on guard in a town. How do I get the soldiers to be in "Careless" mode without setting a waypoint for them? Anyhow, I have a civilian and a car outside of the town. I made the civilian get in the car, park it in front of the soldiers, and run out. When he gets to a specific point, I used setdammage to destroy the car, but the problem is that there isn't much of an explosion from a civilian car. Is there any command to make huge explosions? Or how would you create a satchel charge and detonate it instantly?

Pravit

  • Guest
Re:car bomb mission
« Reply #1 on: 25 Mar 2003, 00:50:37 »
ah, i figured out how to make them careless by typing grp1 = group this; grp1 SetBehaviour "CARELESS" into the leader's init field. Now I just need to figure out how to make a satchel charge appear where the car is and explode instantly.

Kaliyuga

  • Guest
Re:car bomb mission
« Reply #2 on: 25 Mar 2003, 02:27:20 »
name your car   c

then put this in a trigger:


b="HEAT120" camcreate getpos c  


as soon as the trigger goes off........  

boom

no more car

you can substitute other shells and ammo for the HEAT120, but IMO the HEAT shells give the best visual effect without toooo much shrapnel.....

you could of course use a LGB for the most destruction  

Grab a copy of the weapons and ammo list for all the proper ammo names... ;)

Offline ZeekLTK

  • Members
  • *
  • I'm a llama!
Re:car bomb mission
« Reply #3 on: 25 Mar 2003, 03:01:09 »
Does "b" stand for something in that command line?

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:car bomb mission
« Reply #4 on: 25 Mar 2003, 07:45:03 »
DonÂ't worry, m8, IÂ'll make a simple script for ya.

(Big explosions :D)

IÂ'm done. ;D



Download the script and put it in your mission folder(Operation Flashpoint/users/YourUserName/YourMissionName).Put this in a soldiers init field:

[CarName, KeyWord] exec "boom bang and DIE.sqs"

Where CarName is the name of your car and KeyWord is a KeyWord(Those things you type in the cond field, like HateBush=True or DontAttackIraq=false). The explosion will come when you turn that keyword true.

(I really need something to script! Badly! :P ;))
« Last Edit: 25 Mar 2003, 07:53:41 by The real Armstrong »

Offline Artak

  • The old beanbag shaker
  • Former Staff
  • ****
  • You want to talk about it, yes?
    • OFP Team Finlanders
Re:car bomb mission
« Reply #5 on: 25 Mar 2003, 07:54:06 »
b is the name of the camcreated object.

b1 could be the name of the second camcreated object.

but then again it could be h or j or fidzlypop or whatever..

You decide  ;)  It's just like naming units in the editor, but in this case it's a must.

Armstrong, what do you achieve with the keyword in your script?

_car = _this select 0
_keyword = _this select 1

@ _keyword


bomb="shell120" camcreate getpos _car
...
« Last Edit: 25 Mar 2003, 07:56:35 by Artak »
Not all is lost.

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:car bomb mission
« Reply #6 on: 25 Mar 2003, 07:59:22 »
Yeah, yeah, just beat me. I told ya, I need something to script.

(Use Artaks version, itÂ's much better ;))

Offline Artak

  • The old beanbag shaker
  • Former Staff
  • ****
  • You want to talk about it, yes?
    • OFP Team Finlanders
Re:car bomb mission
« Reply #7 on: 25 Mar 2003, 08:01:26 »
No no, not much better. I'm just saying that you don't need to have those two lines in there since they do absolutely nothing  :D

Keep up the good work Armsty  ;)
Not all is lost.

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:car bomb mission
« Reply #8 on: 25 Mar 2003, 10:05:59 »
Armsty, if you want a scripting job, read this thread.     Get hold of that old arty script I used and update it.
Plenty of reviewed ArmA missions for you to play

SharkDog

  • Guest
Re:car bomb mission
« Reply #9 on: 30 Mar 2003, 13:31:20 »
Are there any other big explosion exept for HEAT120 cause it doesn't blow up the units next to it.

Knut Erik

  • Guest
Re:car bomb mission
« Reply #10 on: 30 Mar 2003, 13:54:44 »
Use "SHELL120" !!
Then all the units will fly sky high!
 :o :o :o :o

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:car bomb mission
« Reply #11 on: 30 Mar 2003, 15:06:37 »
Try a laser guided bomb.   Or 50 HEAT shells all at once.
Plenty of reviewed ArmA missions for you to play

SharkDog

  • Guest
Re:car bomb mission
« Reply #12 on: 30 Mar 2003, 16:45:46 »
How can u do 50 heat shells at once or do an lgb?

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:car bomb mission
« Reply #13 on: 30 Mar 2003, 18:07:51 »
bomb1="HEAT120" camcreate getpos c
bomb2="HEAT120" camcreate getpos c
etc

look up LGB in the weapons and ammo list and put it in instead of the heat round
Plenty of reviewed ArmA missions for you to play