juandayz Posted December 28, 2016 Report Share Posted December 28, 2016 rubble_town.sqf https://pastebin.com/hAb8v5kj add the call in init.sqf like the others events. gernika and theduke 2 Link to comment Share on other sites More sharing options...
looter809 Posted January 1, 2017 Report Share Posted January 1, 2017 [ ["RPK_DZ","RPK_DZ","PKM_DZ","PKM_DZ"], ["75Rnd_545x39_RPK","75Rnd_545x39_RPK","75Rnd_762x39_RPK","75Rnd_762x39_RPK","100Rnd_762x54_PK","100Rnd_762x54_PK","100Rnd_762x54_PK","100Rnd_762x54_PK","ItemSodaPepsi","ItemSodaPepsi","ItemSodaPepsi","ItemSodaPepsi","ItemSodaPepsi","ItemSodaPepsi","ItemKiloHemp","ItemKiloHemp","ItemKiloHemp","ItemKiloHemp","ItemKiloHemp","ItemKiloHemp","ItemKiloHemp",""] ], Is it supposed to have ,""] at the end there? juandayz 1 Link to comment Share on other sites More sharing options...
salival Posted January 1, 2017 Report Share Posted January 1, 2017 1 hour ago, looter809 said: [ ["RPK_DZ","RPK_DZ","PKM_DZ","PKM_DZ"], ["75Rnd_545x39_RPK","75Rnd_545x39_RPK","75Rnd_762x39_RPK","75Rnd_762x39_RPK","100Rnd_762x54_PK","100Rnd_762x54_PK","100Rnd_762x54_PK","100Rnd_762x54_PK","ItemSodaPepsi","ItemSodaPepsi","ItemSodaPepsi","ItemSodaPepsi","ItemSodaPepsi","ItemSodaPepsi","ItemKiloHemp","ItemKiloHemp","ItemKiloHemp","ItemKiloHemp","ItemKiloHemp","ItemKiloHemp","ItemKiloHemp",""] ], Is it supposed to have ,""] at the end there? No, Remove it Link to comment Share on other sites More sharing options...
juandayz Posted January 1, 2017 Author Report Share Posted January 1, 2017 8 hours ago, looter809 said: [ ["RPK_DZ","RPK_DZ","PKM_DZ","PKM_DZ"], ["75Rnd_545x39_RPK","75Rnd_545x39_RPK","75Rnd_762x39_RPK","75Rnd_762x39_RPK","100Rnd_762x54_PK","100Rnd_762x54_PK","100Rnd_762x54_PK","100Rnd_762x54_PK","ItemSodaPepsi","ItemSodaPepsi","ItemSodaPepsi","ItemSodaPepsi","ItemSodaPepsi","ItemSodaPepsi","ItemKiloHemp","ItemKiloHemp","ItemKiloHemp","ItemKiloHemp","ItemKiloHemp","ItemKiloHemp","ItemKiloHemp",""] ], Is it supposed to have ,""] at the end there? my bad tnks for the advice.. removed in main post Link to comment Share on other sites More sharing options...
looter809 Posted January 1, 2017 Report Share Posted January 1, 2017 Also [ ["M4SPR","M14_DZ","M24_des_EP1"], ["5Rnd_17HMR","5Rnd_17HMR","5Rnd_762x51_M24","5Rnd_762x51_M24","20Rnd_762x51_DMR","20Rnd_762x51_DMR","10Rnd_762x54_SVD","10Rnd_762x54_SVD","10Rnd_762x54_SVD"] ], has SVD ammo and HMR (I believe that's lee enfield ammo) and not M4SPR ammo (Stanag ammo) Also ["L110A1_DZ"], doesn't have ammo (I think requires m249 ammo? but i'm not sure) juandayz 1 Link to comment Share on other sites More sharing options...
coresync Posted January 8, 2017 Report Share Posted January 8, 2017 Hey i found a error: The last Private []; are a global variable not a local, -> fixxed by juandayz @ maipost Link to comment Share on other sites More sharing options...
juandayz Posted January 8, 2017 Author Report Share Posted January 8, 2017 @coresyncfixed in main post. Link to comment Share on other sites More sharing options...
coresync Posted January 9, 2017 Report Share Posted January 9, 2017 a other smaill thing in private[] "_enemy1" must be added. Link to comment Share on other sites More sharing options...
juandayz Posted January 9, 2017 Author Report Share Posted January 9, 2017 5 hours ago, coresync said: a other smaill thing in private[] "_enemy1" must be added. Mm not needed at all but yes Link to comment Share on other sites More sharing options...
coresync Posted January 9, 2017 Report Share Posted January 9, 2017 it is needed ^^ 1:33:24 Error in expression <n { deleteVehicle _enemy; deleteVehicle _enemy1; deleteVehicle _enemy2; deleteVe> 1:33:24 Error position: <_enemy1; deleteVehicle _enemy2; deleteVe> 1:33:24 Error Nicht definierte Variable in Ausdruck: _enemy1 1:33:24 File z\addons\dayz_server\modules\newrubbletown.sqf, line 380 Link to comment Share on other sites More sharing options...
juandayz Posted January 10, 2017 Author Report Share Posted January 10, 2017 UPDATED 1/10/17 Link to comment Share on other sites More sharing options...
theduke Posted March 22, 2017 Report Share Posted March 22, 2017 Love it Juan! Players like the NEW rubble town ;) One thing we noticed, ais do not give humanity and do not add to kills. If you use WAI, you can easily fix this by commenting out the whole code that spawns AIs and adding this if(isServer) then { //Spawn AI _mission = count wai_mission_data -1; _rndnum = (2 + round (random 4)); [[_position select 0,_position select 1,0],_rndnum,"Medium",["Random","AT"],3,"Random","Bandit","Random","Bandit",_mission] call spawn_group; [[_position select 0,_position select 1,0],_rndnum,"Medium","Random",3,"Random","Bandit","Random","Bandit",_mission] call spawn_group; [[_position select 0,_position select 1,0],_rndnum,"Medium","Random",3,"Random","Bandit","Random","Bandit",_mission] call spawn_group; }; Thanks again bud! EDIT: It spawns the AIs, but after checking the RPT it throws alot of errors. I'll look more into it later on Hooty and juandayz 2 Link to comment Share on other sites More sharing options...
Hooty Posted March 23, 2017 Report Share Posted March 23, 2017 Very Nice! @theduke Also @juandayz players have found that one of the loot boxes spawn in the water. Do you know what one it is? Link to comment Share on other sites More sharing options...
gernika Posted March 28, 2017 Report Share Posted March 28, 2017 This is great!! thanks works fine! Link to comment Share on other sites More sharing options...
PapaSmurf Posted October 19, 2018 Report Share Posted October 19, 2018 If you have a problem with one of the crates spawning inside debris (not accessible) instead of ontop. I moved the problem crate coordinates to the side a bit. Find: [(_position select 0) + 38.5, (_position select 1) - 16,-0.012] replace with [(_position select 0) + 44.97, (_position select 1) - 16.55,-0.012] Link to comment Share on other sites More sharing options...
Khyron Posted August 12, 2020 Report Share Posted August 12, 2020 anyone ever get AI to spawn in this? i dont even see AI options. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now