OldManBrian Posted January 21, 2019 Share Posted January 21, 2019 Is there a way to prevent certain items from spawning as loot until a player reaches x level or has x perk? I'm wanting to make an overhaul mod that removes all schematic unlocks from perks and puts them in loot tables like the old a16 schematics. Basically, all the food/weapon/armor/mod/crafting/etc recipes would instead be recipes you have to find as loot and you learn when reading the schematic. The catch is that I still want to restrict certain schematics behind types of "gates" to stop it from ruining a low level character's game by making it too easy. For example, have the anvil schematic only spawn as loot if the player looting is at least lvl 5, crucible schematic spawn require lvl 20, concrete schematic require lvl 30 before it possibly spawns etc. Link to comment Share on other sites More sharing options...
Numberz Posted January 22, 2019 Share Posted January 22, 2019 You’ll want to look at the loot probability templates at the top of the loot.xml file. The templates are keyed off of level and maybe gamestage now (sorry, not in front of the computer atm). Look further down in the file to see how they are then applied to specific loot groups or items. It is possible to set a zero probability until a certain level. At least it was in A16. Link to comment Share on other sites More sharing options...
OldManBrian Posted January 22, 2019 Author Share Posted January 22, 2019 Thanks, I'll try it out! Link to comment Share on other sites More sharing options...
AtomicUs5000 Posted January 22, 2019 Share Posted January 22, 2019 I'm assuming it is possible to 0 the probability after a level is reached too, though I never really looked into it. I suppose it could be useful in some cases, especially if you make your own loot groups. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.