Im trying to add trader to the random gen cities in the War of the Walkers mod but for some reason it aint working. I managed to do it once in the past in the Vanilla game. i edited the rwgmixer to add traders to the groups and then edited the traders on Prefabs to allow them to spawn there. i dont understand why is it not working. am i forgeting something? The War of the Walkers mod uses the same rwgmixer as that prefab combo mod and i am used to it. I don't think that there is anything different on the mod that wouldn't make this possible
here's a preview of my modifications.
rwgmixer:
and all the 5 Trader Prefabs looks like this :
they still arent spawning inside cities and i cant figure out what is wrong :upset: i looked up at Tin's mod (dying lands) scripts as reference and it is extremely similar yet for some reason mine is not working
Pastebin with full rwgmixer code : https://pastebin.com/fvzpuDsT
here's a preview of my modifications.
rwgmixer:
Code:
<prefab_rule name="[color="#FF0000"]asiatownPOIS[/color]">
[color="#FFA500"] <prefab rule="traderGroup" min_count="1" max_count="1" prob="100"/>[/color].......
<prefab_rule name="[color="#FF0000"]residentialOldGroup[/color]">
[color="#FFA500"] <prefab rule="traderGroup" min_count="1" max_count="1" prob="100"/>[/color].......
<prefab_rule name="[color="#FF0000"]residentialNewGroup[/color]">
[color="#FFA500"] <prefab rule="traderGroup" min_count="1" max_count="1" prob="100"/>[/color].......
<prefab_rule name="[color="#FF0000"]commercialGroup[/color]">
[color="#FFA500"] <prefab rule="traderGroup" min_count="1" max_count="1" prob="100"/>[/color].......
<prefab_rule name="[color="#FF0000"]downtownGroup[/color]">
[color="#FFA500"] <prefab rule="traderGroup" min_count="1" max_count="1" prob="100"/>[/color]......
<prefab_rule name="[color="#FF0000"]industrialGroup[/color]">
[color="#FFA500"] <prefab rule="traderGroup" min_count="1" max_count="1" prob="100"/>[/color].........
===========================================================
<prefab_rule name="traderGroup">
<prefab name="settlement_trader_01" [color="#FFA500"]max_count="2"/[/color]>
<prefab name="settlement_trader_02" [color="#FFA500"]max_count="2"/[/color]>
<prefab name="settlement_trader_03" [color="#FFA500"]max_count="2"[/color]/>
<prefab name="settlement_trader_04" [color="#FFA500"]max_count="2"[/color]/>
<prefab name="settlement_trader_05" [color="#FFA500"]max_count="2"[/color]/>
</prefab_rule>
Code:
<?xml version="1.0" encoding="UTF-8"?>
<prefab>
<property name="CopyAirBlocks" value="True" />
<property name="AllowTopSoilDecorations" value="False" />
<property name="Zoning" value="[color="#FF0000"]asiatownPOIS,residentialOldGroup,residentialNewGroup,commercialGroup,downtownGroup,industrialGroup[/color]" />
<property name="RotationToFaceNorth" value="2" />
<property name="YOffset" value="-1" />
<property name="AllowedTownships" value="city,town,rural,wilderness" />
<property name="TraderArea" value="False" />
<!--<property name="TraderAreaProtect" value="20,0,20" />
<property name="TraderAreaTeleportSize" value="36, 20, 36" />
<property name="TraderAreaTeleportCenter" value="1, 1, 1" />-->
<property name="ExcludeDistantPOIMesh" value="False" />
<property name="DistantPOIYOffset" value="0" />
</prefab>
Pastebin with full rwgmixer code : https://pastebin.com/fvzpuDsT
Last edited by a moderator: