]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - defaultXonotic.cfg
Make particle count and intensity of impact sound depend on the impact speed
[xonotic/xonotic-data.pk3dir.git] / defaultXonotic.cfg
index 4b9b5a45a4e49a23ec32e419f9e05760a37d9087..d0de6f89b0a964892d576a29832fef1b4cb05fa3 100644 (file)
@@ -545,16 +545,21 @@ set g_sandbox 0 "allow players to spawn and edit objects around the map"
 set g_sandbox_info 1 "print non-critical information to the server"
 set g_sandbox_editor_distance_spawn 200 "distance at which objects spawn in front of the player"
 set g_sandbox_editor_distance_edit 350 "distance at which players can edit or remove objects they are looking at"
+set g_sandbox_object_scale_min 0.1 "minimum scale that objects can be set to"
+set g_sandbox_object_scale_max 2 "maximum scale that objects can be set to"
+set g_sandbox_object_material_velocity_min 200 "velocity objects must have while colliding for material effects to be applied"
+set g_sandbox_object_material_velocity_factor 0.002 "velocity range which decides the intensity of material effects"
 
 seta menu_sandbox_spawn_model "" // used to store the model in the input field
-set menu_sandbox_edit_skin 0
-set menu_sandbox_edit_alpha 1
-set menu_sandbox_edit_color_main "1 1 1"
-set menu_sandbox_edit_color_glow "1 1 1"
-set menu_sandbox_edit_frame 0
-set menu_sandbox_edit_scale 1
-set menu_sandbox_edit_physics 0
-set menu_sandbox_edit_force 0
+seta menu_sandbox_edit_skin 0
+seta menu_sandbox_edit_alpha 1
+seta menu_sandbox_edit_color_main "1 1 1"
+seta menu_sandbox_edit_color_glow "1 1 1"
+seta menu_sandbox_edit_frame 0
+seta menu_sandbox_edit_scale 1
+seta menu_sandbox_edit_physics 1
+seta menu_sandbox_edit_force 1
+seta menu_sandbox_edit_material 0
 
 alias menu_showsandboxtools "menu_cmd directmenu SandboxTools"
 bind f7 menu_showsandboxtools