|
#1
|
||||
|
||||
Mod to always drop 16 slot bags?
I recently got back into playing Din's Curse and I'm trying to make a mod where every monster I kill always drops a bag but I'm having trouble:
So I made modBags.gdb in /Database/Items Code:
modBags overrides BaseBag { Base BaseItem ItemType Bag BaseOnly 1 ModifiersAllowed 0 LevelRequirement 1 ModelName Models/Items/bag.mdl UseModelName Models/Items/Items/bag.mdl DropSoundName Sounds/Items/bag.wav } modBags overrides Bag7 { ItemLevel 1 Size 16 SpawnChance 100.0 } Code:
modBags overrides SpawnSystem { ItemNormalChance 100 ItemCommonChance 15 ItemUncommonChance 100 ItemRareChance 100 ItemVeryRareChance 100 ItemSetChance 100 ItemUniqueChance 70 ItemArtifactChance 25 ItemLegendaryChance 25 } Not sure what I'm doing wrong? I would just like the monsters to drop bags without affecting the drop rates of anything else (I'm not looking for more Legendaries or for it to suddenly get in the way of Legendaries dropping for example). Last edited by Anotheragain : 01-10-2019 at 05:20 PM. |
#2
|
||||
|
||||
I don't know if it is the only problem, but you can't make all 3 overrides use the name modBags, they each need to be unique names.
__________________
Steven Peeler Designer/programmer Depths of Peril, Kivi's Underworld, Din's Curse, Drox Operative, Zombasite, Din's Legacy, Drox Operative 2, & Din's Champion Wishlist Din's Champion |
#3
|
||||
|
||||
Ok I tried again:
modBags.zip/Directory/Items/modBags1.gdb Code:
modBags1 overrides BaseBag { Base BaseItem ItemType Bag BaseOnly 1 ModifiersAllowed 0 LevelRequirement 1 ModelName Models/Items/bag.mdl UseModelName Models/Items/Items/bag.mdl DropSoundName Sounds/Items/bag.wav } Code:
modBags2 overrides Bag7 { ItemLevel 1 Size 16 SpawnChance 100.0 } Code:
modBags3 overrides SpawnSystem { ItemNormalChance 100 } Last edited by Anotheragain : 01-10-2019 at 08:40 PM. |
#4
|
|||
|
|||
All files in your mod should be structured as follows:
Quote:
|
#5
|
||||
|
||||
Sorry, this is a really late reply, but I'm still trying to finish this. I started a new job that prevented me from working on this.
Code:
modBags overrides SpawnSystem { MonsterNormalItemChance 100 ItemNormalChance 100 } modBags overrides Bag7 { ItemLevel 1 SpawnChance 100 } At this point, I'm just trying to know more about what I did and learn from this. With SpawnChance, I think almost every bag that spawns is a 16 slot bag? (I still run across some Pouches and such.) MonsterNormalItemChance means that every item that drops is at least normal so that bags will always drop? I'm not sure what the difference between MonsterNormalItemChance and ItemNormalChance is. |
#6
|
||||
|
||||
You want each of those modBags parts to be unique.
ItemNormalChance is the chance when an item drops that it is at least a normal rarity. MonsterNormalItemChance is the chance that a normal monster drops an item.
__________________
Steven Peeler Designer/programmer Depths of Peril, Kivi's Underworld, Din's Curse, Drox Operative, Zombasite, Din's Legacy, Drox Operative 2, & Din's Champion Wishlist Din's Champion |
Thread Tools | |
Display Modes | |
|
|