This simulated engine starfall script provides the building blocks for creating a realistic mobility system for garry's mod. The goal of this project is either to replace the existing mobility portion of ACF, or to become it's own standalone mod.
You can find videos of this script in use at my YouTube Channel.
Requirements for this script to work
Place each of these dependencies into your garrysmod/garrysmod/addons
folder
Installation of this starfall script
Folder location:
garrysmod/garrysmod/data/starfall
If you are downloading this project as a ZIP remember to rename the zip from simulated_engine-main
to simulated_engine
Steps for proper unzipping:
- Unzip folder into
garrysmod/garrysmod/data/starfall
- Verify the Unzipped folder has this structure
simulated_engine-main/simulated_engine-main/...
- Rename the second
simulated_engine-main
folder tosimulated_engine
- Drag
simulated_engine
folder into the rootdata/starfall
folder - Delete the now empty
simulated_engine-main
folder
The folder contents should appear as such in the in-game starfall directory:
- ALL components must be an Advanced Wire Entity Marker
- Engine model must be
models/sprops/cuboids/height12/size_1/cube_12x18x12.mdl
- Transmission model must be
models/sprops/cuboids/height06/size_1/cube_6x24x6.mdl
- Transfer Case model must be
models/sprops/cuboids/height06/size_1/cube_6x18x6.mdl
- Differential model must be
models/sprops/cuboids/height06/size_1/cube_6x12x6.mdl
The console command for changing the Advanced Wire Entity Marker is
wire_adv_emarker_model MODEL_TO_CHANGE_TO
.
Link the advanced wire entity markers to each in this order
Engine => Transmission => Differential => Wheels
Engine => Transmission => TransferCase => Differentials => Wheels
- Select the file named
main.txt
and spawn it into the world. - Wire both the
POD
input andEngine
input. - Refresh the chip
W
is 75% throttle.L.Alt
is 25% throttle.S
is brakes.Mouse1
change gears upMouse2
change gears downL.Shift
is clutch
- Engine Stalling
- Differential Lock Ratio
- Transfer Case Power Bias
- Transaxle
- Turbos
- Supercharger
- Engine Braking
- Interpolated Sound Built-In
- Fuel Tanks
- Step by Step video guide