google-code-export / p-g-qvm

Automatically exported from code.google.com/p/p-g-qvm
Other
1 stars 0 forks source link

g_defaultLayout #154

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I am not sure if this is currently possible, but i do not believe it is.

What g_defaultLayout would do is allow servers to specify a new layout to 
use as the defualt one. This could be done from anywhere cvars can be set, 
even in game, but it would not apply to nextmap.
It could be set from maprotations, and should apply on mapload of said 
rotation. Again, i dont know if this is possible.

A forum post from a user who uses our qvm suggested this to me.

Original issue reported on code.google.com by Paradox460 on 17 Jul 2008 at 10:37

GoogleCodeExporter commented 9 years ago
The attached patch will look at g_defaultLayout, if blank it will read from 
g_layout
and so on, this will ONLY load the layout defined in g_defaultLayout is 
g_layout is
blank, to prevent the two from conflicting. If g_layout is not blank, the 
layout used
in g_layout will be used instead of the one defined in g_defaultLayout

Cvars: g_defaultLayout, blank by default

If the layout defined in defaultlayout is not found, *builtin* will be loaded

Original comment by I.Am.Gew...@gmail.com on 17 Jul 2008 at 11:08

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by Paradox460 on 18 Jul 2008 at 7:21