Jump to content

Home

is deleting saber styles possible?


PJMPirate

Recommended Posts

I was wondering... is it possible to delete saber styles? The reason I'm asking is that for my Gladiator mod, I need all the guys with swords to have one-handed styles instead of two-handed. What I'm trying to do is get Tavion and Desann's stances into the single-player game and then delete the basic 3. Does anyone know how to do this, or even if it's possible?

Link to comment
Share on other sites

Saber stance is a simple variable:

ent->client->ps.fd.saberAnimLevel

 

possible values:

 

FORCE_LEVEL_1 = light

FORCE_LEVEL_2 = medium

FORCE_LEVEL_3 = heavy

FORCE_LEVEL_4 = 1 handed first

FORCE_LEVEL_5 = 1 handed second

 

you need to edit a function called void Cmd_SaberAttackCycle_f(gentity_t *ent) in g_cmds.c and possibly others, but the above sets the cycling between the stances. You would probably need to change the stances given on each saber attack point, etc. But it's definitely possible.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...