Commit graph

103 commits

Author SHA1 Message Date
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
tankefugl
c000cbbc67 Mantis 0000971:
o Implemented teammate orders/query icons

Mantis 0000992:
o Implemented teammate order popups

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@51 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-04-10 21:18:44 +00:00
tankefugl
aeb2514103 Mantis 0000971:
o Implemented teammate orders/query icons

Mantis 0000992:
o Implemented teammate order popups

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@50 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-04-10 19:59:14 +00:00
tankefugl
ec5bbe6b90 Mantis 0001012:
o Duck toggle implemented
- bind toggleduck to a key to use
- while duck is toggled, pressing +duck will unduck and releasing will revert the player to a ducked state

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@49 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-04-10 19:58:13 +00:00
tankefugl
f3a6a36a35 Mantis 0001011:
o Releasing duck quickly after pressing it will no longer make the player bounce

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@48 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-04-10 19:57:28 +00:00
XP-Cagey
fc5c159d63 Fixed Mantis #1003 - hive was using default health amount of 100 HP instead of amount specified in Balance.txt
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@42 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-04-08 12:38:47 +00:00
XP-Cagey
587d3a5d92 Fixed Mantis #0001004 - the blip list message was never cleared on refresh.
Also fixed unreported bug in NetMsg_BlipList (friendly status was backward and not reset properly between evaluations, which effectively caused random bogus blips on screen since it affects message size)

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@41 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-04-08 12:12:32 +00:00
XP-Cagey
9627bce290 Fixed loss of lastweapon information when user makes a redundant weapon selection (Mantis #956).
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@39 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-04-07 07:32:06 +00:00
XP-Cagey
694fcad9a8 Fixed CurWeapon assigned of current weapon pointer in CHudAmmo so that it only switches when WEAPON_IS_CURRENT is set in the flags.
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@38 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-04-07 07:22:15 +00:00
XP-Cagey
6fab15858a Fixed packet transmission of EntHier every frame to every client (Mantis #999)
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@36 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-04-06 01:42:45 +00:00
XP-Cagey
e5143747a5 Fixed infinite loop in AvHTechTree.cpp (Mantis #997)
Fixed NULL ptr reference in AvHPlayer.cpp (before report was filed)

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@35 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-04-06 01:33:38 +00:00
tankefugl
b206e2b97d Mantis 0000996:
Added checks to m_fInReload to prevent an empty weapon from going in a reloading loop.

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@34 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-04-05 14:14:29 +00:00
XP-Cagey
2f71850ff0 Fixed incorrect message size for SetResearch
Removed outdated comment from player.cpp
Revised MsgFunc_CurAmmo to evaluate flags only if message had a valid weapon
Changed AvHPlayer.cpp permissions to allow switching teams before a round starts and disallow joining active teams that aren't used by the map.

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@33 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-04-05 00:30:35 +00:00
tankefugl
e6db2ee4e5 Mantis 0000988:
O The commander can now see the health for all buildings and marines, even when not selected, as transparent health circles. Health circles for selected buildings and marines are rendered as normal.

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@32 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-04-04 01:45:56 +00:00
tankefugl
8158cd6fc2 Mantis 0000972:
O Skulk wallwalk has been improved -- the skulk will stick to walls by snapping the skulk to the wall if a wall is found along the surface normal vector within the 5 units. Skulk wallwalk is also disabled when the skulk is walking on the floor (z component of the surface normal > 0.95)
O Skulk can now jump from walls. When attached to a wall, pressing jump will make the skulk jump in the direction the player is facing and slightly up. This hijacks the waterjumptime, which is never used for the skulk anyway, to refuse wallsticking for a brief period after either walljumping or leaping.

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@31 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-04-04 01:15:41 +00:00
XP-Cagey
2a96942bc4 Fixed MsgFunc_CurWeapon bugs
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@30 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-04-04 00:53:17 +00:00
tankefugl
6eca2b6cc9 Mantis 0000522:
Forgot a couple of lines for backward lerk flight. Updated.

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@29 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-04-04 00:37:31 +00:00
tankefugl
09e8cfc6f5 Mantis 0000522:
O Lerk can now fly backwards. Press backwards and tap jump to flap back from the way you are looking. Hold down to glide as before.

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@28 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-04-04 00:27:18 +00:00
tankefugl
f4c8e4e192 O Reduce obs cost to 15 (was 20).
O Let obs start with 40 energy units (was 25).
O Reduce Armslab cost to 20 (was 25).
O Reduce PG throttle to 0.5 secs per player (was 0.8).
O Changed balance.txt version variables to reflect the current version -- 3.1

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@27 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-04-04 00:17:06 +00:00
XP-Cagey
43a20ad0c5 Fixed issues with "Developer - release" configuration; implementation of AvHTunnelToServer.
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@26 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-04-03 22:38:16 +00:00
XP-Cagey
60007652a3 The big merge...
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@21 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-04-01 03:04:57 +00:00
puzl
1ee20d4f69 Changed version string to 3.01
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@9 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-03-11 02:04:16 +00:00
puzl
48e8eda3ed More eol cleanups
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@6 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-03-10 13:16:40 +00:00
puzl
a6f04d2ca3 changing eol-style
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@4 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-03-10 09:58:43 +00:00
puzl
02f0196da7 3.01 candidate
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@2 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-03-10 00:00:11 +00:00
Karl
8552ac617c Import from old repository
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@1 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-03-09 01:31:56 +00:00