Product Chat (Early Access) / [SOLVED] Suspended usable Tramway

Author
Message
imothep85
18
Years of Service
User Offline
Joined: 27th Mar 2006
Location: Belgium
Posted: 28th Jan 2023 11:31
is it possible to make a Tramway, suspended on a cable, who follow a path and stop at certain spots, where the player can take the tramway and be inside and then the tramway continue on his path??
My Portfolio: https://www.mattepainting.be/
My FREE extension: https://www.stop-it.be/

The author of this post has marked a post as an answer.

Go to answer
AmenMoses
GameGuru Master
8
Years of Service
User Offline
Joined: 20th Feb 2016
Location: Portsmouth, England
Posted: 28th Jan 2023 11:43
Yes.
Been there, done that, got all the T-Shirts!
PM
AmenMoses
GameGuru Master
8
Years of Service
User Offline
Joined: 20th Feb 2016
Location: Portsmouth, England
Posted: 28th Jan 2023 14:32 Edited at: 28th Jan 2023 14:37
This post has been marked by the post author as the answer.
Grab a platform and get it to move along the path and start/stop where you want it to etc.
Make your tram car active but with physics off.
Attach a script to the tram car to position it in the same place as the platform. (the glue entity script was written for this purpose btw)
Voila, job done.

To control where the player can go on the platform you can attach invisible physics shapes with the glue entity script. In this way you can build up quite complex collision shapes on a flat platform. (Example: https://vimeo.com/723475213/ca1191c23f)
Been there, done that, got all the T-Shirts!
PM
imothep85
18
Years of Service
User Offline
Joined: 27th Mar 2006
Location: Belgium
Posted: 30th Jan 2023 20:07
THANKS to all for the response
My Portfolio: https://www.mattepainting.be/
My FREE extension: https://www.stop-it.be/
3com
9
Years of Service
User Offline
Joined: 18th May 2014
Location: Catalonia
Posted: 31st Jan 2023 11:50
Quote: "is it possible to make a Tramway, suspended on a cable, who follow a path"

Of course, you can do it. I don't plan to stop my tramway in the scene, but you can do it.

https://www.youtube.com/watch?v=VCJTwDaabKc
Laptop: Lenovo - Intel(R) Celeron(R) CPU 1005M @ 1.90GHz

OS: Windows 10 (64) - Ram: 4 gb - Hd: 283 gb - Video card: Intel(R) HD Graphics
cpu mark: 10396.6
2d graphics mark: 947.9
3d graphics mark: 8310.9
memory mark 2584.8
Disk mark: 1146.3
Passmark rating: 3662.4

PM
imothep85
18
Years of Service
User Offline
Joined: 27th Mar 2006
Location: Belgium
Posted: 1st Feb 2023 10:27
nice example of the tramway, can you make an example where the player goes inside the tramway when the tramway stop somewhere & then continue on his path ?
Nice 3d model !
My Portfolio: https://www.mattepainting.be/
My FREE extension: https://www.stop-it.be/
3com
9
Years of Service
User Offline
Joined: 18th May 2014
Location: Catalonia
Posted: 1st Feb 2023 11:19
The model you see in the vid is just a section of the whole city I'm working on, the tramway path system I'm using is just to dress the street, it is not ready to be used in the interior or to be player useable, just for wandering around the street, in fact, I plan to add cars, trucks, bus, etc.
even people here and there.
The tramway path system you want is a different beast and should be focused as Amen pointed out.
Most likely you would have to work the path with flags and trace them to determine where you want to stop the tramway.
You must have info about the flags used in Lee's streams.
Laptop: Lenovo - Intel(R) Celeron(R) CPU 1005M @ 1.90GHz

OS: Windows 10 (64) - Ram: 4 gb - Hd: 283 gb - Video card: Intel(R) HD Graphics
cpu mark: 10396.6
2d graphics mark: 947.9
3d graphics mark: 8310.9
memory mark 2584.8
Disk mark: 1146.3
Passmark rating: 3662.4

PM

Login to post a reply

Server time is: 2024-04-19 03:09:36
Your offset time is: 2024-04-19 03:09:36