Author Topic: Vehicle Changeing During Game  (Read 409 times)

Can a vehicle upgrade system (like fig. 1 below) be done during the game or would it totally screw up and not be possible. I wouldn't like 80 different vehicles (Jeep Steering 1 Brakes 3, Jeep Steering 2 Brakes, 3 etc...). If the method of modifying the actual vehicle isn't possible, is there a way around it.


Fig. 1
Jeep
     -Upgrades
          =Steering
               +Modify Vehicle Friction
          =Brakes
               +Modify Vehicle Brake Torque
etc...


Blocko Car
     -Upgrades
          =Steering
               +Modify Vehicle Friction
          =Brakes
               +Modify Vehicle Brake Torque
etc...


As much as this sounds interesting, you would need several different datablocks (however it could be scripted to accept upgrades)
However, this would cause a really high datablock count. Perhaps an engine change for having modifiers on each individual object to go with the engine physics.
Example; adding  %obj.wheelFrictionMod = "10";   or something like that.

I'm sure I saw something ages ago where Badspot said you could do that to players - set their move speed individually or something - but it never worked for me.

The only thing I know about setting individual speed is with scaling and playing with setVelocity.
Did he say how one should do that?