Cubitron Posted December 28, 2014 Report Share Posted December 28, 2014 Hello all is it possible to edit the config.hpp lootspawns from the buildings in the code folder? If i repack the folder the server dont start Link to comment Share on other sites More sharing options...
blckeagls Posted December 28, 2014 Report Share Posted December 28, 2014 nope... that would be client side... to edit config.hpp you would have to port some of the code to your mission folder... would be really difficult undertaking.. I think the DEV's should put the Loot Tables and Pricing tables in the mission file so we can edit.... FPSTrollywood 1 Link to comment Share on other sites More sharing options...
Cubitron Posted December 29, 2014 Author Report Share Posted December 29, 2014 Ty but atm i see servers with dynamic loot system? Link to comment Share on other sites More sharing options...
FPSTrollywood Posted December 29, 2014 Report Share Posted December 29, 2014 I think the DEV's should put the Loot Tables and Pricing tables in the mission file so we can edit.... Agreed... that would make it much easier for the modded servers that have things like ifrits, striders, HMG offroads, ghost hawks, etc... Link to comment Share on other sites More sharing options...
Amdathlon Posted December 30, 2014 Report Share Posted December 30, 2014 Such a solution is the loot . "GlobalHint" addPublicVariableEventHandler { private ["_GHint"]; _GHint = _this select 1; hint parseText format["%1", _GHint]; }; if (isServer) then { fn_getBuildingstospawnLoot = compile preProcessFileLineNumbers "fn_LSgetBuildingstospawnLoot.sqf"; LSdeleter = compile preProcessFileLineNumbers "LSdeleter.sqf"; execVM "Lootspawner.sqf"; }; Add the init.sqf in mission.pbo and add the modification files in mission.pbo: fn_LSgetBuildingstospawnLoot.sqf , Lootspawner.sqf , LSdeleter.sqf , LSlootBuildings.sqf , LSlootLists.sqf :D Link to comment Share on other sites More sharing options...
Sporny Posted December 30, 2014 Report Share Posted December 30, 2014 Look at this script:http://forums.bistudio.com/showthread.php?165234-Lootspawner-configurable-building-loot-systemJust edit the LSlootLists.sqf with Epoch classnames ;) Link to comment Share on other sites More sharing options...
Cubitron Posted December 31, 2014 Author Report Share Posted December 31, 2014 The script runs but dont work :D if i have time i try to rework it Link to comment Share on other sites More sharing options...
brent65622 Posted December 31, 2014 Report Share Posted December 31, 2014 if you get it to work pls let me know how thnx Link to comment Share on other sites More sharing options...
happysan Posted December 31, 2014 Report Share Posted December 31, 2014 Sporny has the right method at the moment. Most severs with custom loot use loot spawner code. My only gripe is it throws the loot below the world sometimes and some items are too small to spot. It will be better when the devs open up the sofa code to us so we can spawn custom loot in the cushions. Link to comment Share on other sites More sharing options...
brent65622 Posted December 31, 2014 Report Share Posted December 31, 2014 its running on my server just is not spawning anything Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now