mirror of
https://github.com/unknownworlds/NS.git
synced 2025-02-10 09:41:16 +00:00
o More lerk flight changes
- Changed base lerk flight speed to 650 - Reduced lerk flight celerity bonus from 25 -> 20. - More 'drag/gravity' added to lerk ascent. o Changed revision to 537 o CLient and server for build 537 git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@536 67975925-1194-0748-b3d5-c16f83f1a3a1
This commit is contained in:
parent
a8a4d4aba3
commit
6d96ca8b1d
6 changed files with 9 additions and 8 deletions
|
@ -405,7 +405,7 @@
|
|||
#define kJoinTeamCooldown 3.00
|
||||
#define kKNROF 0.65
|
||||
#define kLeapEnergyCost 0.25
|
||||
#define kLerkBaseSpeedMax 600.0
|
||||
#define kLerkBaseSpeedMax 650.0
|
||||
#define kLeapROF 0.50
|
||||
#define kMGROF 0.10
|
||||
#define kMarineArmorLevelOne 0.20
|
||||
|
|
Binary file not shown.
Binary file not shown.
|
@ -2,7 +2,7 @@
|
|||
// Natural Selection //
|
||||
// by Charlie Cleveland //
|
||||
////////////////////////////
|
||||
game "Natural Selection 3.2 (Revision 530)"
|
||||
game "Natural Selection 3.2 (Revision 537)"
|
||||
url_info "http://www.unknownworlds.com/ns/"
|
||||
url_dl "http://www.unknownworlds.com/ns/view?action=files"
|
||||
icon "ns"
|
||||
|
|
|
@ -190,7 +190,7 @@ char* AvHSUGetGameVersionString()
|
|||
string theGameVersionString;
|
||||
|
||||
theGameVersionString = "v" + MakeStringFromInt(BALANCE_VAR(kGameVersionMajor)) + "." + MakeStringFromInt(BALANCE_VAR(kGameVersionMinor)) + "." +
|
||||
MakeStringFromInt(BALANCE_VAR(kGameVersionRevision)) + "-530";
|
||||
MakeStringFromInt(BALANCE_VAR(kGameVersionRevision)) + "-537";
|
||||
|
||||
//memset(theGameVersion, 0, 1024);
|
||||
strcpy(theGameVersion, theGameVersionString.c_str());
|
||||
|
|
|
@ -5215,7 +5215,7 @@ void PM_PreventMegaCrazyLerkPancakage() {
|
|||
float spd;
|
||||
// If we have to crop, apply this cropping fraction to velocity
|
||||
float fraction;
|
||||
float maxbasespeed=BALANCE_VAR(kLerkBaseSpeedMax) + BALANCE_VAR(kAlienCelerityBonus) * PM_GetCelerityLevel();
|
||||
float maxbasespeed=BALANCE_VAR(kLerkBaseSpeedMax) + (BALANCE_VAR(kAlienCelerityBonus)-5) * PM_GetCelerityLevel();
|
||||
|
||||
vec3_t vertical={0,0,-1.0f};
|
||||
|
||||
|
@ -5226,10 +5226,11 @@ void PM_PreventMegaCrazyLerkPancakage() {
|
|||
|
||||
// pseudo-gravity based on angle of ascent.
|
||||
AngleVectors(pmove->angles, forward, tmp, tmp);
|
||||
float dp=DotProduct(forward, vertical)/10.0f;
|
||||
if ( dp > -0.025 && dp < 0.025 )
|
||||
dp=0.0;
|
||||
|
||||
float dp=DotProduct(forward, vertical);
|
||||
if ( dp > 0 )
|
||||
dp /= 10.0f;
|
||||
else
|
||||
dp /= 5.0f;
|
||||
|
||||
maxbasespeed *= 1.0f + dp;
|
||||
|
||||
|
|
Loading…
Reference in a new issue