Jump to content

How do you make an upgradeable mod?


ItachisTruth

Recommended Posts

Like say if I was to make a small basic shack, and I added a Terminal which ha options to upgrade it. How would I do this. I recently got interested in it from downloading OriginOFPain's Yangtze Bunker - Player Home. In his mod he has a terminal which adds AI as guards and interior/exterior upgrades.

 

EDIT: If you want more of an understanding of what im asking:

 

I make a home, Go to the terminal, A list of options come up like 'Add Paintings (100 Caps)' and then when I select it and exit the terminal, paintings will be on the walls and stuff.

Edited by ItachisTruth
Link to comment
Share on other sites

From what I remember of seeing in other threads, you need to attach them to quests. Basically, set them as disabled with a quest check that enables them, then attach the quest to the terminal line you want. When the button is clicked, the quest will complete, enabling the Paintings. Sorry I can't be more specific, but that's what I basically understand.
Link to comment
Share on other sites

You place the painting in GECK and disable it.

 

When the player selects to buy that upgrade it does a few things in the script.

 


If the player has 1000 caps
        Remove 1000 caps from the players inventory
        Enable our previously disabled item

If the player does not have 1000 caps
        Show the message about being a horrible father or mother  to their children, and how they are spending hard earned money of superficial objects that will neither enrich their lives or make them feel more full. 

End the check for caps
End the script and return to game world. 


Link to comment
Share on other sites

  • Recently Browsing   0 members

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