Commit graph

1086 commits

Author SHA1 Message Date
RGreenlees
d886d9b2e3 bot ini and navmesh updates
* Added max match time to nsbots.ini
* Tweaked nav meshes for several maps
2024-04-08 10:01:46 -04:00
RGreenlees
27ed51035c Lerk improvements and bot names
* Improved lerk movement when it is not flying (i.e. being cautious)
* Users can now optionally add botnames.txt to the NS folder to define custom bot names
2024-04-08 10:01:46 -04:00
RGreenlees
e322e52619 Update AvHAIWeaponHelper.cpp 2024-04-08 10:01:46 -04:00
RGreenlees
dfcd4463ac Update AvHAIWeaponHelper.cpp 2024-04-08 10:01:46 -04:00
RGreenlees
d87bb3d600 Further bot enhancements
* Improved jump and blink movement
* Hopefully fixed bug with bots trying to walk between phase gates
* Fixed issue with bots constantly switching weapons when trying to reload
* Added a max AI time for a match, with bots throwing the game if there are no humans and it goes on too long (configurable in nsbots.ini, default is 90 minutes)
2024-04-08 10:01:46 -04:00
RGreenlees
eba41379e3 Improve bot vision, bug fixes
* Re-added the view frustum for bots
* Hopefully stopped bots getting permanently stuck trying to evolve an upgrade in an invalid place
* Bots will now leave the game after 2 hours if no humans playing (ignores human spectators)
2024-04-08 10:01:46 -04:00
RGreenlees
75469430ad Bot fixes
* Fixed bots targeting mines to attack
* Fixed crash on enabling bots after previously disabling them
* Fixed bots not handling doors correctly when enabling them after match start
2024-04-08 10:01:46 -04:00
RGreenlees
349cf7240f Added more commander requests
Armouries, Heavy armour and jetpacks can be requested
2024-04-08 10:01:46 -04:00
RGreenlees
44a1072fb3 Fix phantom electrical discharge
Fixed the bug causes electricity to arc across the map for clients out of replication range of the electrocuted player
2024-04-08 09:58:14 -04:00
pierow
56f992b6fe
Update README.md 2024-03-30 16:10:17 -04:00
pierow
91f2e4c0c0
Update README.md 2024-03-29 21:17:41 -04:00
pierow
4871012a51 Revert "hltv config update"
This reverts commit 1ee5881cf2.
2024-03-29 19:39:21 -04:00
pierow
a5239c575b update configs and readme 2024-03-29 19:37:15 -04:00
pierow
6506119264 add env_gamma 1.7 to ns_ragnarok 2024-03-29 19:37:15 -04:00
RGreenlees
9381cf6438 Updated Machina nav mesh
* Fixed nav mesh issue where bots could get stuck in one of the hives trying to drop down from a height if the hive was present
2024-03-28 18:34:33 -04:00
RGreenlees
936ef5d609 Fixed potential hang in path finding
* Fixed potential infinite loop in path finding
* Fixed bots sometimes getting stuck on doors permanently
2024-03-28 18:34:33 -04:00
RGreenlees
4efd22b709 Removed exception handling from bot config
* Removed all try/catch clauses due to build issues
2024-03-27 04:57:43 -04:00
pierow
09a9b4870f fix not healing at the armory after getting getting into the command chair with low health 2024-03-26 19:22:41 -04:00
pierow
09c48fa653 config updates 2024-03-26 19:22:41 -04:00
pierow
71e5051752 add cl_cmcancellast 2024-03-26 19:22:41 -04:00
RGreenlees
ddeb934179 Update bot ini and navmeshes 2024-03-26 19:16:46 -04:00
RGreenlees
c7efc37227 Rever accidental change to Linux fix 2024-03-26 19:16:46 -04:00
RGreenlees
4470feb4c5 Fixed bot crash with empty chat message
* Bot no longer causes a crash if a player submits an empty chat message
2024-03-26 19:16:46 -04:00
RGreenlees
b139fbf9b8 Better bot config handling and logging
* Bot config is no longer case-sensitive
* Listen server hosts now get console notifications on bot status, errors etc.
* Added safeguards around parsing the file to prevent bad values crashing
* Made mp_botautomode default to 1 and mp_botcommandermode default to 1
2024-03-26 19:16:46 -04:00
RGreenlees
67903b598e Weld tweak 2024-03-26 19:16:46 -04:00
RGreenlees
c6344df589 Weld and guard behaviour fix 2024-03-26 19:16:46 -04:00
RGreenlees
1cd837b372 Fixed bug with detecting door triggers 2024-03-26 19:16:46 -04:00
RGreenlees
f391176841 Door and movement improvements
* Fixed buttons having overly long wait times with bots
* Fixed issue with climbing walls in certain situations
2024-03-26 19:16:46 -04:00
pierow
3daa2f32e4 linux client update and config update 2024-03-23 16:54:55 -04:00
pierow
c4629d6113 update configs
- default zoom sensitivity ratio lowered to be closer to matching vertical monitor distance instead of 4/3 horizontal distance
2024-03-23 16:54:55 -04:00
pierow
b8f5f818bc update mapcycle, remove old cfg file 2024-03-23 16:54:55 -04:00
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