- Remove decoy from spawning

Sun, 28 Jan 2018 22:46:08 -0700

author
Glitchvid <Glitchvid@glitchvid.com>
date
Sun, 28 Jan 2018 22:46:08 -0700
changeset 30
8bbfee75902f
parent 29
46ac0c7f8efd
child 31
11edd6c1b06a

- Remove decoy from spawning

ttt_tr_debug.vmf file | annotate | diff | comparison | revisions
--- a/ttt_tr_debug.vmf	Tue Nov 07 21:51:59 2017 -0700
+++ b/ttt_tr_debug.vmf	Sun Jan 28 22:46:08 2018 -0700
@@ -1,8 +1,8 @@
 versioninfo
 {
 	"editorversion" "400"
-	"editorbuild" "6440"
-	"mapversion" "1199"
+	"editorbuild" "6412"
+	"mapversion" "1202"
 	"formatversion" "100"
 	"prefab" "0"
 }
@@ -20,13 +20,13 @@
 	"bSnapToGrid" "1"
 	"bShowGrid" "1"
 	"bShowLogicalGrid" "0"
-	"nGridSpacing" "1"
+	"nGridSpacing" "4"
 	"bShow3DGrid" "1"
 }
 world
 {
 	"id" "1"
-	"mapversion" "1199"
+	"mapversion" "1202"
 	"classname" "worldspawn"
 	"detailmaterial" "detail/detailsprites"
 	"detailvbsp" "detail.vbsp"
@@ -79426,27 +79426,17 @@
 }
 entity
 {
-	"id" "74574"
-	"classname" "weapon_ttt_decoy"
-	"angles" "0 90 -45"
-	"targetname" "weapon_ttt_decoy"
-	"origin" "-1228 504 49"
-	editor
-	{
-		"color" "251 212 0"
-		"groupid" "74549"
-		"visgroupshown" "1"
-		"visgroupautoshown" "1"
-		"logicalpos" "[0 -11268]"
-	}
-}
-entity
-{
 	"id" "74576"
 	"classname" "point_template"
-	"spawnflags" "2"
+	"spawnflags" "0"
 	"targetname" "weapon_ttt_decoy_template"
-	"Template01" "weapon_ttt_decoy"
+	"Template01" "doll_1"
+	"Template02" "doll_1__sqeak"
+	connections
+	{
+		"OnEntitySpawned" "doll_spawn_moan,PlaySound,,0,-1"
+		"OnEntitySpawned" "doll_spawn_out,PlaySound,,1,-1"
+	}
 	"origin" "-1220 516 82"
 	editor
 	{
@@ -79808,6 +79798,32 @@
 }
 entity
 {
+	"id" "74607"
+	"classname" "light"
+	"_constant_attn" "0"
+	"_distance" "0"
+	"_fifty_percent_distance" "0"
+	"_hardfalloff" "0"
+	"_light" "239 14 19 2"
+	"_lightHDR" "-1 -1 -1 1"
+	"_lightscaleHDR" "1"
+	"_linear_attn" "0"
+	"_quadratic_attn" "1"
+	"_zero_percent_distance" "0"
+	"spawnflags" "0"
+	"style" "0"
+	"origin" "-1268 503.504 57.7394"
+	editor
+	{
+		"color" "251 212 0"
+		"groupid" "74549"
+		"visgroupshown" "1"
+		"visgroupautoshown" "1"
+		"logicalpos" "[0 -7268]"
+	}
+}
+entity
+{
 	"id" "74605"
 	"classname" "prop_dynamic_override"
 	"angles" "0 180 0"
@@ -79849,32 +79865,6 @@
 }
 entity
 {
-	"id" "74607"
-	"classname" "light"
-	"_constant_attn" "0"
-	"_distance" "0"
-	"_fifty_percent_distance" "0"
-	"_hardfalloff" "0"
-	"_light" "255 255 255 2"
-	"_lightHDR" "-1 -1 -1 1"
-	"_lightscaleHDR" "1"
-	"_linear_attn" "0"
-	"_quadratic_attn" "1"
-	"_zero_percent_distance" "0"
-	"spawnflags" "0"
-	"style" "0"
-	"origin" "-1268 503.504 57.7394"
-	editor
-	{
-		"color" "251 212 0"
-		"groupid" "74549"
-		"visgroupshown" "1"
-		"visgroupautoshown" "1"
-		"logicalpos" "[0 -7268]"
-	}
-}
-entity
-{
 	"id" "74731"
 	"classname" "prop_dynamic"
 	"angles" "0 180 0"
@@ -120570,13 +120560,158 @@
 		"logicalpos" "[0 7000]"
 	}
 }
