Commit graph

1063 commits

Author SHA1 Message Date
pierow
f191b913d3 change version beta9 2024-04-29 20:14:01 -04:00
pierow
44f1f12a4f fix bullet spark effects happening far above some marine structures 2024-04-29 20:14:01 -04:00
RGreenlees
fbab99da9e Removed debug code 2024-04-26 11:53:17 -04:00
RGreenlees
d209fe5184 Fixed defending issues
* Fixed bug where aliens wouldn't properly defend their hive if the marines weren't sieging it
* Fixed some stuck issues with skulks
* Added a proper debug printout for bots on-screen
2024-04-26 11:53:17 -04:00
RGreenlees
e8a85852e8 More bug fixes
* Fixed bots getting stuck on top of railings sometimes. Also hopefully fixed issues with bots aborting wall climbs for no reason.
* Fixed issue with duplicate base structures being dropped
* Fixed an issue where marines would become listless if the aliens had 3 hives up and they didn't have phase tech researched. They should continue to attack regardless
* Fixed issue where gorges would go nuts when trying to build defensive structures in an empty hive
* Aliens should be much more focused on evolving into fade/onos, including ignoring a hive under attack to first evolve so they can defend more effectively
2024-04-26 11:53:17 -04:00
RGreenlees
f6796ad025 Improve bot combat
* Reworked how bot hearing and sight combine
* Reworked target prioritisation
* Reworked when a bot should ignore a nearby enemy and engage
* Overall result is bots should have a better balance of engaging enemies and getting on with their tasks
2024-04-26 11:53:17 -04:00
RGreenlees
cfc65e1f5a Improved lerk flight
* Better lerk flight
* Fixed bots switching weapons rapidly
2024-04-26 11:53:17 -04:00
RGreenlees
540194cc6e Bots combine silence and cloak
* Bots will prefer to combine the silence and cloak upgrades if both are available and they have one of them already
2024-04-26 11:53:17 -04:00
pierow
c710fa347a
Merge pull request #177 from RGreenlees/BotHearing
Bot hearing
2024-04-22 03:26:18 -04:00
RGreenlees
7f75f80a6e Finish bot hearing 2024-04-20 19:52:59 +01:00
RGreenlees
2224c32a73 Include AvHAISoundQueue in project
* Bot hearing relies on the new AvHAISoundQueue files, so these must be added to the project
2024-04-19 16:15:29 +01:00
RGreenlees
f24261e416 Fixed bug with lift detection
* Bots no longer get perma-stuck when standing on the drill in Ragnarok (or similar situations in other maps)
* Fixed fades getting glued to the ceiling when trying to blink into a vent
* Fixed bots getting stuck on top of railings sometimes
* Fixed bots sometimes deciding to evolve in the ready room on certain maps
* Updated nav mesh for eclipse
2024-04-19 15:25:24 +01:00
RGreenlees
33b5fcbe82 Improved marine combat
* Improved hearing logic
* Improved marine combat decision making (they don't all cluster around the CC for no reason anymore)
* Bots can now hear regen sounds
2024-04-18 23:44:05 +01:00
RGreenlees
188b1dac32 Merge branch 'BotHearing' of https://github.com/RGreenlees/NS into BotHearing 2024-04-18 08:27:50 +01:00
RGreenlees
3073f7f60b Bot hearing started 2024-04-18 08:24:16 +01:00
pierow
efbbeacc48
Merge pull request #176 from ENSL/b9-animation-fixes
Weapon animation fixes
2024-04-17 22:45:37 -04:00
pierow
68b7278072 weapon animation fixes
- Fixed animation issues with pistol binary trigger and moved the binary triggering to client code
- Fixed reload animation not always playing
- Fixed numerous incorrect or broken alien weapon animations on every class
- Added transitional animation out of gorge building
2024-04-17 22:41:10 -04:00
pierow
d1da0553e8
Merge pull request #175 from RGreenlees/BotTweaks3
Bot tweaks3
2024-04-16 17:09:10 -04:00
pierow
ccebaff4ad
Merge branch 'develop' into BotTweaks3 2024-04-16 17:08:27 -04:00
RGreenlees
b1f1c6a660 Removed debug code 2024-04-16 19:57:26 +01:00
RGreenlees
3e36057948 Lift improvements
* Fixed bots getting into a clusterfuck when multiple try to use a lift at the same time.
* Improved nav meshes for various maps
* Added new console commands for debugging to force bots to evolve
* If there is no CC, infantry portal or hives in NS mode, bots will revert to deathmatch behaviour to finish the game
* Fixed bots flying off target when leaping/blinking sometimes
* If there is no armoury to retreat to, marines won't back off and will attack (stops clustering around the CC for no reason).
2024-04-16 17:39:23 +01:00
RGreenlees
9484517a15 Improved guard behaviour and randomisation
* Improved the bot guard behaviour
* Improved randomisation of bot names and chamber sequences
* Fixed bug where bots would drop hives within range of siege bases
* Fixed bug where requesting turret factories and sentry turrets from the AI commander would place a phase gate instead
2024-04-16 02:11:43 -04:00
RGreenlees
7d659fb8c2 Add cloak behaviour
Bots will no longer see cloaked players, and have a chance based on cloak level, movement and size of the players. Bots will also sneak when approaching enemies while cloaked.
2024-04-16 02:11:43 -04:00
RGreenlees
261ff5cef1 Improved guard behaviour and randomisation
* Improved the bot guard behaviour
* Improved randomisation of bot names and chamber sequences
* Fixed bug where bots would drop hives within range of siege bases
* Fixed bug where requesting turret factories and sentry turrets from the AI commander would place a phase gate instead
2024-04-14 20:50:26 +01:00
RGreenlees
7adeda4113 Add cloak behaviour
Bots will no longer see cloaked players, and have a chance based on cloak level, movement and size of the players. Bots will also sneak when approaching enemies while cloaked.
2024-04-12 16:40:50 +01:00
RGreenlees
0cb450605d Fix for CO end-game crash on marine victory
Fixed potential crash upon marine victory in combat mode, caused by trying to respawn aliens without an active hive.
2024-04-08 10:07:14 -04:00
RGreenlees
ddc8839d9a Fixed mistake in scan requests
Commander was dropping phase gates instead of scans. Oops!
2024-04-08 10:01:46 -04:00
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