Home Creators Posts Import Register Favorites Logout

Content

Hey guys and gals and welcome to another mod development blog! Once again we will be focusing on the Vanilla Vehicles Expanded.

First, however, a quick progress update:

We have been working very hard on the acceleration and deceleration mechanic. We are almost done with it, and once we are done, we will put out the first beta version which will contain the Tier 1 vehicles. If it works out alright, we will proceed with adding Tier 2 vehicles into the mix.

ACCELERATION

This is a mechanic that we originally hoped will be in the Vehicle framework but was immediately cut. We need to code it for Vanilla Vehicles Expanded, as I find it incredibly fitting and it helps us differentiate vehicles whilst also bringing a little bit more ‘realism’ to the mod.

Vehicles have a MoveSpeed stat. This stat should represent the maximum movement speed of the vehicle. It wouldn’t however feel realistic if vehicles suddenly reached that maximum movement speed from being completely stationary in one tick. We want to add acceleration.

The vehicle on the example below has a MoveSpeed of 7.0 and an acceleration of 0.1

When you right click a drafted vehicle to make it move somewhere, it should automatically calculate when the vehicle should start decelerating in order to stop moving at the destination. Sometimes, because of that, vehicle will not reach full speed - for example if the path to travel is shorter than it needs to fully accelerate. Deceleration rate is always the same as Acceleration rate.

But what happens if you designate a vehicle to go somewhere, and then change the direction?

The vehicle should update the acceleration and deceleration plan accordingly.

If the vehicle reaches full speed and doesn’t start slowing down, it will keep going at max speed and calculate once again when to start decelerating before reaching the new destination.

If the vehicle doesn’t reach full speed yet, it will continue accelerating and calculate once again when to start decelerating before reaching the new destination.

If the vehicle is in the process of decelerating, it will start accelerating again and calculate once again when to start decelerating before reaching the new destination.

If you designate the vehicle to go somewhere where it would not give it enough time to decelerate, handbrake activates - it’s a special mechanic we need to code that adjusts deceleration rate to fit the requirements to decelerate (can even allow doing a full stop from max speed) and plays the tire screeching sound.

HANDBRAKE

Handbrake is a new safety precaution when the player doesn’t give enough time for the vehicle to decelerate. If a path to destination is not long enough for the vehicle to slow down using the acceleration stat, it means it needs a handbrake. Handbrake allows the vehicle to increase deceleration rate, but results in damage to the tires of the vehicle. This means tires will need to be repaired.

If the player orders a vehicle to move into a cell that would require using a handbrake, following warning should display in the top left side of the screen:

[VehicleName] will not have enough room to decelerate and will need to use the handbrake. This will cause damage to the tires.

On an example below we can see that it would take around 9 cells to fully accelerate. Player then told the car to move 3 cells further and stop, not giving it enough time to decelerate (as the car would need another 9 cells to decelerate).

This means that the car has to condense the 9 cells into 3 cells, so while it was normally accelerating at the rate of +0.1 moveSpeed per tick, it will now need to decelerate at the rate of -0.3 moveSpeed per tick.

The damage to tires is calculated using the following formula, and applies to every single tire:

Required deceleration rate - acceleration rate * 10

On the example above, Required deceleration rate is 0.3 moveSpeed per tick. Acceleration rate is 0.1 moveSpeed per tick. This means that 0.3 - 0.1 = 0.2 * 10 = 2. All the tires in the car would receive 2 damage.

Because of this, vehicles are best utilised over longer paths. Unlike with pawns, player isn't encouraged to keep moving their vehicle 3 cells here, 2 cells there etc. Instead, you should decide where the vehicle should go and stick to it, as changing it at the last second can result in the handbrake mechanic kicking in.

Of course, vehicle damage is nothing scary - vehicles are repaired the same way buildings are - you don't need any resources, your pawns simply need to perform the 'repair' job.

Ok, but you guys came here for vehicles!

This post won't go into the details, stats etc yet. It won't show infographics. It will only show what vehicles are planned and what are their descriptions.

Wagon

A general all-rounder vehicle, the Wagon performs well in all categories with a good cargo and passenger capacity. Best suited on flat roads and will struggle somewhat on hills, snow or winter tiles.

