Commit Graph
93 Commits
Author SHA1 Message Date
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 6bafdb0037 allow particle type names in md2emit and md3emit
md[2|3]emit <tag name> <particle type> <attrib1> <attrib2>

  particle type may now be numeric 0..19 or one of SPARK, SMOKE, ECLOSEST,
  BLOOD, DEMOTRACK, FIREBALL, SHOTLINE, BULLETHOLE, BLOODSTAIN, SCORCH,
  HUDMUZZLEFLASH, MUZZLEFLASH, ELIGHT, ESPAWN, EAMMO, EPICKUP, EMODEL,
  ECARROT, ELADDER, EFLAG

also: cleanup

DOCREF md2emit md3emit
2017-05-16 17:50:00 +02:00
ac-stef 397c441fed more verbose error messages for disabled commands 2016-09-16 17:35:47 +02:00
ac-stef 380b8a1ebf cleanup shotgun code
no functional changes, only cleanup
2015-07-12 20:22:49 +02:00
ac-stef d09ec395ec fix: avoid division by zero from faulty model config files 2015-05-27 15:47:04 +02:00
ac-stef ea480a7b0c higher resolution for waterlevel
Interpret the waterlevel value as tenths of a cube.

This makes the waterlevel variable a float value to the user, while the
map file still stores an integer value - but now it is interpreted
differently - for example, a waterlevel value of 123 now means 12.3 cubes
instead of 123. Old map files are converted during loading.

Note: the values of waterlevel and hdr.waterlevel need to be in sync.

DOCREF waterlevel
2015-05-18 14:59: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
ac-stef d258b7c186 less annoying visualisation for tagclips
- press B to get the former filled volume view
- raise the value of tagnumfull to get both views simultaneously
- cubescript parameters should be cleaned up before release
2014-01-30 19:38:41 +01:00
ac-stef 7f12ef4131 command to automatically convert all suitable clip entities into tag clips
also: fix sparklies in heightfields
2014-01-29 00:03:50 +01:00
ac-stef 6f5635917f visualisation for tagclips
To keep things cheap, only tagged areas inside the editing grid are shown.
I added two variables, tagnum and taglife, to allow playing with the
parameters of the sparklies. Those should be removed later. The default
values work quite well on my really crappy onboard graphics card. Higher
values start dropping fps.

Also, the edit status line now shows the tag value of the cube pointed at.

The patch also fixes the bug, that the edit status line did not show
details about the selection, unless there was at least one entity in the
map.
2014-01-28 14:28:43 +01:00
Lucas GAUTHERON a3ca90f40a revert to the former shotlines' behavior
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6997 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2012-12-25 22:46:22 +00:00
aerkefiende 66f8feee3b Replaced every tab with 4 spaces
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6927 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2012-11-12 22:28:11 +00:00
Ronald Reagan 44abbf67d1 New shotty sources
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6919 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2012-10-29 03:01:32 +00:00
sireus a2775d983e slightly more generous decal offset to reliably prevent z-fighting
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6877 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2012-09-14 21:54:38 +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 af7e5e8c36 hudguns when spectating
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6286 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-04-18 15:34:16 +00:00
flowtron 5912a80a5e colourcoded editmode sparklies
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5699 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-09-26 22:10:24 +00:00
Lee Salzman 19e321bd91 maxtrail var
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5459 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-07-26 18:58:07 +00:00
Lee Salzman 9c20ceeab0 different explosion texture by razgriz
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4867 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-05-15 19:56:38 +00:00
Lee Salzman 54cc44c3db revising pch setup
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4690 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2009-11-07 06:42:37 +00:00
Lee Salzman 287f6ae331 added texreduce var
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4028 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-12-16 13:45: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 8472dd3ba2 added clip entities for easier clipping
added entset command for easier ent editing
revised command completion system


git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@3182 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-10-22 03:28:44 +00:00
Lee Salzman e2ff8bb453 particle cleanup fix
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2573 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-09-13 23:22:41 +00:00
Lee Salzman a5f4d3f2f8 shadow blending optimization
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2560 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-09-13 10:15:29 +00:00
Lee Salzman 79f2de1d18 muzzle flashes on vweps
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2508 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-09-11 00:17:39 +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 5e9c27405e no bullethole sounds for local player
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2021 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-05-17 21:01:18 +00:00
driAn 8de09611a3 grenade fixes, const-ify some arguments
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1939 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-05-12 14:54:10 +00:00
driAn baf257139b menu settings
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1873 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-05-04 18:54:35 +00:00
Lee Salzman 837eae31e7 made particles render above water, decals below water
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1869 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-05-04 16:38:18 +00:00
driAn 7daa68cfa9 more menu settings
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1833 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-05-01 09:34:34 +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
Lee Salzman b7ba3bfe3d only allocate vectors when used
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1756 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-04-08 09:26:12 +00:00
Lee Salzman 9f42b1a895 make muzzle flashes track the muzzle
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1746 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-04-07 00:46:14 +00:00
Lee Salzman 6ff756443a particle_flash scaling
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1741 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-04-06 15:48:38 +00:00
Lee Salzman 25ebf59714 particle emitter stuff
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1735 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-04-06 14:54:14 +00:00
Lee Salzman 72855d64d8 particle outside world fix
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1664 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-02-17 09:56:38 +00:00
Lee Salzman 072cc6d525 added resetgl command to restart renderer in-game
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1642 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-02-12 03:30:52 +00:00
driAn a23f54d1e7 sound fix radius
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1591 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-02-03 10:52:02 +00:00
Lee Salzman c5686f257b shotgun sound fix
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1586 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-01-28 18:52:35 +00:00
Lee Salzman eebf549003 *** empty log message ***
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1554 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-01-04 14:09:58 +00:00
driAn 567971f6d5 console V-key fix, vars for gfx tweaking
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1546 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-01-03 12:02:01 +00:00
driAn af8ba0743c gui fixes, local player in scoreboard
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1544 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-01-03 11:29:49 +00:00
Lee Salzman 0b1f05f2e6 *** empty log message ***
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1543 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-01-03 08:54:38 +00:00
driAn 472c0ef3a2 checkbox gui element
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1542 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-01-02 19:21:12 +00:00
Lee Salzman eb33e3e105 *** empty log message ***
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1526 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2007-12-30 00:38:47 +00:00
driAn 59f821265e shotline sound fx, grenade explosion fixes
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1491 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2007-12-25 23:39:22 +00:00
driAn 998f28dfb0 sound fx for bulletholes
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1489 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2007-12-25 21:50:27 +00:00