Soldak Home   Drox Operative   Din's Curse   Depths of Peril   Zombasite  

Go Back   Soldak Entertainment Forums > Zombasite > Zombasite modding
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
  #1  
Old 04-17-2018, 10:34 AM
treborx555 treborx555 is offline
Amateur
 
Join Date: Jan 2016
Posts: 20
Question 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.
Reply With Quote
  #2  
Old 04-17-2018, 10:59 AM
Shadow's Avatar
Shadow Shadow is offline
Super Moderator
 
Join Date: Jun 2007
Location: Dallas, TX
Posts: 8,821
Default

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
__________________
Steven Peeler
Designer/programmer
Depths of Peril, Kivi's Underworld, Din's Curse, Drox Operative, Zombasite, & Din's Legacy
Patreon
Reply With Quote
  #3  
Old 04-17-2018, 12:43 PM
treborx555 treborx555 is offline
Amateur
 
Join Date: Jan 2016
Posts: 20
Default

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
Attached Files
File Type: zip mod_ImmortalClanMembers.zip (762 Bytes, 6 views)

Last edited by treborx555 : 04-17-2018 at 01:51 PM.
Reply With Quote
  #4  
Old 04-18-2018, 12:17 AM
joku joku is offline
Champion
 
Join Date: Jul 2010
Posts: 190
Default

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.
Reply With Quote
  #5  
Old 04-18-2018, 04:58 AM
treborx555 treborx555 is offline
Amateur
 
Join Date: Jan 2016
Posts: 20
Default

Quote:
Originally Posted by joku View Post
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..
Reply With Quote
  #6  
Old 04-30-2018, 04:49 PM
Shadow's Avatar
Shadow Shadow is offline
Super Moderator
 
Join Date: Jun 2007
Location: Dallas, TX
Posts: 8,821
Default

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.
Attached Files
File Type: zip mod_ImmortalClanMembers.zip (412 Bytes, 15 views)
__________________
Steven Peeler
Designer/programmer
Depths of Peril, Kivi's Underworld, Din's Curse, Drox Operative, Zombasite, & Din's Legacy
Patreon
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 05:32 PM.


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