Garry's Mod

Garry's Mod

6,868 ratings
Lua Rollercoasters
 
Rate  
Favorite
Favorited
Unfavorite
Type: Vehicle, Tool, Addon
Tags: Fun, Build
Tags: Admin, Misc, Coop
File Size
Posted
Updated
3.441 MB
Oct 24, 2012 @ 3:22pm
Apr 19, 2014 @ 3:47pm
32 Change Notes ( view )

Subscribe to download
Lua Rollercoasters

Subscribed
Unsubscribe
Description
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 (21)
8
Jan 11 @ 12:13pm
Bug-Report
Pi.mp3
4
Jan 21 @ 7:44pm
How to make loops and more
JoeTheHoe69
17
Dec 16, 2016 @ 4:27pm
Any New updates new tracks new suggestions and what do you want to see next
Dante
< >
651 Comments
Nexaini Jan 15 @ 12:46am 
Thanks for fixing the mod! (where you can walk threw tracks) Its verry much appriciated good work!
lilnin Jan 9 @ 2:21pm 
how do i remove tracks
Nexaini Jan 2 @ 4:38am 
IMPORTANT PROBLEM! You can walk threw tracks now. You used to be able to stand on the tracks, now you just fall threw them. THE MAIN PROBLEM IS WHEN YOU GO NEAR THEM NOW THEY ARE EXTREAMALY LAGGY. They never used to be laggy. Thanks for your time please fix :)
HeteroChristianWhiteMale Nov 20, 2016 @ 2:03pm 
This mod does rollercoasters better than most rollercoasters games that are entirely based around this. Truly excellent job. Keep it up. 10/10
DOCTOR WHO Oct 26, 2016 @ 1:33pm 
how to you create a loop de loop
[C-DALE] DR TENNANT Oct 5, 2016 @ 8:18am 
i hvae seen this mnod many times but i never thought it was this good ^^
LordDerples Aug 29, 2016 @ 9:25pm 
I've been getting this lua error
[Lua Rollercoasters] lua/autorun/coastermanager.lua:433: attempt to index field 'halo' (a nil value)
1. v - lua/autorun/coastermanager.lua:433
2. Run - lua/includes/modules/hook.lua:84
3. v - lua/includes/modules/halo.lua:148
4. unknown - lua/includes/modules/hook.lua:84

rarestbacchus59 Aug 25, 2016 @ 7:39pm 
how do you not fly off the rails?
Sonic.exe Aug 23, 2016 @ 12:16pm 
I got lua errors: [Lua Rollercoasters] lua/autorun/coastermanager.lua:433: attempt to index field 'halo' (a nil value)
1. v - lua/autorun/coastermanager.lua:433
2. Run - lua/includes/modules/hook.lua:84
3. v - lua/includes/modules/halo.lua:148
4. unknown - lua/includes/modules/hook.lua:84
-[HN]- Blizzard Aug 22, 2016 @ 3:57pm 
Lua errors:
Error in hook PreDrawHalos: lua/autorun/coastermanager.lua:433: attempt to index field 'halo' (a nil value)
stack traceback:
lua/autorun/coastermanager.lua:433: in function 'fn'
addons/ulib/lua/ulib/shared/hook.lua:110: in function <addons/ulib/lua/ulib/shared/hook.lua:93>
[C]: in function '‌‎​‬‪‭'
lua/.dragondildos/rc1/../nul/0071caa5f2997d1310d989cc9288eb22078bde534a5254bcb36b516ba22a06a7.lua:59: in function 'Run'
lua/includes/modules/halo.lua:148: in function 'fn'
addons/ulib/lua/ulib/shared/hook.lua:110: in function <addons/ulib/lua/ulib/shared/hook.lua:93>
[C]: in function '‌‎​‬‪‭'
Error in hook PostDrawEffects: lua/includes/modules/halo.lua:148:
stack traceback:
[C]: in function 'Run'
lua/includes/modules/halo.lua:148: in function 'fn'
addons/ulib/lua/ulib/shared/hook.lua:110: in function <addons/ulib/lua/ulib/shared/hook.lua:93>
[C]: in function '‌‎​‬‪‭'

[ERROR]
1. unknown - [C]:-1