FartParty 10 Posted October 27, 2013 (edited) i'm working on a greek police car texture for the offroad, but it's based on other custom textures, so it's difficult to edit is there a way i can get the original texture so i can edit it from scratch? thanks edit: on a related note, is there a police version of the SUV or hatchback, as with the offroad? Edited October 27, 2013 by FartParty Share this post Link to post Share on other sites
Lala14 135 Posted October 27, 2013 I believe there are no police variants of the suv or hatchback. the location of the offroad's textures are in the soft_f folder or soft_f_gamma, to enable the police light follow the link below How to add Police lights and how to correctly apply the textures to the offroad Share this post Link to post Share on other sites
FartParty 10 Posted October 27, 2013 thanks, i tried to depbo the soft_f folder, but as expected, i can't, probably because it's encrypted how do i open it? Share this post Link to post Share on other sites
FartParty 10 Posted October 27, 2013 thanks, got it opened up now here's my texture for the police offroad, feel free to use it, either in your missions or as a basis for your own textures http://i.cubeupload.com/Zea0ot.jpg (104 kB) http://i.cubeupload.com/oPUfVn.png Share this post Link to post Share on other sites
Lala14 135 Posted October 27, 2013 (edited) your really good a texturing! here is a bit of a higher res picture! http://i.cubeupload.com/NKBsJX.jpg <1366 x 768(165 kB) http://i.cubeupload.com/S2o5sj.jpg (352 kB) < 1920 x 1080 http://i.cubeupload.com/5dYfl4.jpg (350 kB) < 1920 x 1080 + engine on also you might want this, Kylania's Police offraod beacon script! all you need to do is remove the setobject texture or add your own one in and your done! or do this this addAction ["Beacons On",{(_this select 0) animate ["BeaconsStart",1]},[],50,false,true,"","_target animationPhase 'BeaconsStart' < 0.5 AND Alive(_target) AND driver _target == _this"]; this addAction ["Beacons Off",{(_this select 0) animate ["BeaconsStart",0]},[],51,false,true,"","_target animationPhase 'BeaconsStart' > 0.5 AND Alive(_target) AND driver _target == _this"]; Edited October 27, 2013 by Lala14 Share this post Link to post Share on other sites
FartParty 10 Posted October 27, 2013 thanks, but i've already got that now i'm trying to get an actual siren going, very difficult Share this post Link to post Share on other sites
Lala14 135 Posted October 27, 2013 sirenon.sqf _car = _this select 0; this removeaction SirenOn; SirenOff = this addAction ["Beacons Off",{(_this select 0) animate ["BeaconsStart",0]},[],51,false,true,"","_target animationPhase 'BeaconsStart' > 0.5 AND Alive(_target) AND driver _target == _this"]; DCV_siren = true; While {DCV_siren} do { 0 fadesound 1; _car say "SirenPolice"; sleep 5; }; sirenoff.sqf _car = _this select 0; DCV_siren = false; 0 fadesound 1; _car say "SirenOff"; this removeaction SirenOff; SirenOn = _car addAction ["Beacons On",{(_this select 0) animate ["BeaconsStart",1]},[],50,false,true,"","_target animationPhase 'BeaconsStart' < 0.5 AND Alive(_target) AND driver _target == _this AND play "]; this script was taken from and modified from the following http://www.armaholic.com/forums.php?m=posts&q=3108 all your require is to find is a sound and then replace it where it says SirenPolice Share this post Link to post Share on other sites
FartParty 10 Posted October 27, 2013 thanks, you're a ton of help, but i'm actually trying to get it to work with another script that adds lights, maybe you can help me this is the script to make the cars and add the siren /* File: policeOffroad.sqf Author: Adapted from code by pettka Description: Sets proxies for the car to police, adds actions for sirens. Parameter(s): None Returns: Nothing */ if (isServer) then { _this animate ["HidePolice", 0]; _this animate ["HideServices", 0]; _this animate ["HideBackpacks", 1]; _this animate ["HideBumper1", 0]; _this animate ["HideBumper2", 0]; _this animate ["HideConstruction", 1]; }; _this setObjectTexture [0, "textures\police_offroad.paa"]; _this setObjectTexture [1, "\A3\soft_F\Offroad_01\Data\Offroad_01_ext_BASE02_CO.paa"]; _this addAction ["Siren On", {_this execVM "siren.sqf",(_this select 0) animate ["BeaconsStart",1]},[],50,false,true,"","_target animationPhase 'BeaconsStart' < 0.5 AND Alive(_target) AND driver _target == _this"]; _this addAction ["Siren Off", {(_this select 0) animate ["BeaconsStart",0]},[],51,false,true,"","_target animationPhase 'BeaconsStart' > 0.5 AND Alive(_target) AND driver _target == _this"]; and this is siren.sqf _vehicle = _this select 0; _lightRed = [5, 0.5, 0.5]; _lightBlue = [0.5, 0.5, 5]; lightleft = "#lightpoint" createVehicle getpos _vehicle; lightleft setLightColor _lightRed; lightleft setLightBrightness 0.3; lightleft setLightAmbient _lightRed; lightleft lightAttachObject [_vehicle, [-3, 0.8, 0]]; lightleft setLightAttenuation [3, 0, 0, 0.6]; lightright = "#lightpoint" createVehicle getpos _vehicle; lightright setLightColor _lightBlue; lightright setLightBrightness 0.3; lightright setLightAmbient _lightBlue; lightright lightAttachObject [_vehicle, [3, 0.8, 0]]; lightright setLightAttenuation [3, 0, 0, 0.6]; _leftRed = true; while{true} do { if(_leftRed) then { _leftRed = false; lightleft setLightColor _lightRed; lightleft setLightAmbient _lightRed; lightright setLightColor _lightBlue; lightright setLightAmbient _lightBlue; _vehicle say3d "siren"; } else { _leftRed = true; lightleft setLightColor _lightBlue; lightleft setLightAmbient _lightBlue; lightright setLightColor _lightRed; lightright setLightAmbient _lightRed; }; sleep 2; }; currently, it works perfectly, save for the fact that I can't turn the lights and sound off once they're on Share this post Link to post Share on other sites
Lala14 135 Posted October 28, 2013 thats because the siren needs to be turned off! the script for siren.sqf is run and wont end unless you remove it i suggest creating something called sirenoff.sqf and putting this in _vehicle = _this select 0; _lightRed = [5, 0.5, 0.5]; _lightBlue = [0.5, 0.5, 5]; _leftRed = false; _vehicle say3d "sirenoff"; //<- not sure really on how to turn this off Share this post Link to post Share on other sites
Lala14 135 Posted December 18, 2013 actually, all u need to do is just make _leftRed = false and that will turn the siren off and what not Share this post Link to post Share on other sites