Tremulous Forum

Mods => Modding Center => Topic started by: rotacak on December 02, 2009, 04:00:47 pm

Title: Different game name?
Post by: rotacak 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.
Title: Re: Different game name?
Post by: Kiwi 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.
Title: Re: Different game name?
Post by: Bissig on December 03, 2009, 12:57:49 am
Kiwi nailed it.
Title: Re: Different game name?
Post by: rotacak 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?
Title: Re: Different game name?
Post by: David 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.
Title: Re: Different game name?
Post by: rotacak 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?
Title: Re: Different game name?
Post by: Kiwi 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?
Title: Re: Different game name?
Post by: Bissig 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)