From a2a16b85572b1d28b0cd4901ea7348750732a740 Mon Sep 17 00:00:00 2001 From: xolatile Date: Tue, 5 Aug 2025 10:40:01 +0200 Subject: Few more changes, please do not compile... --- data/game.cfg | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) (limited to 'data/game.cfg') diff --git a/data/game.cfg b/data/game.cfg index 1720ccc..2276ca6 100644 --- a/data/game.cfg +++ b/data/game.cfg @@ -1,31 +1,35 @@ // fps specific cfg stuff goes here togglezoom = [ zoom (if (= $zoom 1) -1 1) ] + sayteamcommand = [inputcommand (if (>= $numargs 1) [result $arg1] [result ""]) [sayteam $commandbuf] "[team]"] mapcomplete = [ complete $arg1 packages/maps ogz ] + mapcomplete map modenames = "ffa coop teamplay insta instateam effic efficteam" + loop i (listlen $modenames) [ - mname = (at $modenames $i) - alias $mname [ if (mode @i) [if (> $numargs 0) [map $arg1] [map]] ] - mapcomplete $mname + mname = (at $modenames $i) + alias $mname [ if (mode @i) [if (> $numargs 0) [map $arg1] [map]] ] + mapcomplete $mname ] demo = [ stopdemo; if (mode -1) [if (> $numargs 0) [map $arg1] [map]] ] + varcomplete demo demodir dmo playermodelnum = 1 -playermodeldir0 = "mrfixit" -playermodelicon0 = "mrfixit" -playermodelname0 = "Mr. Fixit" +playermodeldir0 = "mrfixit" +playermodelicon0 = "mrfixit" +playermodelname0 = "Mr. Fixit" playermodelstory0 = [Which orc do you choose when the mission calls for an all-purpose wrecking machine? Who do you call when the odds are stacked against you? Mr. Fixit, that's who. Gifted with the ability to perform deconstructive surgery with any weapon, this orc gets the job done fast and with extreme prejudice.] -playermodeldir = [getalias (concatword "playermodeldir" (if (> $numargs 0) [result $arg1] [result $playermodel]))] -playermodelicon = [getalias (concatword "playermodelicon" (if (> $numargs 0) [result $arg1] [result $playermodel]))] -playermodelname = [getalias (concatword "playermodelname" (if (> $numargs 0) [result $arg1] [result $playermodel]))] +playermodeldir = [getalias (concatword "playermodeldir" (if (> $numargs 0) [result $arg1] [result $playermodel]))] +playermodelicon = [getalias (concatword "playermodelicon" (if (> $numargs 0) [result $arg1] [result $playermodel]))] +playermodelname = [getalias (concatword "playermodelname" (if (> $numargs 0) [result $arg1] [result $playermodel]))] playermodelstory = [getalias (concatword "playermodelstory" (if (> $numargs 0) [result $arg1] [result $playermodel]))] playsong = [ music (concatword "music/1.ogg") playsong ] -- cgit v1.2.3