Tremulous Forum

General => Troubleshooting => Topic started by: Pazuzu on August 18, 2010, 04:42:35 am

Title: Is there a command...
Post by: Pazuzu on August 18, 2010, 04:42:35 am
...to load a certain mod instead of using the menu? (ie "/mod blah" instead of "Mods>Blah")
Title: Re: Is there a command...
Post by: F50 on August 18, 2010, 06:16:53 am
Not that I know of. Loading a mod actually results in restarting much of tremulous itself, which mod you use is determined by a write protected variable /fs_game. You may be able to request a change to that variable and then use another command to re-load the VMs, but I don't know what that is.
Title: Re: Is there a command...
Post by: God, maker of the world on August 18, 2010, 07:37:11 am
which mod you use is determined by a write protected variable /fs_game

When mapping, I use a batch file to compile the map and run Trem with the map afterwards. The line which starts Trem includes the parameter fs_game. So, maybe you can just give the mod directory name to that parameter instead of the current value "base". This is the (definitely working) command of my compile batch:

"C:\Program Files\Tremulous\tremulous.exe" +set fs_basepath "C:\Program Files\Tremulous" +set sv_pure 0 +set fs_basegame base +set fs_game base +devmap "somenewmap"

This is a modification of the command that you could try to launch Trem with the mod of your choice:

"C:\Program Files\Tremulous\tremulous.exe" +set fs_basepath "C:\Program Files\Tremulous" +set fs_game nameofmoddirectory

I can't try it right now, so it's just a guess.
Title: Re: Is there a command...
Post by: Pazuzu on August 18, 2010, 02:17:23 pm
Thanks to both of you. What I wanted to do was play back a demo I shot from the ZvH mod and record a video, from the command line. Setting fs_game worked nicely for that, in the way God said. I'd say this thread can be closed.