Skip to content

Commit

Permalink
clean up: somehow these movement speed changes. didn't get committed …
Browse files Browse the repository at this point in the history
…properly.
  • Loading branch information
Subject9x committed Nov 5, 2024
1 parent f6b651b commit 901ec2b
Show file tree
Hide file tree
Showing 11 changed files with 22 additions and 2 deletions.
3 changes: 3 additions & 0 deletions common/data/mechs/data_balaket.qc
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ void() data_ini_balaket_={
self.data_speed_forward = 185.0;
self.data_speed_strafe = 120.0;
self.data_speed_backward = 90.0;
self.data_speed_accel = 5.0;
self.data_speed_decel = 2.5;
self.ramUpMax = 2;
self.ramCooldown = 6;
#ifdef CSQC
Expand All @@ -62,6 +64,7 @@ void() data_ini_balaket_={
self.turret_yaw_speed = 4.25;
self.ai_angleLimits = '-175 175 0';
if( (self.flags & FL_MONSTER) ){
self.data_speed_accel = 0.025;
}
#endif
//=====================================
Expand Down
5 changes: 4 additions & 1 deletion common/data/mechs/data_matok.qc
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,9 @@ void() data_ini_matok_={
//SPEED================================
self.data_speed_forward = 155.0;
self.data_speed_strafe = 155.0;
self.data_speed_backward = 80.0;
self.data_speed_backward = 80.0;
self.data_speed_accel = 1.45;
self.data_speed_decel = 33;
self.ramUpMax = 1.5;
self.ramCooldown = 3;
#ifdef CSQC
Expand All @@ -63,6 +65,7 @@ void() data_ini_matok_={
self.turret_yaw_speed = 3.75;
self.ai_angleLimits = '-180 180 0';
if( (self.flags & FL_MONSTER) ){
self.data_speed_accel = 0.015;
}
#endif
//=====================================
Expand Down
3 changes: 3 additions & 0 deletions common/data/mechs/data_monitor.qc
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ void() data_ini_monitor_={
self.data_speed_forward = 90.0;
self.data_speed_strafe = 90.0;
self.data_speed_backward = 90.0;
self.data_speed_accel = 2.0;
self.data_speed_decel = 15;
self.ramUpMax = 1;
self.ramCooldown = 2;
#ifdef CSQC
Expand All @@ -61,6 +63,7 @@ void() data_ini_monitor_={
self.turret_yaw_speed = 3;
self.ai_angleLimits = '-150 150 0';
if( (self.flags & FL_MONSTER) ){
self.data_speed_accel = 0.005;
}
#endif
//=====================================
Expand Down
3 changes: 3 additions & 0 deletions common/data/mechs/data_sapper.qc
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ void() data_ini_sapper_={
self.data_speed_forward = 125.0;
self.data_speed_strafe = 105.0;
self.data_speed_backward = 100.0;
self.data_speed_accel = 2.25;
self.data_speed_decel = 5.0;
self.ramUpMax = 1.75;
self.ramCooldown = 3;
#ifdef CSQC
Expand All @@ -65,6 +67,7 @@ void() data_ini_sapper_={
self.turret_yaw_speed = 3.33;
self.ai_angleLimits = '-120 120 0';
if( (self.flags & FL_MONSTER) ){
self.data_speed_accel = 0.007;
}
#endif
//=====================================
Expand Down
3 changes: 3 additions & 0 deletions common/data/mechs/data_warden.qc
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ void() data_ini_warden_={
self.data_speed_forward = 165.0;
self.data_speed_strafe = 165.0;
self.data_speed_backward = 165.0;
self.data_speed_accel = 1.33;
self.data_speed_decel = 55;
self.ramUpMax = 3;
self.ramCooldown = 8;
#ifdef CSQC
Expand All @@ -64,6 +66,7 @@ void() data_ini_warden_={
self.turret_yaw_speed = 4.75;
self.ai_angleLimits = '-180 180 0';
if( (self.flags & FL_MONSTER) ){
self.data_speed_accel = 0.025;
}
#endif
//=====================================
Expand Down
1 change: 1 addition & 0 deletions common/data/vehicles/data_dunerunner.qc
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ void() data_ini_dunerunner_={
self.data_speed_forward = 167;
self.data_speed_strafe = 113;
self.data_speed_backward = 133;
self.data_speed_accel = 1.0;
#ifdef SSQC
self.yaw_speed = 5; //AI-only
self.turret_yaw_speed = 4;//AI-only
Expand Down
1 change: 1 addition & 0 deletions common/data/vehicles/data_foslager.qc
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ void() data_ini_foslager_={
self.data_speed_forward = 50;
self.data_speed_strafe = 20;
self.data_speed_backward = 15;
self.data_speed_accel = 1.0;
#ifdef SSQC
self.yaw_speed = 3.75; //3.5; //AI-only
self.turret_yaw_speed = 4.25; //3.75;//AI-only
Expand Down
1 change: 1 addition & 0 deletions common/data/vehicles/data_onnek.qc
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ void() data_ini_onnek_={
self.data_speed_forward = 33;
self.data_speed_strafe = 20;
self.data_speed_backward = 15;
self.data_speed_accel = 1.0;
#ifdef SSQC
self.yaw_speed = 2.75; //2.5; //AI-only
#endif
Expand Down
1 change: 1 addition & 0 deletions common/data/vehicles/data_sorcerer.qc
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ void() data_ini_sorcerer_={
self.data_speed_forward = 66;
self.data_speed_strafe = 40;
self.data_speed_backward = 30;
self.data_speed_accel = 1.0;
#ifdef SSQC
self.yaw_speed = 2.5; //AI-only
#endif
Expand Down
1 change: 1 addition & 0 deletions common/data/vehicles/data_trowel.qc
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ void() data_ini_trowel_={
self.data_speed_forward = 25;
self.data_speed_strafe = 10;
self.data_speed_backward = 10;
self.data_speed_accel = 1.0;
#ifdef SSQC
self.yaw_speed = 1.5;//1; //AI-only
self.turret_yaw_speed = 2;//1.5;//AI-only
Expand Down
2 changes: 1 addition & 1 deletion main/sv/sv_playermovement.qc
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ void() SV_PlayerPhysics =
decel = self.data_speed_decel;
friction = sv_friction;
if(vlen(wishvel) != 0){
decel = decel * 0.5;
decel = decel * 0.25;
friction = friction * 0.5;
}

Expand Down

0 comments on commit 901ec2b

Please sign in to comment.