How to move a custom object?

Shallwe

L1: Registered
Jul 16, 2012
9
0
Hi everyone, this is my first thread and i hope upload any map soon!. I´ve been searching for a way for move an object like the train in Well (for second tought that the CS "func_vehicle" may work what just gave me an icon wich says "obsolete"), so i need to move a custom train model but it will be able for carry player inside and outside, and a button that when you hit it the train stop. Sorry mah english and i hope you can hep me :blushing:
 
T

The Asylum

1. create 2 path_track entites, one where the train starts and one where you want it's maximum range to be

2. make a func_train brush

3. parent the object you want as a train to the func_train brush. Make the path_track's next stop targets each other.

4. make a func_button somewhere

5. In the flags tab, check the damage button

6. On the func_button create these outputs:

OnDamaged
(your func_train)
Stop

7. Make a logic_auto entity with this output:

OnMapSpawn
(your func_train)
StartForward

That should do it
 

Shallwe

L1: Registered
Jul 16, 2012
9
0
1. create 2 path_track entites, one where the train starts and one where you want it's maximum range to be

2. make a func_train brush

3. parent the object you want as a train to the func_train brush. Make the path_track's next stop targets each other.

4. make a func_button somewhere

5. In the flags tab, check the damage button

6. On the func_button create these outputs:

OnDamaged
(your func_train)
Stop

7. Make a logic_auto entity with this output:

OnMapSpawn
(your func_train)
StartForward

That should do it
I select the entity tool and i write func_train brush or func_train but it just give me an "obsolet" icon but if i write func_brush it gave me something but i don´t know if that something to do with this!
 
T

The Asylum

func_train is a brush entity. That's the actual train. The "train" object is just a prop. Parenting that prop to the func_train brush will make it move with the func_train.
 

Shallwe

L1: Registered
Jul 16, 2012
9
0
func_train is a brush entity. That's the actual train. The "train" object is just a prop. Parenting that prop to the func_train brush will make it move with the func_train.

I make the "func_train" but it just gave me an "obsolete" icon:
85207.jpg
 
T

The Asylum

first, the actual name of the train entity is func_tracktrain, not func_train, sorry :|

But this should help you understand what's going on:

94234906.png
 

Shallwe

L1: Registered
Jul 16, 2012
9
0
first, the actual name of the train entity is func_tracktrain, not func_train, sorry :|

But this should help you understand what's going on:

94234906.png
That solved some problems but, can you upload the example? I realy cant get the problem :(
 

Pocket

Half a Lambert is better than one.
aa
Nov 14, 2009
4,694
2,579
Take the brush, use Tie To Entity just like you would for making a func_detail, but select func_tracktrain instead and then give it a name. Then double click the prop, make sure it's set as prop_dynamic, and type the name you gave the brush as the value for Parent.
 

henke37

aa
Sep 23, 2011
2,075
515
Somehow I suspect that he doesn't use detail brushes...
 

Shallwe

L1: Registered
Jul 16, 2012
9
0
first, the actual name of the train entity is func_tracktrain, not func_train, sorry :|

But this should help you understand what's going on:

THANKS A LOT!!! Now it works perfecly!!