Revoplay Posted January 28, 2014 Report Share Posted January 28, 2014 Any Hints or something? I found this in dayz_code if (DZE_MissionLootTable) then { _config = missionConfigFile >> "CfgBuildingLoot"; } else { _config = configFile >> "CfgBuildingLoot"; }; But how? I think missionConfigFile will be init.sqf, but then? And with files do i need? Link to comment Share on other sites More sharing options...
0 -shadow- Posted February 11, 2014 Report Share Posted February 11, 2014 Used this to change the loot table on zombies but the custom loot is also spawning on the ground in buildings even tho I haven't changed the buildings config file. Any idea on how to fix this? Most of the buildings and zombies share the same 'loot tables'. The pilot, Police and a hunter zombies zombies (I think) are the only one with custom loot tables. The rest use default loot tables like 'military' etc Link to comment Share on other sites More sharing options...
0 BetterDeadThanZed Posted February 16, 2014 Report Share Posted February 16, 2014 1. Make a new folder in your mission file called "loottables". copy the hpp files from here https://github.com/vbawol/DayZ-Epoch/tree/master/SQF/dayz_code/Configs/CfgBuildingLoot into your loottable folder. Is that the file with the init, missions, modules, etc folders? Also, that file can't be found on Github anymore. Link to comment Share on other sites More sharing options...
0 r0driges Posted February 16, 2014 Report Share Posted February 16, 2014 1.0.4.2 Custom Loot tables working? Link to comment Share on other sites More sharing options...
0 cen Posted February 17, 2014 Report Share Posted February 17, 2014 They work fine. Link to comment Share on other sites More sharing options...
0 TheVampire Posted February 17, 2014 Report Share Posted February 17, 2014 Is that the file with the init, missions, modules, etc folders? Also, that file can't be found on Github anymore. https://github.com/vbawol/DayZ-Epoch/tree/master/SQF/dayz_code/Configs/CfgLoot Link to comment Share on other sites More sharing options...
0 WEB11 Posted February 19, 2014 Report Share Posted February 19, 2014 Most of the buildings and zombies share the same 'loot tables'. The pilot, Police and a hunter zombies zombies (I think) are the only one with custom loot tables. The rest use default loot tables like 'military' etc When I used the old mod to customize loot it used to be that building loot was controlled only by CfgBuildingLoot.hpp. If anyone has a workaround please share it. Link to comment Share on other sites More sharing options...
0 Snowfake Posted February 24, 2014 Report Share Posted February 24, 2014 Having trouble getting this to work. When I log into my panthera server I get stuck on the splash screen. I am using the 3 files above and have everything in the right place (checked enough times). I checked my RPT and was given this error. 1:34:47 Error in expression <rea= 1500; DZE_MissionLootTable = true MaxVehicleLimit = 300; MaxDynamicDebris> 1:34:47 Error position: <MaxVehicleLimit = 300; MaxDynamicDebris> 1:34:47 Error Missing ; 1:34:47 File mpmissions\__cur_mp.panthera2\init.sqf, line 29 Any ideas? Link to comment Share on other sites More sharing options...
0 fr1nk Posted February 24, 2014 Report Share Posted February 24, 2014 Having trouble getting this to work. When I log into my panthera server I get stuck on the splash screen. I am using the 3 files above and have everything in the right place (checked enough times). I checked my RPT and was given this error. 1:34:47 Error in expression <rea= 1500; DZE_MissionLootTable = true MaxVehicleLimit = 300; MaxDynamicDebris> 1:34:47 Error position: <MaxVehicleLimit = 300; MaxDynamicDebris> 1:34:47 Error Missing ; 1:34:47 File mpmissions\__cur_mp.panthera2\init.sqf, line 29 Any ideas? Link to comment Share on other sites More sharing options...
0 Snowfake Posted February 24, 2014 Report Share Posted February 24, 2014 Obviously not enough times..... embarrassing :P Thanks Fr1nk Link to comment Share on other sites More sharing options...
0 calamity Posted February 26, 2014 Report Share Posted February 26, 2014 could somebody post the full install instructions to how to get this working, its kinda scattered here and there... what I tried didnt work server wouldnt load... but I found the instructions on this page and page 1 and im sure I am missing something... in my init I added DZE_MissionLootTable = true; in description.ext I added after enableItemsDropping=0; #include "loottables\CfgBuildingLoot.hpp" I created a folder in mission root named loottables in loottables folder I placed CfgBuildingLoot.hpp CfgBuildingPos.hpp CfgLoot.hpp Link to comment Share on other sites More sharing options...
0 cen Posted February 26, 2014 Report Share Posted February 26, 2014 you're missing CfgLootSmall.hpp Link to comment Share on other sites More sharing options...
0 calamity Posted February 26, 2014 Report Share Posted February 26, 2014 you're missing CfgLootSmall.hpp thankz but where can I find this CfgLootSmall.hpp its not in the github I found, nor is it in the code and will these files I download work for panthera epoch 1.0.4.2 ??? or do I have to find panthera specific files like the CfgLootPos.hpp has positions in it or is that the posistion in the building.. still verry confused I just found this link with all the files there but not sure if it works for panthera epoch 1.0.4.2 it says CfgLootPos.hpp added some loot positions for Napf and some more in farm building https://github.com/vbawol/DayZ-Epoch/tree/Release_1.0.4.2/SQF/dayz_code/Configs/CfgBuildingLoot Link to comment Share on other sites More sharing options...
0 cen Posted February 26, 2014 Report Share Posted February 26, 2014 Those are it Link to comment Share on other sites More sharing options...
0 calamity Posted February 28, 2014 Report Share Posted February 28, 2014 are any of the files map specific ?? do I have to call the other files like this.......... or only if I change something in the file ? #include "loottables\CfgBuildingPos.hpp" /// coord numbers lead me to believe its map specific #include "loottables\CfgBuildingLoot.hpp" #include "loottables\CfgLoot.hpp" #include "loottables\CfgLootSmall.hpp" can I only change loot and chances in CfgBuildingLoot and not change other loots files ? Link to comment Share on other sites More sharing options...
0 cen Posted February 28, 2014 Report Share Posted February 28, 2014 The positions are based on the building/object so it has nothing to do with a specific map. You only need to include the CfgBuildingLoot.hpp in your description.ext and then add the variable to init.sqf You can change any of the 4 files. If you are modding the CfgBuildingLootPos.hpp file then you'll need to change the call at the bottom of the CfgBuidlingLoot.hpp file that's currently commented out. Link to comment Share on other sites More sharing options...
0 BetterDeadThanZed Posted March 14, 2014 Report Share Posted March 14, 2014 Any chance someone that has this working could start a new post, with clear instructions from the last couple pages? Seems a little scattered and hard to follow. Link to comment Share on other sites More sharing options...
0 Cash Posted March 15, 2014 Report Share Posted March 15, 2014 Not sure what is going wrong here. Have any of you seen this before? Error in expression <eight = round ((_itemChances select _l) * 100); for "_k" from 0 to _weight - 1 d> Error position: <* 100); for "_k" from 0 to _weight - 1 d> Error *: Type String, expected Number File z\addons\dayz_code\init\loot_init.sqf, line 75 Link to comment Share on other sites More sharing options...
0 BetterDeadThanZed Posted March 16, 2014 Report Share Posted March 16, 2014 If I also want to edit CfgLoot.hpp, do I just put that also in my loottables folder, then add #include "loottables\CfgLoot.hpp" to my description.ext file? Link to comment Share on other sites More sharing options...
0 Tobias Solem Posted March 16, 2014 Report Share Posted March 16, 2014 The loot tables are really unspecific when it comes to what spawns in what building. Military Industrial? or Industrial Military? Wat? I wish there was a comprehensive list which buildings referred to what category in the loot tables. Link to comment Share on other sites More sharing options...
0 BetterDeadThanZed Posted March 16, 2014 Report Share Posted March 16, 2014 Not sure what is going wrong here. Have any of you seen this before? Error in expression <eight = round ((_itemChances select _l) * 100); for "_k" from 0 to _weight - 1 d> Error position: <* 100); for "_k" from 0 to _weight - 1 d> Error *: Type String, expected Number File z\addons\dayz_code\init\loot_init.sqf, line 75 I just set up my custom loot tables and I'm getting the exact same error. I've customized CfgBuildingLoot and CfgLoot. Both are located in the loottables folder. At the bottom of CfgBuildingLoot, I added: #include "CfgLoot.hpp" Any ideas? Link to comment Share on other sites More sharing options...
0 cen Posted March 16, 2014 Report Share Posted March 16, 2014 init.sqf:DZE_MissionLootTable = true; //Custom Loot Tables description.extenableItemsDropping=0; //INSERT AFTER ^ #include "FOLDERWHERELOOTFILESAREINMISSIONPBO\CfgBuildingLoot.hpp" Copy these 3 files to whatever folder in mission that matches the path above ^ https://github.com/vbawol/DayZ-Epoch/tree/Release_1.0.4.2/SQF/dayz_code/Configs/CfgBuildingLoot Done. If you want to change the building position loot you need the 4th file (CfgLootPos.hpp) then you need to open up CfgBuildingLoot.hpp and change the call at the bottom and copy the file into the mission folder where the other 3 files are:#include "CfgLootPos.hpp" //If you want to copypast your loottable to your mission w/o //changing something on the lootPos then use the a include instead of copypasting the CfgLootPos.hpp //#include "\dayz_epoch_b\CfgLootPos.hpp" Link to comment Share on other sites More sharing options...
0 BetterDeadThanZed Posted March 16, 2014 Report Share Posted March 16, 2014 I found I was using the wrong CfgLoot file. Not sure where I got it, but I downloaded the one from here and it seems to fix the problem: https://github.com/vbawol/DayZ-Epoch/tree/Release_1.0.4.2/SQF/dayz_code/Configs/CfgBuildingLoot. At the bottom of CfgBuildingLoot, I put this: //#include "\dayz_epoch_b\CfgLootPos.hpp" #include "CfgLoot.hpp" I put CfgLoot.hpp and CfgLootSmall.hpp in the same folder as the CfgBuildingLoot.hpp file. Hope that helps someone else. :) Link to comment Share on other sites More sharing options...
0 cen Posted March 17, 2014 Report Share Posted March 17, 2014 On the github it's important you are using the ones I linked. They are moving to the 1.8 dayz loot in epoch 1.0.5 which is completely different. Link to comment Share on other sites More sharing options...
0 BetterDeadThanZed Posted March 17, 2014 Report Share Posted March 17, 2014 On the github it's important you are using the ones I linked. They are moving to the 1.8 dayz loot in epoch 1.0.5 which is completely different. I apparently linked the same ones you did. Link to comment Share on other sites More sharing options...
0 FragZ Posted April 13, 2014 Report Share Posted April 13, 2014 Can someone post the updated links and full tutorial on this? It's most likely the only thing left to do on my server. Link to comment Share on other sites More sharing options...
Question
Revoplay
Any Hints or something?
I found this in dayz_code
But how?
I think missionConfigFile will be init.sqf, but then? And with files do i need?
Link to comment
Share on other sites
Top Posters For This Question
10
7
4
4
Popular Days
Jan 28
9
Mar 16
5
Jan 31
5
Feb 16
4
Top Posters For This Question
cen 10 posts
BetterDeadThanZed 7 posts
Revoplay 4 posts
ATRealMaster 4 posts
Popular Days
Jan 28 2014
9 posts
Mar 16 2014
5 posts
Jan 31 2014
5 posts
Feb 16 2014
4 posts
Popular Posts
vbawol
1. Make a new folder in your mission file called "loottables". copy the hpp files from here https://github.com/vbawol/DayZ-Epoch/tree/master/SQF/dayz_code/Configs/CfgBuildingLoot into your loottable f
cen
Removed M107, MAAWS Rocket Launcher, and Satchel Charges if anyone is interested. https://www.dropbox.com/sh/r6ay8shjhvyseo4/3rw5T1yYGd
70 answers to this question
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now