Jump to content

How do i make a trader


thebic4

Recommended Posts

I am making a mod that changes the way freeside is ie: drug addicts drunks, drug dealers, new alleys. Any ways im stuck on making my own trader all i want is him to trade chems (and new chems i made). i just want him to stand still in one place. If you want to take part in this mod just pm me
Link to comment
Share on other sites

It's very easy. Go to NPC and search for "Traveling Merchant" there are a bunch of them. Just edit one, give it a new ID and save as new form. Then remove any AI packages and scripts but leave all the dialogue and stuff as-is. This makes it easier starting from scratch because hte barter dialogue is setup for you and is thus voiced.

 

Then go into your copy and edit his trader stats and select the items you want your guy to deal in, then place the merchant wherever you want him located.

 

Next create a buried merchant container. If he's in Freeside I'd recommend just put it inside the buried vendor chest cell, or else either in Mick and Ralphs in the grey zone off the navmesh, or inside the Atomic Wrangler in the grey zone off the navmesh. Wherever you put it, set the ownership of the container to your merchant and edit your merchant ref in the render window and set his merchant container to that container.

 

Last of all, put the items you want to sell in the container and set it to respawn. It's always a good idea to flag that container as a quest item so it wont ever get looted by NPCs, never hurts to do that. And in the render window mark it persistent.

 

If you want a simple example you can look at Drakes Wasteland (see my mod links) I have a simple mercahnt setup in the Prospector Saloon he's based on one of the traveling merchants, and his contianer is also inside the prospector. Just look for prefix DXE and you can study how the merchant and container are setup.

Edited by drakeelvin
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...