o Fixed bug where chat text would turn white when a player joined a team
An uncapped strcpy overwrote the color array.
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@264 67975925-1194-0748-b3d5-c16f83f1a3a1
o Fixed bug where some items in the marine popupmenu ("Start", "Weapon", "Orders", "Comms", etc) would be disabled after exiting the command chair.
The MESSAGE_NULL associated tech was marked as unresearchable, disabling it when the player entered the commandchair.
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@263 67975925-1194-0748-b3d5-c16f83f1a3a1
o Fixed bug that made items on the popupmenu be disabled for aliens in classic games
The bug was in AvHPlayer::UpdateTechNodes(), where the techs would not be set to researchable once flagged as unresearchable, causing them all to be unresearchable from the start of the game, and disallowing lifeforms after gestating to them.
I also added a check so that the menu states won't be updated every frame for the client unless the menu is active.
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@262 67975925-1194-0748-b3d5-c16f83f1a3a1
o Reduced the handgrenade research coost: 20 -> 10
o Reduce the time from throw till detonation: 2.0s -> 0.75s.
o Grenades can now be thrown before the prime grenade animation has finished, allowing faster throws
o Number of handgrenades equipped upon spawn has been increased: 1 -> 2
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@260 67975925-1194-0748-b3d5-c16f83f1a3a1
o Fixed a bug where "switch" in console (sv_cheats 1) no longer makes the player stuck when going from alien to marine.
Had committed the change to the wrong branch in build 225 ...
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@259 67975925-1194-0748-b3d5-c16f83f1a3a1
o Fixed bug where a player could not switch teams after the game had started
Commented out the lines in AvHPlayer::GetIsAuthorized that prevented it. To be replaced by Nexus.
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@237 67975925-1194-0748-b3d5-c16f83f1a3a1
o Fixed bug where the commander UI buttons would not function (select all, go to requests, etc)
AvHTechTree::GetIsMessageAvailable would not return true because no tech tree nodes would be found for these messages. I inserted a check to bypass the node checking for these messages. It's a hack, but since they're already hacked into the TechNode code, it should do for now.
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@235 67975925-1194-0748-b3d5-c16f83f1a3a1
o Fixed bug where the voice comm icon would not be displayed while using a mic
The new MemoryInputStream class either contains a bug or doesn't match what the vgui::BitmapTGA class expects. I've inserted the old code to get this working till Karl can take a look at it, as it's a bit painstaking to sort it out when I don't even know what method(s) it fails in.
I also fixed a bug in the constructor for the new MemoryInputStream where the length parameter would not be applied to the length member.
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@232 67975925-1194-0748-b3d5-c16f83f1a3a1
o Fixed a bug where a crouching player on an IP would not be killed.
Extended the range the spawn damage is applied for, roughly 10 units downwards.
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@217 67975925-1194-0748-b3d5-c16f83f1a3a1
o Fixed bug where all players on the map would face easward if outside the viewing player's PVS
The angles divided by 22.5 on write were not multiplied back upon read, resulting in really low angles -- almost not visible.
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@209 67975925-1194-0748-b3d5-c16f83f1a3a1
o Added new option to the Advanced menu: "Enable gamma ramp". The cvar for it is cl_gammaramp which defaults to 1. Setting it to 0 will disable the forced gamma ramp changes.
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@206 67975925-1194-0748-b3d5-c16f83f1a3a1
- Implemented a hybrid wallwalk -- the skulk now only "sticks" if +speed is held down
- Added an IN_WALK flag, syncronized with the server state that can be used in the application to check whether a player is walking
- Walljump is reverted to only jump in the direction the player is looking again, since a running player jumping from a wall usually wants to strafe inwards to stay on the wall
Untickeded bug:
- Fixed bug that caused leap to not behave properly from shallow water
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@191 67975925-1194-0748-b3d5-c16f83f1a3a1
o Balance changes from 3.0.x
- Jetpack Research Time 50->60
- HA Upgrade Time 100->110
- Alien upgrade evolution time 2->3
- AA Research Time 180->160
- Obs Cost 20->15
- Marine Starting LMG Ammo 50->100
- Marine Starting Pistol Ammo 10->20
- Armslab cost 25->20
- Siege Damage 380->400
- Phasegate Delay 0.8->0.5
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@173 67975925-1194-0748-b3d5-c16f83f1a3a1
o Removed the ability to walljump off the ground in some special cases.
Added a check to disable wallwalk if something is found 10 units below the player.
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@170 67975925-1194-0748-b3d5-c16f83f1a3a1
o Players can now walk up ladders without having to face up or jump on to them
Change the threshold for detecting we are on a ladder to suit the NS ladder speed.
( actual value 110 )
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@167 67975925-1194-0748-b3d5-c16f83f1a3a1
o Added new setting to advanced multiplayer options. Default value is 'on'
o cvar is cl_labelmaps ( default 1 )
o If the cvar is changed the map sprite will dynamically update.
o If no labelled minimap exists the default one is displayed
o We always write a generated minimap to the normal file
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@165 67975925-1194-0748-b3d5-c16f83f1a3a1
o The onos is now properly uncloaked while charging
Added a check in AvHPlayer::InternalAlienThink to trigger the uncloak if charge is active.
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@159 67975925-1194-0748-b3d5-c16f83f1a3a1
o End game notifications now display in the center of the screen for 10 seconds + 2 seconds fadeout. The text has been reworked to "The TSA Marines have exterminated the alien infestation" and "The alien Kharaa have eradicated the human presence".
I did some changes to AvHPlayer::SendMessage to allow a message to be sent either as a tooltip or a centered message.
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@157 67975925-1194-0748-b3d5-c16f83f1a3a1
o Fixed bug where the order popup would display upon order completion.
Added a check to inOrder.GetOrderActive() so that the order would only be displayed when flagged active, not upon completion.
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@155 67975925-1194-0748-b3d5-c16f83f1a3a1
o Fixed bug where a dead player would not respawn while any key was pressed. Also accounted for all +commands.
player.cpp had a check to disable respawning while any keys were registering. I commented out that check.
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@154 67975925-1194-0748-b3d5-c16f83f1a3a1
o Players can now join teams properly before latejointime has expired
Added back in steamid based authids so the server player detail lookups work correctly without nexus.
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@137 67975925-1194-0748-b3d5-c16f83f1a3a1
- Removed check for the player's view angle -- the skulk will now stick no matter which direction the player is looking.
- Reversed the wallwalk toggle: Press duck to grab on to the wall. Use toggleduck to reverse.
Mantis 0001048:
- The skulk now either 1) jumps in the direction the movement keys are pressed (forward, backward, strafe, combinations) or 2) forward if none are pressed.
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@135 67975925-1194-0748-b3d5-c16f83f1a3a1
o Fixed bug where order notifications sometimes would display for a commander exiting the CC. Added a check so that a commander will never display nor queue order notifications.
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@134 67975925-1194-0748-b3d5-c16f83f1a3a1