Jump to content

MCM help; variable spawn rates for custom armors


RageBear1984

Recommended Posts

Hi, I *really* would like to add an MCM menu that allows for granular control of the spawn rates for my mod Raider Power Armor https://www.nexusmods.com/newvegas/mods/67936 instead of having separate high/low spawn versions, especially now that I've got TTW versions added. If possible, it would be nice if the player could choose to have certain sets not spawn at all.

The armors themselves are in custom formlists, which are then added to the raider armor lists. So far, I have been able to increase or decrease the chance of a power armor spawning by adding or removing standard raider armors to the custom formlist; it works, but I want to know if there is some way to change the rate in-game, instead of having it statically set in the list. My scripting/programming ability is basically non-existent; I've read through some documentation for MCM, but it just sort of went...whooosh. Any help would be greatly appreciated.

Link to comment
Share on other sites

You can use an int Global to set the "Chance None". You need to create a new Global (as an int), change the leveled list to use that global for the "chance none", and then give the user the chance to change the value there. The global is saved in the savegame. So no need to reset it on game restarts.

 

Say your global is called RBCN, the player can easily set it to 50% by opening the console and typing "set RBCN to 50". No need for a fancy MCM thing.

Edited by GamerRick
Link to comment
Share on other sites

  • Recently Browsing   0 members

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