Author Topic: [SOLVED]How change default layout using QVM.  (Read 2902 times)

DraZiLoX

  • Posts: 844
  • Turrets: +24/-24
[SOLVED]How change default layout using QVM.
« 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.
« Last Edit: February 21, 2010, 02:34:42 pm by DraZiLoX »

Undeference

  • Tremulous Developers
  • *
  • Posts: 1254
  • Turrets: +122/-45
Re: Hwo change default layout using QVM.
« Reply #1 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
Need help? Ask intelligently. Please share solutions you find.

Thats what we need, helpful players, not more powerful admins.

DraZiLoX

  • Posts: 844
  • Turrets: +24/-24
Re: How change default layout using QVM.
« Reply #2 on: February 21, 2010, 01:56:23 pm »
I know i can do !map atcs balalalalayout, but i want it automatically.

g_layouts " layoutname" ?

Undeference

  • Tremulous Developers
  • *
  • Posts: 1254
  • Turrets: +122/-45
Re: How change default layout using QVM.
« Reply #3 on: February 21, 2010, 02:02:05 pm »
g_layouts " layoutname" ?
Yes, or
Code: [Select]
rotation1
{
  transit
  {
    layouts layoutname
  }
}
Need help? Ask intelligently. Please share solutions you find.

Thats what we need, helpful players, not more powerful admins.

DraZiLoX

  • Posts: 844
  • Turrets: +24/-24
Re: How change default layout using QVM.
« Reply #4 on: February 21, 2010, 02:04:01 pm »
thanks =)