Commit graph

1107 commits

Author SHA1 Message Date
RGreenlees
c2e41c2011 Bot movement improvements
* Commander no longer sends reminders once an order is issued
* Fixed an issue where marines would loiter and refuse to move on once securing a hive
* Improved wall climbing: bots handle varied wall angles better
2024-06-03 23:53:08 -04:00
RGreenlees
5beb313546 Alien coordinated base attacks
* Aliens will now gang up to attack the marine base
* Aliens will spread out more when attacking in a group, rather than all going for the same buildings
2024-06-03 23:53:08 -04:00
RGreenlees
c0bef7cb05 Improved evasive behaviour
* Bots only zig-zag when approaching a ranged enemy if that enemy is aiming at them
* Bots will not zig-zag off edges, or up against walls
2024-06-03 23:53:08 -04:00
RGreenlees
6ffc3d3258 Improved hive building
* Bots no longer squabble over who's building the hive
2024-06-03 23:53:08 -04:00
RGreenlees
d17cb601eb Task priority and path merging
* Potentially fixed issue causing invalid paths
* Fixed issue where gorges wouldn't heal anyone while focused on capping res node or building defensive structures
2024-06-03 23:53:08 -04:00
RGreenlees
ff3b4afb1c Bot stuck checks
* Bots will now suicide if falling for more than 15 seconds, handle stuck situations
* Bots will hopefully not get stuck in walk nodes as much
2024-06-03 23:53:08 -04:00
RGreenlees
fcddb5b6c3 Resource capping tweak and comm reminders
* Marines will now get close initially to a resource node they want to cap, before guarding it. This fixes the issue in Hera where bots would wait for the RT in cargo to drop but never actually open the door so the commander could drop it
* Disabled AI commander reissuing orders to players as a reminder. It was annoying for humans, and pointless for bots since they should always obey it right away anyway
2024-06-03 23:53:08 -04:00
pierow
4736cdcc53 remove debug line 2024-05-10 16:39:11 -04:00
pierow
37a310a568 update special reload bit size 2024-05-10 16:39:11 -04:00
pierow
c626c27df4 remove debug line left in 2024-05-10 16:39:11 -04:00
pierow
38d8031ab1 reduced jetpack research cost 2024-05-10 16:24:44 -04:00
pierow
27d5db3b03 update options with new cvars 2024-05-10 16:24:44 -04:00
pierow
8220ae1738 fix small gaps in skulk, gorge, and onos hitboxes 2024-05-10 16:24:44 -04:00
pierow
a6c6f8c8e9 add todo for health/ammo ultrawide inset 2024-05-10 16:24:44 -04:00
pierow
6fd6cb8b8b fix todo comments for task list 2024-05-10 16:24:44 -04:00
pierow
2f6ddf68bb add 4 digit health and armor support
- fix armor number spacing
2024-05-10 16:24:44 -04:00
pierow
92db73eb89 Fix side mouse buttons registering as left click when using the cursor.
- also allow mouse3/4/5 binds to be accessible as commander.
2024-05-10 16:24:44 -04:00
RGreenlees
1363f48d96 Final fixes for next release
* Fixed some nav meshes so Onos can navigate better, and avoid bad structure placement
* Improved bot movement when not using the nav mesh (i.e. direct movement)
* Fixed player-built structures being duplicated if a commander takes over (i.e. AI commander ignoring player-placed structures and acting like they don't exist)
* Fixed marines just loitering in enemy hives doing nothing
* Fixed gorges sometimes not fully building structures and just leaving them to slowly grow
2024-05-10 16:21:30 -04:00
RGreenlees
802174ddcd Improve evolve behaviour
* Bots are less likely to get perma-stuck trying to find a good evolve location
2024-05-10 16:21:30 -04:00
RGreenlees
0f578e359f Update navmesh docs 2024-05-10 16:21:30 -04:00
RGreenlees
6ed297c68f Update nav meshes and editor
* Bring in line with new nav features and fix issues with maps
2024-05-10 16:21:30 -04:00
RGreenlees
eb15f8e1d5 Improved lerk movement, debug stuff in preprocessor 2024-05-08 14:43:14 -04:00
RGreenlees
f5e5b9b41a Lerk flight improvements
* Fixing lerks to get stuck less often when navigating normally
2024-05-08 14:43:14 -04:00
RGreenlees
6021daabab Wave attacking implementation 2024-05-08 14:43:14 -04:00
pierow
8835eb0a60 add cl_teamcfgs
- can change auto execution of team configs to be  0 =off, 1 = if playing only, 2 = also in spectate
2024-05-04 05:56:52 -04:00
pierow
710518f55a optimization to first person spec viewmodel loading 2024-05-04 05:56:52 -04:00
pierow
b5177e8e47 Additional spectator fixes
- fixed issues with piemenu cursor code being enabled when spectating
- the cursor is now enabled when in an observer mode that locks the view.
- fixed bugs/exploits where dead players could first person spectate the enemy team or travel around in freelook if all spectatable players on the team are dead.
2024-05-04 05:56:52 -04:00
pierow
e24041c64a Add spec crosshair
- Fix readyroom crosshairs not applying after leaving a team
2024-05-04 05:56:52 -04:00
RGreenlees
4f32271532 Fix broken roaming spectator mode
* Added server cvar (mp_freespectatormode) which controls when a player can enter a free spectator mode (orbit cam, or free roaming). 0 = never, 1 = only when spectator, 2 = Always
* Free roaming will now be part of the cycle when pressing the jump key
* The overlay is now toggled with the crouch button
* Strafing in free roaming no longer snaps to different players
* Fixed bug that would break spectating completely if returning to the ready room while in free roam
* You can no longer enter free roaming using the "specmode" and "spec_mode" console commands if it's disabled by the server
2024-05-04 05:56:52 -04:00
pierow
019045c5c7 fix unsafe type error 2024-05-04 05:55:53 -04:00
pierow
e08554b34f add new bot files to linux makefile 2024-05-04 05:55:53 -04:00
pierow
b53db7408f remove debug code that was left in 2024-05-04 05:55:53 -04:00
pierow
aa3ddd6017 revise hud waypoint command names and usage
-now hud_waypoint_draw and hud_waypoint_blink
2024-04-29 20:14:01 -04:00
pierow
1b8460c74a add waypoint blinking to presets 2024-04-29 20:14:01 -04:00
pierow
0f1365b785 alien sound changes
- fps independant idle and primal scream sounds
- slightly reduced the max volume of alien movement sounds
2024-04-29 20:14:01 -04:00
pierow
1f3940091a add minimap visuals for unbuilt and recycling structures 2024-04-29 20:14:01 -04:00
pierow
d2dc2fd7cf fix linux compile issue 2024-04-29 20:14:01 -04:00
pierow
c800522dcc fix typos and register cl_placebo to prevent error messages
- thanks @lameos for sending me the typos
2024-04-29 20:14:01 -04:00
pierow
af04d9a078 waypoints update
- hud_drawwaypoints was fixed in an earlier commit so waypoints don't show again when respawning
- add additional hud_waypointblinking code
2024-04-29 20:14:01 -04:00
pierow
23dc6c3a9c crosshair updates
- changed shotgun and healspray slightly
- added cl_cross_dot_round to cfgs
2024-04-29 20:14:01 -04:00
pierow
c5153c4ab1 health and ammo HUD scaling
- Scale HUD with a modified version of @Toodles2You 's triapi HUD scaling
- Add commands for position, scale, and minimum alpha of heath and ammo
- Fixes sprite blurring
- Fixed nearby pixels bleeding in to the drawn sprites
- Fixed the health cross art being cut off at the edges
2024-04-29 20:14:01 -04:00
pierow
f39297efcb Fix gamma ramp and add hud_waypointblinking
- fix gamma ramp not working correctly on maps with no env_gamma entity
- add hud_waypointblinking
2024-04-29 20:14:01 -04:00
pierow
3b8049d226 fix crosshair circle rendering issues and added round dot option 2024-04-29 20:14:01 -04:00
pierow
fb214971d5 Mine attack animation fix
- also added commented code for using the placement animation, but it doesn't look good and is buggy.
2024-04-29 20:14:01 -04:00
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