Commit graph

97 commits

Author SHA1 Message Date
jeefo
11d3ffe20e runplayermove is now not called every frame, the same as main bot code
this gives another fps boost for server perfomance, but gives a little shaky viewmodel (gun) drawing for bot while spectating him in firstperson mode.
2015-07-26 13:02:05 +03:00
Dmitriy
174b3e1eb6 some more cosmetics 2015-07-24 15:10:51 +03:00
Dmitriy
1d22832979 cosmetic changes 2015-07-24 14:39:11 +03:00
jeefo
14ac18de31 added back frame skipping 2015-07-22 23:04:43 +03:00
jeefo
5174799000 delaying jump collision action instead of randoming 2015-07-22 19:14:07 +03:00
jeefo
714508d6ef removed useless duck collision 2015-07-20 23:18:50 +03:00
jeefo
ecbf6df4ba oops, fixed build, again 2015-07-20 21:29:49 +03:00
jeefo
2ca5002e45 tweaked antistuck code 2015-07-20 21:26:20 +03:00
jeefo
62a3fa8b80 playing with aim code
temporary disabled think frame skipping
2015-07-20 00:42:21 +03:00
jeefo
55e4cf4bd9 simplified a bit hearing and aim dir choosing
bots thnik function not run every frame, should save some fps
2015-07-19 13:39:00 +03:00
jeefo
36c549a0ce some refactoring 2015-07-17 19:23:31 +03:00
jeefo
c445d07c2b more optimizations
removed ancient firedelays
maybe some more...
2015-07-12 17:18:20 +03:00
jeefo
60e4802640 fixed crash in lift usage
optimized walkspeed function
2015-07-12 12:58:20 +03:00
jeefo
85e618fb1b minor changes 2015-07-11 19:54:46 +03:00
jeefo
d26afb6ae4 fixed IsPointOccupied() 2015-07-02 23:46:21 +03:00
jeefo
187c37c9f7 adjusted finddefendwaypoint search distance 2015-07-02 23:45:13 +03:00
jeefo
a2593f58bb don't do local avoidance if sees enemy or round start time < 10 2015-07-02 23:12:36 +03:00
jeefo
7ee191387a fixed typo 2015-07-01 00:51:50 +03:00
jeefo
dbd22ec99e some optimizations in changes in player avoidance code 2015-07-01 00:47:39 +03:00
jeefo
ff51914ea6 more fixes for coverity, now fixed what i have done in previous build :) 2015-06-29 21:49:52 +03:00
jeefo
95c121ef43 fixed some coverity warnings 2015-06-29 20:51:25 +03:00
jeefo
b6159188bd fixed some warnings from pvs-studio
bot's don't change enemy to teamkiller if currently busy with real enemy
checks for user rendering (invisibility, got from podbot_mm)
no hunting of seek cover when escaping from bomb
2015-06-28 19:43:31 +03:00
jeefo
2f03f579b3 fixed bot thinks he is stuck, while in combat
add one more check to waypoint occupy test
2015-06-26 23:41:17 +03:00
jeefo
77ed0bedd1 reverted some changes 2015-06-24 17:25:39 +03:00
jeefo
c28110cce2 small optimizations and code style fixes 2015-06-24 15:38:48 +03:00
jeefo
65818243ec removed useless engine hooks
replaces some div's to mul's
2015-06-22 21:32:29 +03:00
jeefo
d0a8cb727a some combat behavior tweaks 2015-06-20 11:45:59 +03:00
Dmitry
b7baeb5852 fixed jason mode once more
high skill bots now making more headshots
2015-06-14 12:55:49 +03:00
Dmitry
66c33472ff more work on optimizing cpu usage
reverted active grenades on TASK_* items
2015-06-11 23:22:50 +03:00
Dmitry
b2739f2241 seems to working fine 2015-06-11 16:53:21 +03:00
Dmitry
02823791c0 save point for tomorrow, good night 2015-06-11 00:18:49 +03:00
Dmitry
44512457c8 passing some of the vectors by reference, instead of copying 2015-06-10 23:41:55 +03:00
Dmitry
73f21591f9 some optimizations to goal finding 2015-06-09 22:16:08 +03:00
Dmitriy
e5ce504176 replaced random number generator with faster one
optimized breakable handling (need testing)
2015-06-09 15:45:34 +03:00
Dmitry
f0dcda5747 some combat behaviour improvements 2015-06-08 22:55:57 +03:00
Dmitriy
83740aa129 optimized FindNearestPlayer ()
support v6 waypoint file converted from v7
2015-06-08 16:18:55 +03:00
Dmitry
3042325f70 fixed pathfinding problems (again) 2015-06-07 23:06:23 +03:00
Dmitry
eb13736a00 fixed move angles not updated when not checking terrain
fixed reporting-in spam
fixed bot-s won't fight in jason mode
added yb_shoots_thru_walls 2 to use old method for checking shootable wall
2015-06-07 19:43:16 +03:00
Dmitry
1b1ae9ea91 removed bad code bits from pathfinding
fixed too long duck pressing in combat
restore bits of player avoidance code
2015-06-06 14:19:19 +03:00
Dmitriy
b3b157fab0 some work done in 9 months 2015-06-04 11:52:48 +03:00
jeefo
1fa0acf472 some optimizations 2014-09-17 20:36:53 +04:00
jeefo
15255614a9 pre-release cleanup
and fixed bot's won't attack enemies at close distances with knife
2014-09-09 18:29:42 +04:00
jeefo
21c8c61b47 a little optimization 2014-08-06 00:03:50 +04:00
jeefo
7d5d5ce81a a little cleanup
fixed pvs-studio generated warnings
fixed makefile
remove vc debug symbols
2011-01-05 23:28:48 +04:00
jeefo
eab08307da fixed duplicate names after multiple level changes 2014-08-05 22:26:16 +04:00
jeefo
5e73326033 not sure what have i done
while reading pbmm sources :)
2014-08-05 21:04:43 +04:00
jeefo
3a4164ec5d helloworld 2014-07-30 14:17:46 +04:00