Commit graph

88 commits

Author SHA1 Message Date
tankefugl
dc94d3525d Mantis 0001042:
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
2005-07-05 01:55:12 +00:00
tankefugl
36e38984a2 Removed some debug print-outs from void IN_Impulse (void).
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@236 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-07-05 01:22:56 +00:00
tankefugl
a4fcaa728b Mantis 73:
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
2005-07-05 01:21:43 +00:00
tankefugl
577727d9a5 Mantis 994:
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
2005-07-04 21:22:39 +00:00
puzl
410d1ea62f Mantis: 1072
o Added some client side consistency checks.

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@218 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-06-27 17:06:46 +00:00
tankefugl
27ced477a6 Mantis 0000892:
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
2005-06-27 16:52:33 +00:00
tankefugl
3f0bf58255 Mantis 0000971:
o Added directional arrows to the order popup notification

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@216 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-06-27 02:31:49 +00:00
puzl
847913b46c Mantis: 225
o Mines can't be placed within 15 units of each other

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@210 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-06-23 17:55:30 +00:00
tankefugl
d3850ba1a3 Mantis 0000733:
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
2005-06-23 15:22:27 +00:00
tankefugl
8769b0175c Mantis 0000484:
o The shotgun now properly fires an empty click sound when under water and emptied

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@208 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-06-22 21:52:30 +00:00
tankefugl
7652448e28 Mantis 0001070:
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
2005-06-22 12:27:50 +00:00
puzl
ad8010a47b Mantis: 1066
o Minimap now reloads upon map change

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@204 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-06-21 12:26:08 +00:00
puzl
2581c48cfc Mantis: 1071
o Fixed client command crash 


