Garry's Mod

Garry's Mod

96 ratings
Miniracers
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Server content
Addon Tags: Fun
File Size
Posted
Updated
9.161 MB
2 Apr, 2020 @ 4:38pm
11 Apr, 2020 @ 3:03am
9 Change Notes ( view )

Subscribe to download
Miniracers

In 1 collection by Genesis Valentine
Miniracers
3 items
Description
Race little toy cars in Garry's Mod! Now featuring AI!

Spawning a car
Just click on one of the car entities to spawn it. Drift cars go faster and drift a lot. When playing against friends or AI, mixing drift and normal cars will make the game unfair.

Note: Before spawning a car, I recommend enabling noclip, putting yourself into the ground a little and then disabling noclip again. It'll keep you from moving around as you control the car. I may make a more elegant solution later.

By default there is no car camera, press the use key (default E) to switch camera.

Change car color
To change your car's color, you can switch their skins out by right clicking a car with the context menu open (C by default).

Setting up a race
You may use the race marker (which spawns a finish line and a checkpoint) to create a race and race your friends.
You can right click the race marker to start a countdown. It will automatically keep track of any cars that are participating in the race, and log completed laps to the chat.

If you want AI to be able to do your race, you must spawn AI markers around the track as well, see below.

AI cars
Note: You MUST place AI markers for the AI to actually work. I recommend placing one every few meters and at important sections like turns. Right click the AI marker in the entity menu to use "Spawn with toolgun", it's easier to create markers this way.

The only important thing for cars to follow the markers is that every next marker must be one (1) higher than the previous marker's index. When following indexes, cars only care about markers placed by the same player as the last marker they were following.

If it can't find the next marker, it will fall back to taking the nearest one. This is useful to connect the end of your course back with the start (like marker index 22 back with 0).

You can right click on markers to either start from zero again, or to start adding more markers from that marker's index. I'll release a tutorial video in a couple days if it's not clear enough.

You may open the context menu of a spawned miniracer (right-click it) to make it an "AI driver".

When you also have a race marker set up, you can tell the AI to wait for the race to start. The AI won't do anything until the race marker it is on gets to "Go". This way, you can set up AI cars and race against them.

Car controls
- Movement keys: drive
- Use: change camera between top down, hood, behind or player, the cam will be forced into first-person if the top-down cam cannot see the car
- Reload: put your car upright (in case it flips over)

Community contributions
This isn't just my project, the people below have made their own significant conributions.
I would also like to thank any commenters who submitted bug reports and ideas, you're awesome.

Preschool Dropout
- Tested multiplayer with me multiple times, found a lot of bugs and improvements this way, which is great!
- The PD-44 is a fanmade car contribution by them, and man is it hot!

Erveon
- Two AI car names (Lightning McQueer and Vin Benzene) were contributed by them, fantastic names!
Popular Discussions View All (3)
0
20 Apr, 2020 @ 9:58am
PINNED: Track Creation Contest Results
Genesis Valentine
45 Comments
Barrymore14 27 Jul @ 10:08pm 
what happened to this addon?
squidiskool 30 May @ 11:11am 
New Car:
QUICK N SIK
BarneyRooster18 3 May @ 4:30am 
I want to ask something about this addon can you add me for a moment?
pomidor 2 Jan, 2024 @ 10:41am 
As a fan of Micro Machines, I really like this. Keep developing it, this is a great addon
Gentleman_green 18 Aug, 2023 @ 5:52pm 
hot wheels
pufferfish1005 8 Dec, 2022 @ 9:10am 
i love cars
BarneyRooster18 26 Dec, 2021 @ 1:20pm 
Maybe you could amke a guide on how we can make custom cars?
BarneyRooster18 26 Dec, 2021 @ 8:27am 
I always wanted to see something like this in Gmod. It's like Micro Machines. Thank you for making this.

It could definitely use some more cars tho.
Baran ツ 17 Nov, 2021 @ 6:05am 
I Love It :winter2019happyyul:
Wizered 10 May, 2021 @ 12:16am 
This addon is absolutely amazing. More people must know about this!