mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-11-17 10:11:12 +00:00
v1.3.07
------- Changed the drift spark formula from: 51 + player->kartspeed; To: 43 + player->kartspeed*2 + (10 - player->kartweight); This allows an extreme heavy/accel to get sparks more often than an extreme light/speed character. Other extremes should be roughly where they were before.
This commit is contained in:
parent
45dbdfa31c
commit
1e576fb61f
3 changed files with 10 additions and 9 deletions
|
@ -143,16 +143,16 @@ extern FILE *logstream;
|
|||
#define DEVELOP // Disable this for release builds to remove excessive cheat commands and enable MD5 checking and stuff, all in one go. :3
|
||||
#ifdef DEVELOP
|
||||
#define VERSION 103 // Game version
|
||||
#define SUBVERSION 6 // more precise version number
|
||||
#define SUBVERSION 7 // more precise version number
|
||||
#define VERSIONSTRING "Development EXE"
|
||||
#define VERSIONSTRINGW "v1.3.06"
|
||||
#define VERSIONSTRINGW "v1.3.07"
|
||||
// most interface strings are ignored in development mode.
|
||||
// we use comprevision and compbranch instead.
|
||||
#else
|
||||
#define VERSION 103 // Game version
|
||||
#define SUBVERSION 6 // more precise version number
|
||||
#define VERSIONSTRING "DevEXE v1.3.06"
|
||||
#define VERSIONSTRINGW L"v1.3.06"
|
||||
#define SUBVERSION 7 // more precise version number
|
||||
#define VERSIONSTRING "DevEXE v1.3.07"
|
||||
#define VERSIONSTRINGW L"v1.3.07"
|
||||
// Hey! If you change this, add 1 to the MODVERSION below!
|
||||
// Otherwise we can't force updates!
|
||||
#endif
|
||||
|
|
|
@ -1970,8 +1970,8 @@ INT16 K_GetKartTurnValue(player_t *player, INT16 turnvalue)
|
|||
static void K_KartDrift(player_t *player, boolean onground)
|
||||
{
|
||||
// IF YOU CHANGE THESE: MAKE SURE YOU UPDATE THE SAME VALUES IN p_mobjc, "case MT_DRIFT:"
|
||||
fixed_t dsone = 51 + player->kartspeed; // 52 - 60
|
||||
fixed_t dstwo = dsone*2; // 104 - 120
|
||||
fixed_t dsone = 43 + player->kartspeed*2 + (10 - player->kartweight); // 46 - 70
|
||||
fixed_t dstwo = dsone*2; // 92 - 140
|
||||
|
||||
// Drifting is actually straffing + automatic turning.
|
||||
// Holding the Jump button will enable drifting.
|
||||
|
|
|
@ -6405,8 +6405,9 @@ void P_MobjThinker(mobj_t *mobj)
|
|||
//{ SRB2kart mobs
|
||||
case MT_DRIFT:
|
||||
{
|
||||
fixed_t dsone = 51 + mobj->target->player->kartspeed; // 52 - 60
|
||||
fixed_t dstwo = dsone*2; // 104 - 120
|
||||
fixed_t dsone = 43 + mobj->target->player->kartspeed*2 +
|
||||
(10 - mobj->target->player->kartweight); // 46 - 70
|
||||
fixed_t dstwo = dsone*2; // 92 - 140
|
||||
if ((mobj->target && mobj->target->player && mobj->target->player->mo && mobj->target->player->health > 0 && !mobj->target->player->spectator)
|
||||
&& (mobj->type == MT_DRIFT && mobj->target->player->kartstuff[k_driftcharge] >= dsone))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue