Questions about combat taunts

Abs

First time out of the vault
I have seen some discussion about combat taunts, but I just had some questions if anyone knows;

How or where are the racially based taunts assigned (e.g. ghoul, deathclaw, reaver etc)?

Is it possible to add new races to assign taunt sets to (i'm thinking raider or civilian or military specific)?

Also does adding new taunt lines to the pre-existing sets actually work? I have already added a bunch of variations to many of the taunts but haven't tested enough to see if they all appear in game.


I've noticed that the "wimpy" taunts only seem to trigger when an NPC with the "coward" nature is triggered by their HP% and they flee or break, so clearly it's a function that is variable. I'm just curious as to how...

On a similar topic there, is there a way to cause a fleeing enemy to "rally" and return to the fight? I know their Player AI aggression rate is relative to their HP% so maybe healing them might work? Or changing their player if they flee into a certain area?
 
Last edited:
Hi @Abs :)

So, taunts are indeed racially assigned, and they are set here :

Sans titre-2.jpg


As you can see, you can't do much there except choose racial taunts or no taunts at all. So your only option is pretty much to assign a race and then fill the .txt with wathever you need.

All taunts are set in the locale/game/taunts.txt file. I'd be really surprise if adding lines work, as I already tried adding missing body parts string entries for the UniqueHumanoid and UniqueOther races, but it just didn't work. Currently unexistant strings are probably not search for at all by the engine?

But for the taunt and Ai behaviours, you might have some luck playing with the VTable as introduced by @Melindil : https://melindil.github.io/FTSE/vtable functions/Entity_Vtable.html. This is usable with FTSE (Fallout Tactics Scripting Engine) : https://www.nma-fallout.com/threads/ftse-fallout-tactics-scripting-engine-0-56a.216025/.

Sans titre-1.jpg


It might seem a bit overwhelming at first to setup, but when you get the gig of it, there's a lot you can do with these functions...

Using FTSE, you can easily heal any character on the map, which would, theorically, rally them back into the fight, yes...

Sans titre-3.jpg


Check the FTSE examples here to start familiarizing yourself with LUA coding, and you'll get to it eventually.
 
Back
Top