![]() |
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.
|
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.
|
Quote:
|
Yeah, I'm not sure you can get around that part. Can you now repair/heal doors/guards at vendors though?
|
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. |
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. |
Quote:
|
All times are GMT -4. The time now is 03:34 PM. |
Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.
Copyright © 2007 - 2019 Soldak Entertainment, Inc.