$engine="/usr/bin/openarena"
$mod="baseoa"
$demofile="demo0001.dm_70"
$command="$engine +set fs_game $mod +demo $demofile"
eval $command
+ fireworks = this script
Interesting, indeed.
I personally find the fireworks very useful:
- I downloaded a lot of demos from a competition, each archived as a RAR file, then I was able to play the RAR file directly using this script. Why decompress them manually if you don't have to?..
- I wanted to have the function keys have different binds when playing a demo than when playing a game. This needs looking "far" into the script to figure out how to do it, if you're having problems contact me.
btw, the default mod is cpma, not baseoa, and that one is assigned to start "ioquake3", not "openarena" - I just realized this behavior is not 100% clean, but it works for what I use it for, for now.
btw2, does the cpma mod work with OpenArena?