Tremulous Forum

Media => Mapping Center => Topic started by: rotacak on September 09, 2007, 05:47:30 pm

Title: func_train not work at all
Post by: rotacak on September 09, 2007, 05:47:30 pm
Hi,
I need help with train.

My procedure is:
1) create brush
2) create origin brush
3) select both and make func_train
4) create path_corner1
5) create path_corner2
6) target path_corner1 to path_corner2
7) target brush func_train to path_corner1
8) compile

Result:
Brush (train) stay on one place (or far away from original place and from path_corner1) and not moving.

Why? What I doing wrong? If I added button connected to train, then after second usage train brush was teleported somewhere else. After next two use button brush disappear completely. :-(
Title: func_train not work at all
Post by: Lava Croft on September 15, 2007, 05:35:21 pm
I'm a bit tired of answering all these very common mapping questions one could also find answered via google.

Maybe someone else wants to give him a hand?
Title: func_train not work at all
Post by: rotacak on September 15, 2007, 08:13:56 pm
Google:
http://collective.valve-erc.com/index.php?ent=func_train
http://ameba.lpt.fi/~koukka/Hammer/Tutoriaalit/Func_train.html
http://195.113.97.157/entity.php?clanek=50
http://hlzone.czechgamer.com/hlzone/tutorials/tut9.htm
http://tremulous.vilkacis.net/phpBB2/viewtopic.php?t=5928&sid=f3b9234a6a10d885d290b89fcd2cf5f8
http://tremmapping.pbwiki.com/entity_explanation
http://www.leveldk.co.uk/tut10.htm

My better procedure:
1) create brush
2) create origin brush
3) select both and make func_train
4) create path_corner1
5) create path_corner2
6) target path_corner1 to path_corner2
7) target path_corner2 to path_corner1
8) target brush func_train to path_corner1  
9) compile

Result:
Train is moving, but somewhere else, not in place path_corner1.

For tired smartest biggest mapper ever Lava Croft:
Help or shut up. Thank you.
Title: func_train not work at all
Post by: Lava Croft on September 16, 2007, 09:56:16 am
Quote from: "rotacak"
For tired smartest biggest mapper ever Lava Croft:
Help or shut up. Thank you.

You not only fail at making a properly working func_train, you even fail at finding a proper tutorial on how to create one. I wish you the best of luck, you will need it.
Title: func_train not work at all
Post by: Survivor on September 16, 2007, 09:59:45 am
The center of the origin brush on all axis is that which moves between the path_corners. So it is very important to place the origin brush in the center of the brush you want to move before making it a func_train else you'll get funky but usefull hacks in multi-nonconnected trains.
If anything pm me a link to the .map at rapidshare or whatever.

Also most of the links you posted refer to halflife, which is an entirely different engine than q3. Most useful one would be the last one while the entity explanation is more of a quick reference sheet then a tutorial. If you want a full tutorial on the wiki just post your requests in the tutorial request thread stickied here.
Title: func_train not work at all
Post by: rotacak on September 16, 2007, 11:05:22 am
Survivor:
Center of origin brush - yes, I read this everywhere, but still was misplaced. I deleted whole train and builded again and now is placed in right place  :o

Most links are for halflife, yes, because I trying found some help everywhere. Last link it's tutorial which I followed and there is:

Code: [Select]
A line with arrows should correctly pass from entity to entity in the direction the train should pass.
And there is no about "Path must be cycled".

Anyway thanx for help.
Title: func_train not work at all
Post by: Lava Croft on September 16, 2007, 12:03:56 pm
http://satgnu.net/lava_croft/files/mapping/traintest1.map

There you have a working example of a func_train using an origin brush.

Took me less than 2 minutes to create, I bet you can do it too, even you.