Similar to other tier 2 vehicles, this has double fuel efficiency on the world map which makes them more efficient than tier 1 vehicles. They are also less visible due to improved manufacturing.

Tier 2 Civilian Car

Roadrunner

A general cargo transporter, the Roadrunner is an excellent vehicle for getting a lot of material from one location to another. Best suited on flat roads and will struggle somewhat on hills, snow or winter tiles.

Similar to other tier 2 vehicles, this has double fuel efficiency on the world map which makes them more efficient than tier 1 vehicles. They are also less visible due to improved manufacturing.

Tier 2 Utility Truck

Snatcher

A general passenger transport, the Snatcher is a solid vehicle for transporting people to different locations. Best suited on flat roads and will seriously struggle in snow or on hills.

Similar to other tier 2 vehicles, this has double fuel efficiency on the world map which makes them more efficient than tier 1 vehicles. They are also less visible due to improved manufacturing.

Tier 2 Civilian Van

Charley

A general motorcycle, the Charley is a very effective single-person vehicle with a small cargo capacity. Performs well on any road except during winter season or snowy terrain, or both, with an increased speed on the world map.

Similar to other tier 2 vehicles, this has double fuel efficiency on the world map which makes them more efficient than tier 1 vehicles. They are also less visible due to improved manufacturing.

Tier 2 Civilian Motorbike

Bulldog

A general main battle tank, the Bulldog is an improved combat vehicle that performs well in any engagement. Performs better in less favourable terrain with all sides armoured, the thinnest plating being at the rear near the engine.

Different to other tier 2 vehicles, this has regular fuel efficiency and is quite visible, which is still an improvement over the tier 1 tank.

Tier 2 Military Tank

Mosquito

A general-purpose aircraft, the Mosquito is an extremely fast and mobile mode of transportation. While it doesn’t require a landing strip, it is slower than aeroplanes and has less cargo capacity.

Similar to other tier 2 vehicles, this has double fuel efficiency on the world map which makes them more efficient than tier 1 vehicles.

Being a flying vehicle, it is extremely obvious when on the move.

Tier 2 Civilian Helicopter

Trawler

A general-purpose boat, the Trawler is an effective long distance transportation across open waters. Performs rather poorly on rivers and has to travel slowly during the winter season.

Similar to other tier 2 vehicles, this has double fuel efficiency on the world map which makes them more efficient than tier 1 vehicles. They are also less visible due to improved manufacturing.

Tier 2 Utility Boat

Smuggler

A general-purpose aircraft, the Smuggler is an extremely fast and effective mode of transportation. While it is faster and can carry more cargo than helicopters, it requires a landing strip to both take off and land.

Different to other tier 2 vehicles, this has regular fuel efficiency on the world map but moves significantly faster in return.

Being a flying vehicle, it is extremely obvious when on the move.

Tier 2 Civilian Aircraft

Tango

A general purpose armoured personnel carrier, the Tango is a slow but hardy troop transport. Ample cargo holds, hardened armour, all-terrain capability and a turret that can fire either mobile or stationary, the main downside is fuel consumption and slightly thinner plating on the rear.

Different to other tier 2 vehicles, this has regular fuel efficiency and is quite visible, its high fuel consumption rate putting a limit on the effective range.

Tier 2 Military APC

I will update you again soon with the progress, as well as let you know what T3 vehicles we have planned!

Files

Comments

jacob flynn

oh my god it looks amazing, thanks to the team!!!!!

Connor

Very exciting! I just want to say, the handbrake is a very elegant solution to the braking problem. I read the section on deceleration, wondered how you’d handle trying to stop early, then scrolled down to see the perfect compromise! I like that it’s possible to queue a handbrake as well, that’s a little touch that shows the team’s attention to detail.

Wilhelm Fiore

Really good stuff! As great as the Tier 2 vehicles look, I honestly think the acceleration mechanic is the best thing about the post!

Mauricio Diaz

I love u oskar, keep doing a great, awesome work! ♥️♥️♥️♥️

Ennek

The acceleration mechanic sounds great, but I do worry that if Phil decided to cut it, was that for a good reason like it having a large performance impact or instability?

MrSkynert

Dream of rp as drug cartel smuggling muffalo wool are closer

Oleg Oleg

