InfErnO Posted June 3, 2002 Share Posted June 3, 2002 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 More sharing options...
Tchouky Posted June 3, 2002 Share Posted June 3, 2002 ther is an array with the cost of all the force powers in bg_pmove of the game.dll it s caled : int forcePowerNeeded[NUM_FORCE_POWER_LEVELS][NUM_FORCE_POWERS] Link to comment Share on other sites More sharing options...
Tchouky Posted June 3, 2002 Share Posted June 3, 2002 ther is an array with the cost of all the force powers in bg_pmove of the game.dll it s caled : int forcePowerNeeded[NUM_FORCE_POWER_LEVELS][NUM_FORCE_POWERS] Link to comment Share on other sites More sharing options...
InfErnO Posted June 3, 2002 Author Share Posted June 3, 2002 cool, found it, thanks Link to comment Share on other sites More sharing options...
ASk Posted June 3, 2002 Share Posted June 3, 2002 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 More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.