Page 1 of 1
func_train tutorial on Hammer
Posted: Mon Mar 28, 2011 12:39 pm
by JasonX
Do you guys know any func_train tutorial for Hammer and Quake 1?
Posted: Mon Mar 28, 2011 1:05 pm
by Baker
This kind of sort of explains it:
http://www.quakewiki.net/archives/world ... html#jump5
You make turn a brush in a func_train entity and make some path_corner point entities.
There is this tutorial too:
http://www.bspquakeeditor.com/q1tutor/q_train.html
Posted: Mon Mar 28, 2011 1:19 pm
by mh
func_trains (for func_anything for that matter) should work the same in
any editor - barring editor bugs, of course. Position your entities, set their properties, and away you go.
If you still want something specific to Hammer, but you can't find anything using Hammer, look for WorldCraft tutorials too. WorldCraft is what Hammer used to be called before Valve went all Half-Life on it's ass and it should be quite similar.
This link contains a few likely candidates. As does
this one.

Posted: Mon Mar 28, 2011 10:18 pm
by JasonX
Can i move things other than platforms? Such as huge blocks, etc? Also, for spikes on the floor that hurt the player, would func_train be the option?
Posted: Tue Mar 29, 2011 1:30 am
by frag.machine
JasonX wrote:Can i move things other than platforms? Such as huge blocks, etc? Also, for spikes on the floor that hurt the player, would func_train be the option?
func_train is basically a BSP model/brush that travels along a predefined path. If you want to make spikes or traps, I'd suggest you to use func_doors instead, just setting dmg to something different of 2 (the default value).
Posted: Tue Mar 29, 2011 1:57 am
by metlslime
a func_train can kill you too, i think. Might require some spawnflag settings to enable it.
But keep in mind, with either the door or the train, it will not hurt you except by squishing you against some other object ... a pointly-looking spike isn't itself going to hurt you on contact.
Posted: Tue Mar 29, 2011 9:00 am
by mh
Unless you make it a trigger_hurt, of course. But yeah, just making a pointy spike on it's own is not enough.
Posted: Tue Mar 29, 2011 5:50 pm
by metlslime
mh wrote:Unless you make it a trigger_hurt, of course. But yeah, just making a pointy spike on it's own is not enough.
Right, i see now that JasonX just wanted non-moving floor spikes, so the answer to that is:
yes, just build the spikes out of brushes and then put a trigger_hurt around them. The spikes could be part of the world, or a func_wall if you want.
Posted: Tue Mar 29, 2011 9:37 pm
by JasonX
Can i define their radius or something, when using trigger_hurt?
Posted: Wed Mar 30, 2011 2:37 am
by metlslime
JasonX wrote:Can i define their radius or something, when using trigger_hurt?
It's a brush model, so the brush determine the size, but it must be an axis-aligned box (if you try to make anything other shape, the code will generate an axis-aligned box anyway.)