Tremulous Forum

General => Troubleshooting => Topic started by: DraZiLoX on February 21, 2010, 01:21:56 pm

Title: [SOLVED]How change default layout using QVM.
Post by: DraZiLoX on February 21, 2010, 01:21:56 pm
Well, i made alot layouts with my friend. I want them to default layout.

How its possible to change that way.

Example: I do !map atcs
Tremulous does something like this: map atcs *BUILTIN*

Well, i want it to my layoutname (all layouts has same name)

Hmm, is there some g_defaultLayout which can be put to mapconfigs.
Title: Re: Hwo change default layout using QVM.
Post by: Undeference on February 21, 2010, 01:54:09 pm
Example: I do !map atcs
Tremulous does something like this…
Quote
…using layout "*BUILTIN*" from list (*BUILTIN* )
Quote
]adminhelp changemap
AdminCmd: -1 "console" ("console")
  • : adminhelp changemap

adminhelp: help for 'changemap':
 Description: load a map (and optionally force layout)
 Syntax: changemap [mapname] (layout)
 Flag: 'changemap'
Quote
Hmm, is there some g_defaultLayout which can be put to mapconfigs.
g_layouts which can also be set in the map rotation with "layouts" in a map command block
Title: Re: How change default layout using QVM.
Post by: DraZiLoX on February 21, 2010, 01:56:23 pm
I know i can do !map atcs balalalalayout, but i want it automatically.

g_layouts " layoutname" ?
Title: Re: How change default layout using QVM.
Post by: Undeference on February 21, 2010, 02:02:05 pm
g_layouts " layoutname" ?
Yes, or
Code: [Select]
rotation1
{
  transit
  {
    layouts layoutname
  }
}
Title: Re: How change default layout using QVM.
Post by: DraZiLoX on February 21, 2010, 02:04:01 pm
thanks =)