Commit graph

75 commits

Author SHA1 Message Date
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
puzl
277d6d6fa2 AVH_PLAYTEST_BUILD setup
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@107 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-05-11 19:21:19 +00:00
XP-Cagey
9b7e6bab76 Added playtest configurations to win32 build
Added #define AVH_NO_NEXUS to compile NS without Nexus
Temporarily #define'd AVH_PLAYTEST_BUILD to automatically #define AVH_NO_NEXUS
Fixed Balance.h ordering issues that became apparent when BALANCE_ENABLED is #define'd.

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@106 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-05-10 15:18:45 +00:00
puzl
e8cbbec941 removing an extra tab
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@105 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-05-10 00:10:26 +00:00
XP-Cagey
56353c5987 Added sanity check to index passed to GetWeapon() to avoid crash when the value of AvHHud::CurrentWeapon() is -1.
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@104 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-05-09 07:50:58 +00:00
tankefugl
fae8e99a33 o Merge with ns/dev/tankefugl:
- Merged source dir

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@97 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-05-06 14:04:51 +00:00
XP-Cagey
b918c731aa Bugfixes for mantis #1008, #1009
Rewrote WeaponsResource code so that uninitialized slots are no longer returned as valid weapons
Removed upp_* from command constants and console commands
Removed commented out entry from hl_baseentity.cpp
Shift in map data position is now performed by the network layer instead of at the time of creation
Deleted obsolete Util.vcproj
Replaced calls to fmax with calls to max in AvHEntities.cpp (Win32 compiler wasn't finding fmax command without explicit include)
Began implementation of client-to-server tunnel for Nexus


git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@94 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-05-05 15:20:23 +00:00
puzl
8184bf4ccb Cleanup for 3.1 linux server
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@93 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-05-03 09:08:22 +00:00
tankefugl
000a0cd73e Mantis 0001007:
o Fixed bug where HUD notification of structure placements wouldn't show the icon.

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@80 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-04-14 21:37:04 +00:00
tankefugl
20915fa577 Mantis 0001005:
o Resolved commandchair crash over black areas

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@79 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-04-14 19:32:21 +00:00
tankefugl
2d33fd9437 Fixed two small bugs in the EntHier message:
- Heavy armor would not propagate player angle
- EntHier updates would never delete an entity

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@78 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-04-14 15:04:41 +00:00
tankefugl
045b7f22c5 Reverted changes to revision 45.
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@77 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-04-13 23:16:00 +00:00
tankefugl
cbd7e95495 Reverted changes to revision 45.
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@76 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-04-13 22:50:14 +00:00
tankefugl
e59df130fa Mantis 0000971:
o Implemented teammate orders/query icons

Mantis 0000992:
o Implemented teammate order popups

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@52 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-04-10 21:22:03 +00:00