Commit graph

397 commits

Author SHA1 Message Date
pierow
086c9a4aa6 cl_cross macos update 2021-02-05 16:18:16 -05:00
pierow
9a4a291b41 cl_cross update 2021-02-05 16:18:16 -05:00
pierow
01ac6359fa cl_cross updates. circle outline added 2021-02-05 16:18:16 -05:00
pierow
418b053e61 fix popupmenu view spin regression 2021-02-05 16:18:16 -05:00
pierow
846ae6eece changed NS version to 3.3b1 2021-02-05 16:18:16 -05:00
pierow
ac9b4c8b25 weaponcfgs update 2021-02-05 16:18:16 -05:00
pierow
ce5f18f1dc OS cursor over sprite cursor fix 2021-02-05 16:18:16 -05:00
pierow
9842b437a0 mp_consistency update 2021-02-05 16:18:16 -05:00
pierow
5bbb473a44 cl_showspeed removed maxclimb and maxdive 2021-02-05 16:18:16 -05:00
pierow
86aef7782e pregame lifeforms update combat mode 2021-02-05 16:18:16 -05:00
pierow
f189105625 new mouse parameters 2021-02-05 16:18:16 -05:00
pierow
054381909b weaponcfgs added. High res monitor sprite fix. 2021-02-05 16:18:16 -05:00
pierow
cea2f797b9 Removed inset for alien health/armor display 2021-02-05 16:18:16 -05:00
pierow
54e54ce681 Removed inset for alien health/armor display 2021-02-05 16:18:16 -05:00
pierow
a1f5c3ed0d playtest cvar additions 2021-02-05 16:18:16 -05:00
pierow
43b6debd50 automatic alien/marine cfg execution 2021-02-05 16:18:16 -05:00
pierow
9ebab42ec7 added nsversion 2021-02-05 16:18:16 -05:00
pierow
03bcd1f167 pregame lifeform update 2021-02-05 16:18:16 -05:00
pierow
51685994d3 comment revision 2021-02-05 16:18:16 -05:00
pierow
50930aaa6e cl_ambientsound scales volume instead of bool
- Limited 1x scale because people have 2 in their configs from last patch.
2021-02-05 16:18:16 -05:00
pierow
95d0c38fdc backwards compatiblity update 2021-02-05 16:18:16 -05:00
pierow
99c40ae09e v3.2.3 features and fixes.
- Shotgun rework. Previously inconsistent shooting during reloads and desynced animations with server.
-- Shotgun reload can now be interrupted with a pump animation
-- Changed pellets 10 -> 17 and damage 17-> 10 to reduce inconsistency
- Networked ammo
- Client and server dll consistency checks added
- Backwards compatibility check for v3.2 servers to prevent prediction errors (popular demand)
- Players can change lifeform and use popupmenu in pregame warmup
- Fixed guns getting stuck in the air
- Reverted max speed to not be client cvar adjustable, fixing walk speed issues
- Added cl_mutemenu for players accidentally clicking on the scoreboard and going into squelch mode
- Removed default_fov as it did nothing but change sensitivty
- Fixed commander view scrolling keybinds
- cl_showspeed now works in readyroom and spectate
2021-02-05 16:18:16 -05:00
pierow
907ddf8b24 Fix for backspace being held preventing additional text input. Credit to Bacsu. 2021-02-05 16:18:16 -05:00
pierow
6d75594419 No build radius from structures changed to spherical instead of cylinder. Credit to AlienBird. 2021-02-05 16:18:16 -05:00
pierow
8ef9ff1f92 Commander selection cull distance increased to fix unupgradable structures that are vertically far from the commander. Credit to AlienBird. 2021-02-05 16:18:16 -05:00
pierow
dd3691c877 cl_showspeed no longer requires sv_cheats 1 2021-02-05 16:18:16 -05:00
pierow
ba32308dbc Recycling reward accounts for upgraded structures. Credit to AlienBird. 2021-02-05 16:18:16 -05:00
Petter Rønningen
c2cd59fd98
Added const qualifiers to avoid VS2019 errors (#76)
Co-authored-by: Petter Rønningen <petter.ronningen@sintef.no>
2020-07-24 12:27:17 -04:00
pierow
2fb18b989f
Merge pull request #69 from ENSL/pierow-changes
Changes/fixes to r_dynamic, cl_ambientsound, skulk walk speed, -attack
2020-07-11 21:34:37 -04:00
pierow
a732071f9c cl_ambientsound default 0 2020-07-11 20:46:42 -04:00
pierow
e5d4653cf3 cl_ambientsound corrected to be client side instead of server side. Works for mp3s. Wav ambient sound files in maps can't be toggled via client cvar due to engine limitation. 2020-07-11 20:07:00 -04:00
pierow
10a602433a r_dynamic user changable for non-nvidia graphics users with performance issues. Releasing attack key no longer releases +movement. 2020-07-11 17:28:00 -04:00
pierow
606f9765a0 corrected skulk walk speed (previous value changed with others to adress bug was incorrect) 2020-07-11 17:20:22 -04:00
Brett Caswell
36c78acbce
PR Merge of Patch 63 to Patch 61 (#6)
* handle particles project VC++ compilation errors with MVCS and project property changes

 - retarget to v142 platformtoolset
 - remove explicit windows SDK version; use latest by default
 - remove settings that are otherwise default values in project or are best determined by solution

* attempt to handle clang++ issues regarding unsupported c++11 features

* reset file changes to particledefs.h

* removing PARTICLEDLL_API definition and replacing usage with extern "C" block statements

* add g++ compiler option to specify c++11 standard

* attempt to resolve forward enum errors by adding std to base cflags

* replacing deprecated libstdc++ and removing -lstdc++ flag, updating MacOSX10 sdk version

* small refactor to Makefiles, and add  libstdc++ back to linux build

* remove added type to enum

* reset makefile changes that may be causing unexpected linux build failures

* refactoring std=c++11 declarations in Makefile to mitgate linux build failing

* ensure std is set for hl_cdll make

* attempt to define a standard library to resolve vector initialization_list constructor issue

* attempt to update MacOS sdk, set minimum os to be 10.7, and include export in travis ci to define deployment target
2020-07-05 11:11:06 -05:00
Gerhard Klassen
ba163d233e Minimap update
+ Colored Players
+ Colored Structures / Different colors for unbuild/build structures
2020-03-29 17:47:47 +02:00
Gerhard Klassen
8674080504 minimap alpha 2020-03-28 20:16:47 +01:00
Bacsu
7989dadc13 fix for display scoreboard icons 2020-03-22 16:36:00 +01:00
pierow
8fe16d36ca added cl_chatbeep 2018-08-17 06:45:42 -04:00
pierow
85a632ec26 turned off queued/autojump for jetpack 2018-08-16 20:20:52 -04:00
pierow
9d9696de6a revert unintentional changes to commented code 2018-08-15 03:37:54 -04:00
pierow
3010fd50f6 game version updated to 3.2.2 2018-08-15 01:48:57 -04:00
pierow
25fef4826c fixed sv_jumpmode 1 server/client prediction and made it default again 2018-08-14 22:51:44 -04:00
pierow
2ddac0e9f5 renamed FL_IMMUNE_SLIME flag with FL_JUMPHELD 2018-08-14 22:49:35 -04:00
pierow
2a1a713c26 revert lightgamma changes - crash when connecting to dedicated server 2018-08-13 22:20:21 -04:00
pierow
0fbc489cab sv_jumpmode default to 2 since 1 has broken client prediction 2018-08-13 22:19:10 -04:00
pierow
10c6634b86 moved hud placement of armor to the left
quick fix for patch - to revisit this later
2018-08-13 17:30:53 -04:00
pierow
8623211c9f fixed hud_style 1 - uses correct sprite names 2018-08-13 17:29:39 -04:00
pierow
92bc7c384c music disabled by default 2018-08-13 03:06:33 -04:00
pierow
eae207d51c another change for lightgamma 1 being allowed 2018-08-13 02:04:22 -04:00
pierow
dca187fa4c Jetpack event timer added - JP sound and effects independent from FPS 2018-08-12 22:30:08 -04:00
pierow
06e1017423 Addition of hud_style and cl_labelmaps changed to hud_mapstyle with additional maps 2018-08-12 22:27:24 -04:00
pierow
92812ee05e Spectator UI transparent. Spec checkbox position and transparency change 2018-08-12 22:21:24 -04:00
pierow
5df731361d removal of spectator UI letterboxing / inset 2018-08-12 22:18:48 -04:00
pierow
31801e3ecd openGL framework flag added for OSX 2018-08-12 22:05:44 -04:00
pierow
ea8940c0ff ifdefing out c++11 syntax so OSX compiles 2018-08-12 21:42:12 -04:00
pierow
0960ad6c53 revert osx to c++98 2018-08-12 21:41:20 -04:00
pierow
7cf4db2810 revert gcc g++ version for travis 2018-08-07 02:16:05 -04:00
pierow
38bf6c80e8 osx minversion 10.7 flag attempt 2018-08-07 01:34:42 -04:00
pierow
9e88929989 update minimum maxosx version to 10.7 2018-08-07 01:13:07 -04:00
pierow
8d5de70969 osx makefile libc++ change for c++11 2018-08-05 23:10:06 -04:00
pierow
dc6ccd8b73 particle makefile filepath update 2018-08-05 22:53:43 -04:00
pierow
b753f19949 change to c++11 2018-08-05 22:45:36 -04:00
pierow
8937e29f55 particles makefile filepath update 2018-08-05 22:45:20 -04:00
pierow
4f0f49409f g++7 for linux travisci and adding stdlib to osx makefile 2018-08-05 22:25:48 -04:00
pierow
d84484fd37 switch to c++14 2018-08-01 20:33:35 -04:00
pierow
d6bdcc1343 linux/osx compatability for crosshair system 2018-08-01 19:19:30 -04:00
pierow
7277a06b53 makefile update for crosshair system 2018-08-01 18:32:39 -04:00
pierow
4b8318cad1 showcursor win32 only 2018-08-01 01:29:11 -04:00
pierow
22f6ab0c16 lightgamma 1 unrestricted 2018-08-01 01:02:21 -04:00
pierow
1cd1bf0522 sv_jumpmode queued and auto bunnyhop 2018-08-01 01:01:46 -04:00
pierow
bec0c1a46c cl_ambientsound and senslock commands 2018-08-01 00:59:34 -04:00
pierow
d2f9ceddd9 crosshair system update and merge with develop 2018-08-01 00:49:49 -04:00
pierow
8563f5b367
Merge pull request #17 from asmodev/asmo/vs2017
Code updates to support VS2017 compilation. Does not include project …
2018-07-31 23:04:13 -04:00
Asmo
b840fe80e0 Code updates to support VS2017 compilation. Does not include project updates. 2018-07-30 23:52:29 -04:00
jonnypower
8b9d3d3b8b chore: Readable shifting of icon_number to create byte array 2018-07-14 23:54:24 -07:00
jonnypower
0eaa1b3ff0 chore: Compare index 0 against null terminator 2018-07-14 23:51:46 -07:00
pierow
f0f16adfe6 WIP crosshair system 2018-06-10 19:14:31 -04:00
pierow
b3fcf00ea8 FPS independent alien movement sounds 2018-06-06 18:56:58 -04:00
pierow
38e748c26a centers cursor with raw input in popup menu. half-working fix for OS cursor displaying over game cursor (reappears after esc menu is opened). 2018-06-06 18:54:37 -04:00
jonnypower
41791848fa fix: compiles particles as static lib 2018-05-12 18:03:45 -07:00
jonnypower
cfcde19373 Merge remote-tracking branch 'ensl/develop' into macos 2018-05-12 17:38:59 -07:00
jonnypower
cf809b82e7 Merge remote-tracking branch 'ensl/master' into macos 2018-05-12 17:38:53 -07:00
pierow
ca37f785ec
Merge pull request #10 from ENSL/pierow-commfix
added cl_widescreen and fix for commander item placement and background
2018-05-06 20:16:47 -04:00
pierow
b6862645ec added cl_widescreen and fix for commander item placement and background 2018-05-06 19:56:32 -04:00
Ari Timonen
5b5dc323b0 Remove debug symbols for Linux release build 2018-04-30 19:07:51 -04:00
jonnypower
585876d45c chore: whitespace / ifdef cleanup 2018-04-29 23:10:26 -07:00
jonnypower
e6ae628b5b fix: Wasn't missing lib - it's GL/gl.h on linux 2018-04-29 22:57:11 -07:00
jonnypower
19d92bfe65 feat: Build libparticles for use when compiling hl_cdll and ns 2018-04-29 22:48:44 -07:00
jonnypower
141f21081c chore: add deleted libparticleMP.a binary from particles directory 2018-04-29 22:14:05 -07:00
jonnypower
259b735221 chore: fix libparticle changes - use dylib binary for macos 2018-04-29 22:14:05 -07:00
jonnypower
84f75425e4 fix: Strongly typed collision tests for linux compile
- Regression from macos source changes
2018-04-29 22:14:05 -07:00
jonnypower
9711f583c4 chore: Reset particles opengl 2018-04-29 22:14:05 -07:00
jonnypower
0a97abc3c1 chore: Reset particles makefile 2018-04-29 22:14:05 -07:00
jonnypower
2ccb671db0 fix: gcc multilib 2018-04-29 22:14:05 -07:00
jonnypower
e24b9b7fe2 feat: OSX vgui dylib 2018-04-29 22:14:05 -07:00
jonnypower
69af0a19a6 chore: Makefile OSX cleanup / travis test 2018-04-29 22:14:05 -07:00
jonnypower
054f8d929b fix: Mem leak, use auto boxing for temp value 2018-04-29 22:14:05 -07:00
jonnypower
ea2a5833b7 feat: Compileable Mac OS 2018-04-29 22:14:05 -07:00
Bacsu
4a9485396e add forgotten line 2018-04-29 15:00:34 +00:00
Bacsu
04a1a8ac7b missing bitmap font for high res 2018-04-29 15:00:34 +00:00
pierow
6a1e564bae Hor+ widescreen with commander fix, jetpack lateral accel not tied to FPS, and walk speed bug workaround 2018-04-22 12:43:44 -04:00
Ari Timonen
e31260376d Remove temp files 2018-04-22 18:56:29 +03:00
Ari Timonen
4f13237895 Update line endings
Change CRLF to LF in repo.
2018-04-22 18:55:55 +03:00
Ari Timonen
9c3245fc8d Merge remote-tracking branch 'fmoraw/linux' into develop
Add fmoraw's libpng include to fix PNG issue.

Use external png library since:
- Only version 12 works
- Ubuntus libpng:i386 does not work due dep. problems
2018-04-22 18:43:06 +03:00
mittorn
6c3ae93ca7 Add libpng12 include 2017-04-13 13:52:59 +02:00
mittorn
3b798b9802 Fix UB 2017-04-13 13:52:59 +02:00
Bacsu
00610590d0 small several bugfix (linux 2016-10-11 23:28:28 +02:00
fmoraw
8eaa3a7eb9 Merge from bacsu & fix linux includes 2016-10-08 20:35:54 +02:00
Bacsu
32506d863b SDL ChatPanel 2016-10-05 20:19:07 +02:00
Bacsu
ac85878fa9 votemap hotfix 2 2016-09-12 12:44:19 +02:00
Bacsu
860c72fe4e votemap hotfix 2016-09-12 09:56:52 +02:00
Bacsu
51741242ef included libcurl 7.50-nossl to fix server error svc_bad 2016-09-03 01:47:28 +02:00
Bacsu
6fbcf4a3d0 Revert "Revert "included libcurl 7.50-nossl to fix server svc_bad error""
This reverts commit 98a6548889.
2016-09-03 01:36:22 +02:00
Bacsu
98a6548889 Revert "included libcurl 7.50-nossl to fix server svc_bad error"
This reverts commit bfafbf05f4.
2016-09-03 01:35:36 +02:00
Bacsu
bfafbf05f4 included libcurl 7.50-nossl to fix server svc_bad error 2016-09-03 01:34:49 +02:00
Bacsu
6de3b8ee26 Add files via upload
Add libcurl 7.50-nossl
2016-09-02 23:29:43 +02:00
Bacsu
fa7ed91d5b win32 compiling bug 2016-08-30 17:03:37 +02:00
Bacsu
e43d42f436 Update AvHPieMenuHandler.cpp 2016-03-07 21:55:26 +01:00
Bacsu
5e668c5bd8 Update AvHPieMenuHandler.cpp
Fixed version of the PopupMenu. Player view won't jump.
2016-03-07 21:51:19 +01:00
fmoraw
57fcad38d3 linux build bug fix 2015-12-11 16:21:57 +01:00
fmoraw
41f0ed5998 ns v3.2.1a fix 2015-12-10 21:25:44 +01:00
fmoraw
1c552d08fb ns v3.2.1a 2015-12-10 18:29:55 +01:00
fmoraw
c3acb40e77 added vgui.so,fmod.so && fixed makefile again 2015-03-25 15:05:02 +01:00
fmoraw
5b52b7ae6f added vgui.so,fmod.so && fixed makefile 2015-03-25 15:02:06 +01:00
fmoraw
de27a8149c Linux Build 2014-12-16 14:36:27 +01:00
fmoraw
48abae3be3 libcurl-no-sll build 2014-06-02 12:22:49 +02:00
fmoraw
1622255eeb visual studio 2010 rebuild
Signed-off-by: fmoraw <fmoraw@users.noreply.github.com>
2014-05-28 14:41:12 +02:00
hjw
18ce11ff78 more compile errors 2014-01-23 11:01:43 +00:00
hjw
c47caa1440 Adding particle system - probably needs work, should try to get the version from the NS1 svn repository 2014-01-23 10:49:10 +00:00
hjw
0ddfe3c35f Changed to unix line endings 2014-01-23 10:46:47 +00:00
Flayra
af3128ec1a - Updates from Puzl with latest version of the game (my backups were old compared to his working copy).
- Removed really strict anti exploit detection (that was never used)
- This should be the latest released version of NS!
2014-01-14 11:43:04 -08:00
Flayra
b16ad0f3f3 - Added Dave McAllister's particle system code (not licensed, but so old and not found online so I think it's OK) 2014-01-14 11:26:14 -08:00
Balgus
9218ea6768 git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@330 67975925-1194-0748-b3d5-c16f83f1a3a1 2005-08-18 17:43:52 +00:00
tankefugl
62a773737b git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@287 67975925-1194-0748-b3d5-c16f83f1a3a1 2005-07-15 22:06:49 +00:00
tankefugl
d7194eb748 git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@286 67975925-1194-0748-b3d5-c16f83f1a3a1 2005-07-15 21:58:50 +00:00
tankefugl
8fd7e2a1be git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@284 67975925-1194-0748-b3d5-c16f83f1a3a1 2005-07-15 14:20:59 +00:00
tankefugl
9ae2165c8f Updated project files
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@283 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-07-14 18:48:34 +00:00
tankefugl
d995257c31 Initial script engine implementation.
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@282 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-07-14 18:26:04 +00:00
tankefugl
dcdc87d7e0 Updated client with the correct MAX_WEAPON_SLOTS 5 in cdll_dll.h
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@275 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-07-14 17:33:03 +00:00
puzl
c3efe644ea git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@272 67975925-1194-0748-b3d5-c16f83f1a3a1 2005-07-14 15:03:16 +00:00
puzl
15410d7ec3 git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@271 67975925-1194-0748-b3d5-c16f83f1a3a1 2005-07-14 14:53:32 +00:00
puzl
99e6a5510e Changed curl include to be relative
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@270 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-07-14 14:30:14 +00:00
tankefugl
b993a0c80d Updated linux makefile
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@269 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-07-14 13:49:30 +00:00
puzl
c19bf89e2b Mantis: 983
o Releasing left, right or middle mouse button closes the popupmenu ( and selects the currently highlighted upgrade )



git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@268 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-07-14 00:05:38 +00:00
tankefugl
eb6d9f2d02 Mantis 0001051:
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
2005-07-12 14:49:58 +00:00
tankefugl
b99c007276 Mantis 0000957:
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
2005-07-12 13:21:43 +00:00
tankefugl
877b337309 Mantis 0001075:
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
2005-07-12 12:31:21 +00:00
tankefugl
c01812d4b0 Mantis 0001078:
o Mines and hand grenades moved to weapon slot 5

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@261 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-07-11 18:01:52 +00:00
tankefugl
505ab77679 Mantis 0001077:
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
2005-07-11 17:40:13 +00:00
tankefugl
14b10493b3 Mantis 0001010:
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
2005-07-11 13:29:15 +00:00
tankefugl
c25d30a845 Made the backwards lerk flap as powerful as the forward one for a PT test.
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@258 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-07-10 23:38:56 +00:00
puzl
39716e42db build 252
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@252 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-07-08 10:43:40 +00:00
puzl
6399c545a8 git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@251 67975925-1194-0748-b3d5-c16f83f1a3a1 2005-07-08 03:45:15 +00:00
puzl
f006aade0d Mantis: 1073
o Old authentication code.


git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@250 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-07-08 03:00:16 +00:00
tankefugl
49a6f0a6e7 Fixed code typo. Oops.
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@243 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-07-06 00:48:38 +00:00
tankefugl
58ec211b68 Ported performance changes from SVN revision 224, 229, 231 and 233, 3.0.5 performance branch.
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@242 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-07-06 00:43:42 +00:00
tankefugl
c2ae858b37 Ported performance changes from SVN revision 223, 3.0.5 performance branch.
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@241 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-07-06 00:10:28 +00:00
tankefugl
f5cdfe00ad Ported performance changes from SVN revision 222, 3.0.5 performance branch.
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@240 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-07-06 00:08:14 +00:00
tankefugl
241a3b0282 Ported performance changes from SVN revision 221, 3.0.5 performance branch.
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@239 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-07-05 23:59:07 +00:00
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