FULLY TESTED AND FUNCTIONAL
AIRRAID BOMBER
[animated heli bomber version with optional ai spawning || random/static selection airraid no animation no ai]
NEWEST VERISON HERE! CODE BELOW VIDEOS
STATIC/RANDOM STANDARD AIRRAID
RANDOM ANIM-AI-HELIBOMBER AIRRAID
0:10 for chopper fly in 5:30 for bombs start
newest video!
GET IT HERE == MOST RECENT
UPDATE: 10 May 6pmEST
FULLY WORKING WITH SIRENS & ANIMATED & AI DROPS & CUSTOMIZABLE
ANIM-AI-HELIBOMBER AIRRAID RANDOM!
<click one & copy code to new file>
FULLY WORKING WITH SIRENS & CUSTOMIZABLE
AIRRAID RANDOM/STATIC BOMBER! (not updated yet)
Installation:
+
ANIM-AI script requires:
See note: needs either animated heli crashes, sarge's ai, both, or just a small part of code to be changed in dayz_server.pbo to keep the choppers from being deleted.
Optional: requires AI spawning script, with the correct call to be placed in the airRaid script.
+
No requirements for random/static airraid bomber script
[Download code from pastebin linked above (pick one). Save above pastebin code as server_airRaid.sqf]
Do this to call code in dayz_server.pbo
NOTE: If using animated airraid you need to make some changes
with regards to //killed a hacker in your RPT log
Quote from animated heli crashes: [SKIP IF - you have installed Sarges AI or animated heli crashes]
- you're good to go!
If you DO want AI spawns
- You need to make sure the call is right under setup AI code! _spawnynAI must be true!
[I use this: http://opendayz.net/threads/dayz-npc-ai-units-troops-add-to-server.8002/]
[copy and rename your ai spawn code, if using sarges or another OR swap the code for the same type of call as in your init.sqf!] SARGE's AI uncomment section under ai spawn setup, and comment out my call
BATTLEYE!
thanks to Roxyn for this! (and axecain for testing!)
Editing a line in createvehicle.txt
Look for this:
Change it to:
------------------------------------------------------------------------------------------------
RPT output
http://pastebin.com/JV9BhXGW out of date
Where to from here?
- looking at making ai's spout next attack plans over radio (if you have one)
- perhaps create crashsite where heli blows up if it doesn't complete it's attack?
- parachutes?
- more bomb types thanks guys
Everything works great!
Let me know if you give it at shot
Should work on all maps, just make sure you change the coords (obviously!)
Confirmed working on
-Chernarus (thanks to all my testers!)
-Panthera 1.8 (thanks to stig!)
NEW FEATURE _ NOT FOR THE INEXPERIENCED
http://opendayz.net/threads/air-raid-bombing-and-siren.9464/page-14#post-43874
-adds warning system for players with radios.
__________________________________________________________
__original post text:
Easily swap sounds if you like, to native arma sounds for a smaller mission. BUT My total mission is just under 2mb now, its no pain to load!
-----------------------------------------------------------------------------------------------------------------
AIRRAID BOMBER
[animated heli bomber version with optional ai spawning || random/static selection airraid no animation no ai]
NEWEST VERISON HERE! CODE BELOW VIDEOS
STATIC/RANDOM STANDARD AIRRAID
RANDOM ANIM-AI-HELIBOMBER AIRRAID
GET IT HERE == MOST RECENT
UPDATE: 10 May 6pmEST
FULLY WORKING WITH SIRENS & ANIMATED & AI DROPS & CUSTOMIZABLE
ANIM-AI-HELIBOMBER AIRRAID RANDOM!
<click one & copy code to new file>
FULLY WORKING WITH SIRENS & CUSTOMIZABLE
AIRRAID RANDOM/STATIC BOMBER! (not updated yet)
Installation:
+
ANIM-AI script requires:
See note: needs either animated heli crashes, sarge's ai, both, or just a small part of code to be changed in dayz_server.pbo to keep the choppers from being deleted.
Optional: requires AI spawning script, with the correct call to be placed in the airRaid script.
+
No requirements for random/static airraid bomber script
[Download code from pastebin linked above (pick one). Save above pastebin code as server_airRaid.sqf]
Do this to call code in dayz_server.pbo
Do this to enable sounds: in your MP mission.pbo1)>>Add to compile folder the script you downloaded from the pastebin linked above - I named my new oneCode:server_airRaid.sqf
2)>>Open server_monitor.sqf and add this line to it below the crash site code
Code:// mmmmyum airraid nul = [] spawn server_airRaid; ///change to name of your script
3)>>Open server_functions.sqf and add this below spawn_carePackages or server_spawnCrashSite...or above //Get instance name
Code:///////////////////////////mmmyum custom server_airRaid = compile preprocessFileLineNumbers "z\addons\dayz_server\compile\server_airRaid.sqf";
Put sound folder in pbo folder
download sound folder here
http://mmmyum.info/sound.zip // eff ewe speedyshare
Add at bottom of description.ext
Code://sounds class CfgSounds { sounds[]={nam,eve,puk}; class nam { name = "Siren1"; sound[] = {\sound\SirenLoopMono.ogg, db-6, 1.0}; titles[] = {""}; }; class eve { name = "Siren2"; sound[] = {\sound\Sirens.ogg, db-6, 1.0}; titles[] = {""}; }; class puk { name = "Siren3"; sound[] = {\sound\Sirens2.ogg, db-6, 1.0}; titles[] = {""}; }; };
NOTE: If using animated airraid you need to make some changes
with regards to //killed a hacker in your RPT log
Quote from animated heli crashes: [SKIP IF - you have installed Sarges AI or animated heli crashes]
If you don't want AI spawnsYou need to edit your system/server_cleanup.fsm inside your dayz_server.pbo, open it and search for:
//Check for hackers
2 Lines under it is a line starting with if(vehicle _x != ... exchange the complete line with:
If you dont do this, all AI-Choppers will insta killed over theire startpoint after they spawned inCode:" if(vehicle _x != _x && !(vehicle _x in _safety) && (typeOf vehicle _x) != ""ParachuteWest"" && (vehicle _x getVariable [""Sarge"",0] != 1)) then {" \n
- you're good to go!
If you DO want AI spawns
- You need to make sure the call is right under setup AI code! _spawnynAI must be true!
[I use this: http://opendayz.net/threads/dayz-npc-ai-units-troops-add-to-server.8002/]
[copy and rename your ai spawn code, if using sarges or another OR swap the code for the same type of call as in your init.sqf!] SARGE's AI uncomment section under ai spawn setup, and comment out my call
BATTLEYE!
thanks to Roxyn for this! (and axecain for testing!)
Editing a line in createvehicle.txt
Look for this:
Code:
5 "_105"
Code:
1 "_105"
------------------------------------------------------------------------------------------------
RPT output
http://pastebin.com/JV9BhXGW out of date
Where to from here?
- looking at making ai's spout next attack plans over radio (if you have one)
- perhaps create crashsite where heli blows up if it doesn't complete it's attack?
- parachutes?
- more bomb types thanks guys
Everything works great!
Should work on all maps, just make sure you change the coords (obviously!)
Confirmed working on
-Chernarus (thanks to all my testers!)
-Panthera 1.8 (thanks to stig!)
NEW FEATURE _ NOT FOR THE INEXPERIENCED
http://opendayz.net/threads/air-raid-bombing-and-siren.9464/page-14#post-43874
-adds warning system for players with radios.
__________________________________________________________
__original post text:
Easily swap sounds if you like, to native arma sounds for a smaller mission. BUT My total mission is just under 2mb now, its no pain to load!
-----------------------------------------------------------------------------------------------------------------