Hi, I'm making a PVP mission where I want the milita to have placeable IED's is this possible too script?
Hi, I'm making a PVP mission where I want the milita to have placeable IED's is this possible too script?
Ever thought of satchel charges? :P Or do you mean a different model?
Well sort of proximity mines is what i'm after![]()
Tips:
- make 10 objects beside road
- make 10 triggers on each "west present" with init "this && alive c* && IsServer" with *= 1 to 10 and make createvehicle a GBU/satchel explosion (use search on how to do that) and set timers 1|4|2 so there is a possibility that IED will explode too late after vehicle passes (near miss).
- make 10 insurgents with names c1 to c10, make them stealth and hidden near the IED position (behind a tree, rock)
- mark possibility of c1-c10 persona presence like 3%
With this setting you'll have 10 possible positions (hint: use chokepoints, crossroads!) and even you won't know which spots are active in missionbonus: if your recon kills insurgent that bomb won't explode.
Hope I helped.
Last edited by IceBreakr; Jan 11 2010 at 12:33.
IceBreakr, C/O [SBP] - Slovenian Black Panthers (www.vojak.si)
Err... Mi-48 Caiman in A3? Bitch please...!
Oh ok sorry, I'm not quite sure how to script that im afraid. Though I do know that the ACE2 mod has various mines such as the bouncing betty & claymores, maybe you could use those or find the scripts associated with them in the PBOs?
Andy455: I'll create a sample mission for you, I'll get back to you.
No need for scritping.You can create IED's like IceBreakr said very simple. You just have to learn some commands hehe. You can also mix bomb classes to make it look cooler.
Like my cocktail bomb:
I will give you an example mission wich is simpler than that for IED's. Hang on.
No there is no need for example mission I think I just misread what he was sayingI thought he wanted a scripted bomb that he could place while ingame and then it would go off when something goes near it. I can do simple IEDs fine, I just create a LGB on it with a trigger.
You can, but didnt OP want to know?
A bit offtopic now but I meant that for IceBreakr :P
For OP: firstly create an object that you would like to become an IED such as a car, bucket or some other thing & name it "IED1". Then create a trigger on the car (with a radius of 10) so that it activates from your faction of choice (Blurfor, Opfor etc), then in the activation box you can put this:This means that once the trigger is activated by your chosen side it will create an LGB in the car causing it to explode and killing whoever set it off. You can change the size of the explosion by changing the classname of the bomb to:Code:_IED = "Bo_GBU12_LGB" createVehicle (getPos IED1);
- (Huge) - "BO_GBU12_LGB"
- (Large) - "Sh_105_HE"
- (Medium) - "R_57mm_HE"
- (Small) - "G_40mm_HE"
You can also add some other options such as timers like IceBreakr said for some extra realism.
Last edited by Andy455; Jan 11 2010 at 13:01.