Jump to content

Need Mods to make more trader and trader in town


Lexicroft

Recommended Posts

This is how you would add traders to towns. Make a new folder in your mods folder. make a text file in named rwgmixer.xml and put this in that file.

<configs>
	<insertAfter xpath="/rwgmixer/prefab_rules/prefab_rule[@name='townGroup']/prefab[@rule='detailFillerGroup']" >
		<prefab rule="traderGroup"/>
	</insertAfter>	
</configs>		

 

I use the combopack so you may want to open your rwgmixer and make sure you have townGroup with detailFillerGroup in it. If you have townGroup but there isn't a detailFillerGroup under it, then just replace detailFillerGroup with whatever is last.

This is the section that is getting changed.

		
              <prefab_rule name="townGroup">
		<prefab rule="residentialOldGroup"/>
		<prefab rule="residentialNewGroup"/>
		<prefab rule="commercialGroup"/>
		<prefab rule="downtownGroup"/>
		<prefab rule="industrialGroup"/>
		<prefab rule="ruralGroup"/>
		<prefab rule="detailFillerGroup" prop="0.05"/>
	</prefab_rule>

 

Red eagle has a mod that increases traders in the wilderness so you could download his then just add the xpath above to it. https://7daystodie.com/forums/showthread.php?94219-Red-Eagle-LXIX-s-A17-Modlet-Collection-(UI-Blocks-Quests)

Link to comment
Share on other sites

Alternatively

 

<append xpath="/rwgmixer/prefab_rules/prefab_rule[@name='commercialGroup']">
   <prefab rule="traderGroup" min_count="0" max_count="1" prob="0.015"/>
</append>

 

is a block you can use in rwgmixer.xml to add the possibility of a single trader from the traderGroup to be spawned in each commercialGroup with low probability. Actually not different from scwanobi's suggestion other then limiting it to commercial zones and i assume a lower chance.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...