Skip to content

Commit

Permalink
Merge pull request #10 from ENDERZOMBI102/gel_cube
Browse files Browse the repository at this point in the history
Gel Cube (without dropper yet)
  • Loading branch information
Flash4433 committed Feb 24, 2020
2 parents 06e674a + eb5f8c0 commit 7c8ba19
Show file tree
Hide file tree
Showing 22 changed files with 914 additions and 6 deletions.
19 changes: 17 additions & 2 deletions info.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,11 @@
"Base" "BEE2_CLEAN"
"Palette"
{
"0" "icon" "palette/oldAp/redturret.png"
"0" "bee2" "oldAp/redturret.png"
"0"
{
"icon" "palette/oldAp/redturret.png"
"bee2" "oldAp/redturret.png"
}
}
"Instances"
{
Expand Down Expand Up @@ -83,6 +86,18 @@
}
}

"Item"
{
"ID" "ITEM_GEL_CUBES"
"Version"
{
"Styles"
{
"ANY_STYLE" "gel_cubes"
}
}
}

"Item"
{
"ID" "ITEM_LASER_CUBE"
Expand Down
189 changes: 189 additions & 0 deletions items/gel_cubes/editoritems.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,189 @@
"Item"
{
"Type" "ITEM_GEL_CUBES"
"Editor"
{
"SubTypeProperty" "CubeType"
"SubType"
{
"Name" "Gel Cubes"
"Model"
{
"ModelName" "cubelaser.3ds"
}
"Palette"
{
"Tooltip" "GEL CUBES"
"Image" "palette/clean/gel_cubes.png"
"Position" "1 0 0"
}
"Sounds"
{
"SOUND_CREATED" "P2Editor.PlaceCube"
"SOUND_EDITING_ACTIVATE" "P2Editor.ExpandCube"
"SOUND_EDITING_DEACTIVATE" "P2Editor.CollapseCube"
"SOUND_DELETED" "P2Editor.RemoveCube"
}
"Animations"
{
"ANIM_IDLE" "0"
"ANIM_EDITING_ACTIVATE" "2"
"ANIM_EDITING_DEACTIVATE" "3"
"ANIM_FALLING_IDLE" "1"
"ANIM_FALLING_EDITING_ACTIVATE" "4"
"ANIM_FALLING_EDITING_DEACTIVATE" "5"
"ANIM_FALLING_TO_GROUND" "7"
"ANIM_GROUND_TO_FALLING" "9"
"ANIM_FALLING_TO_GROUND_EDITING" "6"
"ANIM_GROUND_TO_FALLING_EDITING" "8"
}
}
"SubType"
{
"Model"
{
"ModelName" "cubelaser.3ds"
}
"Sounds"
{
"SOUND_CREATED" "P2Editor.PlaceCube"
"SOUND_EDITING_ACTIVATE" "P2Editor.ExpandCube"
"SOUND_EDITING_DEACTIVATE" "P2Editor.CollapseCube"
"SOUND_DELETED" "P2Editor.RemoveCube"
}
"Animations"
{
"ANIM_IDLE" "0"
"ANIM_EDITING_ACTIVATE" "2"
"ANIM_EDITING_DEACTIVATE" "3"
"ANIM_FALLING_IDLE" "1"
"ANIM_FALLING_EDITING_ACTIVATE" "4"
"ANIM_FALLING_EDITING_DEACTIVATE" "5"
"ANIM_FALLING_TO_GROUND" "7"
"ANIM_GROUND_TO_FALLING" "9"
"ANIM_FALLING_TO_GROUND_EDITING" "6"
"ANIM_GROUND_TO_FALLING_EDITING" "8"
}
}
"SubType"
{
"Model"
{
"ModelName" "cubelaser.3ds"
}
"Sounds"
{
"SOUND_CREATED" "P2Editor.PlaceCube"
"SOUND_EDITING_ACTIVATE" "P2Editor.ExpandCube"
"SOUND_EDITING_DEACTIVATE" "P2Editor.CollapseCube"
"SOUND_DELETED" "P2Editor.RemoveCube"
}
"Animations"
{
"ANIM_IDLE" "0"
"ANIM_EDITING_ACTIVATE" "2"
"ANIM_EDITING_DEACTIVATE" "3"
"ANIM_FALLING_IDLE" "1"
"ANIM_FALLING_EDITING_ACTIVATE" "4"
"ANIM_FALLING_EDITING_DEACTIVATE" "5"
"ANIM_FALLING_TO_GROUND" "7"
"ANIM_GROUND_TO_FALLING" "9"
"ANIM_FALLING_TO_GROUND_EDITING" "6"
"ANIM_GROUND_TO_FALLING_EDITING" "8"
}
}
"SubType"
{
"Model"
{
"ModelName" "cubelaser.3ds"
}
"Sounds"
{
"SOUND_CREATED" "P2Editor.PlaceCube"
"SOUND_EDITING_ACTIVATE" "P2Editor.ExpandCube"
"SOUND_EDITING_DEACTIVATE" "P2Editor.CollapseCube"
"SOUND_DELETED" "P2Editor.RemoveCube"
}
"Animations"
{
"ANIM_IDLE" "0"
"ANIM_EDITING_ACTIVATE" "2"
"ANIM_EDITING_DEACTIVATE" "3"
"ANIM_FALLING_IDLE" "1"
"ANIM_FALLING_EDITING_ACTIVATE" "4"
"ANIM_FALLING_EDITING_DEACTIVATE" "5"
"ANIM_FALLING_TO_GROUND" "7"
"ANIM_GROUND_TO_FALLING" "9"
"ANIM_FALLING_TO_GROUND_EDITING" "6"
"ANIM_GROUND_TO_FALLING_EDITING" "8"
}
}
"SubType"
{
"Model"
{
"ModelName" "cubelaser.3ds"
}
"Sounds"
{
"SOUND_CREATED" "P2Editor.PlaceCube"
"SOUND_EDITING_ACTIVATE" "P2Editor.ExpandCube"
"SOUND_EDITING_DEACTIVATE" "P2Editor.CollapseCube"
"SOUND_DELETED" "P2Editor.RemoveCube"
}
"Animations"
{
"ANIM_IDLE" "0"
"ANIM_EDITING_ACTIVATE" "2"
"ANIM_EDITING_DEACTIVATE" "3"
"ANIM_FALLING_IDLE" "1"
"ANIM_FALLING_EDITING_ACTIVATE" "4"
"ANIM_FALLING_EDITING_DEACTIVATE" "5"
"ANIM_FALLING_TO_GROUND" "7"
"ANIM_GROUND_TO_FALLING" "9"
"ANIM_FALLING_TO_GROUND_EDITING" "6"
"ANIM_GROUND_TO_FALLING_EDITING" "8"
}
}
"MovementHandle" "HANDLE_36_DIRECTIONS"
"InvalidSurface" "CEILING WALL"
"CanAnchorOnBarriers" "1"
"CanAnchorOnGoo" "1"
}
"Properties"
{
"CubeType"
{
"DefaultValue" "0"
"Index" "1"
}
}
"Exporting"
{
"Instances"
{
"0"
{
"Name" "instances/BEE2/clean/items/goRetro/gel_cube.vmf"
"EntityCount" "3"
"BrushCount" "0"
"BrushSideCount" "0"
}
}

"TargetName" "button"
"OccupiedVoxels"
{
"Voxel"
{
"Pos" "0 0 0"
"Surface"
{
"Normal" "0 0 1"
}
}
}
"Offset" "64 64 64"
}
}
26 changes: 26 additions & 0 deletions items/gel_cubes/properties.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
"Properties"
{
"Authors" "Reepblue, Flash4433"
"Tags" "Portal 2;Cubes"
"Description"
{
"" "A pack of cubes that shoot out gel when you try to shoot a blue portal while holding them. Trying to shoot a orange portal shoots cleansing gel."
"" ""
"" "* The Standard Type shoots Bounce Gel."
"" "* The Companion Type shoots Speed Gel."
"" "* The Reflection Type shoots Portal Gel."
"" "* The Sphere Type shoots Cleansing Gel."
"" "* The Franken Type shoots Reflection Gel."
"" ""
"" ""
"" "> To-Do - Finish Dropper coding."
}
"all_name" "Activator Cubes"
"all_icon" "palette/clean/grouped/gel_cubes.png"
"ent_count" "3"
"Icon"
{
"all" "clean/gel_cubes.png"
"0" "clean/gel_cubes.png"
}
}
28 changes: 28 additions & 0 deletions items/gel_cubes/vbsp_config.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
"Conditions"
{
"Condition"
{
"instance" "<ITEM_GEL_CUBES>"
"Result"
{
"MapInstVar"
{
"$cube_type" "$gel"
"0" "0"
"1" "2"
"2" "3"
"3" "4"
"4" "1"
}
"MapInstVar"
{
"$cube_type" "$rendercolor"
"0" "100 100 255"
"1" "255 106 0"
"2" "128 128 128"
"3" "209 255 255"
"4" "64 64 64"
}
}
}
}
Binary file added resources/BEE2/items/clean/gel_cubes.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/BEE2/items/clean/gelblue_cube.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/BEE2/items/clean/gelclean_cube.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/BEE2/items/clean/gelorange_cube.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/BEE2/items/clean/gelportal_cube.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/BEE2/items/clean/gelreflection_cube.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified resources/BEE2/items/clean/lasercube.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ versioninfo
{
"editorversion" "400"
"editorbuild" "8419"
"mapversion" "37"
"mapversion" "39"
"formatversion" "100"
"prefab" "0"
}
Expand All @@ -20,7 +20,7 @@ viewsettings
world
{
"id" "1"
"mapversion" "37"
"mapversion" "39"
"classname" "worldspawn"
"detailmaterial" "detail/detailsprites"
"detailvbsp" "detail.vbsp"
Expand Down Expand Up @@ -80,7 +80,7 @@ entity
"min_speed" "150"
"min_streak_speed_dampen" "500"
"min_streak_time" "0.2"
"PaintType" "0"
"PaintType" "$gel"
"parentname" "box"
"RenderMode" "0"
"silent" "0"
Expand Down Expand Up @@ -128,7 +128,7 @@ entity
"drawinfastreflection" "0"
"NewSkins" "1"
"PaintPower" "4"
"rendercolor" "100 100 255"
"rendercolor" "$rendercolor"
"skin" "3"
"SkinType" "0"
"targetname" "box"
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
395 changes: 395 additions & 0 deletions templates/Extra/Gel Cube All.pdn

Large diffs are not rendered by default.

129 changes: 129 additions & 0 deletions templates/Extra/Gel Cube.pdn

Large diffs are not rendered by default.

126 changes: 126 additions & 0 deletions templates/Extra/Gel Cube2.pdn

Large diffs are not rendered by default.

0 comments on commit 7c8ba19

Please sign in to comment.