diff --git a/scripts/Base/Addons/VehicleObject.reds b/scripts/Base/Addons/VehicleObject.reds index a8b1214a..ab30306e 100644 --- a/scripts/Base/Addons/VehicleObject.reds +++ b/scripts/Base/Addons/VehicleObject.reds @@ -1,2 +1,14 @@ @addField(VehicleObject) -native let isOnGround: Bool; \ No newline at end of file +native let isOnGround: Bool; + +@addField(VehicleObject) +native let acceleration: Float; + +@addField(VehicleObject) +native let deceleration: Float; + +@addField(VehicleObject) +native let isReversing: Bool; + +@addField(VehicleObject) +native let burnout: Float; \ No newline at end of file diff --git a/src/App/Entity/VehicleObjectEx.hpp b/src/App/Entity/VehicleObjectEx.hpp index 97cee233..8dfa9203 100644 --- a/src/App/Entity/VehicleObjectEx.hpp +++ b/src/App/Entity/VehicleObjectEx.hpp @@ -2,4 +2,8 @@ RTTI_EXPAND_CLASS(Red::vehicleBaseObject, { RTTI_PROPERTY(isOnGround); + RTTI_PROPERTY(acceleration); + RTTI_PROPERTY(deceleration); + RTTI_PROPERTY(isReversing); + RTTI_PROPERTY(burnout); });