Author Topic: Is there a command...  (Read 2462 times)

Pazuzu

  • Posts: 987
  • Turrets: +50/-12
Is there a command...
« 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")

ok, can you give me the tool thingy app that can code?

F50

  • Posts: 740
  • Turrets: +16/-26
Re: Is there a command...
« Reply #1 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.
"Any sufficiently advanced stupidity is indistinguishable from malice." -- Grey's Law


God, maker of the world

  • Guest
Re: Is there a command...
« Reply #2 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.

Pazuzu

  • Posts: 987
  • Turrets: +50/-12
Re: Is there a command...
« Reply #3 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.

ok, can you give me the tool thingy app that can code?