BetterDeadThanZed Posted April 10, 2016 Report Share Posted April 10, 2016 Where can I adjust the chances for loot containers to spawn? I've been playing on my new server for a while now and the loot containers are few and far between, even in military buildings. Link to comment Share on other sites More sharing options...
0 Richie Posted April 10, 2016 Report Share Posted April 10, 2016 epochconfig.hpp found in @epochhive adjust the time so they spawn faster Link to comment Share on other sites More sharing options...
0 BetterDeadThanZed Posted April 10, 2016 Author Report Share Posted April 10, 2016 5 minutes ago, Richie said: epochconfig.hpp found in @epochhive adjust the time so they spawn faster Do you know what the setting is called because I've looked in that file and I can't find anything that affects the time between loot containers spawning. Link to comment Share on other sites More sharing options...
0 vbawol Posted April 10, 2016 Report Share Posted April 10, 2016 The largest factor that controls if a building spawns loot when randomly selected is the: "lootBias" found in "CfgBuildingLootPos" https://github.com/EpochModTeam/Epoch/blob/master/Sources/epoch_config/Configs/CfgBuildingLootPos.hpp the random chance is set to 30% for most buildings and can be set on a per building basis. "limit" variable controls the max number of random loot objects per building that can spawn and can be set on a per building basis. After that the mechanism that controls what loot objects spawn is based on the total loot positions a building has. For example, if you have a building that has 5 separate object positions each would have a 20% chance to spawn. Link to comment Share on other sites More sharing options...
0 BetterDeadThanZed Posted April 10, 2016 Author Report Share Posted April 10, 2016 Thanks awol! That lootBias was exactly what I was looking for! Link to comment Share on other sites More sharing options...
0 He-Man Posted April 10, 2016 Report Share Posted April 10, 2016 For my opinion, the old loot script was better. Now the loot spawn random around the player, not in his walking direction. If you walk over the map, you have nearly no chance to find a Building with loot, because it spawns with a chance of 3:4 beside or behind you. Or am I wrong with this? Link to comment Share on other sites More sharing options...
0 Ghostrider-GRG Posted April 11, 2016 Report Share Posted April 11, 2016 I am guessing that to increase loot you raise the loot bias. Is that correct ? Thanks ! Ghost Link to comment Share on other sites More sharing options...
0 BetterDeadThanZed Posted April 11, 2016 Author Report Share Posted April 11, 2016 14 minutes ago, Ghostrider-DbD- said: I am guessing that to increase loot you raise the loot bias. Is that correct ? Thanks ! Ghost That is correct. I raised it from 30 to 50 and saw a noticeable increase in loot containers. Link to comment Share on other sites More sharing options...
0 viper179 Posted April 11, 2016 Report Share Posted April 11, 2016 class Default { fridgePos[] = {}; shelfPos[] = {}; pelicanPos[] = {}; wardrobePos[] = {}; bedPos[] = {}; couchPos[] = {}; cookerPos[] = {}; tablePos[] = {}; lockerPos[] = {}; toolRackPos[] = {}; shoeboxPos[] = {}; lootBias = 85; limit = 3;<<<<<< now awol what does limit 3 mean , is that the max amount of diff chairs stuff etc that will spawn in a house or can we say change this to like 6 or 7 Link to comment Share on other sites More sharing options...
0 He-Man Posted April 11, 2016 Report Share Posted April 11, 2016 Yes, max 3 Containers per Building is correct. Link to comment Share on other sites More sharing options...
0 viper179 Posted April 11, 2016 Report Share Posted April 11, 2016 But you can set it up higher if you wanted too am I wrong on this or what. Link to comment Share on other sites More sharing options...
Question
BetterDeadThanZed
Where can I adjust the chances for loot containers to spawn? I've been playing on my new server for a while now and the loot containers are few and far between, even in military buildings.
Link to comment
Share on other sites
10 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