ElDubya Posted January 4, 2015 Report Share Posted January 4, 2015 I ended up doing it myself :) For anyone else running Napf, here are waypoints for the patrol missions. Just copy them over to the bandit and hero patrol.sqf files. ["Awol's Airfield",[15169.4,15993.1,0]], ["Meggen",[16495.6,15184.5,0]], ["Luzern",[14644.8,13925.9,0]], ["Liestal",[12686.7,9690.67,0]], ["Schangen",[9095,5463.93,0]], ["Lausen",[12383.3,15544.1,0]], ["Nordsten",[10225.5,18324.3,0]], ["Olten",[10103.6,16452.9,0]], ["Freidorf",[8444.87,17092.6,0]], ["Lenzburg",[8856.77,16227.9,0]], ["Neue Welt",[5896.81,13498.5,0]], ["Hutwill",[4562.94,12273.5,0]], ["Bubendorf",[3816.99,14328.9,0]], ["Hindelbank",[3163.71,12157.5,0]], ["Ittingen",[2071.93,9789.94,0]], ["Munsingen",[3765.5,7873.42,0]], ["Munchenstein",[6453.07,9588.99,0]], ["Signau",[5990.02,9022.92,0]], ["Worb",[2109.19,7652.99,0]], ["Hero Airfield",[5222.55,4472.25,0]], ["Homberg",[3110.12,7455.2,0]], ["Buckten",[6119.85,5075.97,0]], ["Goldwil",[10990.7,1977.74,0]], ["Brienz",[14443.9,2952.2,0]], ["South Airfield",[18088.3,2563.68,0]], ["Giswil",[16784.9,5161.39,0]], ["Rorenpass",[14801.5,5282.07,0]], ["Sorenberg",[13528.8,5302.98,0]], ["Ramisbode",[8332.47,7782.21,0]], ["Milan",[10313.5,7983.55,0]], ["Farnen",[13072.8,6947.73,0]], ["Alpnach",[18694.9,9420.17,0]], ["Emmen",[15859,13286.5,0]], ["Wolhusen",[14274,12636.1,0]] All tested working. ryker 1 Link to comment Share on other sites More sharing options...
Bob_the_K Posted January 4, 2015 Report Share Posted January 4, 2015 So how does the roving patrol work? It looks like foot soldiers that go from city to city until taken out. So all we need to do is enter a waypoint for each city? If so, I'll undertake the Tavi2.0 map. It'll be interesting to see if they'll cross the bridge without a specific waypoint at either end of the bridge. Bob Link to comment Share on other sites More sharing options...
ElDubya Posted January 5, 2015 Report Share Posted January 5, 2015 I noticed in the original file for Chernarus that all they had were waypoints for cities. I just made my own for Napf and they work flawlessly. AI spawn in, get assigned a vehicle and drive from one waypoint to the other with a message displaying down the bottom left corner saying where they started an where they are headed. Take them out, check the gear of the vehicle and profit. Link to comment Share on other sites More sharing options...
Dominopi Posted January 5, 2015 Report Share Posted January 5, 2015 How can I remove night vision after kill AI from their body? Link to comment Share on other sites More sharing options...
oSoDirty Posted January 5, 2015 Report Share Posted January 5, 2015 How can I remove night vision after kill AI from their body? I don't believe you can without removing them all together. Well you could with some coding knowledge.... but it's not in the config ATM. And to remove them all together find and remove if (sunOrMoon != 1) then { _unit addweapon "NVGoggles"; }; from spawn_group.sqf If you do this, the AI are pretty much walking free targets at night. EDIT: in on_kill.sqf found in compiles folder change if(_unit hasWeapon "NVGoggles" && floor(random 100) < 20) then { _unit removeWeapon "NVGoggles"; }; to: if(_unit hasWeapon "NVGoggles") then { _unit removeWeapon "NVGoggles"; }; Not tested, but no reason it shouldn't work. Dominopi 1 Link to comment Share on other sites More sharing options...
Petite Posted January 5, 2015 Report Share Posted January 5, 2015 Is there anything we can do to make them compatible with DZAI? I didn't have problem with the previous version, now with this one they shoot each other and for some reason I can not make spawn the AI on a ZU23 at my aifield, soon server restart they spawn but die instantly and zu23 gone. I do not have problem with the vehicle they stay there. Anything I can do? Link to comment Share on other sites More sharing options...
mumys Posted January 6, 2015 Report Share Posted January 6, 2015 I ended up doing it myself :) For anyone else running Napf, here are waypoints for the patrol missions. Just copy them over to the bandit and hero patrol.sqf files. ["Awol's Airfield",[15169.4,15993.1,0]], ["Meggen",[16495.6,15184.5,0]], ["Luzern",[14644.8,13925.9,0]], ["Liestal",[12686.7,9690.67,0]], ["Schangen",[9095,5463.93,0]], ["Lausen",[12383.3,15544.1,0]], ["Nordsten",[10225.5,18324.3,0]], ["Olten",[10103.6,16452.9,0]], ["Freidorf",[8444.87,17092.6,0]], ["Lenzburg",[8856.77,16227.9,0]], ["Neue Welt",[5896.81,13498.5,0]], ["Hutwill",[4562.94,12273.5,0]], ["Bubendorf",[3816.99,14328.9,0]], ["Hindelbank",[3163.71,12157.5,0]], ["Ittingen",[2071.93,9789.94,0]], ["Munsingen",[3765.5,7873.42,0]], ["Munchenstein",[6453.07,9588.99,0]], ["Signau",[5990.02,9022.92,0]], ["Worb",[2109.19,7652.99,0]], ["Hero Airfield",[5222.55,4472.25,0]], ["Homberg",[3110.12,7455.2,0]], ["Buckten",[6119.85,5075.97,0]], ["Goldwil",[10990.7,1977.74,0]], ["Brienz",[14443.9,2952.2,0]], ["South Airfield",[18088.3,2563.68,0]], ["Giswil",[16784.9,5161.39,0]], ["Rorenpass",[14801.5,5282.07,0]], ["Sorenberg",[13528.8,5302.98,0]], ["Ramisbode",[8332.47,7782.21,0]], ["Milan",[10313.5,7983.55,0]], ["Farnen",[13072.8,6947.73,0]], ["Alpnach",[18694.9,9420.17,0]], ["Emmen",[15859,13286.5,0]], ["Wolhusen",[14274,12636.1,0]] All tested working. How to paste that in ? i think im did it wrong can someone explain it to me ? Link to comment Share on other sites More sharing options...
ElDubya Posted January 6, 2015 Report Share Posted January 6, 2015 In your WAI folder, find a folder called Missions. Open that and you'll see hero and bandit folders. Open the hero folder, and you'll see a file called patrol.sqf. Paste my code over the existing waypoint co-ordinates. Then open the bandit folder, open patrol.sqf in there and do the same. Link to comment Share on other sites More sharing options...
jackal40 Posted January 8, 2015 Report Share Posted January 8, 2015 In your WAI folder, find a folder called Missions. Open that and you'll see hero and bandit folders. Open the hero folder, and you'll see a file called patrol.sqf. Paste my code over the existing waypoint co-ordinates. Then open the bandit folder, open patrol.sqf in there and do the same. Thanks for this - I'd not thought of giving them waypoints. Will work these up for my Chernarus map and then post once it's working. Edit: Looking at my files, I do not have a patrol.sqf - could you post your complete file? Thanks! Link to comment Share on other sites More sharing options...
oSoDirty Posted January 8, 2015 Report Share Posted January 8, 2015 Thanks for this - I'd not thought of giving them waypoints. Will work these up for my Chernarus map and then post once it's working. Edit: Looking at my files, I do not have a patrol.sqf - could you post your complete file? Thanks! You will have to download and install the latest test branch (2.2.0 v3) in order to use them. And they will already be in there. They depend on a few other added/edited files in the compiles folder. Link to comment Share on other sites More sharing options...
jackal40 Posted January 9, 2015 Report Share Posted January 9, 2015 You will have to download and install the latest test branch (2.2.0 v3) in order to use them. And they will already be in there. They depend on a few other added/edited files in the compiles folder. Ah, thank you. I didn't know that was part of the test branch. Link to comment Share on other sites More sharing options...
TBDominator Posted January 9, 2015 Report Share Posted January 9, 2015 When I load the WAI 2.2.0 Testbranch from GitHub into my server. and then one of the new Patrol missions tries to load I get this error in my .RPT file 13:58:19 "WAI: [Mission:[Bandit] Patrol]: Starting... [4436.97,6231.66,0]" 13:58:20 "WAI: Spawned a group of 3 AI (Hero) at [4436.97,6231.66,0.1]" 13:58:20 "WAI: R 1-1-A:1 assigned as driver" 13:58:20 "WAI: R 1-1-A:2 assigned as gunner" 13:58:20 "WAI: R 1-1-A:3 assigned as cargo" 13:58:21 "WAI: Driver is inside vehicle, continue.." 13:58:21 Error in expression <ct 1; _vehicle setVariable ["ObjectID", _oid, true]; if(debug_mode) then { diag_> 13:58:21 Error position: <_oid, true]; if(debug_mode) then { diag_> 13:58:21 Error Undefined variable in expression: _oid Any ideas? Also just got this in my RPT file, no idea what this is, any help would be greatly appreciated 14:11:52 "WAI: Driver was killed, ejecting AI and removing waypoints." 14:11:53 Error in expression <teWest && !(locked _object)) then { if (_objectID == "0" && _uid == "0") then { > 14:11:53 Error position: <_objectID == "0" && _uid == "0") then { > 14:11:53 Error Undefined variable in expression: _objectid 14:11:53 File z\addons\dayz_server\compile\server_updateObject.sqf, line 30 14:11:53 Error in expression <iable ["ObjectUID","0"]; if ((typeName _objectID != "string") || (typeName _uid> 14:11:53 Error position: <_objectID != "string") || (typeName _uid> 14:11:53 Error Undefined variable in expression: _objectid 14:11:53 File z\addons\dayz_server\compile\server_updateObject.sqf, line 21 14:12:43 Error in expression <teWest && !(locked _object)) then { if (_objectID == "0" && _uid == "0") then { > 14:12:43 Error position: <_objectID == "0" && _uid == "0") then { > 14:12:43 Error Undefined variable in expression: _objectid 14:12:43 File z\addons\dayz_server\compile\server_updateObject.sqf, line 30 14:12:43 Error in expression <s; _key = format["CHILD:306:%1:%2:%3:",_objectID,_array,_damage]; _key call se> 14:12:43 Error position: <_objectID,_array,_damage]; _key call se> 14:12:43 Error Undefined variable in expression: _objectid 14:12:43 File z\addons\dayz_server\compile\server_updateObject.sqf, line 96 14:12:43 Error in expression <iable ["ObjectUID","0"]; if ((typeName _objectID != "string") || (typeName _uid> 14:12:43 Error position: <_objectID != "string") || (typeName _uid> 14:12:43 Error Undefined variable in expression: _objectid 14:12:43 File z\addons\dayz_server\compile\server_updateObject.sqf, line 21 Link to comment Share on other sites More sharing options...
TBDominator Posted January 9, 2015 Report Share Posted January 9, 2015 I am currently trying to write some missions to add to my server for WAI 2.2.0 Testbranch. When the mission loads, everything loads perfectly fine, it does its fuel and damage calculation like it should, as per below: 21:27:35 "WAI: [Mission:[Hero] Bandit Bikers]: Starting... [2870.51,7489.3,0]" 21:27:35 "WAI: Spawned a group of 4 AI (Bandit) at [2870.51,7489.3,0]" 21:27:35 "WAI: Spawned a group of 2 AI (Bandit) at [2870.51,7489.3,0]" 21:27:35 "WAI: Spawned a group of 2 AI (Bandit) at [2870.51,7489.3,0]" 21:27:35 "WAI: Spawned "UralRefuel_TK_EP1_DZ" at [2870.51,7489.3,0]" 21:27:35 "WAI: Calculated damage for "wheel_1_1_steering" is 0.235341" 21:27:35 "WAI: Calculated damage for "wheel_2_1_steering" is 0.468225" 21:27:35 "WAI: Calculated damage for "wheel_1_4_steering" is 0.301174" 21:27:35 "WAI: Calculated damage for "wheel_2_4_steering" is 0.446898" 21:27:35 "WAI: Calculated damage for "wheel_1_3_steering" is 0.643474" 21:27:35 "WAI: Calculated damage for "wheel_2_3_steering" is 0.486057" 21:27:35 "WAI: Calculated damage for "wheel_1_2_steering" is 0.375652" 21:27:35 "WAI: Calculated damage for "wheel_2_2_steering" is 0.403682" 21:27:35 "WAI: Calculated damage for "motor" is 0.432672" 21:27:35 "WAI: Calculated damage for "sklo predni P" is 0.48162" 21:27:35 "WAI: Calculated damage for "sklo predni L" is 0.282887" 21:27:35 "WAI: Calculated damage for "karoserie" is 0.530148" 21:27:35 "WAI: Calculated damage for "palivo" is 0.584582" 21:27:35 "WAI: Added 0.0669824 percent fuel to vehicle" 21:27:35 "WAI: Spawned "Old_moto_TK_Civ_EP1" at [2870.51,7489.3,0]" 21:27:35 "WAI: Calculated damage for "engine" is 0.271229" 21:27:35 "WAI: Calculated damage for "sklo predni P" is 0.203252" 21:27:35 "WAI: Calculated damage for "sklo predni L" is 0.615053" 21:27:35 "WAI: Calculated damage for "karoserie" is 0.26175" 21:27:35 "WAI: Calculated damage for "palivo" is 0.397361" 21:27:35 "WAI: Calculated damage for "Pravy predni tlumic" is 0.25499" 21:27:35 "WAI: Calculated damage for "Pravy zadni tlumic" is 0.397267" 21:27:35 "WAI: Added 0.286502 percent fuel to vehicle" 21:27:35 "WAI: Spawned "M1030_US_DES_EP1" at [2870.51,7489.3,0]" 21:27:35 "WAI: Calculated damage for "engine" is 0.289481" 21:27:35 "WAI: Calculated damage for "sklo predni P" is 0.47492" 21:27:35 "WAI: Calculated damage for "sklo predni L" is 0.259765" 21:27:35 "WAI: Calculated damage for "karoserie" is 0.216864" 21:27:35 "WAI: Calculated damage for "palivo" is 0.284923" 21:27:35 "WAI: Calculated damage for "Pravy predni tlumic" is 0.674796" 21:27:35 "WAI: Calculated damage for "Pravy zadni tlumic" is 0.410266" 21:27:35 "WAI: Added 0.48847 percent fuel to vehicle" 21:27:35 "WAI: Spawned "Old_moto_TK_Civ_EP1" at [2870.51,7489.3,0]" 21:27:35 "WAI: Calculated damage for "engine" is 0.349017" 21:27:35 "WAI: Calculated damage for "sklo predni P" is 0.41157" 21:27:35 "WAI: Calculated damage for "sklo predni L" is 0.567939" 21:27:35 "WAI: Calculated damage for "karoserie" is 0.385859" 21:27:35 "WAI: Calculated damage for "palivo" is 0.641912" 21:27:35 "WAI: Calculated damage for "Pravy predni tlumic" is 0.309707" 21:27:35 "WAI: Calculated damage for "Pravy zadni tlumic" is 0.343436" 21:27:35 "WAI: Added 0.386886 percent fuel to vehicle" 21:27:35 "WAI: Spawned "TT650_TK_EP1" at [2870.51,7489.3,0]" 21:27:35 "WAI: Calculated damage for "engine" is 0.48366" 21:27:35 "WAI: Calculated damage for "sklo predni P" is 0.471992" 21:27:35 "WAI: Calculated damage for "sklo predni L" is 0.368853" 21:27:35 "WAI: Calculated damage for "karoserie" is 0.337078" 21:27:35 "WAI: Calculated damage for "palivo" is 0.447946" 21:27:35 "WAI: Calculated damage for "Pravy predni tlumic" is 0.36726" 21:27:35 "WAI: Calculated damage for "Pravy zadni tlumic" is 0.43444" 21:27:35 "WAI: Added 0.45747 percent fuel to vehicle" 21:27:35 "WAI: [Hero] Bandit Bikers spawned a UralRefuel_TK_EP1_DZ" 21:27:35 "WAI: [Hero] Bandit Bikers spawned a Old_moto_TK_Civ_EP1" 21:27:35 "WAI: [Hero] Bandit Bikers spawned a M1030_US_DES_EP1" 21:27:35 "WAI: [Hero] Bandit Bikers spawned a Old_moto_TK_Civ_EP1" 21:27:35 "WAI: [Hero] Bandit Bikers spawned a TT650_TK_EP1" however when I then unlock the vehicle and then get into the vehicle, my vehicle has No damage at all and I get this in my RPT file: 21:34:36 "PUBLISH: Attempt B 1-1-B:1 (Troy) REMOTE" 21:34:36 "HIVE: WRITE: "CHILD:308:24:Old_moto_TK_Civ_EP1:0:9360:[349.435,[2872.01,7486.43,0.0393696]]:[[[],[]],[[],[]],[[],[]]]:[["engine",0.271229],["sklo predni P",0.203252],["sklo predni L",0.615053],["karoserie",0.26175],["palivo",0.397361],["Pravy predni tlumic",0.25499],["Pravy zadni tlumic",0.397267]]:0.286502:28720748640349:"" 21:34:36 "PUBLISH: Created Old_moto_TK_Civ_EP1 with ID "28720748640349"" 21:34:36 "HIVE: WRITE: "CHILD:388:28720748640349:"" 21:34:36 "CUSTOM: trying again to get id for: "28720748640349"" 21:34:36 "HIVE: WRITE: "CHILD:388:28685748811349:"" 21:34:36 "CUSTOM: trying again to get id for: "28685748811349"" 21:34:37 "HIVE: WRITE: "CHILD:388:28720748640349:"" 21:34:37 "CUSTOM: trying again to get id for: "28720748640349"" 21:34:37 "HIVE: WRITE: "CHILD:388:28685748811349:"" 21:34:37 "CUSTOM: trying again to get id for: "28685748811349"" 21:34:38 "HIVE: WRITE: "CHILD:388:28720748640349:"" 21:34:38 "CUSTOM: trying again to get id for: "28720748640349"" 21:34:38 "HIVE: WRITE: "CHILD:388:28685748811349:"" 21:34:38 "CUSTOM: trying again to get id for: "28685748811349"" Here is the mission SQF file: if(isServer) then { private ["_complete","_crate_type","_mission","_position","_crate","_vehclass","_vehicle","_vehclass2","_vehclass3","_vehclass4","_vehclass5","_vehicle2","_vehicle3","_vehicle4","_vehicle5","_dir"]; // Get mission number, important we do this early _mission = count wai_mission_data -1; _position = [30] call find_position; [_mission,_position,"Easy","Bandit Bikers","MainHero",true] call mission_init; diag_log format["WAI: [Mission:[Hero] Bandit Bikers]: Starting... %1",_position]; //Setup the crate _crate_type = crates_small call BIS_fnc_selectRandom; _crate = createVehicle [_crate_type,[(_position select 0) + 5,(_position select 1) + 5,0], [], 0, "CAN_COLLIDE"]; //Troops [[_position select 0,_position select 1,0],4,"Easy",["Random","AT"],4,"Random","Bandit","Random","Bandit",_mission] call spawn_group; [[_position select 0,_position select 1,0],2,"Medium",["Random","AT"],4,"Random","Bandit","Random","Bandit",_mission] call spawn_group; [[_position select 0,_position select 1,0],2,"Random","Random",4,"Random","Bandit","Random","Bandit",_mission] call spawn_group; //Spawn vehicles _dir = floor(round(random 360)); _vehclass = refuel_trucks call BIS_fnc_selectRandom; // Refuel Truck _vehclass2 = civil_motorbikes call BIS_fnc_selectRandom; //Bike No. 1 _vehclass3 = civil_motorbikes call BIS_fnc_selectRandom; //Bike No. 2 _vehclass4 = civil_motorbikes call BIS_fnc_selectRandom; //Bike No. 3 _vehclass5 = civil_motorbikes call BIS_fnc_selectRandom; //Bike No. 4 _vehicle = [_vehclass,_position,_mission,false,_dir] call custom_publish; _vehicle2 = [_vehclass2,_position,_mission,false,_dir] call custom_publish; _vehicle3 = [_vehclass3,_position,_mission,false,_dir] call custom_publish; _vehicle4 = [_vehclass4,_position,_mission,false,_dir] call custom_publish; _vehicle5 = [_vehclass5,_position,_mission,false,_dir] call custom_publish; //debug mode if(debug_mode) then { diag_log format["WAI: [Hero] Bandit Bikers spawned a %1",_vehclass]; diag_log format["WAI: [Hero] Bandit Bikers spawned a %1",_vehclass2]; diag_log format["WAI: [Hero] Bandit Bikers spawned a %1",_vehclass3]; diag_log format["WAI: [Hero] Bandit Bikers spawned a %1",_vehclass4]; diag_log format["WAI: [Hero] Bandit Bikers spawned a %1",_vehclass5]; }; //Condition _complete = [ [_mission,_crate], // mission number and crate ["kill"], // ["crate"], or ["kill"], or ["assassinate", _unitGroup], [_vehicle,_vehicle2,_vehicle3,_vehicle4,_vehicle5], // cleanup objects "A group of bandit bikers have stopped to repair and refuel. Surprise them!", // mission announcement "Survivors have eliminated the bandit bikers!", // mission success "The bandit bikers have refuelled and left the area to terrorise more survivors." // mission fail ] call mission_winorfail; if(_complete) then { [_crate,2,2,8,0] call dynamic_crate; }; diag_log format["WAI: [Mission:[Hero] Bandit Bikers]: Ended at %1",_position]; h_missionsrunning = h_missionsrunning - 1; }; I can't see what is wrong in the mission file. Any ideas would be super fantastic? Link to comment Share on other sites More sharing options...
pudgess Posted January 9, 2015 Report Share Posted January 9, 2015 When the update is??? Link to comment Share on other sites More sharing options...
Nekuan Posted January 9, 2015 Report Share Posted January 9, 2015 So I wanted to give some AI groups in my Sector B rocketlaunchers but.. Seems like it doesn't really work?`I can see no errors in my .rpt and running out of ideas. Do I still have to enable the launchers in the config? But that would give every AI a rocketlauncher right? I'm on WAI 2.1.4 btw Anyways heres an example: [ [22981.844, 19531.957,0.001], // Position 10, // Number Of units "hard", // Skill level of unit (easy, medium, hard, extreme, Random) ["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; Link to comment Share on other sites More sharing options...
TBDominator Posted January 10, 2015 Report Share Posted January 10, 2015 I am currently trying to write some missions to add to my server for WAI 2.2.0 Testbranch. When the mission loads, everything loads perfectly fine, it does its fuel and damage calculation like it should, as per below: 21:27:35 "WAI: [Mission:[Hero] Bandit Bikers]: Starting... [2870.51,7489.3,0]" 21:27:35 "WAI: Spawned a group of 4 AI (Bandit) at [2870.51,7489.3,0]" 21:27:35 "WAI: Spawned a group of 2 AI (Bandit) at [2870.51,7489.3,0]" 21:27:35 "WAI: Spawned a group of 2 AI (Bandit) at [2870.51,7489.3,0]" 21:27:35 "WAI: Spawned "UralRefuel_TK_EP1_DZ" at [2870.51,7489.3,0]" 21:27:35 "WAI: Calculated damage for "wheel_1_1_steering" is 0.235341" 21:27:35 "WAI: Calculated damage for "wheel_2_1_steering" is 0.468225" 21:27:35 "WAI: Calculated damage for "wheel_1_4_steering" is 0.301174" 21:27:35 "WAI: Calculated damage for "wheel_2_4_steering" is 0.446898" 21:27:35 "WAI: Calculated damage for "wheel_1_3_steering" is 0.643474" 21:27:35 "WAI: Calculated damage for "wheel_2_3_steering" is 0.486057" 21:27:35 "WAI: Calculated damage for "wheel_1_2_steering" is 0.375652" 21:27:35 "WAI: Calculated damage for "wheel_2_2_steering" is 0.403682" 21:27:35 "WAI: Calculated damage for "motor" is 0.432672" 21:27:35 "WAI: Calculated damage for "sklo predni P" is 0.48162" 21:27:35 "WAI: Calculated damage for "sklo predni L" is 0.282887" 21:27:35 "WAI: Calculated damage for "karoserie" is 0.530148" 21:27:35 "WAI: Calculated damage for "palivo" is 0.584582" 21:27:35 "WAI: Added 0.0669824 percent fuel to vehicle" 21:27:35 "WAI: Spawned "Old_moto_TK_Civ_EP1" at [2870.51,7489.3,0]" 21:27:35 "WAI: Calculated damage for "engine" is 0.271229" 21:27:35 "WAI: Calculated damage for "sklo predni P" is 0.203252" 21:27:35 "WAI: Calculated damage for "sklo predni L" is 0.615053" 21:27:35 "WAI: Calculated damage for "karoserie" is 0.26175" 21:27:35 "WAI: Calculated damage for "palivo" is 0.397361" 21:27:35 "WAI: Calculated damage for "Pravy predni tlumic" is 0.25499" 21:27:35 "WAI: Calculated damage for "Pravy zadni tlumic" is 0.397267" 21:27:35 "WAI: Added 0.286502 percent fuel to vehicle" 21:27:35 "WAI: Spawned "M1030_US_DES_EP1" at [2870.51,7489.3,0]" 21:27:35 "WAI: Calculated damage for "engine" is 0.289481" 21:27:35 "WAI: Calculated damage for "sklo predni P" is 0.47492" 21:27:35 "WAI: Calculated damage for "sklo predni L" is 0.259765" 21:27:35 "WAI: Calculated damage for "karoserie" is 0.216864" 21:27:35 "WAI: Calculated damage for "palivo" is 0.284923" 21:27:35 "WAI: Calculated damage for "Pravy predni tlumic" is 0.674796" 21:27:35 "WAI: Calculated damage for "Pravy zadni tlumic" is 0.410266" 21:27:35 "WAI: Added 0.48847 percent fuel to vehicle" 21:27:35 "WAI: Spawned "Old_moto_TK_Civ_EP1" at [2870.51,7489.3,0]" 21:27:35 "WAI: Calculated damage for "engine" is 0.349017" 21:27:35 "WAI: Calculated damage for "sklo predni P" is 0.41157" 21:27:35 "WAI: Calculated damage for "sklo predni L" is 0.567939" 21:27:35 "WAI: Calculated damage for "karoserie" is 0.385859" 21:27:35 "WAI: Calculated damage for "palivo" is 0.641912" 21:27:35 "WAI: Calculated damage for "Pravy predni tlumic" is 0.309707" 21:27:35 "WAI: Calculated damage for "Pravy zadni tlumic" is 0.343436" 21:27:35 "WAI: Added 0.386886 percent fuel to vehicle" 21:27:35 "WAI: Spawned "TT650_TK_EP1" at [2870.51,7489.3,0]" 21:27:35 "WAI: Calculated damage for "engine" is 0.48366" 21:27:35 "WAI: Calculated damage for "sklo predni P" is 0.471992" 21:27:35 "WAI: Calculated damage for "sklo predni L" is 0.368853" 21:27:35 "WAI: Calculated damage for "karoserie" is 0.337078" 21:27:35 "WAI: Calculated damage for "palivo" is 0.447946" 21:27:35 "WAI: Calculated damage for "Pravy predni tlumic" is 0.36726" 21:27:35 "WAI: Calculated damage for "Pravy zadni tlumic" is 0.43444" 21:27:35 "WAI: Added 0.45747 percent fuel to vehicle" 21:27:35 "WAI: [Hero] Bandit Bikers spawned a UralRefuel_TK_EP1_DZ" 21:27:35 "WAI: [Hero] Bandit Bikers spawned a Old_moto_TK_Civ_EP1" 21:27:35 "WAI: [Hero] Bandit Bikers spawned a M1030_US_DES_EP1" 21:27:35 "WAI: [Hero] Bandit Bikers spawned a Old_moto_TK_Civ_EP1" 21:27:35 "WAI: [Hero] Bandit Bikers spawned a TT650_TK_EP1" however when I then unlock the vehicle and then get into the vehicle, my vehicle has No damage at all and I get this in my RPT file over and over again: 21:34:36 "PUBLISH: Attempt B 1-1-B:1 (Troy) REMOTE" 21:34:36 "HIVE: WRITE: "CHILD:308:24:Old_moto_TK_Civ_EP1:0:9360:[349.435,[2872.01,7486.43,0.0393696]]:[[[],[]],[[],[]],[[],[]]]:[["engine",0.271229],["sklo predni P",0.203252],["sklo predni L",0.615053],["karoserie",0.26175],["palivo",0.397361],["Pravy predni tlumic",0.25499],["Pravy zadni tlumic",0.397267]]:0.286502:28720748640349:"" 21:34:36 "PUBLISH: Created Old_moto_TK_Civ_EP1 with ID "28720748640349"" 21:34:36 "HIVE: WRITE: "CHILD:388:28720748640349:"" 21:34:36 "CUSTOM: trying again to get id for: "28720748640349"" 21:34:36 "HIVE: WRITE: "CHILD:388:28685748811349:"" 21:34:36 "CUSTOM: trying again to get id for: "28685748811349"" 21:34:37 "HIVE: WRITE: "CHILD:388:28720748640349:"" 21:34:37 "CUSTOM: trying again to get id for: "28720748640349"" 21:34:37 "HIVE: WRITE: "CHILD:388:28685748811349:"" 21:34:37 "CUSTOM: trying again to get id for: "28685748811349"" 21:34:38 "HIVE: WRITE: "CHILD:388:28720748640349:"" 21:34:38 "CUSTOM: trying again to get id for: "28720748640349"" 21:34:38 "HIVE: WRITE: "CHILD:388:28685748811349:"" 21:34:38 "CUSTOM: trying again to get id for: "28685748811349"" Here is the mission SQF file: if(isServer) then { private ["_complete","_crate_type","_mission","_position","_crate","_vehclass","_vehicle","_vehclass2","_vehclass3","_vehclass4","_vehclass5","_vehicle2","_vehicle3","_vehicle4","_vehicle5","_dir"]; // Get mission number, important we do this early _mission = count wai_mission_data -1; _position = [30] call find_position; [_mission,_position,"Easy","Bandit Bikers","MainHero",true] call mission_init; diag_log format["WAI: [Mission:[Hero] Bandit Bikers]: Starting... %1",_position]; //Setup the crate _crate_type = crates_small call BIS_fnc_selectRandom; _crate = createVehicle [_crate_type,[(_position select 0) + 5,(_position select 1) + 5,0], [], 0, "CAN_COLLIDE"]; //Troops [[_position select 0,_position select 1,0],4,"Easy",["Random","AT"],4,"Random","Bandit","Random","Bandit",_mission] call spawn_group; [[_position select 0,_position select 1,0],2,"Medium",["Random","AT"],4,"Random","Bandit","Random","Bandit",_mission] call spawn_group; [[_position select 0,_position select 1,0],2,"Random","Random",4,"Random","Bandit","Random","Bandit",_mission] call spawn_group; //Spawn vehicles _dir = floor(round(random 360)); _vehclass = refuel_trucks call BIS_fnc_selectRandom; // Refuel Truck _vehclass2 = civil_motorbikes call BIS_fnc_selectRandom; //Bike No. 1 _vehclass3 = civil_motorbikes call BIS_fnc_selectRandom; //Bike No. 2 _vehclass4 = civil_motorbikes call BIS_fnc_selectRandom; //Bike No. 3 _vehclass5 = civil_motorbikes call BIS_fnc_selectRandom; //Bike No. 4 _vehicle = [_vehclass,_position,_mission,false,_dir] call custom_publish; _vehicle2 = [_vehclass2,_position,_mission,false,_dir] call custom_publish; _vehicle3 = [_vehclass3,_position,_mission,false,_dir] call custom_publish; _vehicle4 = [_vehclass4,_position,_mission,false,_dir] call custom_publish; _vehicle5 = [_vehclass5,_position,_mission,false,_dir] call custom_publish; //debug mode if(debug_mode) then { diag_log format["WAI: [Hero] Bandit Bikers spawned a %1",_vehclass]; diag_log format["WAI: [Hero] Bandit Bikers spawned a %1",_vehclass2]; diag_log format["WAI: [Hero] Bandit Bikers spawned a %1",_vehclass3]; diag_log format["WAI: [Hero] Bandit Bikers spawned a %1",_vehclass4]; diag_log format["WAI: [Hero] Bandit Bikers spawned a %1",_vehclass5]; }; //Condition _complete = [ [_mission,_crate], // mission number and crate ["kill"], // ["crate"], or ["kill"], or ["assassinate", _unitGroup], [_vehicle,_vehicle2,_vehicle3,_vehicle4,_vehicle5], // cleanup objects "A group of bandit bikers have stopped to repair and refuel. Surprise them!", // mission announcement "Survivors have eliminated the bandit bikers!", // mission success "The bandit bikers have refuelled and left the area to terrorise more survivors." // mission fail ] call mission_winorfail; if(_complete) then { [_crate,2,2,8,0] call dynamic_crate; }; diag_log format["WAI: [Mission:[Hero] Bandit Bikers]: Ended at %1",_position]; h_missionsrunning = h_missionsrunning - 1; }; I can't see what is wrong in the mission file. Any ideas would be super fantastic? Any help would be great please :) Link to comment Share on other sites More sharing options...
S3M4J Posted January 10, 2015 Report Share Posted January 10, 2015 How do i change it that you cant see missions on the map till you have a radio Link to comment Share on other sites More sharing options...
S3M4J Posted January 10, 2015 Report Share Posted January 10, 2015 How do i change it that you cant see missions on the map till you have a radio Link to comment Share on other sites More sharing options...
ElDubya Posted January 10, 2015 Report Share Posted January 10, 2015 Are you using the latest version? 2.2.0? In that, make sure : wai_radio_announce = true; is set. Link to comment Share on other sites More sharing options...
pudgess Posted January 10, 2015 Report Share Posted January 10, 2015 where to download 2.2.0??? Link to comment Share on other sites More sharing options...
Nekuan Posted January 10, 2015 Report Share Posted January 10, 2015 Anyone else got the problem with mission vehicles respawning back at their position after a restart although they were sold/moved before? 2.2.0 Beta Link to comment Share on other sites More sharing options...
pudgess Posted January 10, 2015 Report Share Posted January 10, 2015 where to buy 2.2.0? Link to comment Share on other sites More sharing options...
TBDominator Posted January 10, 2015 Report Share Posted January 10, 2015 WICKED AI BETA 2.2.0 v3 Updated Beta release for 2.2.0Added decent radio supportBetter vehicle damagerSome perfomance tuningFinetuned missions / settingsNote: Installation instructions have been changed, please read them carefully. Download Wicked AI BETA 2.2.0 v3 Link to comment Share on other sites More sharing options...
ElDubya Posted January 10, 2015 Report Share Posted January 10, 2015 Anyone else got the problem with mission vehicles respawning back at their position after a restart although they were sold/moved before? 2.2.0 Beta Yep. Link to comment Share on other sites More sharing options...
ElDubya Posted January 10, 2015 Report Share Posted January 10, 2015 Also, if anyone can tell me how to totally disable bandit missions that would be fantastic. Cheers. Link to comment Share on other sites More sharing options...
Recommended Posts