flowtron
3d0972aa83
clarify SC_PUBLIC, SC_FFA & SC_FLAGONLY
2021-04-30 11:50:25 +02:00
ac-stef
9bb9cc280b
click
...
shutter sound, cut, edited and compressed
original at: www.freesound.org/people/jgrzinich/sounds/155385/
original license CC0
2017-06-13 14:19:16 +02:00
ac-stef
d0b309320b
really cleanup sound
...
- collect most sound infos in one table and use it to generate the menus
- no more sound category checks with ranges
- now only PAINx and FOOTSTEP* sounds use hardcoded index numbers
enumsounds <list of categories>
Lists sound index numbers and short descriptions for all sounds of one
or more categories. The argument should contain one or more of PAIN,
OWNPAIN, WEAPON, PICKUP, MOVEMENT, BULLET, OTHER, VOICECOM, TEAM,
PUBLIC, FFA, FLAGONLY. All sounds with at least one of the flags will
be listed. Flag names prefixed with "!" will exclude all matching
sound from the list.
Example: /echo (enumsounds "VOICECOM !PUBLIC") will list all voicecom
sounds that are for teams only.
DOCREF enumsounds
2017-05-22 17:30:51 +02:00
ac-stef
788baf6299
cleanup sound
2017-05-22 11:29:41 +02:00
ac-stef
1310516c14
keep track of map load errors
...
Collect warnings during load_world() and issue a warning at the end. Most,
but not all warnings already printed a message - which usually scrolls out
of the console quite fast.
The collected value is also given back by the loadmap command, which
allows batch editing scripts for maps stop at problematic maps.
Mapsound errors are not detected, if soundvol is zero. Missing textures are
not flagged, if notexture is set.
The error code is ored together from those elements:
0x0000001 entity attribute overflow
One or more map entities had attribute values, that are no longer
supported with map format 10. Rework manually.
0x0000010 map decoder error
Indicates a damaged map file.
0x0000100 world error -1
Map is completely solid. Very funny.
0x0000200 world error -2
Map border is not solid. Fix manually.
0x0001000 missing skymap texture files
0x0002000 missing world texture files (only if no notexture is set)
0x0004000 missing mapmodel files
0x0008000 missing mapsound files
0x0010000 bad mapsound command in map config
0x0020000 bad mapmodel command in map config
0x0040000 bad texture command in map config
0x0080000 bad loadnotexture command in map config
0x0100000 error during loading of mapmodels (see earlier console output)
0x1000000 out of range integer value in map config (for example, "fog 0")
0x2000000 out of range float value in map config
0x4000000 generic cubescript error in map config
The command loadmap is now also available for non-debug builds.
DOCREF loadmap
2016-08-30 20:56:58 +02:00
ac-stef
826499c12d
enable gcc to check arguments of printf-like functions
...
Check printf-like functions like conoutf, if format strings and argument
lists match.
This commit also fixes a lot of code parts that actually had mismatching
argument lists - or did things, that this check does not like.
numtime() was rewritten in an ugly but very portable fashion (it's
recommended to stay away from "long long" format entries, because errors
usually only come up at runtime).
(some code was copied from sauer)
2015-08-02 19:40:41 +02:00
ac-stef
6306a75e6e
report openal errors with more detail
...
(to make debugging further sound issues easier)
position checking may be reduced again in a while...
2014-05-14 14:28:45 +02:00
Bukz
00f8ef6259
temporary new sound for KTF flag scores
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7437 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-03-28 16:41:19 +00:00
Lucas GAUTHERON
a7a1e46bcc
merged branch
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7382 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-03-22 19:49:21 +00:00
aerkefiende
58abfb3ace
Sound bug fix by Felix-The-Ghost
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7117 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-01-19 21:44:40 +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
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
sireus
2e3de34c60
heartbeat sound
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6549 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-06-29 20:25:42 +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
RandumKiwi
002aa86840
fixing bug i introduced
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5874 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-11-15 03:56:16 +00:00
flowtron
8bca2d4cc8
helmet sound
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5868 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-11-14 19:49:41 +00:00
flowtron
ed72dc0e7a
really use the new VCs - plus attribution to DES|GeneralDisarray in creditmenu.cfg
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5529 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-08-02 23:19:46 +00:00
flowtron
ea5bf0cca6
enable new VoiceComs
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5520 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-08-02 18:15:22 +00:00
flowtron
27feddeff8
fix music-delay issues - see end of config/sounds.cfg for preload_music option
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5354 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-07-13 07:55:38 +00:00
Rafael Barreto
c03be6f366
Linking the sound to the carbine. The file carbine.ogg is a contribution of Robtics.
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4860 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-05-14 21:38:21 +00:00
Lee Salzman
78ad6b8420
give reload sound higher priority
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4827 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-05-08 22:44:47 +00:00
Lee Salzman
0a352e793b
removing old vector typedefs
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4788 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-03-11 23:19:42 +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
ac_stef
fd51f08210
remove openal-dependency from server (thx nissarin)
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4422 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2009-05-21 21:53:49 +00:00
flowtron
28e55641c9
hitsound usage
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4323 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2009-04-11 11:23:39 +00:00
Lee Salzman
e233dfce49
preloadmapsound -> public
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@3963 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-12-09 22:26:35 +00:00
driAn
17553ca80b
audiomanager refactoring, removed unused mapsound preloads
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@3954 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-12-08 21:46:18 +00:00
driAn
8b63ffeb44
audiomanager refactoring, class-ified world objects, member access cleanups
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@3952 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-12-08 21:17:11 +00:00
driAn
fa414b3ea1
linear volume suppression
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@3902 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-12-07 14:44:02 +00:00
driAn
3ef184e1d8
fixed footstep sound radius bug
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@3883 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-12-06 13:32:38 +00:00
driAn
04fd93d840
sound radius limitations
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@3879 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-12-05 23:02:40 +00:00
driAn
61c6ed5f67
fixed name collision
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@3794 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-11-29 00:25:14 +00:00
driAn
02cf7f903f
sound code refactoring, made sourcescheduler a singleton
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@3792 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-11-28 22:50:15 +00:00
driAn
dbcc3317ec
further audio code refactoring, new cubescript macro for calling class objects inline-ish
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@3764 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-11-26 19:53:23 +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
driAn
e8d1c2df1c
play crouch/uncrouch sound once
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@3485 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-11-10 13:31:20 +00:00
driAn
d718f48704
smarter sound scheduling algorithm, tweaked priorities
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2703 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-09-18 22:46:31 +00:00
driAn
1d72565cce
sound on bullet water transition
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2428 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-08-27 23:07:42 +00:00
driAn
a8b0b26f99
rewrote footstep proc code, supports water footsteps (normal+crouch)
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2425 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-08-27 22:57:06 +00:00
driAn
4d8740a691
SP_OMGPONIES
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2212 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-07-25 21:52:48 +00:00
driAn
becb40d75c
tinnitus fx
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2142 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-06-02 19:00:55 +00:00
driAn
445e691331
bounce sound for grenades
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2072 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-05-20 20:43:29 +00:00
driAn
d13f9cb4e4
underwater sound, fixed stereo wav loading problem
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2011 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-05-17 18:31:35 +00:00
driAn
ce141e60a7
native music fade in/out, random seek in ogg streams, action music while carrying CTF flag
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2007 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-05-17 17:12:53 +00:00
driAn
7d9b73887c
removed old (nade) projectile code, menu sounds
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1812 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-04-20 17:34:30 +00:00
driAn
b378290d68
adjusted sound volume
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1792 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-04-13 20:22:09 +00:00
driAn
f67e6493c8
priority & distance based sound scheduler
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1787 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-04-12 20:06:28 +00:00
driAn
87a87cb5de
bullet sounds
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1780 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-04-11 21:18:27 +00:00
driAn
3fc9b1155f
menu hotkeys, spect fix, recoiltest, voicecom
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1638 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-02-11 14:18:54 +00:00
driAn
51ccb6bc25
crouch footsteps
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1558 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-01-04 14:33:54 +00:00