View unanswered posts | View active topics It is currently Thu Mar 28, 2024 12:41 pm



Reply to topic  [ 1 post ] 
 How to make a TRAIN!!!! 
Author Message
★★★★

Joined: Wed Aug 27, 2008 9:12 pm
Posts: 297
Has thanked: 0 time
Been thanked: 0 time
New to mapping? Ever seen a train in a sven or hl map? Ill teach you entirly from my knowledge how to make a working train!

In this tut ill be making a train that is activated by a button.

First, make a train platform(what ever you whant).
Second, once you have made your train platform, spawn two entites called "path_track"
Third, click on your train platform and turn it into a "func_train"
Fourth, open up the propeties for the train and do as I say

name:what ever you whant
First Stop Target:this will be the name of your FIRST track(click on w/e ever "path_track" entite and name it w/e you whant. You can do track 1 like I do)
Move Sound:w/e you whant
Stop Sound:w/e you whant
Speed(units per second):Default is 64 thats a pretty good speed, but you can mess with it if you whant

thats about it for the train. Now onto the two entites.

Choose the one you first named and set it up this way
Name:name of the "First stop target" for the train
Next Stop Target:This is the next track down the list, that will be the next track
New Train Speed:When the train reaches this track it will go speed up or slow down if you set the speed lower or higher

Next, just kina copy the first track like the 2 one. Just rename it to "(name of this entite 2.)" Set the "New train Speed" to 0 to make it stop :!: AND :!: dont put a "Next stop target" for this one, if you whant to make more than two then just set it up like path 1 just a little different.

Now for the button.

Start by making your button. DO what ever. then ctrl+T and make it a "func_button" and set it up like this

Name:Name of the button
Target:name of the train
Speed:go into flags and checkmark "dont move" This will make it so the button will not move on press
Sounds:w/e you whant
Delay before reset:you can make this w/e you whant, -1 means it will never reset
Delay before trigger:w/e you whant

Thats about it for the button, and this tut hope it was helpful.

If the train doesnt work post a reply
:look:


Mon Apr 20, 2009 3:47 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 1 post ] 

Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software for PTF.
[ Time : 0.080s | 17 Queries | GZIP : On ]