Difference between revisions of "Level Design Introduction (Portal 2)/Gotchas"

From Valve Developer Community
Jump to: navigation, search
(added a delete notice, since this page is kinda redundant)
 
Line 1: Line 1:
 +
{{delete|The [[Slime Water]] page already covers this topic in great depth.}}
 +
 
== what gotchas are ==
 
== what gotchas are ==
 
adding "gotchas" into your level can be things like deadly goo so lets add that you will need a texture for the goo and a trigger_hurt
 
adding "gotchas" into your level can be things like deadly goo so lets add that you will need a texture for the goo and a trigger_hurt

Latest revision as of 12:41, 4 May 2020

what gotchas are

adding "gotchas" into your level can be things like deadly goo so lets add that you will need a texture for the goo and a trigger_hurt

where the goo is going to be

go into hammer and dig out a hole like shown
a dug out hole in hammer

getting the texture

make a block in the hole and make sure all faces are nodraw accept for the top which should be a texture starting with toxicslime

making the hazard

make a block with the trigger texture and make it an entity than name that entity trigger_hurt and set the damage to 1000. make sure to put the trigger under the goo texture face so it will work properly