Commit graph

1105 commits

Author SHA1 Message Date
pierow
3cc9648ea7 add alternative env_gamma to ns_hera and ns_lost 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
acc1056ec8
Merge pull request #155 from ENSL/v33b8
Version 3.3b8
2024-03-21 14:12:46 -04:00
pierow
1ee5881cf2 hltv config update 2024-03-21 14:10:29 -04:00
pierow
b615902e94 configs update 2024-03-21 12:57:44 -04:00
pierow
34a62c747b remove pistol script references from team configs 2024-03-21 01:50:36 -04:00
pierow
48addfdd2f revert titlescreen music rename 2024-03-21 00:54:47 -04:00
pierow
a411958a1e Remove ResetGamma.exe 2024-03-21 00:33:48 -04:00
pierow
1677f6d7c8 remove title track from in-game music programatically 2024-03-21 00:33:13 -04:00
pierow
adb875bc40 server cvars update 2024-03-16 16:49:18 -04:00
pierow
1e7fa6f61e update hivesight labels 2024-03-15 21:07:59 -04:00
pierow
3b4c2d98dd blockcsripts default 0 2024-03-15 12:41:54 -04:00
pierow
202889488b fix linux server crash 2024-03-13 18:42:07 -04:00
pierow
417892f507 presets and 33b8 update
- adjust hivesight labels to be less visibile if they're not being attacked
- add crosshair scaling when above 1080p
- fix music not playing after the first map
- config updates
2024-03-13 09:10:50 -04:00
pierow
de3ae12236 increase listen server default player size 2024-03-12 08:05:13 -04:00
pierow
42346aee87 fix crash after getting kicked from a server 2024-03-12 08:04:52 -04:00
pierow
0e53e0ee3d revise new maxunlag value
-300ms because some intercontinental players spike over 250ms
2024-03-11 07:16:13 -04:00
pierow
90ebbdda23 presets update
- add network rate presets
- add cl_intensityalt for alternative gamma ramp in env_gamma map entities
- separate welder flickering dynamic light setting
- crosshair updates
2024-03-10 16:58:37 -04:00
pierow
833eb0a792 merge in HL25 fixes 2024-03-04 23:29:53 -05:00
pierow
1dc828e071 force sv_allow_shaders 0 2024-03-04 23:15:08 -05:00
pierow
856e71f05a healspray +movement and cl_weaponcfgs improvements 2024-03-04 23:10:56 -05:00
pierow
3220c418ed fix func_nobuilds underneath the map preventing commanders from dropping structures 2024-03-04 22:15:18 -05:00
pierow
3e404baff8 ns presets update
- add new default crosshairs, enabled with cl_weaponcfgs 2
- crosshair bugfixes
- add box crosshair and sub-pixel outline control
- cl_musicdelay -1 plays a track once at start of round
- removed title track from gameplay (main menu only)
- cl_bob cvars archived
- remove HL-style tilting weapon bob in spectate
- sv_randomrfk default off
- more gamma ramp removal
- remove valve shader hash check
- archive showspeed cvar
- update debug and playtest solutions for GLEW
- add HL25 wav file for button select (button rollover sound was removed in HL25)
2024-03-04 22:13:32 -05:00
pierow
0bdc52796f presets and postprocessing update 2024-02-29 01:33:35 -05:00
pierow
dcb4de963d merge in postprocessing 2024-02-28 22:46:22 -05: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
c5c338ba3d preset switcher update WIP 2024-02-07 00:51:12 -05:00
pierow
0688b2ef65 fix pistol firing when closing game menu or tabbing in 2024-02-07 00:48:35 -05:00
pierow
5636d7a103 NS preset switcher update WIP 2024-02-04 04:08:01 -05:00
pierow
ceb814f4f6 weapons update
- add pistol binary trigger aka pistol script and attack queueing
- add gorge heal spray +movement
- lerk flap +movement update
- fix for onos attack release bugs with +movement
2024-02-04 04:05:28 -05:00
pierow
a024343cb0 consistency check shader files 2024-01-30 01:02:54 -05:00
pierow
8fde5dc37c NS preset switcher WIP
- needs sv_allow_shaders and hl25 at the moment and it piggybacks off the hl25 overbright shader using the average gamma ramp setting for ns maps.
2024-01-30 01:02:16 -05:00
pierow
4b1ec43d81
Update README.md 2024-01-21 18:20:56 -05:00
pierow
61c7fc5d9c reduce sticking to diagonal walls. Credit to @AltimorTASDK 2024-01-14 17:41:48 -05:00
pierow
e59ea9b87f readd line deleted in error 2024-01-14 17:36:59 -05:00
pierow
ae447029c0 add cl_bobview 2024-01-14 16:57:25 -05:00
pierow
abef5c5cca fix view spin when disabling the cursor
-revisit this when HL25 SDK is released
2024-01-13 21:22:04 -05:00
pierow
48da9f7260 add lerk flap to +movement 2024-01-08 13:22:32 -05:00
pierow
2c339fb9fd
Update README.md 2024-01-07 10:24:40 -05:00
pierow
56512a8f45 additional removal of old widescreen 2023-12-06 05:46:16 -05:00
pierow
0e88d368b9 HL25 fixes
-Add new widescreen method and exploit prevention
-disable old widescreen method and exploit prevention
-force sv_rollangle 0
-add sv_widescreenclamp to limit fov expansion to 16:9
2023-11-27 16:01:49 -05:00
pierow
bf34643be3 revise mouse paramater comments 2023-11-25 13:46:15 -05:00
pierow
deffcba07c sv_rollangle 0 2023-11-25 13:44:53 -05:00
pierow
44ffcf24fd version number to v33b8 2023-11-21 03:48:12 -05:00
pierow
e435bdad29 version number to v33b8 2023-11-21 03:46:47 -05:00
pierow
5fc8493b9a Fix crash in debug mode when spectating aliens. Credit to Neoptolemus. 2023-11-21 03:43:56 -05:00
pierow
5b68b5a778
Update README.md 2023-11-17 14:08:33 -05:00
pierow
9f324e47b0 Fix crash when player completes a commander order. Credit to @RGreenlees
- The crash possibly only occured in debug mode?
2023-10-22 23:24:42 -04:00
pierow
1748d39d7e fix for typing another key in chat before releasing enter key causing it to send the message 2023-10-04 18:11:40 -04:00
pierow
a04cc4fd40 add check for recent saying counter not resetting 2023-10-04 18:10:53 -04:00