HarryNutz Posted July 27, 2016 Report Share Posted July 27, 2016 So I'm wondering if anyone knows how to make vehicles retain their color during a restart, like how clothes do and if you could point me in the right direction so I can see if our head admin can find the time to add the ability to our server? Link to comment Share on other sites More sharing options...
rvg?! Posted July 27, 2016 Report Share Posted July 27, 2016 Custom color? setObjectTextureGlobal? Link to comment Share on other sites More sharing options...
HarryNutz Posted July 27, 2016 Author Report Share Posted July 27, 2016 Ok so to explain in more detail, we go to a gas station and have the option for a paint shop to paint our vehicle, backpack and uniform. When the server restarts and we load back in, our clothes always remain whatever color we painted them, but vehicles always have to be taken back to the service station paint shop to be painted again... was hoping someone was familiar with this and knew of a way that the vehicles wouldn't keep losing the color and having to be repainted as it becomes annoyingly repetitious. Link to comment Share on other sites More sharing options...
rvg?! Posted July 27, 2016 Report Share Posted July 27, 2016 Had this script in the beginning but wasnt really happy with, so i didnt dip deeper into it. You could pick the OwnerID for the vehicle and save with the choosen color to profilenamespace or redis. Link to comment Share on other sites More sharing options...
vbawol Posted July 28, 2016 Report Share Posted July 28, 2016 Hey guys, This config controls the texture persistence feature in Epoch: https://github.com/EpochModTeam/Epoch/blob/release/Sources/epoch_server_settings/configs/CfgEpochVehicles.h Link to comment Share on other sites More sharing options...
HarryNutz Posted July 28, 2016 Author Report Share Posted July 28, 2016 3 hours ago, vbawol said: Hey guys, This config controls the texture persistence feature in Epoch: https://github.com/EpochModTeam/Epoch/blob/release/Sources/epoch_server_settings/configs/CfgEpochVehicles.h Thanks vbawaol... But is the paint shop feature a part of these settings you are pointing to? If so could you be a little more specific about what needs to be done for the paint shop colors to persist? If you have the time that is... and I appreciate it either way. Link to comment Share on other sites More sharing options...
vbawol Posted July 28, 2016 Report Share Posted July 28, 2016 1 hour ago, HarryNutz said: Thanks vbawaol... But is the paint shop feature a part of these settings you are pointing to? If so could you be a little more specific about what needs to be done for the paint shop colors to persist? If you have the time that is... and I appreciate it either way. Do you have a link to the paint shop code? One would need to make use of our configs to use our system to add persistent preset textures or colors. If your using dynamic colors we might be able to support that as a additional database value. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now