FAQ  •  Register  •  Login

func_train tutorial on Hammer

Moderator: Inside3D Admins

<<

JasonX

Posts: 300

Joined: Tue Apr 21, 2009 2:08 pm

Post Mon Mar 28, 2011 12:39 pm

func_train tutorial on Hammer

Do you guys know any func_train tutorial for Hammer and Quake 1?
<<

Baker

User avatar

Posts: 3172

Joined: Tue Mar 14, 2006 5:15 am

Post Mon Mar 28, 2011 1:05 pm

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
The night is young. How else can I annoy the world before sunsrise? 8) Inquisitive minds want to know ! And if they don't -- well like that ever has stopped me before ..
<<

mh

User avatar

Posts: 2172

Joined: Sat Jan 12, 2008 1:38 am

Post Mon Mar 28, 2011 1:19 pm

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. ;)
Like the fifth day of playing 24-hour Scrabble when you don't want to use any letters because each one means a world to you because you're so deranged.
<<

JasonX

Posts: 300

Joined: Tue Apr 21, 2009 2:08 pm

Post Mon Mar 28, 2011 10:18 pm

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?
<<

frag.machine

User avatar

Posts: 1468

Joined: Sat Nov 25, 2006 1:49 pm

Post Tue Mar 29, 2011 1:30 am

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).
I know FrikaC made a cgi-bin version of the quakec interpreter once and wrote part of his website in QuakeC :) (LordHavoc)
<<

metlslime

Posts: 310

Joined: Tue Feb 05, 2008 11:03 pm

Post Tue Mar 29, 2011 1:57 am

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.
<<

mh

User avatar

Posts: 2172

Joined: Sat Jan 12, 2008 1:38 am

Post Tue Mar 29, 2011 9:00 am

Unless you make it a trigger_hurt, of course. But yeah, just making a pointy spike on it's own is not enough.
Like the fifth day of playing 24-hour Scrabble when you don't want to use any letters because each one means a world to you because you're so deranged.
<<

metlslime

Posts: 310

Joined: Tue Feb 05, 2008 11:03 pm

Post Tue Mar 29, 2011 5:50 pm

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.
<<

JasonX

Posts: 300

Joined: Tue Apr 21, 2009 2:08 pm

Post Tue Mar 29, 2011 9:37 pm

Can i define their radius or something, when using trigger_hurt?
<<

metlslime

Posts: 310

Joined: Tue Feb 05, 2008 11:03 pm

Post Wed Mar 30, 2011 2:37 am

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.)

Return to Mapping

Who is online

Users browsing this forum: No registered users and 1 guest

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.
Icons provided by Aha Soft