4112 ratings
Lua Rollercoasters
Type: Vehicle, Tool, Addon
Tags: Fun, Build
Tags: Admin, Misc, Coop
File Size:
3.440 MB
Oct 24, 2012 @ 3:22pm
Apr 14 @ 12:30am
31 change notes ( view )

Subscribe to download Lua Rollercoasters

This is a fully lua-controlled rollercoaster addon. You create individual nodes, and a track (with the catmull-rom spline algorithm) is generated between them.

Facepunch thread: http://www.facepunch.com/showthread.php?t=1200443
The map in the video is gm_shadypeak
This also goes well with this map!

Frequently Asked Questions
Q: My tracks are all yellow and black, they look nothing like the pictures. What gives?
A: You need to update your clientside mesh. This can be done in the bottom of the supertool (the big update mesh button) or by running 'coaster_update_mesh' in your developer console.

Q: What's this whole 'Track ID' system? What's it for?
A: Every track you build has a specific ID associated with it. All nodes under the same track id are part of that entire coaster. This makes it easier to manage completely seperate coasters. Also, this let's you make carts go 'off da railz' onto another seperate track.

Q: When I save my tracks garry's in-game saver, my rollercoaster won't save with it!
A: Garry's save module doesn't save Entity networkvars correctly (or at all), which is crucial for the order in which the nodes are linked. Until he fixes that or makes it easier for someone to make do with it, you'll need to use the saving tab in the Supertool.

Q: How do I get my tracks to look wooden (or something else)?
A: In the Supertool, go to the furthest right tab, labeled settings. In this tab is a track type drop down list, showing Metal Track, Wooden, Simple, and (maybe!) a few others. Select which track type you want, click on your track, and rebuild the mesh. Tada!

Q: How do I vomit/scream?
A: While in a cart, press left click on your mouse to scream, and right click to vomit. Set coaster_cart_cooldown 0 on the server to remove the 'cooldown' between vomiting and screaming.

Q: I really want to contribute to the rollercoaster, or just see how certain things work. Is there an online repository I can access or upload to?
A: Yes! The entire addon is available on GitHub[github.com], allowing you to fork it, edit it, and I can add your additions to the main addon.
Popular Discussions View All (3)
Apr 13 @ 8:58pm
Deletion of Nodes Crashes Game
Kawaii Marshtomp
Feb 8 @ 11:42pm
Cars blowing up...
Apr 22, 2013 @ 1:43pm
love it
< >
Magne Who? 1 hour ago 
How Do I Connect My Rollercoaster
SCRUMPEH The Gringo Apr 15 @ 9:06pm 
How woud i make my rollercoaster ride last forever.
Foohy  [author] Apr 14 @ 7:03am 
Sam, use the default vanilla color tool on a node and it should set the color of the support poles.
Fawazthani Apr 14 @ 5:14am 
i love it most
Sam Apr 14 @ 4:37am 
How would I change the color of the pole things?
Foohy  [author] Apr 13 @ 8:57pm 
Alright it should be fixed, ended up just recoding part of the wheel system so it may contain small bugs.

I haven't gotten to the track sometimes not drawing, it's definitely certain maps that cause it. I'll investigate soon.
[SF] Firescorched Apr 13 @ 5:48pm 
ah, I have also tried to change the track type but it doesnt appear different...
Sam Apr 13 @ 4:09pm 
Thank you so much! I can't get my DragonBall Z Nimbus Coaster done without it!
Foohy  [author] Apr 13 @ 3:34pm 
Yep yep I'm fixing it now, sorry! I had stuff going this weekend but I'm going to fix it ASAP.
Sam Apr 13 @ 3:12pm 
I know this is probably one of the thousands of comments you get every day, but I tested spawning every track and neither the speed or brake tracks worked (crashing). The weird thing was every other track worked just fine. Are you working on fixing this? I really want it to be fixed quick.