|
#1
|
|||
|
|||
Town doors and guards
Hello. I need help in making town doors repairable and gate guards revivable. I saw only one thread on that topic from around 2016 and it still has no answers. Honestly, I have little idea where should I start with this, since I haven't done any mods, any help is appreciated. Doors are in higher priority. I'll explain my point of view : if doors were some kind of resource or material (you find wood, build doors, install them, rebuild with wood if damaged, build new ones from wood etc.) that would make sense, broken - lost. But since they are being acquired from drops, have rarity, stats etc. they are more like artifact or gear, loosing them and throwing them out on 0 durability doesn't make much sense to me. Say you very rare door broken, would you just throw it away? To me it's only makes sense to repair/rebuild it from it's "leftovers" especially considering game reality.
|
#2
|
||||
|
||||
In general you need to change the value for CantBeRepaired to 0 in the appropriate database entries. You can find that in BaseItemDoor entry in Database/doors.gdb and in BaseGuard entry in Database/guards.gdb.
__________________
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
|
|||
|
|||
Ah, thanks alot. Found those two files in assets 001 and 004. For some reason in 001 there was no "CantBeRepaired" string in "doors" file, but it was in "guards" file. I added it, just in case(did I have to, though?). And made it "0" everywhere. So now instead of showing "Can't be repaired" when I'm applying armor scraps or grindstones it says "Can be used only on armors/weapons" accordingly. How do I specify material it can be repaired with? Or do I need to attach them to armor/weapon item type somehow?
|
#4
|
||||
|
||||
Yeah, I'm not sure you can get around that part. Can you now repair/heal doors/guards at vendors though?
__________________
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 |
#5
|
|||
|
|||
Quote:
Is there really nothing I could do? Like, it would seem natural to attach armor scraps to doors atleast, since they drop from doors on dismantling. |
#6
|
||||
|
||||
The armor/weapon specific stuff is in code so that's why I suggested the vendor route (I forgot that vendors didn't repair in Zombasite).
You should be able to make vendors repair though by adding CanRepairItems 1 to the ArchetypeNpcWanderingVendor entry in Database\Monsters\npcArchetypes.gdb though.
__________________
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 |
#7
|
|||
|
|||
Will you be releasing this mod?
|
Thread Tools | |
Display Modes | |
|
|