Commit Graph
107 Commits
Author SHA1 Message Date
ac-stef 800e4f3a13 add reset option for loadcrosshair
loadcrosshair reset

    loads all default crosshairs (including teammate and scope)

    short form of "loadcrosshair default default.png ; loadcrosshair
    scope red_dot.png ; loadcrosshair teammate teammate.png"

DOCREF loadcrosshair
2017-06-10 00:15:58 +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-stefandaurhat 158a33caed cleanup config files
* moved compatibility.cfg and autosave.cfg to config/opt/
* firstrun.cfg merged into defaults.cfg

DOCREF compatibilitymode alive currole curmode getclientmode curteam
DOCREF findpn pstat_score orderscorecolumns
2016-08-15 11:52:49 +02:00
aurhat 5df5fec352 Reorder and cleanup gamma settings
Remark: "gamma" command changes gamma only temporary, to next map start.
2015-07-15 21:57:44 +02:00
ac-stef d249f00e88 clean up gibsgore and poniesmode 2015-06-10 14:28:50 +02:00
ac-stef d99d456a36 allow dyngamma for all maps 2015-06-10 14:28:50 +02:00
aurhat 1d1c9e6f96 Improve key binds
Changes:
1. added single aliases bounded to the keys, in order to maintain easier
the binds;
2. cleaned up binds;
3. updated Keyboard menu and fixed searching binds.
Remark: aliases bounded to the keys shouldn't have leading and trailing
white spaces, if they are present in Keyboard menu, otherwise they won't
be found. So construction like, for example: bind SLASH [ key_commandline ]
is inadmissible.
4. Alternate edit binds (default disabled) moved to
config/opt/alternateeditbinds.cfg and removed old_editbinds variable.

DOCREF old_editbinds
2015-04-03 23:44:22 +02:00
ac-stef 1e188aadbd fix loadcrosshair 2015-03-26 15:07:50 +01:00
cmdr_thrawnandac-stef 54ed91732e Show main menu when client starts
* added option in Misc settings
* default is: show menu
2015-03-24 02:48:47 +01:00
ac-stef 6cdb2f88e1 change scripts to use tempalias and push/pop
* no more need to delete aliases "onQuit"
* removed on_quit.cfg
* moved faq.cfg, parsestrings.cfg and survival.cfg to config/opt
* run faq.cfg and survival.cfg when needed

DOCREF addListOnQuit
2015-03-06 22:38:28 +01: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
Bukz a80f9c88e7 hardcoded __fontsetting
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7361 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-03-17 17:21:04 +00:00
Bukz 9006cd83da alias "__fontsetting" needs to be persistent
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7353 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-03-15 11:43:23 +00:00
Bukz 24c7936d09 bot settings menu, nextGameMode VAR
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7349 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-03-13 10:25:34 +00:00
Bukz cf6f3dfb94 prevent accidental message submission, thanks SKB
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7330 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-03-09 22:11:45 +00:00
Bukz d015af0cd2 survival updates
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7329 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-03-09 05:56:03 +00:00
Bukz 6bca9438a8 modmdlbounceN - load custom gib/static grenade models via cubescript
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7216 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-02-16 05:54:05 +00:00
Bukz 7480f036d3 persistidents fixes (plz review/test)
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7213 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-02-16 01:43:47 +00:00
Bukz b2a77186cc cleanup/quotes to brackets where feasible
Note: This commit effects a lot of configs, be on the look out for little cubescript errors/broken menuitems/etc. and report them ASAP.

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7146 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-02-04 03:30:50 +00:00
Lucas GAUTHERON 24d00ff863 dynamic default skin
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7066 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-01-11 21:44:57 +00:00
Bukz 6135e443ec fixes/cleanup
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6843 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2012-06-21 03:41:06 +00:00
Bukz 2f1ea07213 trying out bot survival "damage effects"
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6822 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2012-06-04 11:47:57 +00:00
Bukz bf014e3e2f Removing buggy on_quit.cfg stuff
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6552 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-07-02 20:03:38 +00:00
Bukz 773d42f7c5 minor tmpClientData fix :s
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6548 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-06-28 23:38:59 +00:00
Bukz ff2f06ac93 fix/cleanup
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6514 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-06-06 16:25:55 +00:00
Bukz 175fb7ae8e updates/MAXHHITS changed to 6000 (was blocking ac_edifice @ 5,776)
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6500 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-06-05 07:32:58 +00:00
Bukz eab210240a optional hudechos in survival mode (default off)
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6393 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-04-29 16:09:33 +00:00
Bukz 93f695b423 fixes/updates
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6387 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-04-28 19:36:51 +00:00
Bukz 1c1c1d8aff stfu askquit :p
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6381 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-04-27 22:56:20 +00:00
Bukz 8ebb0bc40b even more saved.cfg cleanup
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6375 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-04-27 14:56:25 +00:00
Bukz e5653c52e2 updates
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6372 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-04-27 14:30:41 +00:00
Bukz ddd5f7b68f survival mode updates/fixes - teleport to zone after x millis
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6354 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-04-26 06:47:53 +00:00
Bukz 0c48eb7998 even more fly updates
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6352 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-04-26 00:36:04 +00:00
Bukz 4eeb474467 menus/config updates
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6309 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-04-23 18:47:42 +00:00
Bukz fe205a2e23 bot "survival mode"
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6301 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-04-22 23:55:11 +00:00
Bukz 518ececb37 name highlight color slider in the gameplay settings menu
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6284 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-04-18 05:04:26 +00:00
Bukz cb9426f0c1 optional key/time saving updated editing binds
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6249 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-04-15 05:44:44 +00:00
Bukz d2e12f9d6d minor fixes
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6213 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-04-05 19:17:16 +00:00
Bukz a10dd9f097 genwc (watercolour), rrnd (ranged random int), docs/fixes
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6211 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-04-04 00:54:45 +00:00
Bukz b78a92d186 add2list, dyngamma, setgamma, and friends
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6199 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-04-02 18:07:49 +00:00
Bukz 798c79a3c6 config updates
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6187 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-04-01 02:24:37 +00:00
Bukz 3d45e1915c "cannot redefine builtin scopesens with an alias" error fix
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6186 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-04-01 01:09:36 +00:00
RandumKiwi b2115d6a95 Crosshairs update
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5824 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-11-11 09:25:12 +00:00
Rafael Barreto 8c24608ca6 showmapstats and mapstats_hud commands (client side map quality information), putting scopesens alias back to defaults, commenting spectating logs info, and updating docs
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5775 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-10-19 21:21:17 +00:00
Rafael Barreto 7204b552e4 including setfont to defaults, reverting docs.cfg and adding the work of V-Man in a different file
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5645 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-08-16 19:31:52 +00:00
RandumKiwi 1456459a46 more menu stuff
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5631 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-08-15 07:42:09 +00:00
RandumKiwi 0ee16656a4 "gibsgore" command and slider and docs
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5629 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-08-15 03:53:45 +00:00
Rafael Barreto 31def65508 scope sens related things...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5177 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-06-11 17:13:04 +00:00
RandumKiwi 5bd1e8867e Flow, this doesn't belong in "defaults" :P
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5082 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-05-27 14:43:32 +00:00
flowtron 5e0951f12b config changes - I18L, run alias, ..
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5062 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-05-26 20:56:00 +00:00