Jump to content

How do I make vending machine


Rattlerx5150

Recommended Posts

Sorry, I can't really help you with that, but I recall the Underwater base mod for New Vegas had vending machine vendors(i think), so maybe you could take a look at that.

 

 

thanks,, ill give that a try, I will also peek on how the sierra madre machines worked,, I think they used recipes though

 

btw, do you happen to have the link for the underwater base

Edited by Rattlerx5150
Link to comment
Share on other sites

It's all scripting...

 

player activates the activator object (like how you press a button to turn on a jukebox)

 

give menu for items.

 

player selects item on list.

 

Take away caps (or something in exchange for item)

 

give player item.

 

exit menu interface.

 

 

 

 

That's pretty much how it works.

 

Looking into a dead money vending machine is a great place to see the scripting you'd be looking for.

Edited by Skibblets
Link to comment
Share on other sites

You'll want to take a look at Talking Activators. You can set the model of the thing to be a vending machine, and then link it to an NPC. I'm a bit fuzzy on the details of that second part, as I don't like messing with NPCs. However, it's done in several places in the game, so take a look at something like in the REPCON rocket facility to see how it's done.
Link to comment
Share on other sites

  • Recently Browsing   0 members

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