EARLY ACCESS: an early version, expect bugs and balance changes. Military trucks carry cargo between truck stops along military roads. A truck with an empty schedule shuttles between the nearest loading and unloading stops; or give it a schedule like a train (stop + wait condition).
Mods introducing new content into the game.
Hi i just wonder, because such mod as yours already exist by
https://mods.factorio.com/user/Wolfenstain
he has some trucks, stations and train like shedule.
Some comparison of the two mods (writing before testing this mod)
Feature - Vadonchik - Wolfenstain
Offroading - No - Yes
Use modded roads - No - Yes
Train shedule - Yes - Yes
Dedicated depot - Yes - No ( but posible )
Vehicles - 4 - 2
Even tho i welcome more options to deliver the items across my factory. I am just asking why to use your mod.
Aanyway here is my wishlist for this mod.
Use road tiles or tiles marked as "is_road_tile = true "
There is few mods that add roads and road tiles, use them as well.
work with https://mods.factorio.com/mod/heavy-trucks-autopilot
It will be good to use these trucks stops as well ( if your vehicles can fit )
Circuit signal based interrupts control of shedules.
So the trucks leave depo when there is a demand.
Thanks for the variety and now I go for checking out this mod.
After some testing and checking this mod. This mod seems to have better handling trucks and stations then other one mod mentioned.
But what i would have mostly seen implemented is to use those other modded road tiles.
So i can use this mod alongside Transport Drones.
Hi Sindelin, thanks a lot for the detailed comparison and for testing the mod. It really helps.
Two things from your wishlist are done and will be in the next update (0.16.0):
Modded road tiles. Trucks now drive on road tiles of other mods: any tile marked is_road_tile = true, so Transport Drones roads and fast roads work out of the box. I tested it with Transport Drones 2.1.4 in the same game: trucks drive and deliver on its roads, and drones and trucks don't block each other. There is also a map setting "Extra road tiles" where you can list any tile names, separated by commas, that should count as road. Both are in the map settings and can be turned off.
Circuit-based dispatch. New map setting "Load only on demand", on by default. In depot mode a truck loads only what an open unloading stop accepts right now. Put a circuit condition on the unloading stop (for example "open if iron plate < 1000"), and the trucks wait empty on the parking lot while it is closed. As soon as it opens, they load only what it takes and go.
heavy-trucks-autopilot stops. Not yet. I want to look at that mod properly first and see whether our trucks fit its stops. It's on the list.
One note: Transport Drones' drones don't drive on military roads, only our trucks use their roads. Making it work both ways is possible, but then Transport Drones would forbid placing buildings on military roads, so I left it out for now. Tell me if you'd want it as an option.
Thanks again, and feel free to post more ideas or bugs.
Hi, Vadonchik, thanks for the Update for the roads. The addition of loading bays was a nice surprise I liked it.
1) For the new ideas i have few things in mind.
These kind of mods usualy pair with compatibility to https://mods.factorio.com/mod/Mining_Drones_Remastered but this can be done with loading bays.
2) Vehicles roles: Some could load Ores (iron ore, copper ore) , some could load intermediates ( cables, circuit boards ), some could load heavy stuffs ( rails, buildings )
3) Speaking of new vehicles, there is an abandoned old mod pack since Factorio 1.1 and not updated since.
https://mods.factorio.com/mod/xenos-oppression-ultimate-pack
So if you could overtake some of its graphics and use them in your mods. License is YaR Factorio Limited Distribution Only Licence but the link go nowhere.
4) Integration with https://mods.factorio.com/mod/factorissimo-2-notnotmelon?from=updated mod. So the trucks could go in and out of Factory building. (multi surface support )
Regardind the Heavy-trucks-autopilot mod maybe some action is needed also from that mod to recognise your trucks. But in the meantime you could make some non-colision loading bay or road that could be placed underneath these stops. Or leave it out completly.
Regarding the Transport drones. The actual working version of TD is so complicated it's missing the point, I plan your mod to overtake the TD jobs. So the roads I would leave as it is. Maybe somewhere in my city blocks I make Military only section and leave city blocks on Asphalt roads.
Hi Sindelin, thanks for testing again and for the ideas, glad you like the loading bays!
What the next update brings:
- Transport Drones: the trucks drive on its roads (setting, on by default), and Transport Drones depots work as truck stops: a supply depot takes the truck's cargo, a request depot gives the truck what the drones brought. So both can share the work, or the trucks can take over.
- Drones on military roads: a startup setting, OFF by default - so the military roads stay for the trucks, as you'd like. Turn it on and the drones use them too (then, by the Transport Drones rule, other mods' buildings can't be placed on military roads).
Your new ideas:
1) Mining Drones Remastered - with loading bays it already works through inserters; a direct link is on my list.
2) Vehicle roles (ore / intermediates / heavy cargo) - good idea, I'll think about how to do it without making the trucks harder to use.
3) Xenos graphics - I can't use them: their license does not allow it. All our vehicles are our own models.
4) Factorissimo (trucks in and out of factory buildings) - interesting, but it needs multi-surface paths; on the list for later.
heavy-trucks-autopilot stops - a non-colliding bay under their stops is a good idea, I'll look at it.
Thanks again, keep them coming!
And another post in the sense Why invent the wheel.
I still cannot get to work out your idea of Trucks and stations to work ( maybe i would need to see some example save.
So in the meantime, since i like your graphics, your stations will be serviced with Wolfestain Heavy trucks with inserters and advanced circuit networks. But it work as i intend to work.
And i put your Trucks on a garbage duty, but important garbage duty colecting biters loot.
Hi Sindelin,
Thank you for writing this - honestly, it's the most useful kind of feedback. I'm glad the stations look good enough that you build your bases around them, even with Wolfenstain's trucks doing the hauling. And biter loot duty is a proper job for a military truck :)
You're right to ask why another mod, when Transport Drones and the heavy-truck mods already exist. Here is what makes ours different:
I can see the start isn't clear enough, and that's on me, not on you. Here is how the stations work together:
The book button on the shortcut bar opens a guide with pictures for every step. If something still doesn't move, tell me what the status line in the truck window says, and I'll tell you exactly what's missing.
Thanks again for sticking with the mod and testing it so thoroughly - it really helps.
Like imagine a situacion like.
I am trying to convert a map that was serviced like 100 small drones, servicing like 50 items here and there. Simple load here, unload there.
Now i need fewer trucks to do all these jobs. One could load ores from Mining depots say like 8 and unload it like 3 different stations depending whats missing where.
Lets take this scenario and compare your trucks with the Wolfenstain trucks with circuits all around.
The setup
Load Iron ore at station A
Unload Iron ore at station B
Load Copper ore at station C
Unload Copper at station B
Placed stations 20 with some setup but not all of them
Military trucks performance
Loaded Iron ore from station A
Unloaded Iron ore in some random station that have nothing to do with Iron ore. Even if this random station was on another city block.
And yes i have setup all the stations in above order. And your truck dont go for the copper ore just chilling at the parking lot.
Heavy trucks Autopilot mod performance.
Loaded Iron ore at station A
Unloaded Iron ore at station B
When Iron was not needed at the station, the truck waited in a depo station, waiting for another job.
The setup of the Heavy truck was simple like this
Depo station had some imposible task like waiting for some fluid.
Interrupt called from Circuit signal Iron ore > 0
- goto Station A load 1000 Iron ores
- goto Station B Unload everything.
After this interrupt ends it waits at the Depo station.
So my problem is the Train UI with all its conditions is everything these kind of mods need. So why creating something new, when we have working UI already that can handle these kind of tasks. Even tho i miss some mod that i have used in a Factorio 2.0. But i got it working without it.
So what we can do that these two mods can co-exist together and ease some of the trouble of circuit maddness.
In your stations we can set what to accept and how many. But this dont go outside of station. What it could do is.
Lets say I set up Station B like this, Accepts Iron ore 1000, copper ore 1000, stone 1000
Output signal should be when empty
Iron ore -1000
Copper ore -1000
Stone -1000
when something lands in the station it substrack from the needed amount. This could save me time placing down Deciders all around checking that station and amount needed.
Hey Sindelin, thank you - honestly, this is exactly the kind of report that makes a mod better. You followed the setup steps, and the trucks still did the wrong thing, so this one is on us.
Here is what was going on: in depot mode a truck took the iron to the nearest unloading station that could accept it - even one that never asked for iron, even one in another city block. And because it counted that as "delivered", it went back to the parking lot and never looked at the copper order.
We rebuilt the situation you described as an automatic test - iron at one loading station, copper at another, a station that orders both, and several unrelated unloading stations closer to the trucks - and fixed it. In that test the ordering station now gets both iron and copper, and the unrelated stations get nothing. The fix goes into the next Military Trucks update:
If you already have a base with our trucks, it keeps working exactly as before after the update - existing stations are not cut off.
I will post here as soon as the update is out. I would really love to hear how it feels then compared to Heavy Trucks Autopilot - and if anything still looks wrong, a screenshot of the station window and the truck window helps us fix it fast.
That is a really good idea, and it fits what we just built.
Our unloading station already knows how much of each item is missing - that is exactly what the new orders use. So we will send it to the circuit network as well: with Accepts iron ore 1000, copper ore 1000, stone 1000, an empty station will output iron ore -1000, copper ore -1000, stone -1000, and the numbers go up towards 0 as cargo arrives. No extra combinators around each station.
That signal works for anything on the wire - trains, other mods, your own logic - and for our new truck interrupts too: "if iron ore at station B < 0 -> load at A, unload at B".
It will come in the same update as the orders fix. Thanks for thinking it through - this kind of feedback really shapes the mod.
The update is out: Military Trucks 0.25.0 (needs Military Core 0.4.11). Unloading stations now get trucks only for what they actually order (filter or limits), shortage is sent to the circuit network, and trucks have train-like interrupts. Old bases keep working as before. If anything still behaves wrong, a screenshot of the station window and the truck window would help a lot.
Sadly to report but It Does Not Work. >| >|
Truck in Depot mode (no stations) with one simple interrupt.
For an idea what i am trying to do, here is a save with actual version of Military Trucks Featuring Bob suite mods, and few my quality of life mods.
https://1drv.ms/u/c/66b908004edd95c6/IQCzxEIfU_QSQ793Xj96nVAfAbeK1QDy3Vj3BPoe6Fr04hU?e=7K5Ait
For an testing i used Stop 1 as Unload station and Stop 5 as Loading stations.
Look at the Truck what is he doing.
I understand that overhaul mods such as Bobs, Angel, Pyanodons can make something goes wrong. But ...
So umm. what to do, what to do.
Personaly i would remove the Depot mode altogether and leave it only for setting a dedicated parking lot.
The trucks should only move when some route is availble ( condition is True )
If all routes/interrupts are false wait in the parking lot.
Hi Sindelin,
Thank you for the save — it made it possible to see exactly what happens. I loaded it with your mods (including Asphalt Roads) and watched your truck. Here is what I found.
What was wrong on our side (fixed in Military Trucks 0.25.1, out now):
1. Old stations still took cargo. Your save was started before orders existed, so when you updated, every unloading stop without an order was marked "old: accepts everything" — to keep old bases working. That is why your truck tried to deliver to Stop 94 and Stop 97, which never ordered anything, instead of Stop 1. Now this "old" pass is switched off as soon as any station on the map has a real order (an item in "Accepts" or a limit). After that, trucks deliver only to stations that ordered the cargo.
2. The truck got stuck between two stops it could not reach. Stop 94 and Stop 97 have no road to their marking, and the truck kept switching between them forever. Now a stop without a road is skipped for a minute, and the truck picks the next one.
3. Your proposal, done: a depot truck that has interrupts now works only by its interrupts. While none of them is true, it does not shuttle on its own; it waits at the parking lot. Cargo already in the bed is still taken to a station that ordered it.
4. Your save also showed a crash with the old fuel terminal in an older save after our latest changes. That is fixed too.
What your save shows besides that (not a bug, but worth knowing):
- Stop 1 is already full: iron ore 1092 and copper ore 3231, with limits of 1000 each. So right now Stop 1 has no open order, and the truck correctly goes to wait at the parking lot.
- Your interrupt does not fire for the same reason: "iron ore at Stop 1 ≤ 0". The station sends contents minus limit, which is +92 now. It will fire when Stop 1 runs short of iron.
- Your tanker (#3585321) is in manual mode and parked on the road to the parking lot (around −115, −56). The truck waits behind it and cannot pass. Switch it to auto or move it off the road, and the truck drives on.
Tip for the stopped tanker: if you want trucks to drive around a vehicle that stops on the road, use our 4-lane military road. On it, trucks change lanes across the dashed line and overtake a vehicle standing in their lane, so a stopped truck or tanker does not block the others. On a 2-lane road there is no free lane, and they wait behind it.
With the update, your setup (Stop 5 loading, Stop 1 ordering iron and copper, the truck with one interrupt) works the way you described: the truck sits at the parking lot until Stop 1 needs ore, then fetches it from Stop 5 and brings it to Stop 1.
Thanks again — your save found real problems for us.