-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Overgrown Protuding Pedestal button
- Loading branch information
1 parent
f8b74cc
commit 71c63bb
Showing
12 changed files
with
1,829 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
"Conditions" | ||
{ | ||
"Condition" | ||
{ | ||
"Priority" "25" | ||
"instance" "<ITEM_LAUTARO_PROTRUDING_PEDESTAL>" | ||
"Condition" | ||
{ | ||
// Left/Right side | ||
"instance" "<ITEM_LAUTARO_PROTRUDING_PEDESTAL:btn_weighted, btn_ball>" | ||
"Result" | ||
{ | ||
"TemplateBrush" | ||
{ | ||
"ID" "LAUTARO_PROTRUDING_PED_BASE_OVER:single" | ||
"colorVar" "$color" | ||
} | ||
} | ||
} | ||
|
||
"Condition" | ||
{ | ||
// Center - double-wide base. | ||
"instance" "<ITEM_LAUTARO_PROTRUDING_PEDESTAL:btn_cube>" | ||
"Result" | ||
{ | ||
"TemplateBrush" | ||
{ | ||
"ID" "LAUTARO_PROTRUDING_PED_BASE_OVER:double" | ||
"colorVar" "$color" | ||
} | ||
} | ||
} | ||
|
||
"Condition" | ||
{ | ||
// Turn around if checked. | ||
"instvar" "$start_reversed = 1" | ||
"Result" | ||
{ | ||
"ChangeInstance" "instances/BEE2/over/items/lautaro/protrude_ped_rev.vmf" | ||
} | ||
"Else" | ||
{ | ||
"ChangeInstance" "instances/BEE2/over/items/lautaro/protrude_ped.vmf" | ||
} | ||
} | ||
|
||
"Condition" | ||
{ | ||
"LockingIO" "instance:reset_rl;Trigger" | ||
"Result" | ||
{ | ||
"suffix" "locking" | ||
} | ||
"ElseCondition" | ||
{ | ||
"OR" | ||
{ | ||
"instvar" "timer_delay 99999999999" | ||
"instvar" "timer_delay 0" | ||
} | ||
"Result" | ||
{ | ||
"suffix" "inf" | ||
} | ||
} | ||
} | ||
} | ||
} |
209 changes: 209 additions & 0 deletions
209
packages/modified_ped/resources/instances/over/items/lautaro/protrude_ped.vmf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,209 @@ | ||
versioninfo | ||
{ | ||
"editorversion" "400" | ||
"editorbuild" "6432" | ||
"mapversion" "63" | ||
"formatversion" "100" | ||
"prefab" "0" | ||
} | ||
visgroups | ||
{ | ||
} | ||
viewsettings | ||
{ | ||
"bSnapToGrid" "1" | ||
"bShowGrid" "1" | ||
"bShowLogicalGrid" "0" | ||
"nGridSpacing" "4" | ||
"bShow3DGrid" "0" | ||
} | ||
world | ||
{ | ||
"id" "1" | ||
"mapversion" "63" | ||
"classname" "worldspawn" | ||
"detailmaterial" "detail/detailsprites" | ||
"detailvbsp" "detail.vbsp" | ||
"maxblobcount" "250" | ||
"maxpropscreenwidth" "-1" | ||
"skyname" "sky_day01_01" | ||
} | ||
entity | ||
{ | ||
"id" "346" | ||
"classname" "func_noportal_volume" | ||
"origin" "-54 0 -48" | ||
"spawnflags" "0" | ||
solid | ||
{ | ||
"id" "347" | ||
side | ||
{ | ||
"id" "131" | ||
"plane" "(-76 -16 -64) (-76 16 -64) (-76 16 -32)" | ||
"material" "TOOLS/TOOLSINVISIBLE" | ||
"uaxis" "[0 0 1 0] 0.25" | ||
"vaxis" "[0 -1 0 0] 0.25" | ||
"rotation" "0" | ||
"lightmapscale" "16" | ||
"smoothing_groups" "0" | ||
} | ||
side | ||
{ | ||
"id" "132" | ||
"plane" "(-32 16 -64) (-32 -16 -64) (-32 -16 -32)" | ||
"material" "TOOLS/TOOLSINVISIBLE" | ||
"uaxis" "[0 0 -1 0] 0.25" | ||
"vaxis" "[0 -1 0 0] 0.25" | ||
"rotation" "0" | ||
"lightmapscale" "16" | ||
"smoothing_groups" "0" | ||
} | ||
side | ||
{ | ||
"id" "133" | ||
"plane" "(-76 16 -64) (-76 -16 -64) (-32 -16 -64)" | ||
"material" "TOOLS/TOOLSINVISIBLE" | ||
"uaxis" "[0 -1 0 0] 0.25" | ||
"vaxis" "[1 0 0 -56] 0.25" | ||
"rotation" "0" | ||
"lightmapscale" "16" | ||
"smoothing_groups" "0" | ||
} | ||
side | ||
{ | ||
"id" "134" | ||
"plane" "(-76 -16 -32) (-76 16 -32) (-32 16 -32)" | ||
"material" "TOOLS/TOOLSINVISIBLE" | ||
"uaxis" "[0 1 0 0] 0.25" | ||
"vaxis" "[1 0 0 -56] 0.25" | ||
"rotation" "0" | ||
"lightmapscale" "16" | ||
"smoothing_groups" "0" | ||
} | ||
side | ||
{ | ||
"id" "135" | ||
"plane" "(-76 16 -32) (-76 16 -64) (-32 16 -64)" | ||
"material" "TOOLS/TOOLSINVISIBLE" | ||
"uaxis" "[0 0 -1 0] 0.25" | ||
"vaxis" "[1 0 0 -56] 0.25" | ||
"rotation" "0" | ||
"lightmapscale" "16" | ||
"smoothing_groups" "0" | ||
} | ||
side | ||
{ | ||
"id" "136" | ||
"plane" "(-32 -16 -32) (-32 -16 -64) (-76 -16 -64)" | ||
"material" "TOOLS/TOOLSINVISIBLE" | ||
"uaxis" "[0 0 1 0] 0.25" | ||
"vaxis" "[1 0 0 -56] 0.25" | ||
"rotation" "0" | ||
"lightmapscale" "16" | ||
"smoothing_groups" "0" | ||
} | ||
editor | ||
{ | ||
"color" "220 30 220" | ||
"visgroupshown" "1" | ||
"visgroupautoshown" "1" | ||
} | ||
} | ||
editor | ||
{ | ||
"color" "220 30 220" | ||
"visgroupshown" "1" | ||
"visgroupautoshown" "1" | ||
"logicalpos" "[0 500]" | ||
} | ||
} | ||
entity | ||
{ | ||
"id" "222" | ||
"classname" "logic_branch" | ||
"targetname" "output" | ||
connections | ||
{ | ||
"OnTrue" "!selfFireUser10-1" | ||
"OnTrue" "!selfFireUser20.01-1" | ||
"OnFalse" "!selfFireUser20-1" | ||
"OnUser1" "proxyProxyRelay0-1" | ||
"OnUser2" "proxyProxyRelay0-1" | ||
} | ||
"origin" "-80.1 0 -32" | ||
editor | ||
{ | ||
"color" "220 30 220" | ||
"visgroupshown" "1" | ||
"visgroupautoshown" "1" | ||
"logicalpos" "[0 1000]" | ||
} | ||
} | ||
entity | ||
{ | ||
"id" "25" | ||
"classname" "func_instance_parms" | ||
"parm1" "$timer_delay float 3" | ||
"parm2" "$timer_sound integer 0" | ||
"origin" "-80.1 -24 -32" | ||
editor | ||
{ | ||
"color" "220 30 220" | ||
"visgroupshown" "1" | ||
"visgroupautoshown" "1" | ||
"logicalpos" "[0 0]" | ||
} | ||
} | ||
entity | ||
{ | ||
"id" "6" | ||
"classname" "prop_button" | ||
"angles" "-90 0 0" | ||
"Delay" "$timer_delay" | ||
"istimer" "1" | ||
"model" "models/props/switch001.mdl" | ||
"preventfastreset" "0" | ||
"renderamt" "255" | ||
"rendercolor" "255 255 255" | ||
"skin" "1" | ||
"solid" "1" | ||
"targetname" "button" | ||
connections | ||
{ | ||
"OnPressed" "outputTest0-1" | ||
"OnButtonReset" "outputSetValue00-1" | ||
"OnButtonReset" "outputFireUser10-1" | ||
"OnPressed" "outputSetValue10.01-1" | ||
} | ||
"origin" "-72.1 0 -48" | ||
editor | ||
{ | ||
"color" "220 30 220" | ||
"visgroupshown" "1" | ||
"visgroupautoshown" "1" | ||
"logicalpos" "[0 500]" | ||
} | ||
} | ||
entity | ||
{ | ||
"id" "22" | ||
"classname" "func_instance_io_proxy" | ||
"targetname" "proxy" | ||
"origin" "-80.1 24 -32" | ||
editor | ||
{ | ||
"color" "220 30 220" | ||
"visgroupshown" "1" | ||
"visgroupautoshown" "1" | ||
"logicalpos" "[0 1500]" | ||
} | ||
} | ||
cameras | ||
{ | ||
"activecamera" "-1" | ||
} | ||
cordons | ||
{ | ||
"active" "0" | ||
} |
Oops, something went wrong.