Garry's Mod

Garry's Mod

6328 ratings
Lua Rollercoasters
Type: Vehicle, Tool, Addon
Tags: Fun, Build
Tags: Admin, Misc, Coop
File Size
3.441 MB
Oct 24, 2012 @ 3:22pm
Apr 19, 2014 @ 3:47pm
32 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:
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[], allowing you to fork it, edit it, and I can add your additions to the main addon.
Popular Discussions View All (16)
Dec 13, 2015 @ 9:32am
Any New updates new tracks new suggestions and what do you want to see next
Black Knight
Oct 30, 2015 @ 7:32am
Deletion of Nodes Crashes Game
Jan 25 @ 9:27am
Loop de loops! (suggestion)
Fransisgo LazorFace!
< >
snow star Feb 5 @ 10:10am 
can i add u as friend
1MINISKIDI Jan 25 @ 9:05am 
WHen i look at a track node with track builder, i get script errors.
Dragon Slayer Ornstein Jan 23 @ 12:24pm 
At least this addon is not hacks for DarkRP severs.
All the best ones are.
The Yi Qi Hunter Jan 20 @ 7:40pm 
Dude plz add somethin tht can paint sespenders
KennyRulz244444 Jan 19 @ 8:39am 
Script errors...
Cjnhgcyhg Jan 9 @ 6:21pm 
i looked in the Lua rollercoaster file in the spawnlist and there is a sonic rollercoaster cart and i was wondering how i could use in for a coaster
u jelly Jan 7 @ 2:26am 
when i update mesh the tracks are still the same please help!
MEchanic[ ŁҚ ] Jan 1 @ 7:33am 
When adding the second node or trying to move a node from a saved track, game crashes with error msg: failed to lock vertex buffer in CMeshDX8::LockVertexBuffer: nVertexCount=32, nFirstVertex=76
OS=Ubuntu14.04 64bit, 16GB RAM, GTX660 1920x1080 (dual monitors)
Any idea why?
Mr. Cymro Dec 28, 2015 @ 6:34am 
When you want to finish you right click the first node you placed.
lolmaker2002 Dec 26, 2015 @ 8:07pm 
how do i make my coaster a full circle so i dont need to respawn the cart every time, beguise i cant do it