0verHeaT Posted September 26, 2014 Author Report Share Posted September 26, 2014 ive noticed you need the key to your vehicle in your toolbelt to bring up the menu, Maybe this is your problem? Loving the script Nice job OverHeaT, but still buggy for most of the vehicles. how wouldd i go about fixing these vehicles to retexture? i see some of the colouring when you are so far from the vehicle but part painted as you get closer the original skin pops back. coulkd this be to the vehicle being skinned in parts and will not show untill fully complete Instead of irstrobe, increase the coin price? you will only end up buying it from trader anyways Many Thanks It's like Zupa and I said, not every vehicle can be retextured. For others the textures are buggy. Unfortunately, you can't change this. You can change the coin price in your player_paint.sqf by setting the value of ColourPrice to anything you want. Link to comment Share on other sites More sharing options...
emwilsh Posted September 26, 2014 Report Share Posted September 26, 2014 some vehicle have multiple layers should i say from what i read of the vehicle retexture page you carnt do one layer without doing the others (become invisible) or it will stay the original skin and at a distance you will see the paint covering part of the vehicle and the grayish white vehicle underneath. Painting these missing bits may sort out the bugging out maybe? i tried with the vodnik armed one and painted the front end and the gun worked but not the backend. could see the original skin but at a distance i could see paint. yeah i was saying to increase the price _instead_ of adding the irstrobe but goldbar sub would be cool for non SC sorry for rambiling or any confision just finished 12 hour shift many thanks Link to comment Share on other sites More sharing options...
DaBi Posted September 26, 2014 Report Share Posted September 26, 2014 Just attempted to install this and spawned in with broken legs and grey screen, was getting alot of RPT errors but I think this might be down to not having access to Infistar files as I host with GTX who provide a free version. Might try sending them a message with the fix needed and see if they can implement it there end. Looks a very cool script. Link to comment Share on other sites More sharing options...
Pro_Speedy Posted September 26, 2014 Report Share Posted September 26, 2014 Just attempted to install this and spawned in with broken legs and grey screen, was getting alot of RPT errors but I think this might be down to not having access to Infistar files as I host with GTX who provide a free version. Might try sending them a message with the fix needed and see if they can implement it there end. Looks a very cool script. Check your cleint RPT sounds like an issue in your variables.sqf Link to comment Share on other sites More sharing options...
bigskwish Posted September 26, 2014 Report Share Posted September 26, 2014 bigskwish Does this work maty? "Plane", "Tank", "Car", "Helicopter", "Motorcycle", "Ship" instead of adding classes of vehicles can become a lot if you run multple mods havent had a chance to check if it will work for arrays will post back when i do Link to comment Share on other sites More sharing options...
emwilsh Posted September 26, 2014 Report Share Posted September 26, 2014 havent had a chance to check if it will work for arrays will post back when i do Probly best stick with classname untill it become less buggy with differnt vehicles Link to comment Share on other sites More sharing options...
Mig Posted September 26, 2014 Report Share Posted September 26, 2014 a kind soul could control my files ? :( Link to comment Share on other sites More sharing options...
DaBi Posted September 26, 2014 Report Share Posted September 26, 2014 Check your cleint RPT sounds like an issue in your variables.sqf These are the errors my RPT throws up needUpdate_> 10:50:07 Error Undefined variable in expression: needupdate_objects 10:50:07 File z\addons\dayz_server\compile\server_updateObject.sqf, line 186 10:50:07 Error in expression <")); _isbuildable = (typeOf _object) in dayz_allowedObjects; _isNotOk = false; _> 10:50:07 Error position: <dayz_allowedObjects; _isNotOk = false; _> 10:50:07 Error Undefined variable in expression: dayz_allowedobjects 10:50:07 File z\addons\dayz_server\compile\server_updateObject.sqf, line 14 10:50:07 Error in expression <; _dam = _x select 1; if (_selection in dayZ_explosiveParts && _dam > 0.8) then > 10:50:07 Error position: <dayZ_explosiveParts && _dam > 0.8) then > 10:50:07 Error Undefined variable in expression: dayz_explosiveparts 10:50:07 File z\addons\dayz_server\compile\server_publishVehicle.sqf, line 107 10:50:07 Error in expression <bject_damage; } else { if (!(_object in needUpdate_objects)) then { needUpdate_> 10:50:07 Error position: <needUpdate_objects)) then { They only get shown when this was added Pro_Speedy 1 Link to comment Share on other sites More sharing options...
ftshill Posted September 26, 2014 Report Share Posted September 26, 2014 on our version of the vehicle paint script, together with Zupa we have created a menu which blocks you from being able to paint the vehicles which are bugged, as over the past few weeks players have been complaining about buy our paint and not being able to apply it.. Link to comment Share on other sites More sharing options...
Zupa Posted September 26, 2014 Report Share Posted September 26, 2014 Hey Zupa, Would you be kind enough to show us how this would be done? Thanks QUickly converting this to overheat file structure/ variable names ( SINGLE CURRENCY) i use maca's right click: class IRStrobe { class PaintCar1 { text = "Paint Vehicle"; script = "call player_paint;"; }; }; then change your vehicleColourPaint.sqf to private ["_colour","_colour2","_playerWealth","_PUID"]; _PUID = (getPlayerUID player); _playerWealth = player getVariable["cashMoney",0]; if (ColourPrice > _playerWealth) exitWith {titleText ["You do not have enough money to repaint your vehicle!","PLAIN DOWN"];}; _colour = ""+str((sliderPosition 5700) / 10)+","+str((sliderPosition 5701) / 10)+","+str((sliderPosition 5702) / 10)+",1"; _colour2 = ""+str((sliderPosition 6700) / 10)+","+str((sliderPosition 6701) / 10)+","+str((sliderPosition 6702) / 10)+",1"; _toPaint = vehicle player; if(_toPaint != player && driver _toPaint == player )then { PVDZE_veh_Colour = [VehicleToPaint,_colour,_colour2,_PUID,dayz_playerName]; publicVariableServer "PVDZE_veh_Colour"; [player,"IRStrobe"] call BIS_fnc_invRemove; titleText ["Vehicle has been repainted! Please wait a moment for the texture to update!","PLAIN DOWN"]; player setVariable["cashMoney",(_playerWealth - ColourPrice),true]; }else{ cutText ["You need to be the driver to change the color.","plain"]; }; put Colourprice to 0 if u want it to be free, since you probably pay for the item). Link to comment Share on other sites More sharing options...
DaBi Posted September 26, 2014 Report Share Posted September 26, 2014 QUickly converting this to overheat file structure/ variable names ( SINGLE CURRENCY) i use maca's right click: class IRStrobe { class PaintCar1 { text = "Paint Vehicle"; script = "call player_paint;"; }; }; then change your vehicleColourPaint.sqf to private ["_colour","_colour2","_playerWealth","_PUID"]; _PUID = (getPlayerUID player); _playerWealth = player getVariable["cashMoney",0]; if (ColourPrice > _playerWealth) exitWith {titleText ["You do not have enough money to repaint your vehicle!","PLAIN DOWN"];}; _colour = ""+str((sliderPosition 5700) / 10)+","+str((sliderPosition 5701) / 10)+","+str((sliderPosition 5702) / 10)+",1"; _colour2 = ""+str((sliderPosition 6700) / 10)+","+str((sliderPosition 6701) / 10)+","+str((sliderPosition 6702) / 10)+",1"; _toPaint = vehicle player; if(_toPaint != player && driver _toPaint == player )then { PVDZE_veh_Colour = [VehicleToPaint,_colour,_colour2,_PUID,dayz_playerName]; publicVariableServer "PVDZE_veh_Colour"; [player,"IRStrobe"] call BIS_fnc_invRemove; titleText ["Vehicle has been repainted! Please wait a moment for the texture to update!","PLAIN DOWN"]; player setVariable["cashMoney",(_playerWealth - ColourPrice),true]; }else{ cutText ["You need to be the driver to change the color.","plain"]; }; put Colourprice to 0 if u want it to be free, since you probably pay for the item). Thanks for this Zupa, one more thing I am using your single currency script and so should I change - _playerWealth = player getVariable["cashMoney",0]; to: _playerWealth = player getVariable["headShots",0]; and: player setVariable["cashMoney",(_playerWealth - ColourPrice),true]; to: player setVariable["headShots",(_playerWealth - ColourPrice),true]; Link to comment Share on other sites More sharing options...
Zupa Posted September 26, 2014 Report Share Posted September 26, 2014 Thanks for this Zupa, one more thing I am using your single currency script and so should I change - _playerWealth = player getVariable["cashMoney",0]; to: _playerWealth = player getVariable["headShots",0]; and: player setVariable["cashMoney",(_playerWealth - ColourPrice),true]; to: player setVariable["headShots",(_playerWealth - ColourPrice),true]; yes mate, cashMoney is also my script you know, just slighly modified ^^ Link to comment Share on other sites More sharing options...
Pro_Speedy Posted September 26, 2014 Report Share Posted September 26, 2014 These are the errors my RPT throws up needUpdate_> 10:50:07 Error Undefined variable in expression: needupdate_objects 10:50:07 File z\addons\dayz_server\compile\server_updateObject.sqf, line 186 10:50:07 Error in expression <")); _isbuildable = (typeOf _object) in dayz_allowedObjects; _isNotOk = false; _> 10:50:07 Error position: <dayz_allowedObjects; _isNotOk = false; _> 10:50:07 Error Undefined variable in expression: dayz_allowedobjects 10:50:07 File z\addons\dayz_server\compile\server_updateObject.sqf, line 14 10:50:07 Error in expression <; _dam = _x select 1; if (_selection in dayZ_explosiveParts && _dam > 0.8) then > 10:50:07 Error position: <dayZ_explosiveParts && _dam > 0.8) then > 10:50:07 Error Undefined variable in expression: dayz_explosiveparts 10:50:07 File z\addons\dayz_server\compile\server_publishVehicle.sqf, line 107 10:50:07 Error in expression <bject_damage; } else { if (!(_object in needUpdate_objects)) then { needUpdate_> 10:50:07 Error position: <needUpdate_objects)) then { They only get shown when this was added Send me your variables. Sqf Link to comment Share on other sites More sharing options...
Joshi120 Posted September 26, 2014 Report Share Posted September 26, 2014 Hey :) thanks for Releasing this but i have one question ^^ is it possible to let the users chose Skins ? i have some custom skins for my suv's as example Link to comment Share on other sites More sharing options...
Backtrack Posted September 26, 2014 Report Share Posted September 26, 2014 i got this error 1:02:06 Error Nicht definierte Variable in Ausdruck: dayz_allowedobjects 1:02:06 File z\addons\dayz_server\compile\server_updateObject.sqf, line 23 1:02:06 Error in expression <; _dam = _x select 1; if (_selection in dayZ_explosiveParts and _dam > 0.8) then> 1:02:06 Error position: <dayZ_explosiveParts and _dam > 0.8) then> 1:02:06 Error Nicht definierte Variable in Ausdruck: dayz_explosiveparts 1:02:06 File z\addons\dayz_server\compile\server_publishVehicle.sqf, line 103 1:02:06 "LOAD OBJECT ID: \cache\objects\11942192043012.sqf" 1:02:06 "OBJECT ID CACHE: ["PASS","10801"]" 1:02:06 "CUSTOM: Selected "10801"" 1:02:06 Error in expression <bject_damage; } else { if (!(_object in needUpdate_objects)) then { needUpdate_> 1:02:06 Error position: <needUpdate_objects)) then { needUpdate_> 1:02:06 Error Nicht definierte Variable in Ausdruck: needupdate_objects 1:02:06 File z\addons\dayz_server\compile\server_updateObject.sqf, line 313 1:02:06 Error in expression <")); _isbuildable = (typeOf _object) in dayz_allowedObjects; _isNotOk = false; _> 1:02:06 Error position: <dayz_allowedObjects; _isNotOk = false; After that error i change somethin in server_monitor and get this error if > 1:14:38 Error Nicht definierte Variable in Ausdruck: dayz_serverobjectmonitor 1:14:38 File mpmissions\__cur_mp.chernarus\addons\SARGE\SAR_vehicle_fix.sqf, line 32 1:14:43 Error in expression <yz_serverObjectMonitor; sleep 5; Link to comment Share on other sites More sharing options...
NorthyPark Posted September 27, 2014 Report Share Posted September 27, 2014 YES! my thread about this has finally become a real script! thank you guys! xoxo don2k7 1 Link to comment Share on other sites More sharing options...
don2k7 Posted September 27, 2014 Report Share Posted September 27, 2014 agree with northypark, glad its finally available. big thanks to you guys for making it possible my question is would it be ok and possible to change the requirements for respraying so that rather than cash it was the stencils and spray cans which were needed and if the items were there then it would respray the vehicle to a predefined skin? Link to comment Share on other sites More sharing options...
SgtStone Posted September 27, 2014 Report Share Posted September 27, 2014 I have a little problem, the script works but when i use pain in the scroll menu come this: Resource VehicleColour Dialog not found but the .hpp is in the Paint file. Anyone a idea? Link to comment Share on other sites More sharing options...
0verHeaT Posted September 27, 2014 Author Report Share Posted September 27, 2014 I have a little problem, the script works but when i use pain in the scroll menu come this: Resource VehicleColour Dialog not found but the .hpp is in the Paint file. Anyone a idea? sounds like you didn't inlcude these in your description.ext #include "Paint\defines.hpp" #include "Paint\vehiclecolour.hpp" SgtStone 1 Link to comment Share on other sites More sharing options...
SgtStone Posted September 27, 2014 Report Share Posted September 27, 2014 oh man, i forgot to save the file, embarrassing >.< Link to comment Share on other sites More sharing options...
DimitriPokki Posted September 28, 2014 Report Share Posted September 28, 2014 how to add more colour to paint ?? Link to comment Share on other sites More sharing options...
Zupa Posted September 28, 2014 Report Share Posted September 28, 2014 how to add more colour to paint ?? All collors are made with red, green, blue, just saying. With those sliders you can make any color. Link to comment Share on other sites More sharing options...
Cubitron Posted September 28, 2014 Report Share Posted September 28, 2014 Works great ty for this Link to comment Share on other sites More sharing options...
noaber Posted September 28, 2014 Report Share Posted September 28, 2014 I get the paint option in scrolling.. But once it says waiting for texture to update nothing happens.. I tried restarting the server (maybe it would update then but nothing) Am i just to impatient and have to wait longer..? Or did something go wrong here? Link to comment Share on other sites More sharing options...
PeterBeer Posted September 28, 2014 Report Share Posted September 28, 2014 I get the paint option in scrolling.. But once it says waiting for texture to update nothing happens.. I tried restarting the server (maybe it would update then but nothing) Am i just to impatient and have to wait longer..? Or did something go wrong here? Only some vehicle can get textures, If you have the default vehicles then it don't work go over the install guide again 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