I just got Hammer (Source SDK) a few days ago and now I'm just experimenting with stuff. I know the basic stuff like texturing, making rooms and such. But, there a couple of things that I don't know how to do.
Answered
Experimenting
Unanswered
How to make bots? How to change their team and class? How to make them move, shoot and do taunts?
How to spawn buildables like sentries?
How to make effects like fire or smoke?
How to make Hammer display only TF2 textures? Currently it shows various textures that come with Hammer and DOD: Source textures
How to make various textures non-visible trough walls? Eg. The class icons show trough walls.
How make text? Do I need a custom texture for that? Is there a fancy tool for it?
How to make working control points?
How to change the control point's owner team by stepping on an object?
How to make control points that teams can't capture? In other words, if the control point's team is set to red, blue is unable to capture it and the owner will be red no matter what.
How to make a wall that only blocks bullets, but not players? I tried the "Block Bullets" texture, it does block bullets, but also players. I can't walk through it.
How to make the reflections realistic? Currently reflections enlarge the world by several times. (A bucket is the nearly the size of the character.) Also, window reflections create a "wallhack" effect. Meaning, by looking at windows you can look trough walls.
Answered
Experimenting
Unanswered
How to make bots? How to change their team and class? How to make them move, shoot and do taunts?
How to spawn buildables like sentries?
There's an entity called obj_sentrygun and obj_dispenser. No teles, though
How to make effects like fire or smoke?
I'm not sure how to do fire, but smoke you can do smoke with an env_smokestack
How to make Hammer display only TF2 textures? Currently it shows various textures that come with Hammer and DOD: Source textures
In the texture menu, in the bottom text field, type "tf"
that'll filter out all the non-tf textures
How to make various textures non-visible trough walls? Eg. The class icons show trough walls.
I haven't tested this but the basic idea is:
save that as heavyblue.vmt in your /tf/materials/ folder. I just copied the default vmt and removed the $ignorez parameter.Code:"UnlitGeneric" { "$translucent" 1 "$baseTexture" "hud\class_heavyblue" "$vertexcolor" 1 "$no_fullbright" 1 "%keywords" "tf" }
How make text? Do I need a custom texture for that? Is there a fancy tool for it?
To display text on the player's screen use game_text or game_text_tf. The _tf version looks nicer but has less options for placement and color. If you mean putting text on the walls of your map, then yes you would need a custom texture.
How to make working control points?
How to change the control point's owner team by stepping on an object?
How to make control points that teams can't capture? In other words, if the control point's team is set to red, blue is unable to capture it and the owner will be red no matter what.
How to make a wall that only blocks bullets, but not players? I tried the "Block Bullets" texture, it does block bullets, but also players. I can't walk through it.
How to make the reflections realistic? Currently reflections enlarge the world by several times. (A bucket is the nearly the size of the character.) Also, window reflections create a "wallhack" effect. Meaning, by looking at windows you can look trough walls.
Last edited: