Project Zomboid

Project Zomboid

151 ratings
Road Builder [BETA]
2
3
3
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
140.024 KB
Feb 23 @ 6:21pm
Mar 29 @ 5:55pm
4 Change Notes ( view )

Subscribe to download
Road Builder [BETA]

Description
Road Builder adds a Dump Truck to Project Zomboid capable of laying a two-tile-wide gravel road to B42. Use the vehicle menu or press (G) to start dumping gravel.

To load a Dump Truck place sacks of gravel in the bed of the truck. 50% of Dump Trucks will spawn with a full load and a shovel, the other half spawn with an empty bed. The spawn locations are the same as vanilla pickup trucks.

The vehicle type is Base.DumpTruck

[Beta Notes] I'm in search of an actual dump truck model to use for this mod. If anyone knows a modeler who would be interested in creating a dump truck specifically for this mod I'd love to hear from them! Until then its using a copy of the vanilla pickup truck script so I can go ahead and release it and get feedback. The mod itself is not vanilla and will be compatible with mods that disable vanilla vehicles.

Road Builder is a work in progress until the stable branch is released.


Workshop ID: 3433311021
Mod ID: DumpTruckGravelMod
53 Comments
Stage May 8 @ 8:09am 
Hey Texasrut!
Do you think you could make a "trailer version" too? Would be awesome :)
Wilburt May 4 @ 7:11am 
will this still spawn them if i have vanilla vehicle remover/replacer?
Stage Apr 28 @ 12:38am 
https://youtu.be/BWinmVPMazk?si=UMdDf2AEZqtyPMHe&t=2640
We need something like this for PZ :D
(edit: added yt timestamp, no need to watch the hole thing - unless you want to)
Katsu.I Apr 27 @ 1:02pm 
I was messing with this mod after getting an m113 stuck on the superweeds one too many time.
I think you should increase the road width from 2 to 4 to deal with the limitations due to Zomboids square grid.
It is nearly impossible to make a continuous road due to this.
Add to that the problem that currently the gravel is way off when driving in any of the cardinal directions on screen. (straight up/down/left/right) In these specific directions the gravel gets dumped next to the truck which might be due to some wonky vector math and normalization ?

Finally when it comes across an edge gravel tile while dumping gravel, it should probably make it a full tile. This currently seems to be a bit hit or miss which might be related to the square grid issue.

It still saves a ton of time over doing it manually but there's still a lot of manual fixing to do on the roads made.
panzerjohnny Mar 30 @ 1:40pm 
Found it!

Skizot's Dump Truck for Filibuster Rhymes F700. It's a B42 version, but they probably have a B41 version as well.
panzerjohnny Mar 30 @ 1:17pm 
While browsing the vehicle mods I came across a mod with a dump truck actually dumping the contents like in real life. No idea of the mod's name (dump truck? ) but the thumbnale was the dumptruck dumping. Hope that helps
DreezyMoto Mar 29 @ 10:31pm 
Oh perfect! Thanks so much and good job!
Texasrut  [author] Mar 29 @ 5:58pm 
Just uploaded a fix for the issue described below
Texasrut  [author] Mar 28 @ 7:42am 
@DreezyMoto Hey I cleared a path in debug mode through the trees and had the same issue you did. It looks like my code isn't handling the wood laying on the ground very well. When I moved it all out of the way everything worked. I'll have to put in a fix.Thanks for the heads up!
DreezyMoto Mar 27 @ 7:17pm 
I'm unsure how to post errors or even see what the errors say when they pop up in the lower-right. but yes i have gone slow, im clearing a path through a forest, seems to work fine if I use it on already-clear tiles, like roads and paths, but not when i try to go on a path i just cleared of trees