What you can do is edit the provided XML file, download XML2BMD from Bsnooch (or get the SoD Tool from here: https://www.nexusmods.com/stateofdecay/mods/151/ ), use the tool to export XML to BMD.
Can someone please explain to me how to change the range? I know that I have to search the "<!-- DEFAULT:" word on the files but I don't know which specific line to change. I want to expand the Home base as well as the outposts' range, and I'm not sure which ones are for the outposts as I only see the ones for "Home" and "enclave"... Also, what's the maximum range number I can set?
Homesite range is defined under homeenclaves.xml, called BaseRange under Home->Defense group. Default range is 60. BaseFacilityRange is basically the range of the facilities you have on your homesite. Survivor enclave range is defined on the group Enclave, whose default BaseRange is set as 40. BaseDefenseRange is just the same.
Outpost range is defined under <Event Id="fsEvent.UpdateOutpostRadius"> of rtsevents.xml. There will be two actions under this tag. The tag with ActionId="Default" is the range of the outpost when no traps are set whereas the action with ActionId="IncreaseRange" is when traps are set. Look for the <Outputs> tag and change the attribute OutputAmount to whatever amount you wish. Default is 40 and 80, respectively.
I hope that's clear. You simply have to search for "<!-- DEFAULT: "(without the quotes) on these files and this will take you to the modified lines of the .xml files.
Thanks! Also, I was wondering what's the maximum number I can use for both the Home and Outpost? because if I remember correctly, the range didn't change anymore when I set it to 100 or 120.
I don't know the maximum number you can set for those values, but remember that each time you change the xml files, you have to convert it to bmd and place it on the folder, otherwise the game won't reflect the changes you made.
Changing the numbers for both the homesite and outpost radius did not change mine, even when I deleted my profile and started a new game. I changed all numbers that had "!-- DEFAULT:" except the one that had "BaseFacilityRange" to 10 on the .xml but the resulting radius is still the same as when I didn't lower them.
EDIT: sorry, looks like I was editing the wrong numbers. EDIT 2: I edited the number with 'Value Default="##"' from the line that had "!-- DEFAULT:" but it still didn't change. EDIT 3: Changes finally took effect after I changed the xml to bmd. Didn't know I needed to convert them first. well, my problem's solved~
@soler777, yes, you have to convert the xml to bmd for the changes to take effect. The game reads the .bmd files and I believe the .xml files are simply meant for us to view the correct data.
@2017Nexus2017, you have to change the files yourself. What you can do is duplicate the unmodded homeenclaves.xml and rtsevents.xml after extracting the .pak files, search for <Event Id="fsEvent.UpdateOutpostRadius">. Change the OutputAmount attributes to whatever you desire for outpost range without traps set and with traps set. Default is 40 and 80, respectively. Save your changes then convert your .xml to .win.bmd and place your new .xml and .win.bmd files to any/all of the ff:
Seems to bug breakdown end of level challenge progress to next where it won't ask whether you are sure you want to leave this level and restart progress on the next level.
@Chimedtseren, you need to edit the .xml files and convert it to BMD. You can use the tool called xml2bmd converter, drag the .xml into it and drag the generated .bmd file into the libs/ directory.
21 comments
What you can do is edit the provided XML file, download XML2BMD from Bsnooch (or get the SoD Tool from here: https://www.nexusmods.com/stateofdecay/mods/151/ ), use the tool to export XML to BMD.
Also, what's the maximum range number I can set?
Outpost range is defined under <Event Id="fsEvent.UpdateOutpostRadius"> of rtsevents.xml. There will be two actions under this tag. The tag with ActionId="Default" is the range of the outpost when no traps are set whereas the action with ActionId="IncreaseRange" is when traps are set. Look for the <Outputs> tag and change the attribute OutputAmount to whatever amount you wish. Default is 40 and 80, respectively.
I hope that's clear. You simply have to search for "<!-- DEFAULT: "(without the quotes) on these files and this will take you to the modified lines of the .xml files.
I changed all numbers that had "!-- DEFAULT:" except the one that had "BaseFacilityRange" to 10 on the .xml but the resulting radius is still the same as when I didn't lower them.
EDIT: sorry, looks like I was editing the wrong numbers.
EDIT 2: I edited the number with 'Value Default="##"' from the line that had "!-- DEFAULT:" but it still didn't change.
EDIT 3: Changes finally took effect after I changed the xml to bmd. Didn't know I needed to convert them first. well, my problem's solved~
Game/libs/class3/rts (for Story)
Game/libs/class3.1/rts (for Breakdown)
Game/libs/class3.2/rts (for Lifeline)
You don't need to start a new game for this.
EDIT: Just uploaded them.