ImWheelieBad Posted July 10 Share Posted July 10 I would love if there was a mod that increased the spawn rate of Deer in the wild :). Link to comment Share on other sites More sharing options...
JoeSloeMoe Posted July 11 Share Posted July 11 You can modify a file yourself to get what you need. - Download a small mod to use as a template (eg. https://community.7daystodie.com/topic/35203-crouch-aiming-revisited-a21-xml-modlet/ - one of mine - free to use) - remove everything in the mods config directory - change the text in modInfo.xml to suit yourself - create a file called entitygroups.xml and place is in the config directory. It should be the only file in the config directory. add the following to the file: <configs> <!-- for each entry for stags and doe in the 7dtd entitygroups.xml file: first delete the animal stag entry second delete the animal doe entry Then add them back with changed probabilities. Have added random increases - choose your own values. You can edit the actual probability itself but I've removed and re-added the entity - either way works--> <remove xpath="entitygroups/entitygroup[@name='AnimalsSnow']/entity[@name='animalStag']/"/> <remove xpath="entitygroups/entitygroup[@name='AnimalsSnow']/entity[@name='animalDoe']/"/> <append xpath="entitygroups/entitygroup[@name='AnimalsSnow']"> <entity name="animalStag" prob="0.21"/> <!--was 0.11--> <entity name="animalDoe" prob="0.39"/> <!--was 0.29--> </append> <!--now do this for all 4 other entries for stags and doe that are in entitygroups.xml--> <!--FriendlyAnimalsForest probability for stags and doe are already 1, so can ignore--> <remove xpath="entitygroups/entitygroup[@name='AnimalsForest']/entity[@name='animalStag']/"/> <remove xpath="entitygroups/entitygroup[@name='AnimalsForest']/entity[@name='animalDoe']/"/> <append xpath="entitygroups/entitygroup[@name='AnimalsForest']"> <entity name="animalStag" prob="0.5"/> <!--was 0.3--> <entity name="animalDoe" prob="0.3"/> <!--was 0.15--> </append> <remove xpath="entitygroups/entitygroup[@name='AnimalsAll']/entity[@name='animalStag']/"/> <remove xpath="entitygroups/entitygroup[@name='AnimalsAll']/entity[@name='animalDoe']/"/> <append xpath="entitygroups/entitygroup[@name='AnimalsAll']"> <entity name="animalStag" prob="0.5"/> <!--was 0.27--> <entity name="animalDoe" prob="0.8"/> <!--was 0.73--> </append> <remove xpath="entitygroups/entitygroup[@name='FriendlyAnimalsSnow']/entity[@name='animalStag']/"/> <remove xpath="entitygroups/entitygroup[@name='FriendlyAnimalsSnow']/entity[@name='animalDoe']/"/> <append xpath="entitygroups/entitygroup[@name='FriendlyAnimalsSnow']"> <entity name="animalStag" prob="0.25"/> <!--was 0.11--> <entity name="animalDoe" prob="0.35"/> <!--was 0.29--> </append> <remove xpath="entitygroups/entitygroup[@name='FriendlyAnimalsBurntForest']/entity[@name='animalStag']/"/> <remove xpath="entitygroups/entitygroup[@name='FriendlyAnimalsBurntForest']/entity[@name='animalDoe']/"/> <append xpath="entitygroups/entitygroup[@name='FriendlyAnimalsBurntForest']"> <entity name="animalStag" prob="0.5"/> <!--was 0.25--> <entity name="animalDoe" prob="0.7"/> <!--was 0.5--> </append> </configs> Rename the mod folder to whatever you want your mod called and place it in you 7dtd/mods directory. Cheers Link to comment Share on other sites More sharing options...
JoeSloeMoe Posted July 11 Share Posted July 11 Just to add Example setting the probability directly: <set xpath ="entitygroups/entitygroup[@name='AnimalsSnow']/entity[@name='animalStag']/property[@name='prob']/@value">0.5</set> repeat the above for all entries you want to amend. cheers 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