Author Topic: How to remove Cleric's acess to Heavy Armor proficiency?  (Read 453 times)

Legacy_WhiteTiger

  • Hero Member
  • *****
  • Posts: 889
  • Karma: +0/-0
How to remove Cleric's acess to Heavy Armor proficiency?
« on: March 11, 2014, 10:20:14 pm »


               

How to remove Cleric's acess to Heavy Armor and just give them Light/Medium proficiency like the druids?


 


Module informations: 


HAK: Negative (it's a NO-HAK Module)


NWNX: Positive.



               
               

               
            

Legacy_Pstemarie

  • Hero Member
  • *****
  • Posts: 4368
  • Karma: +0/-0
How to remove Cleric's acess to Heavy Armor proficiency?
« Reply #1 on: March 11, 2014, 10:26:48 pm »


               

This requires changing cls_feat_cler.2da to remove heavy armor proficiency. You could place the modified 2da in the override, but then it would affect the entire game (i.e. every module you play would have this change). The best solution is to place the file in a HAK and attach that to the module.


 


I'm not sure why you want to limit yourself to just the vanilla NWN stuff. You're missing out on a whole world of custom content that really enhances the game, not to mention really hampering your ability to tailor the mechanics of the game more to your liking.



               
               

               
            

Legacy_Aelis Eine

  • Full Member
  • ***
  • Posts: 212
  • Karma: +0/-0
How to remove Cleric's acess to Heavy Armor proficiency?
« Reply #2 on: March 12, 2014, 12:53:49 am »


               Remember that haks aren't loaded at char create so you will need to use letoscript or the Linux plugin to remove the feat from lv1 clerics too
               
               

               
            

Legacy_henesua

  • Hero Member
  • *****
  • Posts: 6519
  • Karma: +0/-0
How to remove Cleric's acess to Heavy Armor proficiency?
« Reply #3 on: March 12, 2014, 01:01:17 am »


               

Didn't we discuss this earlier?



               
               

               
            

Legacy_ffbj

  • Hero Member
  • *****
  • Posts: 1097
  • Karma: +0/-0
How to remove Cleric's acess to Heavy Armor proficiency?
« Reply #4 on: March 12, 2014, 02:58:23 am »


               

Well you could just make it so it is unwearable by Clerics.



               
               

               
            

Legacy_WhiteTiger

  • Hero Member
  • *****
  • Posts: 889
  • Karma: +0/-0
How to remove Cleric's acess to Heavy Armor proficiency?
« Reply #5 on: March 12, 2014, 04:55:33 pm »


               

Yeah, henesua,


 


now we are here, huh.


 


ffbj says "Well you could just make it so it is unwearable by Clerics." 


 


yes, I would like do


 


Pstemarie


 


Because it's a NO-HAK module project that have more than 500 finished areas



               
               

               
            

Legacy_WhiZard

  • Hero Member
  • *****
  • Posts: 2149
  • Karma: +0/-0
How to remove Cleric's acess to Heavy Armor proficiency?
« Reply #6 on: March 12, 2014, 09:18:31 pm »


               


ffbj says "Well you could just make it so it is unwearable by Clerics." 


 


yes, I would like do




 


That is just adding code to the module's OnPlayerEquipItem event.  Check to see if heavy armor is in the armor slot.  If so, copy the armor to the PC's inventory and destroy the equipped armor.


               
               

               
            

Legacy_The Mad Poet

  • Hero Member
  • *****
  • Posts: 715
  • Karma: +0/-0
How to remove Cleric's acess to Heavy Armor proficiency?
« Reply #7 on: March 13, 2014, 12:08:41 am »


               


That is just adding code to the module's OnPlayerEquipItem event.  Check to see if heavy armor is in the armor slot.  If so, copy the armor to the PC's inventory and destroy the equipped armor.




 


You may want to reconsider that. What about multiclass clerics? I mean shouldn't a Cleric/Fighter be able to wear heavy armor? What if your Cleric picks up the Heavy Armor Prof feat themselves? That kind of script would keep them out of it no matter what.


 


I still think the best solution is to remove the feat on entering the gameworld. Either through Letoscripting, or I believe nwnx_funcs has a RemoveFeat function. 


 


Basically script a module on enter, or an area on enter for the starting area of your module, however you prefer. Check their class, and if it's cleric remove the feat. 


 


You'd also want to do a Module LevelUp script that checks to see if the person is taking a level in cleric, and if they already have Heavy Armor Prof. If they already have Heavy Armor Prof... no problem, just end it there and don't remove it. If they are taking cleric for the first time, and they don't have the heavy armor prof feat, then it is taken away.


 


I'm no where near qualified to give exact instructions on Letoscripting, or much of NWNX for that matter. But since your using it... you might as well abuse it.


               
               

               
            

Legacy_ffbj

  • Hero Member
  • *****
  • Posts: 1097
  • Karma: +0/-0
How to remove Cleric's acess to Heavy Armor proficiency?
« Reply #8 on: March 13, 2014, 01:29:36 am »


               

You can make so that if a player has any class as cleric, that they can't wear heavy armor, by checking all the classes.


Or just check if the primary/highest class is cleric. So multi-class with that feat could wear plate.


 


So, yeah do it onequip and by weight, armor must weigh say less than 25 lbs or whatever you decide the cut-off is.


Then leveling up will not matter. Just inform players per house rules, that clerics can't wear heavy armor


except for artifacts for instance if there were some godly plate meant for clerics only that had a huge


weight reduction, they could wear that specific plate mail.


Another, or additional approach would be to make all your heavy armors restricted to


fighter classes. 



               
               

               
            

Legacy_WhiteTiger

  • Hero Member
  • *****
  • Posts: 889
  • Karma: +0/-0
How to remove Cleric's acess to Heavy Armor proficiency?
« Reply #9 on: March 13, 2014, 03:20:57 am »


               

nwnx_funcs - to remove the feat "Heavy Armor Proficiency" when the cleric level up



               
               

               


                     Modifié par WhiteTiger, 13 mars 2014 - 11:57 .