Jump to content

Home

Force


InfErnO

Recommended Posts

Does anyone know where the force consumptions is defined? Can't find/see it in w_force.c. I mean the values that determine how much force units are taken from the force pool when using a force power, like speed takes 50 units, seeing 20 etc.

Link to comment
Share on other sites

this array IS there, correct.

But, the function that substracts the force can accept an ovverride value...and that's what they use mostly.

the function name is:

void BG_ForcePowerDrain( playerState_t *ps, forcePowers_t forcePower, int overrideAmt )

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...