Re: func_tracktrain and path_track problems
Posted by genesisrage on
Sun Dec 12th 2004 at 4:43am
33 posts
3 snarkmarks
Registered:
Dec 12th 2004
i searched through the forums for a while now, but have yet to see about this problem. For ease of understanding, lets say im making an elevator. It has only one button that will cause it to activate, and travels between 2 floors.
the problem i am having is that the elevator does not line up with the floor it should be stopping at. i have gone through and calculated everything out and its all perfect. upon running some tests, i found that the faster the elevator is moving, the farther away from the path_track it stops.
what i must have, is that the elevator lines up with the floor, no matter what speed it may be traveling.
Re: func_tracktrain and path_track problems
Posted by GrimlocK on
Sun Dec 12th 2004 at 5:29am
386 posts
259 snarkmarks
Registered:
Mar 7th 2002
Occupation: Self Employed
Location: Texas
Do the following to ensure your PATH_TRACK is in the proper location: (If you havn't already)
1. Select your PATH_TRACK you intend to stop on, copy it (ctrl + c) and then delete it.
2. Select your "elevator" and move it into the exact location you would like it to stop at. then press Ctrl + E to center windows on selected.
3. With the "elevator" still selected paste your PATH_TRACK back into the map (Ctrl + V). This will place it in the exact location you want it, with out all those extra "calculations".
I havn't used a FUNC_TRACKTRAIN in a couple years, not since it's equivalent in HL1, so I won't be able to offer much else on the entity settings. Anyway, hope it helps, good luck.
Re: func_tracktrain and path_track problems
Posted by genesisrage on
Sun Dec 12th 2004 at 5:46am
33 posts
3 snarkmarks
Registered:
Dec 12th 2004
nope, after taking out the calculations, its still stoping short.
HL1 was able to stop on a dime and be accurate... why cant HL2? :sad:
Re: func_tracktrain and path_track problems
Posted by DrGlass on
Sun Dec 12th 2004 at 4:05pm
DrGlass
member
1825 posts
632 snarkmarks
Registered:
Dec 12th 2004
Occupation: 2D/3D digital artist
Location: USA
make sure that your not caculating from the middle of the elevator but
from the origin (the purple sphere) also, there is an option for
"height above track" and a few others like that, take a look and make
sure that there isn't some key you have filled in that is doing this.
Re: func_tracktrain and path_track problems
Posted by genesisrage on
Sun Dec 12th 2004 at 11:16pm
Posted
2004-12-12 11:16pm
33 posts
3 snarkmarks
Registered:
Dec 12th 2004
i have done several tests so far, with different sizes and everything... if there is a setting that needs to be changed im completely missing it.
and as for the purple sphere, it never had one, even when creating it. followed a tutorial (i think from this site) and it was doing the same thing. also in my tests i set the speed to 1 and it lines up perfectly, but setting to 500 the train stops about 2 feet from where its supposed to.
[edit]
sorry, didnt have the helpers turned on... i see the purple sphere now, and ran some more tests... still stopping short. at speed of 100 its stopping like 8.5 units from where its supposed to.
Re: func_tracktrain and path_track problems
Posted by GrimlocK on
Mon Dec 13th 2004 at 1:29am
386 posts
259 snarkmarks
Registered:
Mar 7th 2002
Occupation: Self Employed
Location: Texas
It really sounds to me like you are missing some sort of "Movement t[color=white]olerance" setting. There has to be a setting that allows a little play in the stop location. If I have time I will take a look and let you know if I find anything. [/color]
Re: func_tracktrain and path_track problems
Posted by GrimlocK on
Mon Dec 13th 2004 at 5:05am
386 posts
259 snarkmarks
Registered:
Mar 7th 2002
Occupation: Self Employed
Location: Texas
Post a map file dl/link and I will have a look at it. Maybe its a setting in the PATH_TRACK, have you double checked all the fields and flags associated with movement in the PATH_TRACK?
Re: func_tracktrain and path_track problems
Posted by DrGlass on
Mon Dec 13th 2004 at 6:24am
DrGlass
member
1825 posts
632 snarkmarks
Registered:
Dec 12th 2004
Occupation: 2D/3D digital artist
Location: USA
have you tryed useing a keyframe_track? I haven't looked at the map yet, I'll take a gander in a second.
Re: func_tracktrain and path_track problems
Posted by genesisrage on
Mon Dec 13th 2004 at 6:29am
33 posts
3 snarkmarks
Registered:
Dec 12th 2004
tried to use keyframe_track... but then it said in-game that the elevator didnt start on path_track... and didnt work
Re: func_tracktrain and path_track problems
Posted by genesisrage on
Wed Dec 15th 2004 at 12:20am
Posted
2004-12-15 12:20am
33 posts
3 snarkmarks
Registered:
Dec 12th 2004
so anyone else having this problem?...
and also is there somewhere i can go to report a bug (if it is)... been paying close attention to HL2, and some of the elevators there seem to be having this same problem (if it wasnt intentional).
if anyone wants to see what im talking about, i have a link to a file in a post above.
bump
Re: func_tracktrain and path_track problems
Posted by MelCaleb on
Wed Aug 24th 2005 at 6:13am
3 posts
0 snarkmarks
Registered:
Jan 24th 2005
Occupation: Student
Location: USA
I wish there was a date displayed when doing a search. Don't know how old this is. anyway...
Oh there it is, in that fine print over there. (me=noob?)
I've had this problem recently. The workaround I used was having a
path_track a little before the one that tells the train to stop that
set a lower speed for the train. Mine goes from about 600 to 100.