• Mods are now organized as resources. Use the Mods link above to browse for or submit a mod, tool, or prefab.

    The TFP Official Modding Forum Policy establishes the rules and guidelines for mod creators and mod users.

Need Mods to make more trader and trader in town

Enter DM

Press F6

Spawn a static or temporary trader where ever you want

Static means undestroyable, undeleteable, FOR EVER

So be carefull what you do

 
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.

Code:
<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.

Code:
              <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)

 
Last edited by a moderator:
Alternatively

Code:
<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.

 
Back
Top