triggers?

Smoke

Tank
Joined
Nov 17, 2004
Messages
1,975
Reaction score
0
can anyone fill me in on how to add triggers?

i want a combine gate to open but i dont know how to add the trigger space.

thank you
 
smoke said:
can anyone fill me in on how to add triggers?

i want a combine gate to open but i dont know how to add the trigger space.

thank you
First give the combine gate a unique name.

make a brush where you want to trigger something (usually just a regular square one) give it a trigger texture. I dunno of this is important really, but I do it so I can see whats what.

make it a brush entity and select the trigger entity from the list

Go to the output panel and fill in the details, you can set up how it'll behave and delays etc. Setup two types of trigger in the Outputs, using the name of the gate, which then automatically gives you the options of what the gate can do (open/close and so on) and simply work from there.

It's surprisingly simple once you've played with it a bit, just keep an eye on the icon in the bottom left, if it has a red mark in it then its got an error.

There's also an sdk map example which shows you a trigger and a door and you can see from there how it works and edit things to fit your map.
 
cheers, i saw that sdk map (prop_types is it?) and tried to work from there but unfortunatly im dumb lol,


could you help me with a another hammer prob?

u see the only light sources i can put into my maps that are visble seem to be flares and normal lights, no dynamic or env, just lights, also how do you add bodies and blood splatter? i want to make a spooky map so i knda need em, thanks!
 
smoke said:
cheers, i saw that sdk map (prop_types is it?) and tried to work from there but unfortunatly im dumb lol,


could you help me with a another hammer prob?

u see the only light sources i can put into my maps that are visble seem to be flares and normal lights, no dynamic or env, just lights, also how do you add bodies and blood splatter? i want to make a spooky map so i knda need em, thanks!
the glow (flares) and the volumetric like effect for spotlights are AFAIK the only "visible" lights available without creating sprites or other effects to add to it. To make something like a dynamic spotlight visible, parent a prop_spotlight I think to it, which has the volumetric effect.

env lights source wont be visible, just the light/shadow they give. If you want your sun to be visible use a env_sun setup to appear where your light is meant to be in the sky.

add bodies, look for the ragdoll entity

blood spatter, those are just decals or overlays. Or you can use a gibshooter, to spit out bits of eiwwy stuff like back in HL1 did.
 
Elf I cant get it working properly :( I know its blatantly wrong but can you have a look for me?
 
wow, good info on the lights

thanks dark elf i owe ya 1, by the way, in my map im making an underground network of tunnels, (so rather suprisingly my map is called tunnels, it is sp) with would you rather fight, combine, zombies, or antlions, i need to know cus i want to make a scary scene. its an abandend combine facility.

also any general info on spooky stuff would be nice.

CHEERS!
 
azz0r said:
Elf I cant get it working properly :( I know its blatantly wrong but can you have a look for me?
easily fixed.. change it from prop_static to prop_dynamic IIRC

It'll work then :)


Edit: hmm ok doesn't look like that object has any animation sequences, try another object see if that works.
 
smoke said:
wow, good info on the lights

thanks dark elf i owe ya 1, by the way, in my map im making an underground network of tunnels, (so rather suprisingly my map is called tunnels, it is sp) with would you rather fight, combine, zombies, or antlions, i need to know cus i want to make a scary scene. its an abandend combine facility.

also any general info on spooky stuff would be nice.

CHEERS!
zombies...

for spooky atmosphere, corners, shafts of light, sound is important, creepy sounds from the distance n stuff.. maybe have some objects on the floor move a little just before you reach them, hinting that something knocked them, even if nothing is there, a few shocks but not too many.. Try scare the player without using any creature, just the thought of something happening.. If you can use a network of triggers and entities to randomise events so each time you play, something happens differently, so things can't be expected so easily.
 
thanks elf good tips and im gonna use em all right now!

thanks again
 
Anyone know anything that I can trigger, I wanna test :X
 
yeah try the combine_gate_citizen model like i did above /\
|

also does anybody know how to make it so that entites dont look fullbright in dark places? it really ruins my spooky atmosphere
 
I cant find a combine_gate_citizen, whats the path?
 
I believe its because their origin is inside the model itself. You need to set the Lighting Origin to point at an info_lighting so that it sources its light from that, rather than itself. Usually you'd place this directly in front of the model.
 
azz0r said:
Anyone know anything that I can trigger, I wanna test :X
use the combine buttons, or anything you remember in game that animated (those large citadel eating wall thingies) or the sdk example doorway, or those people carrier coffin things from toward the end of the game. Just go through different things and see what works.

Also something I noticed, if you change the world object, make sure you delete your outputs for it and make new ones, it doesn't seem to update (in this case) to display whats actually available for the new object you've selected. I noticed that when I changed your model you uploaded to something else, until I deleted the outputs it didn't recognise the new model had different options available for selection.
 
im having trouble placing sounds, anyone know how?
 
im having trouble placing prop_physics entities, i cant see them when i test my map but i can pick them up and shoot at them, any suggestions?
 
smoke said:
im having trouble placing prop_physics entities, i cant see them when i test my map but i can pick them up and shoot at them, any suggestions?
have you accidently change the view distance on them?

AFAIK I thought they'd fixed the props vanishing bug.
 
nope, havent changed a thing bout em, but they just dissapear, without dissapperaing, weird........

oh yeah and can u give me EXACT instructions on how to add blood to my maps? havent worked it out yet lol

thanks
 
smoke said:
nope, havent changed a thing bout em, but they just dissapear, without dissapperaing, weird........

oh yeah and can u give me EXACT instructions on how to add blood to my maps? havent worked it out yet lol

thanks
decal or overlay tool, select a blood decal, click on the map where you want it. Thats for effects of it on surfaces (not just used for blood though, use it for all kinds of details)

gibshooter is an entity and is used for shooting out blood
 
Back
Top