Adding Weapon Attack Modes: Names Don't Display?

Raza

First time out of the vault
I've been playing around with the editor, adding and changing attack modes to make melee weapons more fun (trying to add high-AP cost, accuracy-penaltised attacks where you really take your time to carve someone up for massive damage), but I've noticed that while they work mechanically, their names don't show up in the game interface. That is, where it would usually say 'slash' or 'thrust' it says nothing at all, and I'm left to distinguish otherwise functional modes by their AP cost.

Apparently this isn't as simple as giving it the name and having the engine write it over the weapon; are the existing attack modes displayed through finished graphic files rather than a font the engine uses on its own accord, or something? And if so, would it be possible to add these somewhere?
 
Attack modes are all listed on core/locale/game/weapons.txt, you have to modify this file and add your new attack mode label for it to show on the interface.
 
Thing’s not that easy。。。。

I‘m still working on it,it belongs to the game code and the SPR file
 
Oops......I'll try “taekwondo” MOD

But sir, I can't display the name either, and even can't use the new attack mod, why you say it easy?

Can my rifle "slash" ?

I don't believe......
 
Back
Top