aurhat
8916ad4fa4
Fix playing weapon sounds
...
No more sounds audible on the whole map in bot modes, when bots change
weapon or have no ammo.
Gun change sound in bot code was a duplicate, so removed.
2015-04-25 20:11:26 +02:00
aurhat
6e7246d6cd
Disable debug messages in bot modes
...
Uncomment added line to enable these messages.
2015-04-17 21:08:25 +02:00
aurhat
f9ec71cbab
Fix switching from spectator to active team in bot modes
...
Before this fix player could switch from spectate to alive mode,
but he stayed in SPECTATOR team.
Note: 2 mouse clicks are necessary to player's spawn. Second respawnself()
is needed, because spawnplayer() is executed before server will switch
player1 to active team, so he would always spawn in CLA base (in bot
team modes).
2014-09-30 10:45:18 +02:00
ac-stef
eb60302e67
cleanup
...
- fix possible crash in conc (but it's still an ugly hack)
- fix noob usage of strcmp
- flag some memory leaks (it would be nice, if the author(s) would clean
up the mess himself)
- fix crash in substr
- whitespace cleanup
there are plenty more memory leaks in command.cpp - for example, every
goto in cubescript does not clean up anything
2014-05-14 22:54:37 +02:00
ac-stef
6e4b23734f
fix clang warnings
2014-01-27 23:01:23 +01:00
Ronald Reagan
2a626b2344
togglegrap to togglegrap, also moved it to a more sane location.
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7379 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-03-22 04:32:50 +00:00
Lucas GAUTHERON
ad2aa69d2d
allow bots to crouch
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7339 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-03-10 15:52:30 +00:00
RandumKiwi
5846656953
remove that annoying extra conoutf from botgames
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7331 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-03-09 22:53:26 +00:00
sireus
17dc7af4c9
ffs()
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6911 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2012-10-08 16:56:58 +00:00
sireus
b33116712c
sane(r) command signatures (warning: huge commit)
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6908 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2012-10-06 22:49:49 +00:00
sireus
417850ca60
fixed particle type guesswork
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6878 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2012-09-14 22:57:42 +00:00
flowtron
d0ec7e40f3
fix crash on wpvisible - still FIXME though!
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6658 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-09-28 19:32:31 +00:00
Lucas GAUTHERON
8f90268d82
multiple selections support in editmode
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6647 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-09-14 14:59:40 +00:00
aerkefiende
06f73f4627
Replaced Tabs with 4 spaces in every source file
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6561 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-07-31 15:44:57 +00:00
Lucas GAUTHERON
d230f0d591
remove dbg feature
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6529 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-06-10 17:04:41 +00:00
Bukz
ad12e10ea5
updates/fixes
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6495 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-06-04 14:29:21 +00:00
Lucas GAUTHERON
f936133d60
custom skins for bots
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6486 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-05-31 14:41:50 +00:00
Lucas GAUTHERON
958c8e91d8
allow bots scoping & headshot
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6478 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-05-30 17:09:34 +00:00
Bukz
8063219400
botsshoot/bot survival mode update, tolower/upper, convertcase, and testchar
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6436 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-05-14 18:12:39 +00:00
Bukz
f5b33a6a7b
idlebots update
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6435 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-05-14 16:27:50 +00:00
Lucas GAUTHERON
627feb7bd4
sniper trail ends when collides
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6385 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-04-28 08:51:42 +00:00
Bukz
0c1b63d5da
mapsize command returns 6-12 silently, rather than conoutf'ing ssize
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6383 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-04-28 00:07:50 +00:00
sireus
f9a2e7c52d
rifle -> carbine
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6351 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-04-26 00:13:42 +00:00
sireus
3d80d2b36d
fixed GCC compilation error
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6343 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-04-25 21:42:42 +00:00
Lucas GAUTHERON
f3c0c1069f
allow bots to fight only against humans (WIP) + minor bot fixes
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6338 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-04-25 19:58:34 +00:00
Lucas GAUTHERON
8b6bef25b3
no spectators in singleplayer
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6335 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-04-25 18:39:44 +00:00
Lucas GAUTHERON
0579f05d22
bot fixes, bot use nades & akimbo
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6331 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-04-25 15:27:41 +00:00
Lucas GAUTHERON
f16abd1ee1
smarter weapon choose, reload fixes
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6327 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-04-25 00:25:38 +00:00
Lucas GAUTHERON
6eeafb0695
Allow bots to switch to knife or pistol + less useless reloads
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6322 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-04-24 19:11:10 +00:00
Lucas GAUTHERON
3712231df3
finishing custom bot fov support
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6321 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-04-24 17:21:47 +00:00
Lucas GAUTHERON
bbe7f9c1a5
remove debugging tools
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6319 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-04-24 15:15:09 +00:00
Lucas GAUTHERON
be11978b0d
custom field of view for bots
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6317 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-04-24 15:08:27 +00:00
Lee Salzman
a4b83ef2ba
warning fixes
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6248 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-04-14 15:24:11 +00:00
sireus
928b294dd0
bots now actually fire the rifle
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6246 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-04-14 14:11:25 +00:00
flowtron
b967a54ed7
fixing bots
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6023 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-01-18 06:00:21 +00:00
Lee Salzman
7fe64e123c
fix bot respawning times
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5726 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-10-08 14:26:44 +00:00
flowtron
2bbdf272f3
update bot weapons table : todo: value check
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5684 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-09-04 19:00:20 +00:00
Alejandro V. Garcia
0772fcb65a
togglegrap switch message
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5323 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-07-09 11:45:18 +00:00
Lee Salzman
9256ee374b
support for loading from zip files
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4717 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2009-11-08 00:53:19 +00:00
Lee Salzman
e725e5ed8c
string function cleanups
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4714 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2009-11-07 22:44:32 +00:00
Lee Salzman
003e67bb7e
more pch cleanups
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4691 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2009-11-07 06:51:03 +00:00
driAn
dd54ad93c5
minor vs05 compile fixes, dynamic texscale for testing
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4574 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2009-07-09 19:33:29 +00:00
ac_stef
24708c9741
numeric team names; choose separate skins for both teams for your player
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4554 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2009-06-29 14:05:17 +00:00
ac_stef
97caf3b187
removed surplus ';'
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4104 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2009-01-04 14:15:47 +00:00
Alejandro V. Garcia
c98313189d
Make togglegrap available for any game mode
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4090 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-12-31 12:01:03 +00:00
driAn
74e1468ee3
ac audio architecture refactoring
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@3760 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-11-25 22:50:35 +00:00
Lee Salzman
6024ce5cd5
compile fix
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@3097 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-10-17 19:21:23 +00:00
Lee Salzman
e11a5f5514
better hitbox testing
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2992 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-10-13 01:17:44 +00:00
driAn
1a8ad9e4d1
physent-volume resize with collision detection for better crouching
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2838 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-10-05 12:50:44 +00:00
Lee Salzman
ec070106c1
ensure bot manager is inited when adding a bot
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2754 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-09-25 02:48:12 +00:00