smallmodel
9119319429
Avoid unbalancing teams when removing bots
2024-10-06 18:46:02 +02:00
smallmodel
d3d85fded0
Add TEAM_MAX
2024-10-06 18:37:31 +02:00
smallmodel
9b9642df8f
Add a very tiny offset off the facing dir as a workaround the 1 bit difference between 32-bit and 64-bit
...
In 64-bit, some windings are off by 1 bit (float values) compared to 32-bit, which causes issue on some maps like `dm/mp_stadt_dm` where the player would get stuck climbing up because of the blocking patch at the top
2024-10-06 17:33:48 +02:00
smallmodel
e564a97b05
Check if the delta is exactly 16
2024-10-06 17:31:02 +02:00
smallmodel
a150cb5c6e
Also check for liberation game type when the team is dead
2024-10-06 16:58:20 +02:00
smallmodel
afd7943b62
Fix incorrect teams and controllers for TOW objectives
2024-10-06 15:20:45 +02:00
smallmodel
09eb130b6d
Update curiosity and MoveDone()
2024-10-06 14:24:32 +02:00
smallmodel
5869ba06bc
Update the attack time when moving
2024-10-06 01:13:12 +02:00
smallmodel
b6c2638c1b
Make curiosity random
2024-10-06 01:01:03 +02:00
smallmodel
16b0f0d625
Use random() in CuriousSound()
2024-10-06 00:53:31 +02:00
smallmodel
9293930628
Make bots jump off ladder
...
They don't support ladders yet
2024-10-05 23:59:32 +02:00
smallmodel
46935b165c
Fix MoveDone() not checking for height, also return false when temporarily getting away
2024-10-05 23:57:02 +02:00
smallmodel
c0dd08f6e0
Set an higher firing sound in MP
2024-10-05 21:24:45 +02:00
smallmodel
1fde1647e8
Use the proper enum for BroadcastAIEvent
2024-10-05 21:24:29 +02:00
smallmodel
7ef006ccca
Fix nodes improperly connecting to other nodes that are below the ground
2024-10-05 21:15:37 +02:00
smallmodel
fd69d6b42c
Allow the bot to get out if stuck while falling
2024-10-05 20:46:16 +02:00
smallmodel
627f66fb5b
Add basic pathnode editing feature
2024-10-05 20:45:56 +02:00
smallmodel
8451c11916
Add a feature to dynamically create a master class for development
2024-10-05 20:17:11 +02:00
smallmodel
6bbbbcfb05
Allow spawning a simple entity
2024-10-05 20:15:50 +02:00
smallmodel
63465278a5
When there is no free player start spot, try to find a random player s tart one
2024-10-05 20:15:40 +02:00
smallmodel
2980771deb
Fix path node connection, use the target node num
2024-10-05 20:13:03 +02:00
smallmodel
1169b84c2f
Make sure the entity is valid before checking for the bad place team
2024-10-05 20:12:37 +02:00
smallmodel
355491a950
Reduce the bot attack time to avoid the bot getting stuck
2024-10-05 14:47:09 +02:00
smallmodel
7caa0adbab
Toggle use button and don't use if the door is open
2024-10-05 14:46:44 +02:00
smallmodel
8acc51c489
Correctly add/remove bots
2024-10-05 13:54:53 +02:00
smallmodel
732fd98593
Make the bot strafe when attacking
2024-10-05 13:43:09 +02:00
smallmodel
21a610d22c
Fix NoticeEvent ignoring other players on FFA
2024-10-05 11:56:08 +02:00
smallmodel
b1e1b6cc68
Properly aim at the last enemy position with some randomness applied
2024-10-04 22:10:51 +02:00
smallmodel
da86e0ce34
Fix bot incorrectly jumping
2024-10-04 21:23:49 +02:00
smallmodel
6ca12eb0de
Fix bot sometimes being stuck respawning between team spawn intervals
2024-10-04 20:27:28 +02:00
smallmodel
a25442368b
Make the bot jump more to avoid getting stuck
2024-10-04 20:25:05 +02:00
smallmodel
e7e95d47a5
Prevent others from picking up the health item if their future health will be full
2024-10-04 19:59:09 +02:00
smallmodel
292fe8eab4
Stop moving if there is a maximum fire movement so the weapon can be fired
2024-10-04 19:48:09 +02:00
smallmodel
272a401189
Make the bot jump even if the path is not valid to get out of spawns with no path nodes
2024-10-04 19:03:33 +02:00
smallmodel
592e3f47e9
Handle curiosity sounds better by getting the owner of concerned entities and ignoring team mates
2024-10-03 22:54:25 +02:00
smallmodel
cabf1a9043
Make AI path more random
2024-10-03 22:23:46 +02:00
smallmodel
e623541861
Improve the way bots turn, make it smoother
2024-10-03 21:57:29 +02:00
smallmodel
b74b6f8c1d
Use the last attacker origin instead of the last death position
2024-10-03 21:33:12 +02:00
smallmodel
11abdd451f
Fix incorrect dir for PathSearch::FindPathAway
2024-10-03 21:27:30 +02:00
smallmodel
1c3596b1f9
Add more conditions to check for valid enemies when attacking
2024-10-03 20:45:23 +02:00
smallmodel
1e73333fbe
Make bot path more random when idle
2024-10-03 20:22:54 +02:00
smallmodel
6eb49f567a
Made tempaway path better
2024-10-03 20:10:33 +02:00
smallmodel
0120e7e4a5
Add liberation messages
2024-10-03 19:06:03 +02:00
smallmodel
10e4d3db11
Check if the activeItem is within the configstring range to avoid leaking data
2024-10-03 19:05:56 +02:00
smallmodel
0b34d2dbb8
Fix ammo bits being incorrect
2024-10-02 23:04:30 +02:00
smallmodel
be1ef1de0e
Try respawning when the player should respawn
...
This fixes an issue where bots wouldn't respawn with `sv_team_spawn_interval` set
2024-10-02 22:18:07 +02:00
smallmodel
ef45c988c6
Fix player spectating often not spectating the next alive player
2024-10-02 22:16:58 +02:00
smallmodel
3ecdee1b89
Make bots play a taunt when they get a kill
2024-10-02 21:54:56 +02:00
smallmodel
c7561b1f6d
Send the GotKill event to the attacker when killed
2024-10-02 21:50:59 +02:00
smallmodel
50a3df8dff
Fix the instant message maximum number on AA and SH/BT
2024-10-02 21:49:20 +02:00