This is a Github page for the Convenient Classic Carspawner [CCC], a utility for Garry's Mod Trainbuild written in the esoteric scripting language Expression 2 that assembles, details, and manages randomized consists of freight cars. This system is the gold standard for carspawning technologies, and is continually updated with new features and regular bugfixes.
Using a matrix of tags built into the information tables within the chip, you can specify an extremely large variety of potential train types. Use a simple single-line text command to summon whatever consist you desire, with as much or little specificity as required. You can use multiple commands in series to create multiple segments of differing types, or use the built-in Datasignal capabilities to control the system remotely. Information on all of the functional components within the chip can be explored with the ingame tutorial and information system.
Here's how to download & use it:
-
On the above Github page, select the file
convenient_classic_carspawner_Vx.xx.txt
by clicking on it. -
In the next screen, click this button in the top right to download the file.
-
Move the resulting text file to the folder
steam directory/steamapps/common/garrysmod/garrysmod/data/expression2
.
-
After loading into Garry's Mod, click "Refresh" on the E2 tool sidebar interface.
-
Find the file by searching "carspawner". Ensure you select the latest version.
-
Double click the file to open it, then click the X at the top-right to close the window. This loads the utility into your Toolgun.
-
Left-click between the rails you want to start on. The system will align itself to the track.
-
Once the chip loads (which may take 10 seconds or so), follow the ingame tutorial.
Done! You are now ready to utilize the Convenient, Classic Carspawner to create whatever consist you need.