allow symbolic arguments for some commands
* new command "listoptions" lists the argument options for several argument types like entities, weapons and teamnames * "burstshots", "weapon", "magcontent", "magreserve", "fragmessage" and "gibmessage" now allow guns to be specified by name * "addpunct" allows plaintext arguments like "brackets" and "quotes" * the "team" command now understands numeric teams * entity types can now be specified by type index number * removed some lists from the config files (now provided by listoptions) * added argument completion for several commands * change nextprimary from integer to string variable DOCREF listoptions burstshots weapon addpunct DOCREF fragmessage gibmessage magcontent magreserve DOCREF nextprimary
This commit is contained in:
@@ -1062,6 +1062,9 @@ int main(int argc, char **argv)
|
||||
if(bootclientlog) cvecprintf(*bootclientlog, "######## start logging: %s\n", timestring(true));
|
||||
|
||||
const char *initmap = rndmapname();
|
||||
loopi(NUMGUNS) gunnames[i] = guns[i].modelname;
|
||||
gunnames[GUN_AKIMBO] = "akimbo";
|
||||
gunnames[NUMGUNS] = "";
|
||||
|
||||
pushscontext(IEXC_CFG);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user