• 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.

Wandering Traders DMT Mod

xyth

Community Moderator
Wandering Traders DMT Mod




Traders.jpg

Demo YouTube Video:

Description




A mod that introduces wandering traders into the game.

This mod adds 4 new traders to the game. Unlike vanilla traders, they spawn outside of trading posts, and wander the game world. The will attack all enemies (Zombies and dangerous animals), and will attack the player if they are damaged by the player. Unlike normal traders, they can be killed and will drop a specific loot container. Unless actively alerted and approaching a target, they will stop when the player comes into range, put away their weapon and invite you to trade or do tasks. Each trader has a different inventory, configurable in XML. As setup now, one sells mostly weapons and ammo, the next sells science stuff and meds, another food, and the last sells general items.

Each has a ranged weapon with xml configurable properties. These may need adjusting, but are set at various ranges and are pretty accurate. Change the ammo speed and/or the SpreadDegrees settings in xml to adjust. Some randomly shoot more than 1 projectile per shot, which is also adjustable.

Spawning is handled by adding all 4 as a rare spawn to any "friendlyanimal" spawn group. Depending on your preferences, make them more or less rare, change where they spawn, and let me know what works well.

Installing

 


This mod is retired and replaced by the creaturepacks modlets

Change Log




Version 1.8 : Folder rename for compatibility, patched insta-kill from zombie inflicted bleeding

Version 1.7 : Converted to faction based targeting, improved aim

Version 1.6 : Added ModInfo.xml to work around DMT bug

Version 1.55 : Dedi animation fix

Version 1.52 : Bleeding fix

Version 1.5 : A18 version

Version 1.34 : Removed zed buffs from weapons

Version 1.33 : Added Food trader to spawn

Version 1.31 : Added dependency for Patch_Entity to fix a bug

Version 1.3 : Animation polishing pass.

Version 1.20 : Added food traderVersion 1.10 : Stable Release. Added BP Tags to hopefully remove trap errors. 7D2DLauncher test version added.

Version 1.03 : Fixed an incorrect dependency.

Version 1.02 : Added AITasks and Targets for Bandits

Version 1.01 : Added those 3 mods as dependencies in mods.xml so you can't build without those enabled.

Version 1.00 : Initial release

Known Issues

 


The traders ability to hit non-player entities at a distance was impacted by A18 projectile collision changes. SphereII and I will look into fixing this in a future release.

The left hand position of the Heavy Trader is off on most animations. It doesn't look too bad, and I might clean that up eventually. That's a consequence of saving time by reusing animations tuned to the weapons trader. As Guppy often says...good enough.

Some minor sliding in and out of animations might still remain, especially when doing the kneeling to fire sequence. That's a tricky combination of animations but should be good enough. I plan one more tuning pass on final release.

Credits

First, to SphereII for putting up with my annoying him to create the wandering trader class. I hope this is the first of many custom entity classes.

And a shout out to Mumpfy who edited the base meshes and retextured these 3 new entities. Chaos also made one of the backpacks, but I'm not sure which. Thanks guys!!!

 
Last edited by a moderator:
looking good xyth.

chaos indeed helped with the weapons trader backpack, did a really good poly reduction on it.

 
Woooooooooooooo. This is great, it adds much needed life into the world.

Who needs to clear a POI when you can bait the traders into doing it for you! ;)

Great job Xyth, Sphereii, Mumphy and Chaos.

 
Looking fantastic! Installing now. Just a quick question, what folders go into the C:/7 Days To Die/Mods folder? Or do they all go into the SDX mods folder?

 
No worries, been playing with it for the last 10 hours. :D Although I haven't found a wandering trader yet. But I can spawn them in. :D

 
They should be rare. I did set them up with a map icon so you can see them on the map if you are in an area that has one. The icon disappears when you leave that area.

 
If placed on a dedicated server will clients need to download?
Yes. In SDX, go into the setting tab and specify the path to your dedi server game install directory, then it will build both the client and the server for you.

SDX-SettingsTab.jpg

 
I found the weapons trader; he tried to break a door down to a cabin to get at some zeds. It was fascinating to watch. In my impatience, I ended up breaking the wood next to the door and he just stalked in lol. Strangly, the sleeping zeds only awoke when I fired at them and were not disturbed by his presence among them.

Just to let you know, he mostly favored melee, but did ocasionally fire at them.

 
I found the weapons trader; he tried to break a door down to a cabin to get at some zeds. It was fascinating to watch. In my impatience, I ended up breaking the wood next to the door and he just stalked in lol. Strangly, the sleeping zeds only awoke when I fired at them and were not disturbed by his presence among them.
Just to let you know, he mostly favored melee, but did ocasionally fire at them.
That is fun to watch. At this point we have little control over the AI, so they will relentlessly close the distance into melee range. Perhaps the range property can be adjusted. On the sleeper issue, perhaps I need to add some sound to the traders if they are not detected by sleepers on sight?

 
Last edited by a moderator:
That is fun to watch. At this point we have little control over the AI, so they will relentlessly close the distance into melee range. Perhaps the range property can be adjusted. On the sleeper issue, perhaps I need to add some sound to the traders if they are not detected by sleepers on sight?
That sounds like a good idea. I think it would be awesome to walk into an area and hear a commotion coming from one of the houses as these guys lay down some pain. Might be good for role play too, in that you could say, this is how they acquire their wares. Nomadic trader/warrior types who live on the road and their wits.

Some, might consider this behavior intrusive to their game play, because these guys may break things in POI's, including loot boxes. I'd like it and welcome it. Some might not. Ultimately, it depends on what you want to achieve in the end.

I have buffed the health of these guys considerably. Up to 1000, and 1200. I don't want to kill them because they add to the immersion and it feels good to know I have someone in the world who is not trying to eat me. Can you give them a slight regen buff? Might serve to keep them around longer. And can you make their inventories change daily? Or maybe that's a silly question because these guys might despawn every day?

Anyways, best of luck to you. I'll be watching this mod with great interest. It is exactly what I have wanted for a long time.

 
Back
Top