Author Topic: How do I make spaced vehicles faster?  (Read 4997 times)

So I did (vehicle)vehicle.maxWheelSpeed = 99.9;,But when I do Formula_1vehicle.maxWheelSpee d = 99.9 and it did nothing.

Not sure about this but I do know you need to look at the vehicle and type /getid, it requires an object ID somewhere in it.

No it doesn't. You probably have the datablock name wrong. Look into the add-on some more.
If that's not it, search the add-on itself for maxwheelspeed and see how they used it.

Maybe its like Formula_1.vehicle? I don't think it would just be Formula_1vehicle without a space or period or anything.

Maybe its like Formula_1.vehicle? I don't think it would just be Formula_1vehicle without a space or period or anything.
Do you even code

if you put it in exactly as you said, you should've gotten an error
you're missing the ; at the end, which you had for the first one, but not the second

No it doesn't. You probably have the datablock name wrong. Look into the add-on some more.
If that's not it, search the add-on itself for maxwheelspeed and see how they used it.
That was the exact name of the vehicle.

It is very possible that Torque has some limit. load up the un-edited formula, do talk(formula_1vehicle.maxwheelspee d); and tell us what it says. If that's not it, then maybe try looking into the acceleration.

Vehicles are static shapes until they move.

Maybe it needs to be moving?

Vehicles are static shapes until they move.

Maybe it needs to be moving?
where did you pull that out of?

It is very possible that Torque has some limit. load up the un-edited formula, do talk(formula_1vehicle.maxwheelspee d); and tell us what it says. If that's not it, then maybe try looking into the acceleration.
It says nothing

The datablock is obviously not called formula_1vehicle then. Do this to find out the real datablock name:

  • Spawn one of the vehicles
  • Look at the spawned vehicle ans say /getid
  • Type echo(idhere.getdatablock().getname()); in the console
  • You'll get the datablock name in your console
  • Than type datablockhere.maxwheelspeed = 99; transmitdatablocks(); to do what you wanted

cars in tge are very alienic to me
if the formula has more than 300 mass, it cannot reach more than 99.9 torque units
herr ex:
====•mass•=======
100 = 199.9 torque units
200 = 149.9 torque units
300 = 99.9   torque units

sometimes it depends on the cars wheels
might also explain why my most of my v0002 cars can reach 149.9 TU
note: why use BPS? :(

The datablock is obviously not called formula_1vehicle then. Do this to find out the real datablock name:

  • Spawn one of the vehicles
  • Look at the spawned vehicle ans say /getid
  • Type echo(idhere.getdatablock().getname()); in the console
  • You'll get the datablock name in your console
  • Than type datablockhere.maxwheelspeed = 99; transmitdatablocks(); to do what you wanted
It worked! Thanks.