PeterBeer Posted August 30, 2014 Report Share Posted August 30, 2014 +1 1:22:04 Error in expression <m 1 to _unitnumber do { call { if(_gun == 0) exitWith { _aiweapon = ai_wep_a> 1:22:04 Error position: <== 0) exitWith { _aiweapon = ai_wep_a> 1:22:04 Error Generic error in expression 1:22:04 File z\addons\dayz_server\WAI\compile\spawn_group.sqf, line 65 Ahh thank god not the only one :) Link to comment Share on other sites More sharing options...
Jossy Posted August 30, 2014 Report Share Posted August 30, 2014 not sure if f3cuk is intentionally trolling you guys or if he just didn't have time to test this lol :huh: Link to comment Share on other sites More sharing options...
justchil Posted August 30, 2014 Report Share Posted August 30, 2014 I'm just happy to see an active mission system. The mines are cool (took a BTR90 to blow one up) but I think that's a work in progress. Link to comment Share on other sites More sharing options...
Thay-skill3d Posted August 30, 2014 Report Share Posted August 30, 2014 Ahh thank god not the only one :) Me too 7:57:04 "WAI: AI Config File Loaded" 7:57:04 "WAI: AI Monitor Started" 7:57:04 "WAI: Initialising static missions" 7:57:04 "WAI: Initialising missions" 7:57:04 Error in expression <m 1 to _unitnumber do { call { if(_gun == 0) exitWith { _aiweapon = ai_wep_a> 7:57:04 Error position: <== 0) exitWith { _aiweapon = ai_wep_a> 7:57:04 Error Allgemeiner Fehler in Ausdruck 7:57:04 File z\addons\dayz_server\WAI\compile\spawn_group.sqf, line 65 7:57:04 Error in expression <gun = _gun select 0; }; Link to comment Share on other sites More sharing options...
Jossy Posted August 30, 2014 Report Share Posted August 30, 2014 https://github.com/SJossy/WICKED-AI/archive/Beta-2.1.0.zip Fixed the call errors Link to comment Share on other sites More sharing options...
Thay-skill3d Posted August 30, 2014 Report Share Posted August 30, 2014 Now i got these 8:37:46 "WAI: Spawned a group of 6 AI (Bandit) at [8108.45,13592.2,0.002]" 8:37:46 "WAI: Spawned a group of 4 AI (Bandit) at [8074.88,13735.5,0.002]" 8:37:47 "WAI: Spawned a group of 6 AI (Bandit) at [8112.57,13644.4,0.001]" 8:37:47 "WAI: Spawned a group of 6 AI (Bandit) at [7971.73,13675.5,0.001]" 8:37:47 "WAI: Spawned a group of 6 AI (Bandit) at [7962.7,13612.2,0.002]" 8:37:47 Error in expression <igear select 0; _geartools = _aigear select 1; _unit addweapon _weapon; > 8:37:47 Error position: <select 1; _unit addweapon _weapon; > 8:37:47 Error Nullteiler 8:37:47 File z\addons\dayz_server\WAI\compile\spawn_static.sqf, line 120 8:37:47 Error in expression < addweapon _weapon; for "_i" from 1 to _mags do { _unit addMagazine _magazin> 8:37:47 Error position: <to _mags do { _unit addMagazine _magazin> 8:37:47 Error to: Typ Zeichenfolge, erwartet Zahl 8:37:47 File z\addons\dayz_server\WAI\compile\spawn_static.sqf, line 123 Link to comment Share on other sites More sharing options...
Jossy Posted August 30, 2014 Report Share Posted August 30, 2014 re-download it Thay I updated a few things Link to comment Share on other sites More sharing options...
justchil Posted August 30, 2014 Report Share Posted August 30, 2014 https://github.com/SJossy/WICKED-AI/archive/Beta-2.1.0.zip Fixed the call errors :) Looks good so far here. Now if only mines go boom with bikes running over :D <<< They do lol yay Link to comment Share on other sites More sharing options...
Jossy Posted August 30, 2014 Report Share Posted August 30, 2014 they should, I tried with a bike and I went boom? Link to comment Share on other sites More sharing options...
Havoc302 Posted August 30, 2014 Report Share Posted August 30, 2014 Are we far off an official 2.1 release? I'm holding off for that :P Link to comment Share on other sites More sharing options...
f3cuk Posted August 30, 2014 Author Report Share Posted August 30, 2014 not sure if f3cuk is intentionally trolling you guys or if he just didn't have time to test this lol :huh: Sorry guys, think I somehow tested an earlier version. Updated the BETA 2.1.0. @Havoc: We should be pretty close but the latest BETA needs more testing. Link to comment Share on other sites More sharing options...
Thay-skill3d Posted August 30, 2014 Report Share Posted August 30, 2014 re-download it Thay I updated a few things Okay i'll test it. and here something from the normal (not static) missions 13:36:30 Error in expression <se { if (_x getVariable ["ObjectID", 0] == 0) then { deleteVehicle _x; }; }; sle> 13:36:30 Error position: <== 0) then { deleteVehicle _x; }; }; sle> 13:36:30 Error Allgemeiner Fehler in Ausdruck 13:36:30 File z\addons\dayz_server\WAI\compile\mission_winorfail.sqf, line 157 Link to comment Share on other sites More sharing options...
UKCPirate Posted August 30, 2014 Report Share Posted August 30, 2014 in config.sqf you have " GuerillaCacheBox_EP1" < extra space I have another suggestion. Could we set the chance for and number of high valus items in the crate call? Cheers for the hard work guys. Link to comment Share on other sites More sharing options...
Thay-skill3d Posted August 30, 2014 Report Share Posted August 30, 2014 re-download it Thay I updated a few things After i updated again, nothing static spawns at all... No more Errors 14:33:54 "WAI: AI Config File Loaded" 14:33:56 "WAI: Initialising missions" 14:33:56 "WAI: AI Monitor Started" 14:33:56 "WAI: Initialising static missions" 14:33:58 "WAI: Static mission for DayZ_Epoch_11 loaded" But Static-AI isnt spawning... Here my Missionfile "dayz_epoch_11.sqf" for zonealpha if(isServer) then { //Custom Spawns file// /* Custom group spawns Eg. [ [953.237,4486.48,0.001], // Position 4, // Number Of units "Random", // Skill level of unit (easy, medium, hard, extreme, Random) "Random", or ["Random","at"], // Primary gun set number and rocket launcher. "Random" for random weapon set, "at" for anti-tank, "aa" for anti-air launcher 4, // Number of magazines "Random", // Backpack classname, use "Random" or classname here "Random", // Skin classname, use "Random" or classname here "Random", // Gearset number. "Random" for random gear set "Bandit" // AI Type, "Hero" or "Bandit". ] call spawn_group; Place your custom group spawns below */ //Zone Alpha Infanterie [ [8108.45,13592.2,0.002], // C130 6, // Number Of units "extreme", // Skill level of unit (easy, medium, hard, extreme, Random) "Random", or ["Random","at"], // Primary gun set number and rocket launcher. "Random" for random weapon set, "at" for anti-tank, "aa" for anti-air launcher 8, // Number of magazines "Random", // Backpack classname, use "Random" or classname here "Bandit2_DZ", // Skin classname, use "Random" or classname here "Random", // Gearset number. "Random" for random gear set "Bandit" // AI Type, "Hero" or "Bandit". ] call spawn_group; [ [8074.88,13735.5,0.002], // Runway Vorne PLatz 4, // Number Of units "extreme", // Skill level of unit (easy, medium, hard, extreme, Random) "Random", or ["Random","at"], // Primary gun set number and rocket launcher. "Random" for random weapon set, "at" for anti-tank, "aa" for anti-air launcher 8, // Number of magazines "Random", // Backpack classname, use "Random" or classname here "Bandit2_DZ", // Skin classname, use "Random" or classname here "Random", // Gearset number. "Random" for random gear set "Bandit" // AI Type, "Hero" or "Bandit". ] call spawn_group; [ [8112.57,13644.4,0.001], // Runway großer Platz 6, // Number Of units "extreme", // Skill level of unit (easy, medium, hard, extreme, Random) "Random", or ["Random","at"], // Primary gun set number and rocket launcher. "Random" for random weapon set, "at" for anti-tank, "aa" for anti-air launcher 6, // Number of magazines "Random", // Backpack classname, use "Random" or classname here "Bandit2_DZ", // Skin classname, use "Random" or classname here "Random", // Gearset number. "Random" for random gear set "Bandit" // AI Type, "Hero" or "Bandit". ] call spawn_group; [ [7971.73,13675.5,0.001], // Vordere Hangers Platz 6, // Number Of units "extreme", // Skill level of unit (easy, medium, hard, extreme, Random) "Random", or ["Random","at"], // Primary gun set number and rocket launcher. "Random" for random weapon set, "at" for anti-tank, "aa" for anti-air launcher 6, // Number of magazines "Random", // Backpack classname, use "Random" or classname here "Bandit2_DZ", // Skin classname, use "Random" or classname here "Random", // Gearset number. "Random" for random gear set "Bandit" // AI Type, "Hero" or "Bandit". ] call spawn_group; [ [7962.7,13612.2,0.002], // Vordere Hangers Platz 6, // Number Of units "extreme", // Skill level of unit (easy, medium, hard, extreme, Random) "Random", or ["Random","at"], // Primary gun set number and rocket launcher. "Random" for random weapon set, "at" for anti-tank, "aa" for anti-air launcher 4, // Number of magazines "Random", // Backpack classname, use "Random" or classname here "Bandit2_DZ", // Skin classname, use "Random" or classname here "Random", // Gearset number. "Random" for random gear set "Bandit" // AI Type, "Hero" or "Bandit". ] call spawn_group; /* Custom static weapon spawns Eg. (with mutiple positions) [ [ // Position(s) (can be multiple) [911.21,4532.76,2.62], [921.21,4542.76,2.62] ], "M2StaticMG", // Classname of turret "easy", // Skill level of unit (easy, medium, hard, extreme, Random) "Bandit2_DZ", // Skin classname, use "Random" or classname here "Random", // Primary gun set number. "Random" for random weapon set 2, // Number of magazines "Random", // Backpack classname, use "Random" or classname here "Random", // Gearset classname, use "Random" or classname here "Bandit" // AI Type, "Hero" or "Bandit". ] call spawn_static; Place your custom static weapon spawns below */ [ [ // Position(s) (can be multiple) [8110.38,13752,0.002] ], "M2StaticMG", // Classname of turret "medium", // Skill level of unit (easy, medium, hard, extreme, Random) "Bandit2_DZ", // Skin classname, use "Random" or classname here "Random", // Primary gun set number. "Random" for random weapon set 2, // Number of magazines "Random", // Backpack classname, use "Random" or classname here "Random", // Gearset classname, use "Random" or classname here "Bandit" // AI Type, "Hero" or "Bandit". ] call spawn_static; [ [ // Position(s) (can be multiple) [8155.33,13656.8,0.001] ], "M2StaticMG", // Classname of turret "medium", // Skill level of unit (easy, medium, hard, extreme, Random) "Bandit2_DZ", // Skin classname, use "Random" or classname here "Random", // Primary gun set number. "Random" for random weapon set 2, // Number of magazines "Random", // Backpack classname, use "Random" or classname here "Random", // Gearset classname, use "Random" or classname here "Bandit" // AI Type, "Hero" or "Bandit". ] call spawn_static; [ [ // Position(s) (can be multiple) [8146.49,13610.2,0.001] ], "M2StaticMG", // Classname of turret "medium", // Skill level of unit (easy, medium, hard, extreme, Random) "Bandit2_DZ", // Skin classname, use "Random" or classname here "Random", // Primary gun set number. "Random" for random weapon set 2, // Number of magazines "Random", // Backpack classname, use "Random" or classname here "Random", // Gearset classname, use "Random" or classname here "Bandit" // AI Type, "Hero" or "Bandit". ] call spawn_static; [ [ // Position(s) (can be multiple) [8050.77,13510.2,0.001] ], "M2StaticMG", // Classname of turret "medium", // Skill level of unit (easy, medium, hard, extreme, Random) "Bandit2_DZ", // Skin classname, use "Random" or classname here "Random", // Primary gun set number. "Random" for random weapon set 2, // Number of magazines "Random", // Backpack classname, use "Random" or classname here "Random", // Gearset classname, use "Random" or classname here "Bandit" // AI Type, "Hero" or "Bandit". ] call spawn_static; [ [ // Position(s) (can be multiple) [8122.4,13465,0.001] ], "M2StaticMG", // Classname of turret "medium", // Skill level of unit (easy, medium, hard, extreme, Random) "Bandit2_DZ", // Skin classname, use "Random" or classname here "Random", // Primary gun set number. "Random" for random weapon set 2, // Number of magazines "Random", // Backpack classname, use "Random" or classname here "Random", // Gearset classname, use "Random" or classname here "Bandit" // AI Type, "Hero" or "Bandit". ] call spawn_static; /* Custom Chopper Patrol spawn Eg. [ [725.391,4526.06,0], // Position to patrol [0,0,0], // Position to spawn chopper at 2000, // Radius of patrol 10, // Number of waypoints to give "UH1H_DZ", // Classname of vehicle (make sure it has driver and two gunners) "Random", // Skill level of units (easy, medium, hard, extreme, Random) "Bandit" // AI Type, "Hero" or "Bandit". ] spawn heli_patrol; Place your heli patrols below */ [ [8074.88,13735.5,0.002], // Position to patrol [0,0,0], // Position to spawn chopper at 900, // Radius of patrol 10, // Number of waypoints to give "UH60M_EP1_DZE", // Classname of vehicle (make sure it has driver and two gunners) "Random", // Skill level of units (easy, medium, hard, extreme, Random) "Bandit" // AI Type, "Hero" or "Bandit". ] spawn heli_patrol; [ [8110.38,13752,0.002], // Position to patrol [0,0,0], // Position to spawn chopper at 900, // Radius of patrol 10, // Number of waypoints to give "UH60M_EP1_DZE", // Classname of vehicle (make sure it has driver and two gunners) "Random", // Skill level of units (easy, medium, hard, extreme, Random) "Bandit" // AI Type, "Hero" or "Bandit". ] spawn heli_patrol; /* Custom Vehicle patrol spawns Eg. (Watch out they are stupid) [ [725.391,4526.06,0], // Position to patrol [725.391,4526.06,0], // Position to spawn at 200, // Radius of patrol 10, // Number of waypoints to give "HMMWV_Armored", // Classname of vehicle (make sure it has driver and gunner) "Random", // Skill level of units (easy, medium, hard, extreme, Random) "Bandit" // AI Type, "Hero" or "Bandit". ] spawn vehicle_patrol; Place your vehicle patrols below this line */ [ [8118,13492.4,0.002], // Position to patrol [8133.33,13721.5,0.788], // Position to spawn at 200, // Radius of patrol 10, // Number of waypoints to give "HMMWV_Armored", // Classname of vehicle (make sure it has driver and gunner) "Random", // Skill level of units (easy, medium, hard, extreme, Random) "Bandit" // AI Type, "Hero" or "Bandit". ] spawn vehicle_patrol; [ [8108.45,13592.2,0.002], // Position to patrol [8133.73,13686.3,0.669], // Position to spawn at 200, // Radius of patrol 10, // Number of waypoints to give "HMMWV_Armored", // Classname of vehicle (make sure it has driver and gunner) "Random", // Skill level of units (easy, medium, hard, extreme, Random) "Bandit" // AI Type, "Hero" or "Bandit". ] spawn vehicle_patrol; [ [8087.81,13466.3,0.001], // Position to patrol [8087.81,13466.3,0.001], // Position to spawn at 200, // Radius of patrol 10, // Number of waypoints to give "HMMWV_Armored", // Classname of vehicle (make sure it has driver and gunner) "Random", // Skill level of units (easy, medium, hard, extreme, Random) "Bandit" // AI Type, "Hero" or "Bandit". ] spawn vehicle_patrol; /* Paradropped unit custom spawn Eg. [ [911.21545,4532.7612,2.6292224], // Position that units will be dropped by [0,0,0], // Starting position of the heli 400, // Radius from drop position a player has to be to spawn chopper "UH1H_DZ", // Classname of chopper (Make sure it has 2 gunner seats!) 5, // Number of units to be para dropped "Random", // Skill level of units (easy, medium, hard, extreme, Random) "Random", // Primary gun set number. "Random" for random weapon set. 4, // Number of magazines "Random", // Backpack classname, use "Random" or classname here "Bandit2_DZ", // Skin classname, use "Random" or classname here "Random", // Gearset number. "Random" for random gear set. "Bandit", // AI Type, "Hero" or "Bandit". true // true: Aircraft will stay at position and fight. false: Heli will leave if not under fire. ] spawn heli_para; Place your paradrop spawns under this line */ [ [8108.45,13592.2,0.002], // Position that units will be dropped by [0,0,0], // Starting position of the heli 300, // Radius from drop position a player has to be to spawn chopper "UH60M_EP1_DZE", // Classname of chopper (Make sure it has 2 gunner seats!) 10, // Number of units to be para dropped "Random", // Skill level of units (easy, medium, hard, extreme, Random) "Random", // Primary gun set number. "Random" for random weapon set. 4, // Number of magazines "Random", // Backpack classname, use "Random" or classname here "Bandit2_DZ", // Skin classname, use "Random" or classname here "Random", // Gearset number. "Random" for random gear set. "Bandit", // AI Type, "Hero" or "Bandit". true // true: Aircraft will stay at position and fight. false: Heli will leave if not under fire. ] spawn heli_para; // Loot-Boxen Pck_Box = compile preprocessFileLineNumbers "\z\addons\dayz_server\WAI\static\boxes\Pck_Box.sqf"; Build_Box = compile preprocessFileLineNumbers "\z\addons\dayz_server\WAI\static\boxes\Build_Box.sqf"; //PCK _box5 = createVehicle ["RUBasicWeaponsBox",[8108.45,13592.2,0.002], [], 0, "CAN_COLLIDE"]; [_box5] call Pck_Box; _box6 = createVehicle ["RUBasicWeaponsBox",[8074.88,13735.5,0.002], [], 0, "CAN_COLLIDE"]; [_box6] call Pck_Box; //Build _box7 = createVehicle ["RUBasicWeaponsBox",[7999.54,13663.2,0.002], [], 0, "CAN_COLLIDE"]; [_box7] call Build_Box; _box8 = createVehicle ["RUBasicWeaponsBox",[8084.86,13694.7,0.002], [], 0, "CAN_COLLIDE"]; [_box8] call Build_Box; diag_log format["WAI: Static mission for %1 loaded", missionName]; }; Link to comment Share on other sites More sharing options...
Jossy Posted August 30, 2014 Report Share Posted August 30, 2014 rename the file to chernarus.sqf, I changed the way the static file detected worlds since missions could be called differently Thay-skill3d 1 Link to comment Share on other sites More sharing options...
UKCPirate Posted August 30, 2014 Report Share Posted August 30, 2014 Getting this error 13:44:36 Error in expression <rov"; } count (units _unitgroup); { _x addEventHandler ["Killed",{[_this select> 13:44:36 Error position: <addEventHandler ["Killed",{[_this select> 13:44:36 Error Type Number, expected Bool 13:44:36 File z\addons\dayz_server\WAI\compile\heli_patrol.sqf, line 105 when calling a static heli using: [ [10300,10180,0], // Position to patrol [16536,18475,0], // Position to spawn chopper at 10000, // Radius of patrol 30, // Number of waypoints to give "UH1H_DZ", // Classname of vehicle (make sure it has driver and two gunners) "Medium", // Skill level of units (easy, medium, hard, extreme, Random) "Bandit", // Skin "Special" // AI Type ] spawn heli_patrol; Link to comment Share on other sites More sharing options...
Thay-skill3d Posted August 30, 2014 Report Share Posted August 30, 2014 rename the file to chernarus.sqf, I changed the way the static file detected worlds since missions could be called differently Done, thanks! And now this ;D 15:12:42 "WAI: Initialising static missions" 15:12:42 "WAI: AI Monitor Started" 15:12:42 "WAI: Initialising missions" 15:13:01 "WAI: Spawned a group of 6 AI (Bandit) at [8108.45,13592.2,0.002]" 15:13:02 "WAI: Spawned a group of 4 AI (Bandit) at [8074.88,13735.5,0.002]" 15:13:02 "WAI: Spawned a group of 6 AI (Bandit) at [8112.57,13644.4,0.001]" 15:13:03 "WAI: Spawned a group of 6 AI (Bandit) at [7971.73,13675.5,0.001]" 15:13:03 "WAI: Spawned a group of 6 AI (Bandit) at [7962.7,13612.2,0.002]" 15:13:03 Error in expression <igear select 0; _geartools = _aigear select 1; _unit addweapon _weapon; > 15:13:03 Error position: <select 1; _unit addweapon _weapon; > 15:13:03 Error to: Nullteiler 15:13:03 File z\addons\dayz_server\WAI\compile\spawn_static.sqf, line 119 Group spawning works fine but no static mg, no vehicle and no heli patrol - my chernarus.sqf u can see in my post before Thanks for your work! Link to comment Share on other sites More sharing options...
Jossy Posted August 30, 2014 Report Share Posted August 30, 2014 Done, thanks! And now this ;D 15:12:42 "WAI: Initialising static missions" 15:12:42 "WAI: AI Monitor Started" 15:12:42 "WAI: Initialising missions" 15:13:01 "WAI: Spawned a group of 6 AI (Bandit) at [8108.45,13592.2,0.002]" 15:13:02 "WAI: Spawned a group of 4 AI (Bandit) at [8074.88,13735.5,0.002]" 15:13:02 "WAI: Spawned a group of 6 AI (Bandit) at [8112.57,13644.4,0.001]" 15:13:03 "WAI: Spawned a group of 6 AI (Bandit) at [7971.73,13675.5,0.001]" 15:13:03 "WAI: Spawned a group of 6 AI (Bandit) at [7962.7,13612.2,0.002]" 15:13:03 Error in expression <igear select 0; _geartools = _aigear select 1; _unit addweapon _weapon; > 15:13:03 Error position: <select 1; _unit addweapon _weapon; > 15:13:03 Error to: Nullteiler 15:13:03 File z\addons\dayz_server\WAI\compile\spawn_static.sqf, line 119 Group spawning works fine but no static mg, no vehicle and no heli patrol - my chernarus.sqf u can see in my post before Thanks for your work! Ah sorry forgot to reformat the example. Change the static guns to this [ [ // Position(s) (can be multiple) [8110.38,13752,0.002] ], "M2StaticMG", // Classname of turret "medium", // Skill level of unit (easy, medium, hard, extreme, Random) "Bandit2_DZ", // Skin classname, use "Random" or classname here "Bandit", // AI Type, "Hero" or "Bandit". "Random", // Primary gun set number. "Random" for random weapon set 2, // Number of magazines "Random", // Backpack classname, use "Random" or classname here "Random" // Gearset classname, use "Random" or classname here ] call spawn_static; [ [ // Position(s) (can be multiple) [8155.33,13656.8,0.001] ], "M2StaticMG", // Classname of turret "medium", // Skill level of unit (easy, medium, hard, extreme, Random) "Bandit2_DZ", // Skin classname, use "Random" or classname here "Bandit", // AI Type, "Hero" or "Bandit". "Random", // Primary gun set number. "Random" for random weapon set 2, // Number of magazines "Random", // Backpack classname, use "Random" or classname here "Random" // Gearset classname, use "Random" or classname here ] call spawn_static; [ [ // Position(s) (can be multiple) [8146.49,13610.2,0.001] ], "M2StaticMG", // Classname of turret "medium", // Skill level of unit (easy, medium, hard, extreme, Random) "Bandit2_DZ", // Skin classname, use "Random" or classname here "Bandit", // AI Type, "Hero" or "Bandit". "Random", // Primary gun set number. "Random" for random weapon set 2, // Number of magazines "Random", // Backpack classname, use "Random" or classname here "Random" // Gearset classname, use "Random" or classname here ] call spawn_static; [ [ // Position(s) (can be multiple) [8050.77,13510.2,0.001] ], "M2StaticMG", // Classname of turret "medium", // Skill level of unit (easy, medium, hard, extreme, Random) "Bandit2_DZ", // Skin classname, use "Random" or classname here "Bandit", // AI Type, "Hero" or "Bandit". "Random", // Primary gun set number. "Random" for random weapon set 2, // Number of magazines "Random", // Backpack classname, use "Random" or classname here "Random" // Gearset classname, use "Random" or classname here ] call spawn_static; [ [ // Position(s) (can be multiple) [8122.4,13465,0.001] ], "M2StaticMG", // Classname of turret "medium", // Skill level of unit (easy, medium, hard, extreme, Random) "Bandit2_DZ", // Skin classname, use "Random" or classname here "Random", // Primary gun set number. "Random" for random weapon set "Bandit", // AI Type, "Hero" or "Bandit". 2, // Number of magazines "Random", // Backpack classname, use "Random" or classname here "Random" // Gearset classname, use "Random" or classname here ] call spawn_static; Link to comment Share on other sites More sharing options...
Jossy Posted August 30, 2014 Report Share Posted August 30, 2014 Getting this error 13:44:36 Error in expression <rov"; } count (units _unitgroup); { _x addEventHandler ["Killed",{[_this select> 13:44:36 Error position: <addEventHandler ["Killed",{[_this select> 13:44:36 Error Type Number, expected Bool 13:44:36 File z\addons\dayz_server\WAI\compile\heli_patrol.sqf, line 105 when calling a static heli using: [ [10300,10180,0], // Position to patrol [16536,18475,0], // Position to spawn chopper at 10000, // Radius of patrol 30, // Number of waypoints to give "UH1H_DZ", // Classname of vehicle (make sure it has driver and two gunners) "Medium", // Skill level of units (easy, medium, hard, extreme, Random) "Bandit", // Skin "Special" // AI Type ] spawn heli_patrol; Change the count to forEach on line 106 if you want to fix this before next update, thanks Link to comment Share on other sites More sharing options...
Jossy Posted August 30, 2014 Report Share Posted August 30, 2014 (edited) Sorry for the inconvenience Thay but we've not really been keeping up to date with the static section of WAI, mainly the missions.. I've updated the example spawns if you want to double check them with yours here https://github.com/SJossy/WICKED-AI/blob/patch-2/WAI/static/chernarus.sqf Edited August 30, 2014 by Jossy Thay-skill3d 1 Link to comment Share on other sites More sharing options...
SadBoy1981 Posted August 30, 2014 Report Share Posted August 30, 2014 Is it possible to make something like in DZMS AI missions to write in config where randomly missions must to spawn. Blacklist for missions not working for me. Link to comment Share on other sites More sharing options...
Thay-skill3d Posted August 30, 2014 Report Share Posted August 30, 2014 Sorry for the inconvenience Thay but we've not really been keeping up to date with the static section of WAI, mainly the missions.. I've updated the example spawns if you want to double check them with yours here https://github.com/SJossy/WICKED-AI/edit/patch-2/WAI/static/chernarus.sqf This is a link to your edit-menue ;D Have to login. I'll use the normal github link and test it :) thanks! Link to comment Share on other sites More sharing options...
Jossy Posted August 30, 2014 Report Share Posted August 30, 2014 This is a link to your edit-menue ;D Have to login. I'll use the normal github link and test it :) thanks! woops my bad :lol: Link to comment Share on other sites More sharing options...
KingRaymond795 Posted August 30, 2014 Report Share Posted August 30, 2014 Hi There, Not sure if this has been resolved, cannot find the answer. But currently when a new mission spawns, and i make my way to the center of the mission, it says it is under survivor control (even though there are bandits all over trying to take me out). If there any way to make it so that there has to be 0 bandits left on that mission before it is under survivor control? Link to comment Share on other sites More sharing options...
Thay-skill3d Posted August 30, 2014 Report Share Posted August 30, 2014 Okay static MG's working now! - this is the next ;) 17:02:31 "WAI: Spawned a group of 6 AI (Bandit) at [8108.45,13592.2,0.002]" 17:02:32 "WAI: Spawned a group of 4 AI (Bandit) at [8074.88,13735.5,0.002]" 17:02:33 "WAI: Spawned a group of 6 AI (Bandit) at [8112.57,13644.4,0.001]" 17:02:33 "WAI: Spawned a group of 6 AI (Bandit) at [7971.73,13675.5,0.001]" 17:02:33 "WAI: Spawned a group of 6 AI (Bandit) at [7962.7,13612.2,0.002]" 17:02:33 "WAI: Spawned in 1 M2StaticMG" 17:02:33 "WAI: Spawned in 1 M2StaticMG" 17:02:33 "WAI: Spawned in 1 M2StaticMG" 17:02:34 "WAI: Spawned in 1 M2StaticMG" 17:02:34 "WAI: Spawned in 1 M2StaticMG" 17:02:34 "WAI: Static mission for DayZ_Epoch_11 loaded" 17:02:34 Error in expression <Group EAST; }; _pilot = _unitGroup createUnit [_aiskin, [0,0,0], [], 1, "NO> 17:02:34 Error position: <createUnit [_aiskin, [0,0,0], [], 1, "NO> 17:02:34 Error Typ Array, erwartet Zeichenfolge 17:02:34 File z\addons\dayz_server\WAI\compile\heli_patrol.sqf, line 39 17:02:34 Error in expression <Group EAST; }; _pilot = _unitGroup createUnit [_aiskin, [0,0,0], [], 1, "NO> 17:02:34 Error position: <createUnit [_aiskin, [0,0,0], [], 1, "NO> 17:02:34 Error Typ Array, erwartet Zeichenfolge 17:02:34 File z\addons\dayz_server\WAI\compile\heli_patrol.sqf, line 39 17:02:34 Error in expression <roup EAST; }; _pilot = _unitGroup createUnit [_aiskin, [0,0,0], [], 1, "NO> 17:02:34 Error position: <createUnit [_aiskin, [0,0,0], [], 1, "NO> 17:02:34 Error Typ Array, erwartet Zeichenfolge 17:02:34 File z\addons\dayz_server\WAI\compile\vehicle_patrol.sqf, line 45 17:02:34 Error in expression <roup EAST; }; _pilot = _unitGroup createUnit [_aiskin, [0,0,0], [], 1, "NO> 17:02:34 Error position: <createUnit [_aiskin, [0,0,0], [], 1, "NO> 17:02:34 Error Typ Array, erwartet Zeichenfolge 17:02:34 File z\addons\dayz_server\WAI\compile\vehicle_patrol.sqf, line 45 17:02:34 Error in expression <roup EAST; }; _pilot = _unitGroup createUnit [_aiskin, [0,0,0], [], 1, "NO> 17:02:34 Error position: <createUnit [_aiskin, [0,0,0], [], 1, "NO> 17:02:34 Error Typ Array, erwartet Zeichenfolge 17:02:34 File z\addons\dayz_server\WAI\compile\vehicle_patrol.sqf, line 45 Here my Chernarus.sqf if(isServer) then { //Custom Spawns file// /* Custom group spawns Eg. [ [953.237,4486.48,0.001], // Position 4, // Number Of units "Random", // Skill level of unit (easy, medium, hard, extreme, Random) "Random", // Primary gun set number and rocket launcher. "Random" for random weapon set, "at" for anti-tank, "aa" for anti-air launcher 4, // Number of magazines "Random", // Backpack classname, use "Random" or classname here "Random", // Skin classname, use "Random" or classname here "Random", // Gearset number. "Random" for random gear set "Bandit" // AI Type, "Hero" or "Bandit". ] call spawn_group; Place your custom group spawns below */ //Zone Alpha Infanterie [ [8108.45,13592.2,0.002], // C130 6, // Number Of units "extreme", // Skill level of unit (easy, medium, hard, extreme, Random) "Random", // Primary gun set number and rocket launcher. "Random" for random weapon set, "at" for anti-tank, "aa" for anti-air launcher 8, // Number of magazines "Random", // Backpack classname, use "Random" or classname here "Bandit2_DZ", // Skin classname, use "Random" or classname here "Random", // Gearset number. "Random" for random gear set "Bandit" // AI Type, "Hero" or "Bandit". ] call spawn_group; [ [8074.88,13735.5,0.002], // Runway Vorne PLatz 4, // Number Of units "extreme", // Skill level of unit (easy, medium, hard, extreme, Random) "Random", // Primary gun set number and rocket launcher. "Random" for random weapon set, "at" for anti-tank, "aa" for anti-air launcher 8, // Number of magazines "Random", // Backpack classname, use "Random" or classname here "Bandit2_DZ", // Skin classname, use "Random" or classname here "Random", // Gearset number. "Random" for random gear set "Bandit" // AI Type, "Hero" or "Bandit". ] call spawn_group; [ [8112.57,13644.4,0.001], // Runway großer Platz 6, // Number Of units "extreme", // Skill level of unit (easy, medium, hard, extreme, Random) "Random", // Primary gun set number and rocket launcher. "Random" for random weapon set, "at" for anti-tank, "aa" for anti-air launcher 6, // Number of magazines "Random", // Backpack classname, use "Random" or classname here "Bandit2_DZ", // Skin classname, use "Random" or classname here "Random", // Gearset number. "Random" for random gear set "Bandit" // AI Type, "Hero" or "Bandit". ] call spawn_group; [ [7971.73,13675.5,0.001], // Vordere Hangers Platz 6, // Number Of units "extreme", // Skill level of unit (easy, medium, hard, extreme, Random) "Random", // Primary gun set number and rocket launcher. "Random" for random weapon set, "at" for anti-tank, "aa" for anti-air launcher 6, // Number of magazines "Random", // Backpack classname, use "Random" or classname here "Bandit2_DZ", // Skin classname, use "Random" or classname here "Random", // Gearset number. "Random" for random gear set "Bandit" // AI Type, "Hero" or "Bandit". ] call spawn_group; [ [7962.7,13612.2,0.002], // Vordere Hangers Platz 6, // Number Of units "extreme", // Skill level of unit (easy, medium, hard, extreme, Random) "Random", // Primary gun set number and rocket launcher. "Random" for random weapon set, "at" for anti-tank, "aa" for anti-air launcher 4, // Number of magazines "Random", // Backpack classname, use "Random" or classname here "Bandit2_DZ", // Skin classname, use "Random" or classname here "Random", // Gearset number. "Random" for random gear set "Bandit" // AI Type, "Hero" or "Bandit". ] call spawn_group; /* Custom static weapon spawns Eg. (with mutiple positions) [ [ // Position(s) (can be multiple) [911.21,4532.76,2.62], [921.21,4542.76,2.62] ], "M2StaticMG", // Classname of turret "easy", // Skill level of unit (easy, medium, hard, extreme, Random) "Bandit2_DZ", // Skin classname, use "Random" or classname here "Bandit", // AI Type, "Hero" or "Bandit". "Random", // Primary gun set number. "Random" for random weapon set 2, // Number of magazines "Random", // Backpack classname, use "Random" or classname here "Random" // Gearset classname, use "Random" or classname here ] call spawn_static; Place your custom static weapon spawns below */ [ [ // Position(s) (can be multiple) [8110.38,13752,0.002] ], "M2StaticMG", // Classname of turret "medium", // Skill level of unit (easy, medium, hard, extreme, Random) "Bandit2_DZ", // Skin classname, use "Random" or classname here "Bandit", // AI Type, "Hero" or "Bandit". "Random", // Primary gun set number. "Random" for random weapon set 2, // Number of magazines "Random", // Backpack classname, use "Random" or classname here "Random" // Gearset classname, use "Random" or classname here ] call spawn_static; [ [ // Position(s) (can be multiple) [8155.33,13656.8,0.001] ], "M2StaticMG", // Classname of turret "medium", // Skill level of unit (easy, medium, hard, extreme, Random) "Bandit2_DZ", // Skin classname, use "Random" or classname here "Bandit", // AI Type, "Hero" or "Bandit". "Random", // Primary gun set number. "Random" for random weapon set 2, // Number of magazines "Random", // Backpack classname, use "Random" or classname here "Random" // Gearset classname, use "Random" or classname here ] call spawn_static; [ [ // Position(s) (can be multiple) [8146.49,13610.2,0.001] ], "M2StaticMG", // Classname of turret "medium", // Skill level of unit (easy, medium, hard, extreme, Random) "Bandit2_DZ", // Skin classname, use "Random" or classname here "Bandit", // AI Type, "Hero" or "Bandit". "Random", // Primary gun set number. "Random" for random weapon set 2, // Number of magazines "Random", // Backpack classname, use "Random" or classname here "Random" // Gearset classname, use "Random" or classname here ] call spawn_static; [ [ // Position(s) (can be multiple) [8050.77,13510.2,0.001] ], "M2StaticMG", // Classname of turret "medium", // Skill level of unit (easy, medium, hard, extreme, Random) "Bandit2_DZ", // Skin classname, use "Random" or classname here "Bandit", // AI Type, "Hero" or "Bandit". "Random", // Primary gun set number. "Random" for random weapon set 2, // Number of magazines "Random", // Backpack classname, use "Random" or classname here "Random" // Gearset classname, use "Random" or classname here ] call spawn_static; [ [ // Position(s) (can be multiple) [8122.4,13465,0.001] ], "M2StaticMG", // Classname of turret "medium", // Skill level of unit (easy, medium, hard, extreme, Random) "Bandit2_DZ", // Skin classname, use "Random" or classname here "Bandit", // AI Type, "Hero" or "Bandit". "Random", // Primary gun set number. "Random" for random weapon set 2, // Number of magazines "Random", // Backpack classname, use "Random" or classname here "Random" // Gearset classname, use "Random" or classname here ] call spawn_static; /* Custom Chopper Patrol spawn Eg. [ [725.391,4526.06,0], // Position to patrol [0,0,0], // Position to spawn chopper at 2000, // Radius of patrol 10, // Number of waypoints to give "UH1H_DZ", // Classname of vehicle (make sure it has driver and two gunners) "Random", // Skill level of units (easy, medium, hard, extreme, Random) "Random", // Skin classname, use "Random" or classname here "Bandit" // AI Type, "Hero" or "Bandit". ] spawn heli_patrol; Place your heli patrols below */ [ [8074.88,13735.5,0.002], // Position to patrol [0,0,0], // Position to spawn chopper at 900, // Radius of patrol 10, // Number of waypoints to give "UH60M_EP1_DZE", // Classname of vehicle (make sure it has driver and two gunners) "Random", // Skill level of units (easy, medium, hard, extreme, Random) "Random", // Skin classname, use "Random" or classname here "Bandit" // AI Type, "Hero" or "Bandit". ] spawn heli_patrol; [ [8110.38,13752,0.002], // Position to patrol [0,0,0], // Position to spawn chopper at 900, // Radius of patrol 10, // Number of waypoints to give "UH60M_EP1_DZE", // Classname of vehicle (make sure it has driver and two gunners) "Random", // Skill level of units (easy, medium, hard, extreme, Random) "Random", // Skin classname, use "Random" or classname here "Bandit" // AI Type, "Hero" or "Bandit". ] spawn heli_patrol; /* Custom Vehicle patrol spawns Eg. (Watch out they are stupid) [ [725.391,4526.06,0], // Position to patrol [725.391,4526.06,0], // Position to spawn at 200, // Radius of patrol 10, // Number of waypoints to give "HMMWV_Armored", // Classname of vehicle (make sure it has driver and gunner) "Random", // Skill level of units (easy, medium, hard, extreme, Random) "Random", // Skin classname, use "Random" or classname here "Bandit" // AI Type, "Hero" or "Bandit". ] spawn vehicle_patrol; Place your vehicle patrols below this line */ [ [8118,13492.4,0.002], // Position to patrol [8133.33,13721.5,0.788], // Position to spawn at 200, // Radius of patrol 10, // Number of waypoints to give "HMMWV_Armored", // Classname of vehicle (make sure it has driver and gunner) "Random", // Skill level of units (easy, medium, hard, extreme, Random) "Random", // Skin classname, use "Random" or classname here "Bandit" // AI Type, "Hero" or "Bandit". ] spawn vehicle_patrol; [ [8108.45,13592.2,0.002], // Position to patrol [8133.73,13686.3,0.669], // Position to spawn at 200, // Radius of patrol 10, // Number of waypoints to give "HMMWV_Armored", // Classname of vehicle (make sure it has driver and gunner) "Random", // Skill level of units (easy, medium, hard, extreme, Random) "Random", // Skin classname, use "Random" or classname here "Bandit" // AI Type, "Hero" or "Bandit". ] spawn vehicle_patrol; [ [8087.81,13466.3,0.001], // Position to patrol [8087.81,13466.3,0.001], // Position to spawn at 200, // Radius of patrol 10, // Number of waypoints to give "HMMWV_Armored", // Classname of vehicle (make sure it has driver and gunner) "Random", // Skill level of units (easy, medium, hard, extreme, Random) "Random", // Skin classname, use "Random" or classname here "Bandit" // AI Type, "Hero" or "Bandit". ] spawn vehicle_patrol; /* Paradropped unit custom spawn Eg. [ [911.21545,4532.7612,2.6292224], // Position that units will be dropped by [0,0,0], // Starting position of the heli 400, // Radius from drop position a player has to be to spawn chopper "UH1H_DZ", // Classname of chopper (Make sure it has 2 gunner seats!) 5, // Number of units to be para dropped "Random", // Skill level of units (easy, medium, hard, extreme, Random) "Random", // Primary gun set number. "Random" for random weapon set. 4, // Number of magazines "Random", // Backpack classname, use "Random" or classname here "Bandit2_DZ", // Skin classname, use "Random" or classname here "Random", // Gearset number. "Random" for random gear set. "Bandit", // AI Type, "Hero" or "Bandit". true // true: Aircraft will stay at position and fight. false: Heli will leave if not under fire. ] spawn heli_para; Place your paradrop spawns under this line */ [ [8108.45,13592.2,0.002], // Position that units will be dropped by [0,0,0], // Starting position of the heli 300, // Radius from drop position a player has to be to spawn chopper "UH60M_EP1_DZE", // Classname of chopper (Make sure it has 2 gunner seats!) 10, // Number of units to be para dropped "Random", // Skill level of units (easy, medium, hard, extreme, Random) "Random", // Primary gun set number. "Random" for random weapon set. 4, // Number of magazines "Random", // Backpack classname, use "Random" or classname here "Bandit2_DZ", // Skin classname, use "Random" or classname here "Random", // Gearset number. "Random" for random gear set. "Bandit", // AI Type, "Hero" or "Bandit". true // true: Aircraft will stay at position and fight. false: Heli will leave if not under fire. ] spawn heli_para; // Loot-Boxen Pck_Box = compile preprocessFileLineNumbers "\z\addons\dayz_server\WAI\static\boxes\Pck_Box.sqf"; Build_Box = compile preprocessFileLineNumbers "\z\addons\dayz_server\WAI\static\boxes\Build_Box.sqf"; //PCK _box5 = createVehicle ["RUBasicWeaponsBox",[8108.45,13592.2,0.002], [], 0, "CAN_COLLIDE"]; [_box5] call Pck_Box; _box6 = createVehicle ["RUBasicWeaponsBox",[8074.88,13735.5,0.002], [], 0, "CAN_COLLIDE"]; [_box6] call Pck_Box; //Build _box7 = createVehicle ["RUBasicWeaponsBox",[7999.54,13663.2,0.002], [], 0, "CAN_COLLIDE"]; [_box7] call Build_Box; _box8 = createVehicle ["RUBasicWeaponsBox",[8084.86,13694.7,0.002], [], 0, "CAN_COLLIDE"]; [_box8] call Build_Box; diag_log format["WAI: Static mission for %1 loaded", missionName]; }; Link to comment Share on other sites More sharing options...
Recommended Posts