Add Feats
Illustair
Member Posts: 878
Is there any way to add feats to a character other than Leto, be it through modules or console command? I couldn't find any. Leto is not an option for me as I am a Mac user. Thanks.
0
Comments
Open any module (I prefer to make a new module to hold my utility scripts). Make a new script. Call it e.g. add_feat.
Change FEAT_PLAYER_TOOL_01 and IP_CONST_FEAT_PLAYER_TOOL_01 to the constants for the feat you require. You can find them by searching in the Constants tab of the script editor.
With the toolset still open, copy the file add_feat.ncs from the folder modules/temp0 to the override folder.
Now when you play any module, you have a Debug Mode command
##dm_runscript add_feat
Save the character after running the script.
But if anyone has or can point out a module with that script installed and would be so kind as to share it, I'd really appreciate it. Anyway, this is for RP purposes and not really for powergaming.
This won't work unfortunately. Not in a direct sense. You will be able to "add a feat" which is a valid feat allowed to be placed on the item. However far from just any feat is allowed there. You won't be able to just use any feat constant in there and as such it's not a solution that works in general.
I mean - come on, this sounds like a trivial thing for scripting to achieve? I am stumbled by the fact there's ... no AddFeat or anything similar? Has anyone figured it out?
What feat are you trying to add?
I figured if I could find a way to console command "give feat" then I could fix my Samurai by allowing him the use of the IM exclusive skill "Iaijutsu Attack" - because it is NOT supposed to be IM exclusive only.
From the conversation here it seems like this will not be an option.
Does anyone have a list of feats from the feats.2da file - from the expanded files from the PRC?
Any advice on how to modify the Samurai class to correctly use the skill will be very much appreciated.
Thank you!
You can add the feat as a effect when the player enters the game. It shows up on their feat list too. Go to your module properties OnClientEnter and do something like this.
```
object oPC = GetEnteringObject();
effect KeenSense = EffectBonusFeat(FEAT_KEEN_SENSE);
ApplyEffectToObject(DURATION_TYPE_PERMANENT, KeenSense, oPC);
```