NML - Changing cargo amount in a vehicle
Posted: 26 Jul 2020 04:17
I'm pretty sure what I want to do isn't possible at the moment, but anyway...
Even though coal was much more efficient, american steam locomotives often used wood burners because coal was hard to come by. So my idea was to actually make this a part of the gameplay.
By default, early steam locomotives will use wood and water as fuel, but I want to make the player to be able to refit them to use coal (and later oil) as fuel instead. However, my idea is to create some kind of trade-off, such as:
Wood burner:
+ Only water is needed as fuel
+ Low running cost
- Lower speed
- Less power
Coal/oil burner:
+ Better speed
+ Better power
- Higher running cost
- Will suffer from reduced reliability and speed/power reduction if it runs out of fuel
So my idea was something like this:
- Locomotives can be refitted to carry a certain fuel, such as coal
- Fuel will eventually be consumed
- Stations and waypoints will serve as water towers
- The player will need to deliver Coal/oil to stations in order to keep the engine fueled
- Fuel should not be unloaded at stations, even if the station accept the cargo
Since there isn't a callback that let me control the amount of cargo and since I don't think any callbacks fire when you pass a waypoint, I guess this idea is not possible to implement (at the moment). But, I still wanted to check with you guys if you have any suggestions or ideas on how I can accomplish something similar? Perhaps I can change the cargo capacity instead of the amount of cargo and turn it back up when the locomotive arrives at a station?
Thanks in advance!
Even though coal was much more efficient, american steam locomotives often used wood burners because coal was hard to come by. So my idea was to actually make this a part of the gameplay.
By default, early steam locomotives will use wood and water as fuel, but I want to make the player to be able to refit them to use coal (and later oil) as fuel instead. However, my idea is to create some kind of trade-off, such as:
Wood burner:
+ Only water is needed as fuel
+ Low running cost
- Lower speed
- Less power
Coal/oil burner:
+ Better speed
+ Better power
- Higher running cost
- Will suffer from reduced reliability and speed/power reduction if it runs out of fuel
So my idea was something like this:
- Locomotives can be refitted to carry a certain fuel, such as coal
- Fuel will eventually be consumed
- Stations and waypoints will serve as water towers
- The player will need to deliver Coal/oil to stations in order to keep the engine fueled
- Fuel should not be unloaded at stations, even if the station accept the cargo
Since there isn't a callback that let me control the amount of cargo and since I don't think any callbacks fire when you pass a waypoint, I guess this idea is not possible to implement (at the moment). But, I still wanted to check with you guys if you have any suggestions or ideas on how I can accomplish something similar? Perhaps I can change the cargo capacity instead of the amount of cargo and turn it back up when the locomotive arrives at a station?
Thanks in advance!