now the question is if vehicles can be rammed into enemies, because while the first one suggests that i am not really sure. but glad to see the development!

Stim

You're right that vehicles should have that acceleration having full control over speed is a bit immersion breaking. And those options are quite nice. I assume the tier 3 has much more futuristic vehicles, possibly some hybrid ones as well. But... thank you for this update. Keep up the good work.

FrogWerx

I see airstrip. How realistic a length is needed for an airstrip? Thats awesome, but Im bad at deciding what should be included in a base. I want it all

FrogWerx

Jist realized its probably same as acceleration photos, sorry

Fidel Carvalho

I don't know if it was talked in other articles, but very curious to know how it will work on the world map, It's through the caravan mechanic or some brand new mechanic in the framework?

Robby Martin

Now the problem of starting a new colony vs waiting sets in. It all looks great!

Jefferymoonworm

Will there ever be more low tech vehicles in future updates? Like sail boats, covered wagons that sort of thing?

Blackfield

Now all I need is a mobile chemfuel generation ability :) Oh and how will the vehicles work in caravans? Will pawns be able to sleep in them?

Casey Guerin

I think a big question is, will other settlements have landing strips? Or will there be a potential outpost update for making our own airfields?

Toilailee

Looks great! Although I've played enough factorio to immediately think about running into things.. :) How are collisions handled and how good is the pathfinding at avoiding moving obstacles like say your own colonists? Does it automagically handbreak if it fails or run into them? Is it too late to suggest a camper/mobile home? Maybe even with tiles inside that can be built in..? Hopefully the vehicles don't automatically dump their cargo when arriving/stopping SoS2 or SRTS style?

Starfoth

Will we have a troop carrier with a 20-25mm autocannon IE IFV?

Multi

I am literally drooling, I CAN'T WAIITTTT LETS GOOO

Artemis Martin

Always glad to see more from this project, because of how much Rimworld wants travel (AI ship, different resources in different biomes,quests) but doesn't support it. That being said, I'm not sure if I'm 100% behind the 'Snatcher' van's name - a "get in my van, kid: I've got free candy" reference I imagine - for the same reason that adding any content about children to Rimworld immediately escalates the apprehensions around drug use, slavery, and cannibalism.

Bruh Box

The hype for this mod only increases. I'm actually running a Pathfinder 2e game based on Rimworld (specifically my modlist, so a lot of vanilla expanded stuff), and it would be really useful for vehicles to be a thing in that, so I'm especially looking forward to infographics whenever those become available

FrogWerx

And the "Bang Bus" preview is associated with......?

Brandon Pollastri

Will there be things like parachutes for colonists or supplies in the future? So the Smuggler plane can drop them off without needing to land.

Eevee Chad

Will we be able to use the vehicles for running over enemies? Could be really cool with Zombieland.

Spoder

Will the tanks come with machine guns? What's to stop enemies from rushing them and tearing them apart in melee? Would be kinda weird having your fancy new tank get torn to bits by a horde of tribals.

RedHook25

What is a landing strip? Does it work, like the ship landing beacons for the shuttles in vanilla?

Kovamess2003

Are there plans to create a warcasket-esque vehicle? A colonist is permanently entombed in a vehicle, If not full size car ,tank maybe an ATV. Body horror and Rimworld mix well.

Sondre

Will there be hovercrafts, that we can fill with Eels? (For trading of course)

Graded

Any plans for spacer and ultra tech vehicles?

Never

Hi, its very exciting to see news - especially about acceleration, suddenly its more complex than I thought. It won't cause big problem on performance, right? And I have one more question for the vehicles - will they count as a cover if pawns hide behind them?

Rubychoco

Will enemy raiders attack with vehicles? And will vehicles spawn in enemy or allied bases?

Guns Galore

Roughly how many tiers are planned? I know they aren't all just straight upgrades (i.e. the T1 vehicles seem better for offroading than T2 ones), but I'm guessing things like advanced modern vehicles (i.e. jets or attack helicopters) and later spacer-tech stuff would mean at least 2 more? Also, with Warwalkers coming eventually, will there be a Mechanoid variant?

Patrick Laubscher

Wonderful ! Your work are incredible. I guess that this is the first step for more futuristic vehicule to be implemented too?

Computica

I think the Snatcher really needs a name change.