cable car
Post Reply
Quote
Re: cable car
Posted by TheSchwartz on Sat Jan 1st at 12:15pm 2005


Hi all,

I'm trying to make a cable car or 'power crane lift' using the func_tracktrain entity. The car is supposed to move across an ammo depot for transport and is set up with:

func_tractrain properties are as follows:
{
Name = CableCar
Max speed = 25
Initial speed = 0
Height above track = 4
First Stop Target = Carpath1
flag: No Pitch (X-rot)
flag: No User Control.
}

path_track properties - there are two:
{
Name = CarPath1 and CarPath2
next target = Carpath2 and Carpath1
New Trainspeed = 0
}

func_button, this button starts the car:
{
One output: OnPressed, target = CableCar, TargetInput = StartForward, param = 25,
delay=0.00, Only Once = No
flag: Dont Move
flag: Use Activates
}

Nothing happens when I press the button, it is as though it was disabled, what have i done wrong here?

May The Schwartz be with you...





Quote
Re: cable car
Posted by WatchDog on Sat Jan 1st at 12:45pm 2005


is it for cs:s?




Quote
Re: cable car
Posted by TheSchwartz on Sat Jan 1st at 1:01pm 2005


It is for HL2 deathmatch.



Quote
Re: cable car
Posted by Leperous on Sat Jan 1st at 5:02pm 2005


Try specifying some speed values...



Quote
Re: cable car
Posted by TheSchwartz on Sat Jan 1st at 11:25pm 2005


Still no luck...



Quote
Re: cable car
Posted by Yesurbius on Sun Jan 2nd at 4:53am 2005


Could be any number of things. I setup an elevator the same way and spent hours looking to find that I forgot to specify the first track in the func_train.. On another map I realized I forgot to set the "use activates" flag on the button. It is probably something small .. Go over everything again and dot your T's and cross your Is.

Your tram car should be tied to func_tracktrain
First Stop is set to your first path_track.

** Take out the 25 for the param to Cablecar **

If that does not work, try copying the train into a new basic map and work with only 2 stops at first .. it will help you find out what is going wrong.








Quote
Re: cable car
Posted by TheSchwartz on Fri Jan 7th at 10:52am 2005


Sorry guys,

I owe you an apology . When cheking out the scaffolded test map I found that the 'Disabled' flag was set for the path_track entities, after removing that eveyrting works:

Next step is to change the design of the car so that you can jump the fence and get the goodies hidden in that section. Currently you can only make a driveby shooting...

Any comments on the car, good or bad, are welcome.

[addsig]





Post Reply