Changing vehicle speed

Has anyone managed this? I thought I had at least changed the torque at some point but I've lost that code.
9 Replies
SirDigby
SirDigbyOP7d ago
Ok, I think I just answered my own question. This seems to affect acceleration and such but I'm guessing the top speed is being limited in the vanilla code somewhere
No description
Robb
Robb7d ago
I think SifVerT had a vehicle tweaks mod but if I recall correctly it did handling and not top speed
SirDigby
SirDigbyOP7d ago
Note to self, don't disable tick - speed limiting isn't happening there
No description
SirDigby
SirDigbyOP7d ago
Was thinking maybe they were doing something like this
No description
SirDigby
SirDigbyOP7d ago
Yeah, they must be imposing a hard speed limit somewhere
Robb
Robb7d ago
I'm not sure, if you drive a vehicle down a steep slope can you get a higher top speed than flat ground?
SirDigby
SirDigbyOP7d ago
Nope I did find this in FGWheeledVehicle but changing it doesn't seem to do anything
UFUNCTION( BlueprintCallable, Category = "Vehicle" )
void SetSpeedLimit( int speedLimit ) { mSpeedLimit = speedLimit; }
UFUNCTION( BlueprintCallable, Category = "Vehicle" )
void SetSpeedLimit( int speedLimit ) { mSpeedLimit = speedLimit; }
Rex
Rex3d ago
What is different between the various vehicles in the game? IIRC they have different speeds
magicalwords
magicalwords3d ago
It's dirty but look for the move component that contains FVehicleEngineConfig , definitely can increase the max speed / acceleration (max rpm / rev rates) but things get slippery. Mario cart mod soon(tm). Probably the setter touches the torque curve here you could try changing the transmission config instead. you may have to change max speed in addition, idk

Did you find this page helpful?