git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@197 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-06-19 01:25:37 +00:00
tankefugl
6f80af0426 Mantis 0001065:
- 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
2005-06-16 19:22:08 +00:00
tankefugl
000bb021c3 Mantis 0000941:
o Added check to remove testing of spectators in the hitreg code

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@182 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-06-12 12:39:32 +00:00
tankefugl
70c0bab675 Mantis 0001057:
o Fixed bug where the buildminimap command would not work

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@181 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-06-12 12:32:15 +00:00
puzl
72b49a52e0 Mantis: 1060
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
2005-06-09 19:51:26 +00:00
tankefugl
8732dc6b75 Mantis 0000972:
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
2005-06-08 18:57:37 +00:00
puzl
3dd6af1052 Mantis: 1027
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
2005-06-08 02:14:14 +00:00
puzl
273582533a Mantis: 1061
o Set alien base cloaking opacity from 10 to 0 ( aka 100% Cloaking )

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@166 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-06-08 01:13:12 +00:00
puzl
e50079c075 Mantis: 1064
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
2005-06-08 00:43:30 +00:00
tankefugl
84a021a51a o Reverted the wallwalk to the previous mode where duck = release from wall.
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@160 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-06-02 17:07:23 +00:00
tankefugl
af75bded0e Mantis 0001021:
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
2005-06-02 11:10:12 +00:00
tankefugl
12f4be06be Removed the glow from the infantry portal.
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@158 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-06-01 20:54:28 +00:00
tankefugl
dcf57ac40e Mantis 0001016:
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
2005-06-01 20:50:02 +00:00
tankefugl
86d4f4b184 Mantis 0000991:
o Fixed bug where health rings would incorrectly display.

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@156 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-06-01 13:40:35 +00:00
tankefugl
f042408387 Mantis 0001054:
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
2005-06-01 11:51:47 +00:00
tankefugl
61941dbbae Mantis 0000241 and 0001053:
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
2005-06-01 11:36:34 +00:00
puzl
b69e490956 Mantis: 1050
o Adding missing checkins

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@152 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-05-31 11:33:22 +00:00
puzl
5b2b31d228 Mantis: 1050
o Orders dissapear upon completion

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@140 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-05-27 18:47:32 +00:00
puzl
b58c4910ef Mantis: 1041
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
2005-05-26 01:20:42 +00:00
puzl
d5b42e9508 Mantis: 1050
o An essential byte was being ignored by the SetOrder message handler.

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@136 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-05-25 20:29:55 +00:00
tankefugl
ff914175c0 Mantis 0000972:
- 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
2005-05-25 20:16:26 +00:00
tankefugl
58c50b1399 Mantis 0001052:
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
2005-05-25 19:29:41 +00:00
tankefugl
4913786c3a Mantis 0000971:
o Made the waypoint and order notification smaller (0.1 of screen width -> 0.6)

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@133 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-05-25 19:13:28 +00:00
tankefugl
4de2903d84 Rolled out a CLIENT_WEAPONS defined part of the weapon code that would disable firing while drawing the weapon, reloading and using objects.
Removed check for reload in AvHBasePlayerWeapon::ProcessValidAttack, as it is redundant.

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@131 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-05-24 19:38:27 +00:00
tankefugl
9d01ef9484 Mantis 1047:
o Fixed a bug that caused the commander and gorge drop icons to disappear.

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@124 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-05-19 17:29:21 +00:00
tankefugl
848e73f17b Mantis 0000989:
o Moved text chat a bit up to allow commanders to see the text.
o Resource label is no longer obfuscated by the text chat.

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@123 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-05-19 17:13:08 +00:00
puzl
d395747976 Mantis: 981
o Mines cannot be placed on players or structures

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@122 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-05-19 15:27:18 +00:00
tankefugl
b9e6317dfc Mantis 0000972, 0001034, 0001033:
o Tweaked the wallwalk:
- The wallwalk scans only fire upwards in the NE, SE, SW, and NW directions, not down and not in the player's view direction.
- The origin displacelemt does not fire if the player has a floor 10 units underneeth him/her, so that skulks on the ground won't snap to the wall.
- If the player's view is directed roughly 45 degrees out from the current surface normal, the origin displacement is disabled, allowing skulks to fall off walls by simply looking outwards and moving away from the wall. Note that this makes it harder to climb around edges.

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@121 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-05-19 14:07:02 +00:00
tankefugl
10b9fde0f5 o Fixed bug where the two first letters of a weapon in the kill message would get truncated.
o Fixed bug where it would not find the correct kill sprite.

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@120 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-05-16 16:52:27 +00:00
tankefugl
f248e509e6 o Fixed bug that made particle systems behave weirdly. All particles should display normally now.
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@119 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-05-16 13:50:06 +00:00
tankefugl
3a95b692e7 o Fixed bug in AvHNetworkMessages.cpp where the particle templates would send COORD but read LONG, causing the particle systems to never be deleted, drowning the client's FPS.
o Initialized long_data = 0 in NetMsg_UpdateEntityHierarchy to prevent usage of an uninitialized int.

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@116 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-05-15 18:49:58 +00:00
puzl
ed8ea7c662 Mantis 980
o buildings produce less smoke and more sparks when recycled 

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@115 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-05-14 18:02:46 +00:00
puzl
80944bf2fa Mantis: 982
o New Balance Var kHiveSightRange 
o Initial value of 3000 ( used to be 1500 )

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@114 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-05-14 16:34:06 +00:00
puzl
c5080559e6 Mantis: 984
o Added ReadyRoomThrottleMessage to titles.txt
o Player has to press f4 twice within two seconds to go to the readyroom


git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@113 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-05-14 16:11:00 +00:00
puzl
d297f41e6c Mantis: 983
o releasing mouse2 closes the popup menu ( bug 983 )

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@112 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-05-13 01:14:01 +00:00
puzl
c07b28de9d Mantis: 1017
o new Balance variable kPointsPerArmouryHealth, value is 10
o Armoury now supplies 10 health every use ( once per 0.9 seconds )



git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@111 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-05-13 00:57:44 +00:00
puzl
4a31413948 Mantis: 1019
o Spores no longer damage the commanders armor. ( bug 1019 )

I added a check to AvHSporeProjectile::SporeCloudThink to prevent them from acting on the commander.


git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@110 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-05-13 00:05:09 +00:00
tankefugl
be31c02eff o Compiled and modified build for playtesting (directory nsp)
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@109 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-05-11 21:53:28 +00:00