The Booby Trap
Version 1.0
What it does....Version 1.0
Creates a small stash underneath the player that then spawns a grenade that detonates if a player gets to close.
Requirements -
- Notepad ++
- Patience
- More Patience
- You will need a custom fn_selfActions.sqf and compiles.sqf, i'll continue that on a new post.
- You will also need a Scripts folder and a Fixes folder within your mission.pbo (or the knowledge to change the filepaths)
- In your init.sqf add
Code:if (isServer) then { "DZ_boobyTrap" addPublicVariableEventHandler {[_this select 1] execVM 'Scripts\createBomb.sqf'}; };
- You may need to add a BE exception for a publicvariable, should be something like !"DZ_boobyTrap"
- What does it do exactly? ~ It's just a proximity bomb. Spawns a nade when a person gets to close and goes boom.
- What do you need to make it? ~ An Etool, an M67 Frag, and a Wood pile.
CommanderRetra
Buttface
For a version where the booby trap can be placed on bodies, of zombies players and animals ( can be changed by you) refer to http://opendayz.net/threads/release-body-traps.13433/