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-03-2018, 09:43 AM
adyy78 adyy78 is offline
Amateur
 
Join Date: Apr 2018
Posts: 5
Default Modding Therapy skill

Hi all.I just discovered that there is this new skill called therapy,but i only got one npc with that skill.So since it was so rare,i went to check the files,and to my surpires without any program,skill or knowledge,i could play around with a few things,but even increasing the value of "jobchance" won't help,i'm keep getting priests (i deleted every other classes) and still none of them has the therapy skill.Any help, or suggestion how to get them normally in the game ?
Reply With Quote
  #2  
Old 04-03-2018, 05:51 PM
Shadow's Avatar
Shadow Shadow is offline
Super Moderator
 
Join Date: Jun 2007
Location: Dallas, TX
Posts: 9,064
Default

jobchance would only change how often NPCs use that skill, if they have it.

To make it be given to more priest NPCs, you would want to do something like this:

Code:
BaseArchetypeNpcFreeRecruitPriestTherapyMod addsTo BaseArchetypeNpcFreeRecruitPriest
{
	RandomSkill		SkillTherapist
	RandomSkill		SkillTherapist
	RandomSkill		SkillTherapist
	RandomSkill		SkillTherapist
}
That would effectively make the therapist skill 5 times more likely to get chosen for priests.
__________________
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-04-2018, 11:35 AM
adyy78 adyy78 is offline
Amateur
 
Join Date: Apr 2018
Posts: 5
Default

Thank you for the fast reply.I tried to add the lines you wrote to the skills.gdb but it didn't work.I added more "RandomSkill SkillTherapist",i've added the npcpriest class to the classes multiple times to increase the likelyhood of an npc be a priest but nothing worked x'D. Could you please help me how and what to add to which files ?I also tried to add it to everyclass by changing "BaseArchetypeNpcFreeRecruitPriestTherapyMod addsTo BaseArchetypeNpcFreeRecruitPriest" to "BaseArchetypeNpcFreeRecruitWarriorMaleTherapy Mod addsTo BaseArchetypeNpcFreeRecruitWarriorMale" etc and no change.Or if it is easier,could you tell me how to add it to the bas skills?That way it will be 100% it will show up.

Also,i've noticed assets 1 and assets 4 both has skills,classes,system etc gdb files as well.Did you forget to update/delete them or they are supposed to be like that ?

Also2,which file contains peronalities ?If it is simple enough(deleting lines) i'd like to delete negative personalities.

Also3,how effective is the therapist skill ?Or is it just some minor fanservice?Cos i saw the post where someone asked for the skill and you said you added after that.If it is,are there no real way to manage insanity?Do we have to rely on rng to drop relics that decrease insanity without the therapist skill?And how effective is R&R ?(minutes wise)

Last edited by adyy78 : 04-05-2018 at 02:39 AM.
Reply With Quote
  #4  
Old 04-16-2018, 12:55 AM
adyy78 adyy78 is offline
Amateur
 
Join Date: Apr 2018
Posts: 5
Default

Uhm....hello ?
Reply With Quote
  #5  
Old 04-16-2018, 02:52 PM
Shadow's Avatar
Shadow Shadow is offline
Super Moderator
 
Join Date: Jun 2007
Location: Dallas, TX
Posts: 9,064
Default

Sorry, I've been distracted by getting shadow mapping working in the next game.

Well that just increased the odds, so it is very possible you still don't see it very often.

You could do something like this:
Code:
NpcFreeRecruitPriestMale1TherapyMod addsTo NpcFreeRecruitPriestMale1
{
	Skill		SkillTherapist
}
and do the same thing for NpcFreeRecruitPriestMale2, NpcFreeRecruitPriestMale3, NpcFreeRecruitPriestFemale1, NpcFreeRecruitPriestFemale2, and NpcFreeRecruitPriestFemale3. That should make all priests have the therapy skill.

Files in assets004.zip override files in assets001.zip (nothing ever gets deleted from the original files).

Personalities are in Database/Monsters/npcPersonality.gdb

Off hand I forget how effective the therapy skill is. There are many ways to try to deal with insanity though: R&R does work fairly well, insanity items, full rations, don't let others die/go insane/or leave, and make sure to cure things that are affecting your clan members.
__________________
Steven Peeler
Designer/programmer
Depths of Peril, Kivi's Underworld, Din's Curse, Drox Operative, Zombasite, & Din's Legacy
Patreon
Reply With Quote
  #6  
Old 04-17-2018, 01:25 AM
adyy78 adyy78 is offline
Amateur
 
Join Date: Apr 2018
Posts: 5
Default

Haha,i had a feeling you were busy with the next game,no problem,good luck with it and thank you for answering my questions.
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 09:41 PM.


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