+entity
+{
+	"id" "100286"
+	"classname" "ambient_generic"
+	"cspinup" "0"
+	"fadeinsecs" "0"
+	"fadeoutsecs" "0"
+	"health" "10"
+	"lfomodpitch" "0"
+	"lfomodvol" "0"
+	"lforate" "0"
+	"lfotype" "0"
+	"message" "Doll.Squeak"
+	"pitch" "100"
+	"pitchstart" "100"
+	"preset" "0"
+	"radius" "256"
+	"SourceEntityName" "doll_1"
+	"spawnflags" "48"
+	"spindown" "0"
+	"spinup" "0"
+	"targetname" "doll_1__sqeak"
+	"volstart" "0"
+	"origin" "-1235 502 52"
+	editor
+	{
+		"color" "220 30 220"
+		"visgroupshown" "1"
+		"visgroupautoshown" "1"
+		"logicalpos" "[0 -8268]"
+	}
+}
+entity
+{
+	"id" "100289"
+	"classname" "prop_physics"
+	"angles" "-90 0 0"
+	"damagetoenablemotion" "0"
+	"Damagetype" "0"
+	"disablereceiveshadows" "0"
+	"disableshadows" "0"
+	"ExplodeDamage" "0"
+	"ExplodeRadius" "0"
+	"fademaxdist" "0"
+	"fademindist" "-1"
+	"fadescale" "1"
+	"forcetoenablemotion" "0"
+	"inertiaScale" "1.0"
+	"massScale" "0"
+	"maxdxlevel" "0"
+	"mindxlevel" "0"
+	"minhealthdmg" "0"
+	"model" "models/props_c17/doll01.mdl"
+	"modelscale" "1.0"
+	"nodamageforces" "0"
+	"PerformanceMode" "0"
+	"physdamagescale" "0.1"
+	"pressuredelay" "0"
+	"renderamt" "255"
+	"rendercolor" "255 255 255"
+	"renderfx" "0"
+	"rendermode" "0"
+	"shadowcastdist" "0"
+	"skin" "0"
+	"spawnflags" "8449"
+	"targetname" "doll_1"
+	connections
+	{
+		"OnAwakened" "doll_1__sqeak,PlaySound,,0,-1"
+		"OnMotionEnabled" "doll_1__sqeak,PlaySound,,0,-1"
+		"OnPlayerPickup" "doll_1__sqeak,PlaySound,,0,-1"
+		"OnPlayerUse" "doll_1__sqeak,PlaySound,,0,-1"
+		"OnTakeDamage" "doll_1__sqeak,PlaySound,,0,-1"
+	}
+	"origin" "-1230 502 53"
+	editor
+	{
+		"color" "220 30 220"
+		"visgroupshown" "1"
+		"visgroupautoshown" "1"
+		"logicalpos" "[0 -8768]"
+	}
+}
+entity
+{
+	"id" "100412"
+	"classname" "ambient_generic"
+	"cspinup" "0"
+	"fadeinsecs" "0"
+	"fadeoutsecs" "0"
+	"health" "10"
+	"lfomodpitch" "0"
+	"lfomodvol" "0"
+	"lforate" "0"
+	"lfotype" "0"
+	"message" "physics/flesh/flesh_squishy_impact_hard4.wav"
+	"pitch" "100"
+	"pitchstart" "100"
+	"preset" "0"
+	"radius" "1250"
+	"spawnflags" "48"
+	"spindown" "0"
+	"spinup" "0"
+	"targetname" "doll_spawn_out"
+	"volstart" "0"
+	"origin" "-1264 504 4"
+	editor
+	{
+		"color" "220 30 220"
+		"visgroupshown" "1"
+		"visgroupautoshown" "1"
+		"logicalpos" "[0 1000]"
+	}
+}
+entity
+{
+	"id" "100421"
+	"classname" "ambient_generic"
+	"cspinup" "0"
+	"fadeinsecs" "0"
+	"fadeoutsecs" "0"
+	"health" "10"
+	"lfomodpitch" "0"
+	"lfomodvol" "0"
+	"lforate" "0"
+	"lfotype" "0"
+	"message" "vo/npc/female01/pain05.wav"
+	"pitch" "100"
+	"pitchstart" "100"
+	"preset" "0"
+	"radius" "1250"
+	"spawnflags" "48"
+	"spindown" "0"
+	"spinup" "0"
+	"targetname" "doll_spawn_moan"
+	"volstart" "0"
+	"origin" "-1264 504 20"
+	editor
+	{
+		"color" "220 30 220"
+		"visgroupshown" "1"
+		"visgroupautoshown" "1"
+		"logicalpos" "[0 1000]"
+	}
+}
 cameras
 {
 	"activecamera" "0"
 	camera
 	{
-		"position" "[-923.299 543.118 72.032]"
-		"look" "[-1494.82 442.328 72.032]"
+		"position" "[-1296.4 521.609 16.366]"
+		"look" "[-869.913 163.765 -147.487]"
 	}
 }
 cordon

mercurial