Jump to content

Vehicle Armor Mod problem


Recommended Posts

Hey all,  I am working on an Armor mod for vehicles that changes the DegradationMax, FuelUse and Velocity of the vehicle that it is equipped on.

With heavier armor the Fuel use goes up and the velocity goes down.

 

So far everything is working except when I equip the mod on a vehicle it only works if I have the vehicle in hand and then place it in the world.  If I try to add the mod to a vehicle already in the world the DegradationMax change never takes place. 

 

Also, this would allow for people to abuse the armor mod by adding the armor and then removing it after placing the vehicle so as to negate the bad effects of armor.

 

I think what I am needing is a way to change the max hitpoints of an entity in game when I put a mod on it.

 

Any help would be appreciated.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...