Commit graph

98 commits

Author SHA1 Message Date
jeefo
95d9d4db0c removed metamod-messages, since there will be nor updates to metamod ifaces. 2016-03-05 23:08:07 +03:00
jeefo
fa64fe2ea7 some code cleanup
started to move game-specific stuff into own class
2016-03-05 21:04:46 +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
d300c13e85 removed useless (but eating cpu) twice angle clamps every frame. 2016-03-01 00:45:07 +03:00
jeefo
c7ed5a162c changed save money amount in buyfn 2016-03-01 00:22:42 +03:00
jeefo
cd48b98180 fixed infinite loop on bad waypoints. now bots will crash down, instead of eating all the ram.
more magic-numbers replacements.
2016-02-29 23:50:16 +03:00
jeefo
9ae9ecb76a fixes bad buying for heavy weapons & shotguns
replaced some magic numbers in code to be readable
2016-02-29 22:49:19 +03:00
jeefo
27019f76b6 fixed stupid mistakes in grenade usage 2016-02-11 23:56:13 +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
3943381104 reduces negative answer chance 2016-02-01 00:30:28 +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
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
aeb712c2b3 fixed race-condition in bomb location detection
fixed visited goals are not cleared on round-start
2016-01-07 18:49:55 +03:00
jeefo
4204f4e9f2 fixed rare crashbug in ClientUserInfoChanged
fixed chatter ignores yb_communication_type
fixed waypoint display distance, when host entity is alive
fixed bomber choose most longest route to bombplant (in middle of round).
2016-01-05 20:29:34 +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
4b8c18001d removed useless things
merged changes for xash csdm into master
2015-12-26 17:19:20 +03:00
jeefo
579971c5ff ported to Android CS 1.6
fixed console spam with yb_quota when no waypoints on map
fixed autovacate feature once again
2015-12-26 01:31:46 +03:00
jeefo
afd29925e2 fixed xash3d engine compat
removed some paranoid check in bomb defusing
2015-12-16 17:20:03 +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
f3e583e057 another crash bug fix
some code style fixes
2015-08-03 12:36:57 +03:00
jeefo
6b4a7f9ffd fixed another potential crash bug 2015-08-03 10:26:08 +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
ae87f0985a minor changes 2015-08-01 00:18:50 +03:00
jeefo
4256d15bf1 made lower difficulty bots a bit easier 2015-07-31 20:32:08 +03:00
jeefo
533cd8a93c reduced lag, when killing bots all together
a little housekeeping
2015-07-26 21:47:29 +03:00
jeefo
b159d3c7f9 fixed bots looking at weird positions when spawned
remove useless function calls
2015-07-26 13:42:51 +03:00
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
jeefo
6502c44050 correct version string
report valid number of remaining enemies in chatter
increased periodic think interval
2015-07-25 16:51:48 +03:00
jeefo
2ff557eb89 test build 2015-07-25 14:01:29 +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
0693025f68 give bot some more time to reach destination
so it's should fix problems in de_nuke cloaks
2015-07-23 00:01:09 +03:00
jeefo
14ac18de31 added back frame skipping 2015-07-22 23:04:43 +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
c359eb8861 fixed build 2015-07-19 13:45:45 +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
abab282bbd fixed build 2015-07-17 20:44:47 +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