All pastes #1200237 Raw Edit

Unnamed

public text v1 · immutable
#1200237 ·published 2008-09-11 18:08 UTC
rendered paste body
Index: base/ufos/menu_options.ufo
===================================================================
--- base/ufos/menu_options.ufo	(revision 19103)
+++ base/ufos/menu_options.ufo	(working copy)
@@ -972,6 +972,31 @@
 		tooltip	"_Precache models (faster menus)"
 	}
 
+	// ==================
+	// ACTOR SPEED
+	// ==================
+	string actorsspeed_str
+	{
+		string	"_Actors speed:"
+		pos		"500 430"
+	}
+	pic actorsspeed_rahmen
+	{
+		image	menu/bar_rahmen
+		pos		"645 435"
+	}
+	bar actorsspeed_bar
+	{
+		pos		"654 440"
+		size	"245 6"
+		color	"0 .8 0 1"
+		current	"*cvar g_actorspeed"
+		max		9
+		align	ul
+		mousefx	true
+		click	{ }
+	}
+
 	// ===================
 	// NAME
 	// ===================
Index: src/game/g_main.c
===================================================================
--- src/game/g_main.c	(revision 19103)
+++ src/game/g_main.c	(working copy)
@@ -210,7 +210,7 @@
 	g_aidebug = gi.Cvar_Get("g_aidebug", "0", CVAR_DEVELOPER, "All AI actors are visible");
 	g_nodamage = gi.Cvar_Get("g_nodamage", "0", CVAR_DEVELOPER, "No damage in developer mode");
 	g_notu = gi.Cvar_Get("g_notu", "0", CVAR_DEVELOPER, "No TU costs while moving around (e.g. for map testing)");
-	g_actorspeed = gi.Cvar_Get("g_actorspeed", "1.0", CVAR_SERVERINFO, "Moving speed of the actor");
+	g_actorspeed = gi.Cvar_Get("g_actorspeed", "1.0", CVAR_ARCHIVE | CVAR_SERVERINFO, "Moving speed of the actor");
 
 	/* flood control */
 	flood_msgs = gi.Cvar_Get("flood_msgs", "4", 0, NULL);