THIS is the link to the patch file. It may or may not patch properly--I dont exactly understand write how to make a patch. THIS INCLUDES THE
ENTIRE !LAYOUT SYSTEM, NOT JUST A FEW ADDED PIECES!
This is a patch for svn revision 872, but it probably should work on higher versions.
Included features:
Anything in Risujin's last release (that I could find in patch format) of !layout
New features:
!listlayouts for all
!listmaps
!restart (layout)
Vote support:
Restart votes with a specific starting layout
Map votes with a specific starting layout
Ability to use ONE specific "default" layout
New Cvars: (compared to svn 872)
g_layout -- enables the whole system -- defaults to "1"
g_layoutAuto -- enables loading of a layout at the beginning of each map -- defaults to "1"
g_nextLayout -- Cvar to store next layout -- IT IS RECOMENDED THAT THIS NOT BE PLAYED WITH
g_defaultLayoutOnly -- forces only some "default" layout to be loaded -- defaults to "1"
g_defaultLayoutName -- names the "default" layout -- defaults to "default"
New admin commands: (compared to svn 872)
!layout (arg/args) -- the base of this whole layout system
!listlayouts (mapname) -- lists the layouts for a given map or the current map if a map is not specified
!listmaps -- list the maps on the server
I am sorry that I cannot provide a precompiled qvm, but I am still working on getting my computer to compile qvms at all. This should patch cleanly, but may run into trouble in particular with the changes to Cmd_callvote_f.
EDIT:
The download files should now work.