Does anyone know with Lakitu's QVM if there is a way to disable the mark for deconstruction system (and instead remove things immediately)?
have you performed a basic
web search, noob?
set the value of the
g_markDeconstruct cvar to 0 (on the server) to enable stock-style deconning behavior.
I'd also like to alter the build timer
the following is an untested
patch that adds a new cvar,
g_buildDelayMult, which scales the build/deconstruct delay of construction kits and grangers. it applies to
Lakitu7's QVM 5.41, but is most likely going to apply to any other version.
--- src/game/bg_misc.c
+++ src/game/bg_misc.c
@@ -4164,3 +4164,3 @@ int BG_FindBuildDelayForWeapon( int weapon )
{
- return bg_weapons[ i ].buildDelay;
+ return MAX( 0, bg_weapons[ i ].buildDelay * g_buildDelayMult.value );
}
--- src/game/g_local.h
+++ src/game/g_local.h
@@ -1292,2 +1292,3 @@ extern vmCvar_t g_humanBuildPoints;
extern vmCvar_t g_alienBuildPoints;
+extern vmCvar_t g_buildDelayMult;
extern vmCvar_t g_humanStage;
--- src/game/g_main.c
+++ src/game/g_main.c
@@ -109,2 +109,3 @@ vmCvar_t g_humanBuildPoints;
vmCvar_t g_alienBuildPoints;
+vmCvar_t g_buildDelayMult;
vmCvar_t g_humanStage;
@@ -280,2 +281,3 @@ static cvarTable_t gameCvarTable[ ] =
{ &g_alienBuildPoints, "g_alienBuildPoints", DEFAULT_ALIEN_BUILDPOINTS, CVAR_SERVERINFO, 0, qfalse },
+ { &g_buildDelayMult, "g_buildDelayMult", "1", 0, 0, qfalse },
{ &g_humanStage, "g_humanStage", "0", 0, 0, qfalse },
and get !register working.
AFAICT, you'll need to edit the
admin.dat file and add the
R flag to the definition of level 0. if there is no
admin.dat file yet, then you'll first need to create it, for example, by setting a client's admin level via the server console to 5, and restarting the server.