Commit graph

63 commits

Author SHA1 Message Date
jeefo
74b97dadd5 Revert "cleaning up the code. part 0."
This reverts commit e8eb775c23.
2016-08-27 23:39:25 +03:00
jeefo
e8eb775c23 cleaning up the code. part 0. 2016-08-27 22:49:42 +03:00
jeefo
19f4582685 bot is not searching mod name in hardcoded list, so you can now use any gamedir for bot. So the CS beta 7.0 & 7.1 for steam is now supported. 2016-07-01 09:32:43 +03:00
jeefo
de1e9b68e2 get rid of goto statements 2016-04-04 10:51:52 +03:00
jeefo
bc2e57a7a8 code refactoring, still testing
some fixes all over the place
fixed all warnings from clang
2016-03-12 14:35:44 +03:00
jeefo
1259276bcb bump version number
fixed some of coverity warnings
2016-03-09 23:32:45 +03:00
jeefo
4b0188222f fixes clang warnings
fixed bad combat strafe dir direction selection
added more 'shoot thru wall' code as reaction on sound
2016-03-09 22:34:24 +03:00
jeefo
8d6b315fa5 added ability to load waypoints & config files from PAK files 2016-03-09 19:17:56 +03:00
jeefo
95d9d4db0c removed metamod-messages, since there will be nor updates to metamod ifaces. 2016-03-05 23:08:07 +03:00
jeefo
d5a8b3642b fixed bomb defuse check doesn't verify pressing IN_USE button of client
fixed potential crash bug in IsPointOccupied
processing global refactoring
2016-03-01 22:52:17 +03:00
jeefo
f8344a464e a little cleanup of code save point 2016-03-01 13:37:10 +03:00
jeefo
6d257e5375 updated enemy body part decetion
updated friend alarm notification
removed shaky aiming thru walls
2016-02-11 23:07:43 +03:00
jeefo
64445029c7 fixed crash, when official csbots active
fixed baaaad waypoint dislpaying
fixed bots equip in buyzone when has active enemy
bots try to do their goals more ofter (again)
fixed some issues with knife maps
2016-02-11 21:50:05 +03:00
jeefo
be55afdd78 improved support for xash3d (fixed weapon selection)
fix #28 #27 #24 #20 #19
2016-02-06 23:37:58 +03:00
jeefo
9e5c1540f9 improved sniping
fixed bots never choice camping tactic, due to agression level oveflow
cosmetic changes
2016-01-30 13:15:50 +03:00
jeefo
a7231d87ed do not threat c4 as grenade
simplify linkents
several other fixes
2016-01-27 21:40:47 +03:00
jeefo
e9d826ccea fixed bot's don't shoot at near-zero distance [need testing] 2016-01-26 21:18:59 +03:00
jeefo
a04f47273e disable by default ultra-mega-high-skill mode
pvs check done only for new enemy
2016-01-16 11:00:40 +03:00
jeefo
04365ab202 fixed bot's don't shoot thru walls
added some knife-mode movement
some codestyle fixes
2016-01-14 23:32:38 +03:00
jeefo
c9011b00fd revert some old commits, that break compatability.
fixed copyright year.
2016-01-04 18:26:06 +03:00
jeefo
2c10910972 removed bunch of cvars from public query list.
only yb_version is now publicly queryable.
2016-01-04 15:28:38 +03:00
jeefo
18b4636500 added yb_camping_allowed.
partially fixed bot freeze when no ammo left in his guns. now bots' should switch to knife and rush enemy.
2016-01-03 22:03:02 +03:00
jeefo
36b865abde do not compare traceresult fraction directly 1.0
some cosmetic changes
bots will spray more logos
reduced "cheating" in jumping a little bit
optimized checking 3d vector for zero
2015-08-15 18:09:15 +03:00
jeefo
912171c4eb Update combat.cpp 2015-08-04 16:44:34 +03:00
jeefo
29aa353d5e fixed typo in checkreload 2015-08-03 21:08:38 +03:00
jeefo
f3e583e057 another crash bug fix
some code style fixes
2015-08-03 12:36:57 +03:00
jeefo
ac3a5c7c3f remove of pod-bot-mm msec method
fixed weird aiming on low fps machines
fixed potential crash bug in weaponn selection code
2015-08-03 00:05:27 +03:00
jeefo
a5c1c0dc7f fixed UpdateLookAngles is not called at all since last commit :) 2015-08-02 20:31:14 +03:00
jeefo
4256d15bf1 made lower difficulty bots a bit easier 2015-07-31 20:32:08 +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
Dmitriy
db3cf85758 fixed a huge :) bug in strafing 2015-07-21 12:52:19 +03:00
jeefo
2ca5002e45 tweaked antistuck code 2015-07-20 21:26:20 +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
85e618fb1b minor changes 2015-07-11 19:54:46 +03:00
jeefo
f19e4e9e7f replaced wrong naming for global variable 2015-06-30 00:52:20 +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
3eb7668aa9 fixed linux build once again 2015-06-28 20:16:03 +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
c28110cce2 small optimizations and code style fixes 2015-06-24 15:38:48 +03:00
jeefo
d0a8cb727a some combat behavior tweaks 2015-06-20 11:45:59 +03:00
jeefo
c12437689c fixed shooting at guy behind shield
thank goes to KWo
2015-06-18 21:37:39 +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
1f3774c786 some more brain-damaged shield code removal 2015-06-12 19:31:49 +03:00
Dmitriy
f0c35ba9e9 save point, testing needed 2015-06-11 14:19:52 +03:00
Dmitry
44512457c8 passing some of the vectors by reference, instead of copying 2015-06-10 23:41:55 +03:00
Dmitry
02fe78ceee a little fixes 2015-06-10 23:30:48 +03:00