Trailmakers

Trailmakers

Not enough ratings
Handbrake + driftmode + brakes + manual and automatic gearbox + fuelsystem template car
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
129.043 KB
16 Jan, 2020 @ 5:29pm
1 Change Note ( view )

Subscribe to download
Handbrake + driftmode + brakes + manual and automatic gearbox + fuelsystem template car

Description
This is all the logic needed for a car with all of those features.

Controls:

1(toggle) - handbrake
LeftAlt (hold) - brake
w/a/s/d - driving
Space (hold) - drifting mode
G - change from manual gearbox to automatic gearbox (it starts on manual gearbox)
LeftShift -> Gear up -starts on 1, max gear 3-
LeftControl -> Gear down
For testing only: 2 => Refuel

Note that gas is consummed faster the faster you go.

Instructions for setting it up on your build:

**Remember to remove seat controls on the rear steering hinges and all the engines.

** DONT REMOVE the steering hinges nor change their position on your build.

**Purple and blue blocks must be linked to your engines.

**Blue blocks determine how much strenght the brakes have. Change their output values or link the block to a lesser number of engines if the build behave weird when stopped -as if it was vibrating on the spot-.

**Yellow blocks are the inputs.

**Green blocks are the gears, from TOP to down: gears 1, 2 and 3. Their output's value can be changed to fit your desired speeds.

** SPEED SENSORS MUST STAY THE WAY THEY ARE ON THIS BUILD. All of them must be looking to the front and the backside of your build just as it is in here.

** Speed sensors' values can be changed as you like (they stablish when you're swapping from one gear to another on automatic mode), just DONT change the one at 0 speed detection.

** White distance sensor is what refuels your build, dont delete it. The piston is just to show how the refueling must be done, so it can be removed.

** Orange blocks is how fast fuel is consummed on each gear. Same order as the gears. By default, they are at 2, 1 and 0.5 seconds for gears 1, 2 and 3 respectively.

** Pink blocks are the fuel counter. Left column is tens and right column is units. From TOP to down, each block is 0, 1, 2, 3, ..., to 9 on both columns. You can use them to make some sort of visual indicator of much fuel it's left.

** The counter's wall (and the lights as well) can be removed.