davetd Posted September 8, 2014 Report Share Posted September 8, 2014 Hey, I have a question that I wanted to see if someone could answer. If I change the appearance of a vehicle in my wheeled.pbo file (the paa file) on the server will people on my server be able to see the difference? Which paa file do they use, the one in their client files or the one on the server? I am trying to change some vehicles but I don't want a crap ton of paa files in my mission file making it huge so I just wanted to try to change the files in the pbo file. Thanks Link to comment Share on other sites More sharing options...
f3cuk Posted September 8, 2014 Report Share Posted September 8, 2014 I don't think you have another choice then to put them in your mission PBO. Link to comment Share on other sites More sharing options...
davetd Posted September 8, 2014 Author Report Share Posted September 8, 2014 Oh well, thanks. Link to comment Share on other sites More sharing options...
davetd Posted September 9, 2014 Author Report Share Posted September 9, 2014 Well, if I have to use the mission file how do you a vehicle that has more than one paa file for the the skin? I already have some skins working but I just put in my init file if (this vehicle) then use (this skin) or something similiar. Im just not sure how you would do a chinook or the cop car, both of which use at least 2 paa files. Link to comment Share on other sites More sharing options...
Logi Posted September 9, 2014 Report Share Posted September 9, 2014 I have not tried this myself but according to BI ( https://community.bistudio.com/wiki/setObjectTexture ), for setting textures you would use: object setObjectTexture [selectionNumber,texture] The example given is: _objectname setObjectTexture [0, "\pboname\texture.paa"]; _objectname setObjectTexture [1, "\pboname\texture2.paa"]; So I assume you would probably have something like: if (_class == "SUV_Blue") then { _object setVehicleInit "this setObjectTexture [0, ""textures\suv_blue_texture1.paa""]"; _object setVehicleInit "this setObjectTexture [1, ""textures\suv_blue_texture2.paa""]" }; I could be wrong though. Link to comment Share on other sites More sharing options...
davetd Posted September 9, 2014 Author Report Share Posted September 9, 2014 I'll try it and see what happens, thanks. :) Link to comment Share on other sites More sharing options...
CH!LL3R Posted September 9, 2014 Report Share Posted September 9, 2014 Hi, I have some custom-skins running on my server. The code for the C130 looks like this (Body and Wing: if (_object isKindOf "C130J_US_EP1") then { _object setVehicleInit "this setObjectTexture [0, ""custom\textures\c130_body.paa""]; this setObjectTexture [1, ""custom\textures\c130_wings.paa""]"; Link to comment Share on other sites More sharing options...
davetd Posted September 9, 2014 Author Report Share Posted September 9, 2014 Thank you Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now