Author Topic: Different game name?  (Read 5624 times)

rotacak

  • Posts: 761
  • Turrets: +39/-64
Different game name?
« on: December 02, 2009, 04:00:47 pm »
I tried to name my mod following this topic: http://tremulous.net/forum/index.php?topic=3809.0
But when I change "base" to anything else, then after connect I will lose all binds etc. Why? When I connect to tremx then I have all my binds like before.

Kiwi

  • Posts: 859
  • Turrets: +29/-9
Re: Different game name?
« Reply #1 on: December 02, 2009, 08:36:56 pm »
From my understanding (which is limited) a differently named mod creates a new "base" with your mod's name.  So just copy your autoexec.cfg and autogen.cfg into your "new base" which will be your mod's name.

Bissig

  • Posts: 1309
  • Turrets: +103/-131
Re: Different game name?
« Reply #2 on: December 03, 2009, 12:57:49 am »
Kiwi nailed it.

rotacak

  • Posts: 761
  • Turrets: +39/-64
Re: Different game name?
« Reply #3 on: December 03, 2009, 11:34:36 am »
Kiwi: yes, it will create new folder, that is reason why I want it. But it will generate new autogen.cfg. I can copy my autogen there, but what other players? And why it is automatically in tremx?

David

  • Spam Killer
  • *
  • Posts: 3543
  • Turrets: +249/-273
Re: Different game name?
« Reply #4 on: December 03, 2009, 02:02:41 pm »
gamename doesn't do a different folder, fs_game does.
AFAIK gamename is just used for display and balance stats etc.
Any maps not in the MG repo?  Email me or come to irc.freenode.net/#mg.
--
My words are mine and mine alone.  I can't speak for anyone else, and there is no one who can speak for me.  If I ever make a post that gives the opinions or positions of other users or groups, then they will be clearly labeled as such.
I'm disappointed that people's past actions have forced me to state what should be obvious.
I am not a dev.  Nothing I say counts for anything.

rotacak

  • Posts: 761
  • Turrets: +39/-64
Re: Different game name?
« Reply #5 on: December 03, 2009, 02:33:44 pm »
Hmm. Anyway I used new name together with fs_game.

Well: how to keep my autogen.cfg on server with own fs_game command?

Kiwi

  • Posts: 859
  • Turrets: +29/-9
Re: Different game name?
« Reply #6 on: December 03, 2009, 08:35:36 pm »
I would expect trem to automatically recopy your old autogen.cfg, but allow editing of it to be independent in your mod.  Try deleting your mod "base" folder, and playing on the mod again.  See if it copies your autogen.  This is what your asking about, right?

Bissig

  • Posts: 1309
  • Turrets: +103/-131
Re: Different game name?
« Reply #7 on: December 04, 2009, 03:24:08 am »
Hmm. Anyway I used new name together with fs_game.

Well: how to keep my autogen.cfg on server with own fs_game command?

Could you decide now if you are talking about the server or the client autogen.cfg please!?

Autogen.cfg just saves the values which would usually be saved on exit of trem and I believe it saves those cvars with the attribute "archive"

F.e.:

If you use the command /seta cl_whatever 1 it should end up in the autogen.cfg

Thats why people use autoexec.cfg or f.e.: binds.cfg, so that a faulty autogen.cfg wont screw them up and they can simply point a symlink to it or copy it to new fs_game dirs (This is what I have with the dev game server dir)