Commit graph

42 commits

Author SHA1 Message Date
pierow
3daa2f32e4 linux client update and config update 2024-03-23 16:54:55 -04:00
pierow
58358d0927
Bot integration for v3.3b8 (#156)
* Initial bot commit

* Added server commands and cvars for adding AI players to the game.
* Added auto modes for automating the adding and removal of bots
* Bots connect to the server and join teams correctly

* Added round restart and new map detection for AI system

Push before new project added for detour

* Initial bot integration

* Integrated all basic bot code for navigation and task performing
* Added support for multi_managers to better understand how buttons and triggers affect doors

* Improved bot understanding of door triggers and weldables

* Reworked nav profiles

Nav profiles for bots are now dynamically updated to take into account changing capabilities, such as picking up a welder

* Improved bot door usage

* Added weldable obstacles back into navigation

Bots now understand how to get around weldable barriers

* Replaced fixed arrays with vectors

* Resource node and hive lists are now vectors.
* Further improved bot weld behaviour

* Added dynamic reachability calculations

When barriers and doors are open/closed, new reachability calculations are done for structures and items so bots understand when items/structures become reachable or unreachable as the match progresses.

* Added team-based reachability calculations

Reachabilities for structures and items are now based on the team, so bots understand when they can't reach a structure from their spawn point.

* Implemented long-range off-mesh connections and dynamic off-mesh connections

* Implemented fully dynamic off-mesh connections

Phase gates now use connections rather than custom path finding. Much more performant.

* Replaced arrays with vectors for simpler code

* Started Bot Swimming

* Bots understand trigger_changetarget

Bots can now navigate doors operated with a trigger_changetarget so they understand the sequence in which triggers must be activated to make it work

* Push before trying to fix long-range connections

* Implement new off-mesh connection system

* Redid population of door triggers

* Fixed trigger types and links to doors

* Added lift and moving platform support

* Lift improvements

* Bots avoid getting crushed under a lift when summoning it
* Bots are better at judging which stop a platform needs to be at

* Tweak lift and welder usage

* Fixed bug with multiple off-mesh connections close together

* Finish lift movement

* Fixed dodgy path finding

* Improved skulk ladder usage and lerk lift usage

* Fix crash with path finding

* Re-implement commander AI

* Commander improvements

* Improve commander sieging

* Commander scanning tweak

* Reimplemented regular marine AI

* Start reimplementing alien AI

* Implement gorge building behaviours

* Start alien tactical decisioning

* Continuing alien building and other non-combat logic

* More alien role work

* Adjusted base node definitions

* Iterate Capper Logic

* Alien assault AI

* Alien Combat

* Fix grenade throwing, better combat

* Marine combat AI improvements

* Commander improvements

* Commander + nav improvements

* Drop mines

* Improved bot stuck detection

* Commander supply improvements

* Bot fill timing config

* Added nsbots.cfg to configure internal bots

* Changed bot config file to "nsbots.cfg"

* Bug fixing with navigation

* Fix skulk movement on ladders

* Improved commander placement and tactical refresh

* Fixed bug with ladder climbing

* Doors block off-mesh connections

* Finished doors blocking connections

* Marine and alien tactical bug fixes

* Add commander beacon back in

* Start combat mode stuff

* First pass at combat mode

* Bots attack turrets

* Fix ladder and wall climbing

* Commander chat request

* Improved skulk ladders

* Added nav meshes for new bot code

* Added bot configuration to listen server menu

* Added bot config file

* Added default bot config to listenserver.cfg

* Added default bot settings to server.cfg

* Include VS filter for bot files

* Crash fixes

* Bot improvements

* Bot stability and mine placement improvements

* Fixed crash on new map start with bots

* Reverted Svencoop fix

* Fixed crash, added more cvars

* Performance improvement

* Commander building improvements

* Stop bot spasming when waiting to take command

* Fixed doors not blocking connections

* Added bot disabled guard to round start

* Commander improvements, movement improvements

* Tweaked level load sequence

* Performance improvements

* Bot load spread

* Fixed commander update

* Refactor bot frame handling

* Bug fixes + Pierow's dynamic load spread

* Minor bug fixes

* Fix door detection, prep for test

* Fixed commander siege spam

* linux compile test

* fix hardcoded inlcudes

* O1 compile flag for detour
- fix linux server crash

* Revert detour compile flags to original for windows

* linux build update

* remove x64 build configs

* update bot nav meshes and configs

* fix bot physics at high server fps, update navmeshes. from @RGreenlees

---------

Co-authored-by: RGreenlees <RGreenlees@users.noreply.github.com>
Co-authored-by: RichardGreenlees <richard.greenlees@forecast.global>
2024-03-21 14:17:18 -04:00
pierow
202889488b fix linux server crash 2024-03-13 18:42:07 -04:00
pierow
8ab1a69972 add postprocessing
- add GLSL postprocessing shader to world view and have it replicate the old gamma ramp
- clear framebuffer between frames to fix visual bugs outside map
- remove old gamma ramp code (was disabled) and remove gamma adjustments to hud elements as they're now unaffected by the shader
- additional visual preset config updates
2024-02-28 22:36:49 -05:00
pierow
12a122af14 Disable unused libraries
-libcurl, libpng, zlib
2021-10-30 19:09:10 -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
pierow
31801e3ecd openGL framework flag added for OSX 2018-08-12 22:05:44 -04:00
pierow
0960ad6c53 revert osx to c++98 2018-08-12 21:41:20 -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
b753f19949 change to c++11 2018-08-05 22:45:36 -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
7277a06b53 makefile update for crosshair system 2018-08-01 18:32:39 -04:00
jonnypower
41791848fa fix: compiles particles as static lib 2018-05-12 18:03:45 -07:00
jonnypower
cf809b82e7 Merge remote-tracking branch 'ensl/master' into macos 2018-05-12 17:38:53 -07: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
19d92bfe65 feat: Build libparticles for use when compiling hl_cdll and ns 2018-04-29 22:48:44 -07:00
jonnypower
259b735221 chore: fix libparticle changes - use dylib binary for macos 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
ea2a5833b7 feat: Compileable Mac OS 2018-04-29 22:14:05 -07: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
mittorn
6c3ae93ca7 Add libpng12 include 2017-04-13 13:52:59 +02: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
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
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
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
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
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
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
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
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
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
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