Soldak Entertainment Forums

Soldak Entertainment Forums (http://www.soldak.com/forums/index.php)
-   Zombasite modding (http://www.soldak.com/forums/forumdisplay.php?f=39)
-   -   Make clan members immortal? (http://www.soldak.com/forums/showthread.php?t=37523)

treborx555 04-17-2018 10:34 AM

Make clan members immortal?
 
Hi, just wondering if this is possible with modding.

I'll define immortal: basically i don't want to lose them. They would either despawn and respawn or not die and have huge debuffs for a while.

Asking because i feel like endgame could be extended a bunch by not only gearing up your character, but all the clan members too. You can do the same now but if they die you have to go through taking all the gears (if they all drop idk), then putting in storage, waiting to reqruit new member and then putting gears back on. This seems like it'd be tedious.

Shadow 04-17-2018 10:59 AM

You should be able to do this.

In Database/clans.gdb, in the ClanPlayer entry change MinRezTime and MaxRezTime values to above 0.0.

In Database/npcArchetypes.gdb, in the BaseArchetypeNpcRecruit entry add
CanBeRaised 1

treborx555 04-17-2018 12:43 PM

1 Attachment(s)
Thanks! That seems surprisingly easy and yet i'd have never guessed the specific terms, gonna try it

edit i think i did that but doesn't seem to work, i let them die and they still drop gear and are removed from clan list.

I added the mod in attachment in case i did something bad

joku 04-18-2018 12:17 AM

It looks like you don't have your mod structured correctly. You don't need the "Monsters" folder in your mod. Just put the mod_Immortal.gdb file in the database folder alongside the mod_respawntime.gdb.

I don't know that it will solve the problem, but it will at the least get you one step closer.

treborx555 04-18-2018 04:58 AM

Quote:

Originally Posted by joku (Post 83595)
It looks like you don't have your mod structured correctly. You don't need the "Monsters" folder in your mod. Just put the mod_Immortal.gdb file in the database folder alongside the mod_respawntime.gdb.

I don't know that it will solve the problem, but it will at the least get you one step closer.

I actually tried it like that first but didn't work..

Shadow 04-30-2018 04:49 PM

1 Attachment(s)
There were a couple issues with the mod, but I had to fix a couple things in code for this to actually work correctly. Attached is an updated version of the mod, but it won't work correctly until I do the next patch.


All times are GMT -4. The time now is 01:06 AM.

Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
Copyright 2007 - 2019 Soldak Entertainment, Inc.