[ut2004] Parsing console commands

Andrew Pilley ashridah at icculus.org
Tue Feb 24 08:10:24 EST 2004


On Tue, 2004-02-24 at 22:18, Gian Paolo Mureddu wrote:
>     Is there a way to start the game and at the same time pass console 
> commands to it as command line arguments?

Hmm. you should be able to pass some as options. if you look in the
benchmarking scripts (ut2003 has them, there are some floating around
for ut2004demo as well, but it doesn't come with them) you'll see things
like:
../ut2003
ctf-citadel?spectatoronly=true?numbots=12?quickstart=true?attractcam=t
rue -benchmark -seconds=77 -exec=../Benchmark/Stuff/botmatchexec.txt $*
which show a few options, as well as -exec, which means you can probably
toss down a temporary file with options in it, and pass it in that way.

ashridah

-- 
I hereby pose this question for analysis. 
Are Microsoft users smarter than hamsters?
*Bluescreen* Reboot *Bluescreen* Reboot *Bluescreen* Reboot
Hamsters 1, Users 0.





More information about the ut2004 mailing list