-
Content Count
203 -
Joined
-
Last visited
-
Medals
Everything posted by bloodxgusher
-
Removing city names from the map
bloodxgusher replied to tyrspawn's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Any Luck with this so far? -
Small Script
bloodxgusher replied to bloodxgusher's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Yes that is correct. What I want him to do is constantly drive to points on the map, wait for specific times. then head to the next waypoint. Init of the bus. The bus is named Chernarus1 this allowdamage false; Chernarus1 = this spawn { while {alive _this} do { _this setFuel 1; sleep 10 } }; Chernarus1 lockdriver true; Init of the Driver. The Driver is named BusDriverBill this allowdamage false; BusDriverBill assignasdriver Chernarus1; [busDriverBill] ordergetin true; BusDriverBill moveindriver Chernarus1; _combat = behaviour BusDriverBill Maybe you can see what im may be doing wrong. Now this will be multiplayer so I wanted two things to happen. No other player who has connected to be able to get in the driver seat of the bus at all and the designated driver of the bus to constantly stay in the bus regardless of what is going on outside of the bus. Movein order helps but does not instantly put the driver back in once he gets out or is it suppose to act another way? -
Small Script
bloodxgusher replied to bloodxgusher's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Lol I just tried this...AI's are stuborn bastards. He gets out...does a circle and then stops looks for about 20 secs then gets back in... Would setting behavior dictate at all how AI react to gun fire. Also would the unit type matter. The Unit i am currently using is a Civilian Pilot. Now I got this bit of code from the website you sent me. Any suggestions on how to rework this into making my driver who's name is BusDriverBill the only one who can drive the bus? _vehicleType = _this select 0; // "Helicopter" / "Tank" _crewType = _this select 1; // "US_Soldier_Pilot_EP1" //hint format["%1 - %2",_crewType, _vehicleType]; if (typeof player != _crewType) then { private "_v"; while {alive player} do { waituntil {vehicle player != player}; _v = vehicle player; if (_v iskindof _vehicleType && !(_v iskindof "ParachuteBase")) then { if (driver _v == player) then { player action ["eject",_v]; waituntil {vehicle player == player}; hint "We shall leave the piloting to those with the appropriate training."; }; }; }; }; Thanks all. -
Small Script
bloodxgusher replied to bloodxgusher's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Hey Kylania. I checked out your link and it works great. Thanks for posting. I was wondering if you all could help me farther with the locking of the driver position after a certain amount of time. In my Chernarus1 Bus Init box I have the following to nul = this spawn { while {alive _this} do { waituntil lockedDriver false; sleep 2; _this lockDriver Chernarus1; } }; I borrowed the same format from the infinite fuel script. Anyone know another way to go about this? -
Small Script
bloodxgusher replied to bloodxgusher's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Lol I are noooob...Thanks for the info. Question. does the { } brackets change how the game reads code from the ( ) brackets? By the way. When I place your correcting of my previous code if (Chernarus1 fuel < 0.5) then {Chernarus1 setfuel 1}; in the init line of Chernarus1 I get the following error "Missing )" Am I missing a symbol? -
Arma2 dedicated server howto
bloodxgusher replied to warlock2511's topic in ARMA 2 & OA - Servers & Administration
ok thanks for the clear up. -
Arma2 dedicated server howto
bloodxgusher replied to warlock2511's topic in ARMA 2 & OA - Servers & Administration
So for example If I want to call myserver "SpongeBob" I would create a folder in my Arma 2 main directory called @SpongeBob then put the Server.cfg and Arma2.cfg in that folder then so my target line would look like this now ]-name=Spongebob -config=spongebob\Server.cfg -cfg=spongebob\Arma2.cfg -profiles=spongebob Lol I know im off on something. Thanks again. -
Multiplayer Addons and Scripting
bloodxgusher posted a topic in ARMA 2 & OA : ADDONS - Configs & Scripting
Hello everyone. I have been looking around BIS Wiki and other random site on how to script in multiplayer for addon use, you know like trying to get things to sync and show up over network play so all players see what is going ingame. This includes opening doors, lights and such things. A lot of this information can be overwhelming. If there is anyone out there who can explain some general tips or tutorials on how to make things work over network that would be great. One example I would really like help with is Lights. Some addons have features that are only client sided and lights tend to be to be that problem. From what I have been reading this seems pretty simple by just adding a # or a _ but I have not been able to get this to work. Again all references and help would be appreciated. Thanks -
Artillery AI gunners firing same as a human player
bloodxgusher replied to tromac's topic in ARMA 2 & OA : ADDONS - Configs & Scripting
Looooooooooool I should have know. a Chinese website where they not only sell knives but Transformer watches as well !!!! Those darn Chinese they did it again !!! And yes throwing knives would be amazing There is a mod that lets you melee with a knife. -
Server Sided and Client Sided
bloodxgusher posted a topic in ARMA 2 & OA : ADDONS - Configs & Scripting
Deleted -
Allowing and Including Addons
bloodxgusher replied to bloodxgusher's topic in ARMA 2 & OA : ADDONS - Configs & Scripting
Perfect. Just wanted to conform this. :) -
Allowing and Including Addons
bloodxgusher posted a topic in ARMA 2 & OA : ADDONS - Configs & Scripting
Hey everyone. Im looking for some help with a mission I plan on hosting soon. I want to host CLR or Chernarus Revolution but with a specific addon. I've been looking for other post on this but have not found any yet so I figured I make one asking just in case. So yes basically I want to know how I go about adding a addon into the mission that people would have to download. I know for far I would have to get information from the master arrays and of course edit the server config i believe. If anyone knows a post that can help me pls direct me or tell me here. Thanks for reading. -
Allowing and Including Addons
bloodxgusher replied to bloodxgusher's topic in ARMA 2 & OA : ADDONS - Configs & Scripting
DISREGARD THIS LOL I JUST FIGURED IT OUT. I HAVE IT WORKING THANKS FOR THE INFO Brilliant help. Hey I just want to be clear on the process. I have been failing again. So in the config file of the Addon I am using Im taking excatly what info. Here is the config #define TEast 0 #define TWest 1 #define TGuerrila 2 #define TCivilian 3 #define TSideUnknown 4 #define TEnemy 5 #define TFriendly 6 #define TLogic 7 #define true 1 #define false 0 // type scope #define private 0 #define protected 1 #define public 2 #define WeaponNoSlot 0// dummy weapons #define WeaponSlotPrimary 1// primary weapons #define WeaponSlotSecondary 16// secondary weapons #define WeaponSlotItem 256// items #define WeaponSlotBinocular 4096// binocular #define WeaponHardMounted 65536 class CfgPatches { class dhi_FordCV <-- (I used that in the for the forced addons) { units[] = {dhi_cvpi_p71,dhi_cvpi_p71_b,dhi_cvpi_p71_t,dhi_cvpi_p71_gpd_patrol,dhi_cvpi_p71_gpd_slicktop,dhi_cvpi_p71_gpd_stealth,dhi_cvpi_p71_lapd_patrol,dhi_cvpi_p71_gpd_unmarked_w,dhi_cvpi_p71_gpd_unmarked_b}; weapons[] = {}; requiredVersion = 1.00; }; }; class cfgsounds { class fordcvstart { sound[]={"\DHI_FordCV\sounds\FordCvstart.wav",.10,1}; name="Crown Victoria Start"; titles[]={}; }; class fordcvdooropen { sound[]={"\DHI_FordCV\sounds\fordcvdooropen.wav",.10,1}; name="Crown Victoria Door O"; titles[]={}; }; class fordcvdoorclose { sound[]={"\DHI_FordCV\sounds\fordcvdoorclose.wav",.10,1}; name="Crown Victoria Door C"; titles[]={}; }; class whelensiren1 { sound[]={"\DHI_FordCV\sounds\whelensiren1.wav",.10,1}; name="Whelen Siren"; titles[]={}; }; class whelensiren2 { sound[]={"\DHI_FordCV\sounds\whelensiren2.wav",.10,1}; name="Whelen Siren 2"; titles[]={}; }; class whelensiren3 { sound[]={"\DHI_FordCV\sounds\whelensiren3.wav",.10,1}; name="Whelen Siren 3"; titles[]={}; }; class motorolaradiobeep { sound[]={"\DHI_FordCV\sounds\motorolaradiobeep.wav",.10,1}; name="motorolaradiobeep"; titles[]={}; }; class policeradiochatter { sound[]={"\DHI_FordCV\sounds\policeradiochatter.wav",.10,1}; name="Police Radio Chatter"; titles[]={}; }; class takedown { sound[]={"\DHI_FordCV\sounds\takedown.wav",.10,1}; name="Takedown"; titles[]={}; }; // class fordcvchime // { // sound[]={"\DHI_FordCV\sounds\fordcvchime.wav",.10,1}; // name="Crown Victoria Chime"; // titles[]={}; // }; }; class CfgWeapons { class Default; class CarHorn; class SportCarHorn; class DHI_FordCV_horn1: SportCarHorn { scope = 2; displayName = "Ford Crown Victoria Horn"; drySound[] = {"\DHI_FordCV\Sounds\DHI_FordCV_horn1.wav",.1,1}; }; class DHI_FordCV_horn2: SportCarHorn { scope = 2; displayName = "Whelen Airhorn"; drySound[] = {"\DHI_FordCV\Sounds\DHI_FordCV_horn2.wav",.1,1}; }; }; class CfgVehicleClasses { class Americas_Vehicles { displayName = "America's Vehicles"; }; }; class CfgVehicles { class All{}; class AllVehicles: All{}; class Land: AllVehicles{}; class LandVehicle: Land{}; class Car : LandVehicle { class Exhausts; class AnimationSources; }; class Car_sedan : Car {}; class dhi_cvpi_p71: Car_sedan { scope=public; vehicleClass="Americas_vehicles"; displayName="Ford Crown Victoria P71 Wht"; picture="\DHI_FordCV\icons\P71W.pac"; icon="\DHI_FordCV\icons\fordcv.pac"; model="\DHI_FordCV\dhi_cvpi_p71"; nameSound="car"; autocenter=false; accuracy=.90; canlock = true; crew="Civilian11"; side=3; type=1; typicalCargo[]={}; cargoIsCoDriver[] = {1,0 }; weapons[]={"DHI_FordCV_horn1"}; magazines[] = {}; unloadInCombat = false; class TransportWeapons{}; transportSoldier=3; transportMaxMagazines=0; transportMaxWeapons=0; viewCargoShadow = true; maxSpeed=209; turnCoef=1.9500000; terrainCoef=3.550000; brakeDistance=20.00; cost=30000; fuelCapacity=35; armorWheels=0.07; armor=18; // total armor armorStructural=8.0; // very low structural damage armorEngine=2.2; soundEngine[]={"\DHI_FordCV\sounds\engine.wav",.10,1}; soundGetIn[]={"\DHI_FordCV\sounds\getin.wav",.10,1}; soundGetOut[]={"\DHI_FordCV\sounds\getout.wav",.10,1}; soundGear[]={"\DHI_FordCV\sounds\gear.wav",.10,1}; soundCrash[]={"\DHI_FordCV\sounds\crash.wav",.10,1}; soundLandCrash[]={"\DHI_FordCV\sounds\crash.wav",.10,1}; selectionBrakeLights="brzdove svetlo"; selectionBackLights="zadni svetlo"; hiddenSelections[] = {"Backuplight","door1light","door3light","hubcaps","windowtint"}; class Exhausts { class exhaust1 { position = "vyfuk start"; direction = "vyfuk konec"; effect ="ExhaustsEffect"; }; class exhaust2:exhaust1 { position = "exhaust2start"; direction = "exhaust2end"; }; }; dammageHalf[]= { "\DHI_FordCv\windows1_ca.paa","\DHI_FordCv\windowsB_ca.paa", "\DHI_FordCv\windows_ca.paa","\DHI_FordCv\windowsB_ca.paa", "\DHI_FordCv\body_w.pac","\DHI_FordCV\body_w_B.pac" }; dammageFull[]= { "\DHI_FordCv\windows1_ca.paa","\DHI_FordCv\windowsC_ca.paa", "\DHI_FordCv\windows_ca.paa","\DHI_FordCv\windowsC_ca.paa", "\DHI_FordCv\body_w.pac","\DHI_FordCV\body_w_B.pac" }; class Library {libTextDesc = "Ford Crown Victoria P71 Police Interceptor. Ford Motor Company has made police work grad vehicles for polices departments for a long time.";}; class Reflectors { class Left { color[]={0.900000,0.800000,0.800000,1.000000}; ambient[]={0.100000,0.100000,0.100000,1.000000}; position="HDlightstart1"; direction="HDlightdir1"; hitpoint="HDlightstart1"; selection="HDlightstart1"; size=0.500000; brightness=0.500000; }; class Right { color[]={0.900000,0.800000,0.800000,1.000000}; ambient[]={0.100000,0.100000,0.100000,1.000000}; position="HDlightstart2"; direction="HDlightdir2"; hitpoint="HDlightstart2"; selection="HDlightstart2"; size=0.500000; brightness=0.500000; }; }; class MarkerLights { class taillightL { name = "taillightL"; color[] = {1.000000,0.100000,0.100000,1 }; ambient[] = {0.100000,0.010000,0.010000,1 }; brightness = 0.004000; blinking = "false"; }; class taillightr { name = "taillightr"; color[] = {1.000000,0.100000,0.100000,1 }; ambient[] = {0.100000,0.010000,0.010000,1 }; brightness = 0.004000; blinking = "false"; }; // class headlightL // { // name = "hdlightstart1"; // color[] = {0.100000,0.100000,0.100000,1 }; // ambient[] = {0.100000,0.010000,0.010000,1 }; // brightness = 0.004000; // blinking = "false"; // }; // class headlightr // { // name = "hdlightstart2"; // color[] = {0.000000,0.000000,0.000000,1 }; // ambient[] = {0.100000,0.010000,0.010000,1 }; // brightness = 0.004000; // blinking = "false"; // }; }; class HitEngine {armor = 0.4;material = 60;name = "motor";visual = "motor";passThrough = 1;}; class HitBody {armor = 1;material = 51;name = "karoserie";visual = "karoserie";passThrough = 1;}; class HitFuel {armor = 0.3;material = 51;name = "palivo";passThrough = 1;}; class HitLFWheel {armor=0.38;material=-1;name="wheel_1_damper";visual="wheel_1";passThrough=0;}; class HitRFWheel {armor=0.38;material=-1;name="wheel_2_damper";visual="wheel_2";passThrough=0;}; class HitLBWheel {armor=0.38;material=-1;name="wheel_3_damper";visual="wheel_3";passThrough=0;}; class HitRBWheel {armor=0.38;material=-1;name="wheel_4_damper";visual="wheel_4";passThrough=0;}; class Damage { tex[] = {}; mat[] = { "DHI_FordCV\effects\bottom.rvmat", "DHI_FordCV\effects\bottom.rvmat", "DHI_FordCV\effects\bottom_destruct.rvmat", "DHI_FordCV\effects\body.rvmat", "DHI_FordCV\effects\body.rvmat", "DHI_FordCV\effects\body_destruct.rvmat", "DHI_FordCV\effects\interior.rvmat", "DHI_FordCV\effects\interior.rvmat", "DHI_FordCV\effects\interior_destruct.rvmat", "DHI_FordCV\effects\dash.rvmat", "DHI_FordCV\effects\dash.rvmat", "DHI_FordCV\effects\dash_destruct.rvmat" }; }; class AnimationSources: AnimationSources { class Zeroanimation { source = "user"; animPeriod = 0; initPhase=0; }; class OneSecondAnim { source = "user"; animPeriod = 1; initPhase=0; }; class FiveSecondAnim { source = "user"; animPeriod = 5; initPhase=0; }; }; class UserActions { class Opendoor1 { displayName ="Open Driver Door"; position = "pos_door1"; radius =1; onlyForplayer= false; condition = "this animationPhase ""ani_door1""<0.5 && speed this < 5"; statement = "this animate [""ani_door1"", 1], this setobjecttexture [1,""\DHI_FordCV\cvlights_ca.paa""], this say ""fordcvdooropen"", this exec ""\DHI_FordCV\scripts\doorind.sqs"""; }; class closedoor1 { displayName="Close Driver Door"; position="pos_door1"; radius=2; onlyForplayer= false; condition="this animationPhase ""ani_door1""==1"; statement="this animate [""ani_door1"", 0], this setobjecttexture [1,""""], this say ""fordcvdoorclose"", this exec ""\DHI_FordCV\scripts\doorind.sqs"""; }; class Opendoor2 { displayName ="Open Rear Door"; position = "pos_door2"; radius =1; onlyForplayer= false; condition = "this animationPhase ""ani_door2""<0.5 && speed this < 5"; statement = "this animate [""ani_door2"", 1], this say ""fordcvdooropen"", this exec ""\DHI_FordCV\scripts\doorind.sqs"""; }; class closedoor2 { displayName="Close Rear Door"; position="pos_door2"; radius=2; onlyForplayer= false; condition="this animationPhase ""ani_door2""==1"; statement="this animate [""ani_door2"", 0], this say ""fordcvdoorclose"", this exec ""\DHI_FordCV\scripts\doorind.sqs"""; }; class Opendoor3 { displayName ="Open Front Door"; position = "pos_door3"; radius =1; onlyForplayer= false; condition = "this animationPhase ""ani_door3""<0.5 && speed this < 5"; statement = "this animate [""ani_door3"", 1], this setobjecttexture [2,""\DHI_FordCV\cvlights_ca.paa""], this say ""fordcvdooropen"", this exec ""\DHI_FordCV\scripts\doorind.sqs"""; }; class closedoor3 { displayName="Close Front Door"; position="pos_door3"; radius=2; onlyForplayer= false; condition="this animationPhase ""ani_door3""==1"; statement="this animate [""ani_door3"", 0], this setobjecttexture [2,""""], this say ""fordcvdoorclose"", this exec ""\DHI_FordCV\scripts\doorind.sqs"""; }; class Opendoor4 { displayName ="Open Rear Door"; position = "pos_door4"; radius =1; onlyForplayer= false; condition = "this animationPhase ""ani_door4""<0.5 && speed this < 5"; statement = "this animate [""ani_door4"", 1], this say ""fordcvdooropen"", this exec ""\DHI_FordCV\scripts\doorind.sqs"""; }; class closedoor4 { displayName="Close Rear Door"; position="pos_door4"; radius=2; onlyForplayer= false; condition="this animationPhase ""ani_door4""==1"; statement="this animate [""ani_door4"", 0], this say ""fordcvdoorclose"", this exec ""\DHI_FordCV\scripts\doorind.sqs"""; }; class opentrunk { displayName="Open Trunk"; position="pos_trunk"; radius=1; onlyForplayer= false; condition="this animationPhase ""ani_trunk""<0.5"; statement="this animate [""ani_trunk"", 1]"; }; class closetrunk { displayName="Close Trunk"; position="pos_trunk"; radius=2; onlyForplayer= false; condition="this animationPhase ""ani_trunk""==1"; statement="this animate [""ani_trunk"", 0], this say ""fordcvdoorclose"""; }; }; class eventhandlers { init = "_this exec ""\DHI_FordCV\scripts\set.sqs"";"; engine = "_this exec ""\DHI_FordCV\scripts\backuplight.sqs"", _this exec ""\DHI_FordCV\scripts\checkenginelight.sqs"",_this exec ""\DHI_FordCV\scripts\fuellight.sqs"",_this exec ""\DHI_FordCV\scripts\gauges.sqs"";"; }; }; class dhi_cvpi_p71_b: dhi_cvpi_p71 { displayName="Ford Crown Victoria P71 Blk"; picture="\DHI_FordCV\icons\P71B.pac"; icon="\DHI_FordCV\icons\fordcv.pac"; model="\DHI_FordCV\dhi_cvpi_p71_b"; dammageHalf[]= { "\DHI_FordCv\windows1_ca.paa","\DHI_FordCv\windowsB_ca.paa", "\DHI_FordCv\windows_ca.paa","\DHI_FordCv\windowsB_ca.paa", "\DHI_FordCv\body_b.pac","\DHI_FordCV\body_b_b.pac" }; dammageFull[]= { "\DHI_FordCv\windows1_ca.paa","\DHI_FordCv\windowsC_ca.paa", "\DHI_FordCv\windows_ca.paa","\DHI_FordCv\windowsC_ca.paa", "\DHI_FordCv\body_b.pac","\DHI_FordCV\body_b_b.pac" }; }; class dhi_cvpi_p71_t: dhi_cvpi_p71 { displayName="Taxi Cab"; picture="\DHI_FordCV\icons\P71t.pac"; icon="\DHI_FordCV\icons\fordcv.pac"; model="\DHI_FordCV\dhi_cvpi_p71_T"; dammageHalf[]= { "\DHI_FordCv\windows1_ca.paa","\DHI_FordCv\windowsB_ca.paa", "\DHI_FordCv\windows_ca.paa","\DHI_FordCv\windowsB_ca.paa", "\DHI_FordCv\body_t.pac","\DHI_FordCV\body_t_b.pac" }; dammageFull[]= { "\DHI_FordCv\windows1_ca.paa","\DHI_FordCv\windowsC_ca.paa", "\DHI_FordCv\windows_ca.paa","\DHI_FordCv\windowsC_ca.paa", "\DHI_FordCv\body_t.pac","\DHI_FordCV\body_t_b.pac" }; }; class dhi_cvpi_p71_gpd_patrol: Car_sedan { scope=public; vehicleClass="Americas_vehicles"; displayName="GPD P71 Patrol"; picture="\DHI_FordCV\icons\P71gpd1.pac"; icon="\DHI_FordCV\icons\fordcv.pac"; model="\DHI_FordCV\dhi_cvpi_p71_gpd_patrol"; accuracy=6.90; crew="dhi_gpd_officer"; side=1; type=1; typicalCargo[]={}; cargoIsCoDriver[] = {1,0 }; weapons[]={"DHI_FordCV_horn2","DHI_FordCV_horn1"}; magazines[] = {}; unloadInCombat = true; class TransportWeapons{}; transportSoldier=3; transportMaxMagazines=0; transportMaxWeapons=0; viewCargoShadow = true; maxSpeed=209; turnCoef=1.9500000; terrainCoef=3.550000; brakeDistance=20.00; cost=30000; fuelCapacity=35; armorWheels=0.07; armor=18; // total armor armorStructural=8.0; // very low structural damage armorEngine=2.2; soundEngine[]={"\DHI_FordCV\sounds\engine.wav",.10,1}; soundGetIn[]={"\DHI_FordCV\sounds\getin.wav",.10,1}; soundGetOut[]={"\DHI_FordCV\sounds\getout.wav",.10,1}; soundGear[]={"\DHI_FordCV\sounds\gear.wav",.10,1}; soundCrash[]={"\DHI_FordCV\sounds\crash.wav",.10,1}; soundLandCrash[]={"\DHI_FordCV\sounds\crash.wav",.10,1}; selectionBrakeLights="brzdove svetlo"; selectionBackLights="zadni svetlo"; // // HIDDEN SELECTION // Inherient to all police vehicles // Includes extra slots for extra parts // NOTE: No door lights since these would have been disable with installation of police package. hiddenSelections[] = { "Backuplight", //...................... 1 2 3 4 5 6 7 8 "LB1","LB2","LB3","LB4","LB5","LB6","LB7","LB8", //...................... 9 10 11 12 13 14 15 16 "DA1","DA2","DA3","DA4","DA5","DA6","DA7","DA8", //...................... 17 18 19 20 21 22 NOTE DL5 and DL6 are for slicktop "DL1","DL2","DL3","DL4","DL5","DL6", //...................... 23 24 25 "MDTPG1","MDTPG2","MDTPG3", //...................... 26 27 28 29 30 31 32 33 34 "SPD1","SPD2","SPD3","SPD4","SPD5","SPD6","SPD7","SPD8","SPD9", //...................... 35 36 37 38 39 "k9","METRO","hubcaps","","decklights","pushbumperguards","mdtlights" }; class Exhausts { class exhaust1 { position = "vyfuk start"; direction = "vyfuk konec"; effect ="ExhaustsEffect"; }; class exhaust2:exhaust1 { position = "exhaust2start"; direction = "exhaust2end"; }; }; dammageHalf[]= { "\DHI_FordCv\windows1_ca.paa","\DHI_FordCv\windowsB_ca.paa", "\DHI_FordCv\windows_ca.paa","\DHI_FordCv\windowsB_ca.paa", "\DHI_FordCv\body_gpd.pac","\DHI_FordCV\body_gpd_B.pac" }; dammageFull[]= { "\DHI_FordCv\windows1_ca.paa","\DHI_FordCv\windowsC_ca.paa", "\DHI_FordCv\windows_ca.paa","\DHI_FordCv\windowsC_ca.paa", "\DHI_FordCv\body_gpd.pac","\DHI_FordCV\body_gpd_B.pac" }; class Library {libTextDesc = "Ford Crown Victoria P71 Police Interceptor with third party installation of police gear, including radio console and MDT, speed radar, digital video camera, partition cage, K9 kettle, light bar, directional arrow, deck and dash lights, push bumper. This car to be used as base.";}; class Reflectors { class Left { color[]={0.900000,0.800000,0.800000,1.000000}; ambient[]={0.100000,0.100000,0.100000,1.000000}; position="HDlightstart1"; direction="HDlightdir1"; hitpoint="HDlightstart1"; selection="HDlightstart1"; size=0.500000; brightness=0.500000; }; class Right { color[]={0.900000,0.800000,0.800000,1.000000}; ambient[]={0.100000,0.100000,0.100000,1.000000}; position="HDlightstart2"; direction="HDlightdir2"; hitpoint="HDlightstart2"; selection="HDlightstart2"; size=0.500000; brightness=0.500000; }; }; class MarkerLights { class taillightL { name = "taillightL"; color[] = {1.000000,0.100000,0.100000,1 }; ambient[] = {0.100000,0.010000,0.010000,1 }; brightness = 0.004000; blinking = "false"; }; class taillightr { name = "taillightr"; color[] = {1.000000,0.100000,0.100000,1 }; ambient[] = {0.100000,0.010000,0.010000,1 }; brightness = 0.004000; blinking = "false"; }; // class headlightL // { // name = "hdlightstart1"; // color[] = {0.100000,0.100000,0.100000,1 }; // ambient[] = {0.100000,0.010000,0.010000,1 }; // brightness = 0.004000; // blinking = "false"; // }; // class headlightr // { // name = "hdlightstart2"; // color[] = {0.000000,0.000000,0.000000,1 }; // ambient[] = {0.100000,0.010000,0.010000,1 }; // brightness = 0.004000; // blinking = "false"; // }; }; class Damage { tex[] = {}; mat[] = { "DHI_FordCV\effects\bottom.rvmat", "DHI_FordCV\effects\bottom.rvmat", "DHI_FordCV\effects\bottom_destruct.rvmat", "DHI_FordCV\effects\bodynt.rvmat", "DHI_FordCV\effects\bodynt.rvmat", "DHI_FordCV\effects\bodynt_destruct.rvmat", "DHI_FordCV\effects\interior.rvmat", "DHI_FordCV\effects\interior.rvmat", "DHI_FordCV\effects\interior_destruct.rvmat", "DHI_FordCV\effects\poeq2.rvmat", "DHI_FordCV\effects\poeq2.rvmat", "DHI_FordCV\effects\poeq2_destruct.rvmat", "DHI_FordCV\effects\poeq1.rvmat", "DHI_FordCV\effects\poeq1.rvmat", "DHI_FordCV\effects\poeq1_destruct.rvmat", "DHI_FordCV\effects\lightbars.rvmat", "DHI_FordCV\effects\lightbars.rvmat", "DHI_FordCV\effects\lightbars_destruct.rvmat" }; }; class AnimationSources: AnimationSources { class Zeroanimation { source = "user"; animPeriod = 0; initPhase=0; }; class OneSecondAnim { source = "user"; animPeriod = 1; initPhase=0; }; class FiveSecondAnim { source = "user"; animPeriod = 5; initPhase=0; }; }; class UserActions { // NOTE: DOORLIGHTS DISABLED FOR POLICE INTERCEPTOR PACKAGE class Opendoor1 { displayName ="Open Driver Door"; position = "pos_door1"; radius =1; onlyForplayer= false; condition = "this animationPhase ""ani_door1""<0.5 && speed this < 10"; statement = "this animate [""ani_door1"", 1], this say ""fordcvdooropen"", this exec ""\DHI_FordCV\scripts\doorind.sqs"""; }; class closedoor1 { displayName="Close Driver Door"; position="pos_door1"; radius=2; onlyForplayer= false; condition="this animationPhase ""ani_door1""==1"; statement="this animate [""ani_door1"", 0], this say ""fordcvdoorclose"", this exec ""\DHI_FordCV\scripts\doorind.sqs"""; }; class Opendoor2 { displayName ="Open Rear Door"; position = "pos_door2"; radius =1; onlyForplayer= false; condition = "this animationPhase ""ani_door2""<0.5 && speed this < 10"; statement = "this animate [""ani_door2"", 1], this say ""fordcvdooropen"", this exec ""\DHI_FordCV\scripts\doorind.sqs"""; }; class closedoor2 { displayName="Close Rear Door"; position="pos_door2"; radius=2; onlyForplayer= false; condition="this animationPhase ""ani_door2""==1"; statement="this animate [""ani_door2"", 0], this say ""fordcvdoorclose"", this exec ""\DHI_FordCV\scripts\doorind.sqs"""; }; class Opendoor3 { displayName ="Open Front Door"; position = "pos_door3"; radius =1; onlyForplayer= false; condition = "this animationPhase ""ani_door3""<0.5 && speed this < 10"; statement = "this animate [""ani_door3"", 1], this say ""fordcvdooropen"", this exec ""\DHI_FordCV\scripts\doorind.sqs"""; }; class closedoor3 { displayName="Close Front Door"; position="pos_door3"; radius=2; onlyForplayer= false; condition="this animationPhase ""ani_door3""==1"; statement="this animate [""ani_door3"", 0], this say ""fordcvdoorclose"", this exec ""\DHI_FordCV\scripts\doorind.sqs"""; }; class Opendoor4 { displayName ="Open Rear Door"; position = "pos_door4"; radius =1; onlyForplayer= false; condition = "this animationPhase ""ani_door4""<0.5 && speed this < 10"; statement = "this animate [""ani_door4"", 1], this say ""fordcvdooropen"", this exec ""\DHI_FordCV\scripts\doorind.sqs"""; }; class closedoor4 { displayName="Close Rear Door"; position="pos_door4"; radius=2; onlyForplayer= false; condition="this animationPhase ""ani_door4""==1"; statement="this animate [""ani_door4"", 0], this say ""fordcvdoorclose"", this exec ""\DHI_FordCV\scripts\doorind.sqs"""; }; class opentrunk { displayName="Open Trunk"; position="pos_trunk"; radius=1; onlyForplayer= false; condition="this animationPhase ""ani_trunk""<0.5"; statement="this animate [""ani_trunk"", 1]"; }; class closetrunk { displayName="Close Trunk"; position="pos_trunk"; radius=2; onlyForplayer= false; condition="this animationPhase ""ani_trunk""==1"; statement="this animate [""ani_trunk"", 0], this say ""fordcvdoorclose"""; }; // START POLICE ACTION OPTIONS // TO DISABLE LATER??????? class sirenon { displayName="Siren on"; position="pos_switches"; radius=1; onlyForplayer= false; condition="this animationPhase ""ani_siren""<0.5"; statement="this animate [""ani_siren"", 1], this exec ""\DHI_FordCV\scripts\whelenlightbar.sqs"", this exec ""\DHI_FordCV\scripts\whelensiren.sqs"", this exec ""\DHI_FordCV\scripts\decklightsaux.sqs"", this exec ""\DHI_FordCV\scripts\decklights.sqs"""; }; class sirenoff { displayName="Siren off"; position="pos_switches"; radius=1; onlyForplayer= false; condition="this animationPhase ""ani_siren"">.8"; statement="this animate [""ani_siren"", 0.5]"; }; class sirentoggleon { displayName="Toggle Siren"; position="pos_switches"; radius=1; onlyForplayer= false; condition="this animationPhase ""ani_siren""==1"; statement="this animate [""ani_siren"", 0.9], this exec ""\dhi_fordcv\scripts\whelensirentoggle.sqs"""; }; class sirentoggleoff { displayName="Toggle Siren"; position="pos_switches"; radius=1; onlyForplayer= false; condition="this animationPhase ""ani_siren""==0.9"; statement="this animate [""ani_siren"", 1],this exec ""\dhi_fordcv\scripts\whelensiren.sqs"""; }; class flashersoff { displayName="Lightbar off"; position="pos_switches"; radius=1; onlyForplayer= false; condition="this animationPhase ""ani_siren""==0.5"; statement="this animate [""ani_siren"", 0]"; }; class flasherson { displayName="Lightbar on / Take Down"; position="pos_switches"; radius=1; onlyForplayer= false; condition="this animationPhase ""ani_siren""<0.4"; statement="this animate [""ani_siren"", 0.5], this say ""takedown"", this exec ""\DHI_FordCV\scripts\whelenlightbar.sqs"""; }; class directright { displayName="Directional Right"; position="pos_switches"; radius=1; onlyForplayer= false; condition="this animationPhase ""ani_direct""<0.4"; statement="this animate [""ani_direct"", 0.5], this exec ""\DHI_FordCV\scripts\directionalarrow.sqs"""; }; class directleft { displayName="Directional Left"; position="pos_switches"; radius=1; onlyForplayer= false; condition="this animationPhase ""ani_direct""<0.4"; statement="this animate [""ani_direct"", 1], this exec ""\DHI_FordCV\scripts\directionalarrow.sqs"""; }; class Directoff { displayName="Directional off"; position="pos_switches"; radius=1; onlyForplayer= false; condition="this animationPhase ""ani_direct"">0.3"; statement="this animate [""ani_direct"", 0]"; }; class swivelmdtright { displayName="Swivel MDT Right"; position="pos_switches"; radius=1; onlyForplayer= false; condition="this animationPhase ""ani_mdt""<0.5"; statement="this animate [""ani_mdt"", 1]"; }; class swivelmdtleft { displayName="Swivel MDT Left"; position="pos_switches"; radius=1; onlyForplayer= false; condition="this animationPhase ""ani_mdt""==1"; statement="this animate [""ani_mdt"", 0]"; }; }; class eventhandlers { init = "_this exec ""\DHI_FordCV\scripts\set.sqs"";"; engine = "_this exec ""\DHI_FordCV\scripts\backuplight.sqs"", _this exec ""\DHI_FordCV\scripts\checkenginelight.sqs"",_this exec ""\DHI_FordCV\scripts\fuellight.sqs"",_this exec ""\DHI_FordCV\scripts\gauges.sqs"";"; }; }; class dhi_cvpi_p71_gpd_slicktop: dhi_cvpi_p71_gpd_patrol { scope=public; vehicleClass="Americas_vehicles"; displayName="GPD P71 Slicktop"; picture="\DHI_FordCV\icons\P71gpd2.pac"; icon="\DHI_FordCV\icons\fordcv.pac"; model="\DHI_FordCV\dhi_cvpi_p71_gpd_patrol"; accuracy=6.90; crew="dhi_gpd_sergeant"; side=1; type=1; typicalCargo[]={}; cargoIsCoDriver[] = {1,0 }; weapons[]={"DHI_FordCV_horn2"}; magazines[] = {}; unloadInCombat = true; class TransportWeapons{}; transportSoldier=3; transportMaxMagazines=0; transportMaxWeapons=0; viewCargoShadow = true; // // HIDDEN SELECTION // Inherient to all police vehicles // Includes extra slots for extra parts // NOTE: No door lights since these would have been disable with installation of police package. hiddenSelections[] = { "Backuplight", //...................... 1 2 3 4 5 6 7 8 "LB1","LB2","LB3","LB4","LB5","LB6","LB7","LB8", //...................... 9 10 11 12 13 14 15 16 "DA1","DA2","DA3","DA4","DA5","DA6","DA7","DA8", //...................... 17 18 19 20 21 22 NOTE DL5 and DL6 are for slicktop "DL1","DL2","DL3","DL4","DL5","DL6", //...................... 23 24 25 "MDTPG1","MDTPG2","MDTPG3", //...................... 26 27 28 29 30 31 32 33 34 "SPD1","SPD2","SPD3","SPD4","SPD5","SPD6","SPD7","SPD8","SPD9", //...................... 35 36 37 38 39 "k9","METRO","hubcaps","","lightbar","pushbumperguards" }; class Library {libTextDesc = "Ford Crown Victoria P71 Police Interceptor with third party installation of police gear, including radio console and MDT, speed radar, digital video camera, partition cage, K9 kettle, light bar, directional arrow, deck and dash lights, push bumper. This car to be used as base.";}; class UserActions { // NOTE: DOORLIGHTS DISABLED FOR POLICE INTERCEPTOR PACKAGE class Opendoor1 { displayName ="Open Driver Door"; position = "pos_door1"; radius =1; onlyForplayer= false; condition = "this animationPhase ""ani_door1""<0.5 && speed this < 5"; statement = "this animate [""ani_door1"", 1], this say ""fordcvdooropen"", this exec ""\DHI_FordCV\scripts\doorind.sqs"""; }; class closedoor1 { displayName="Close Driver Door"; position="pos_door1"; radius=2; onlyForplayer= false; condition="this animationPhase ""ani_door1""==1"; statement="this animate [""ani_door1"", 0], this say ""fordcvdoorclose"", this exec ""\DHI_FordCV\scripts\doorind.sqs"""; }; class Opendoor2 { displayName ="Open Rear Door"; position = "pos_door2"; radius =1; onlyForplayer= false; condition = "this animationPhase ""ani_door2""<0.5 && speed this < 5"; statement = "this animate [""ani_door2"", 1], this say ""fordcvdooropen"", this exec ""\DHI_FordCV\scripts\doorind.sqs"""; }; class closedoor2 { displayName="Close Rear Door"; position="pos_door2"; radius=2; onlyForplayer= false; condition="this animationPhase ""ani_door2""==1"; statement="this animate [""ani_door2"", 0], this say ""fordcvdoorclose"", this exec ""\DHI_FordCV\scripts\doorind.sqs"""; }; class Opendoor3 { displayName ="Open Front Door"; position = "pos_door3"; radius =1; onlyForplayer= false; condition = "this animationPhase ""ani_door3""<0.5 && speed this < 5"; statement = "this animate [""ani_door3"", 1], this say ""fordcvdooropen"", this exec ""\DHI_FordCV\scripts\doorind.sqs"""; }; class closedoor3 { displayName="Close Front Door"; position="pos_door3"; radius=2; onlyForplayer= false; condition="this animationPhase ""ani_door3""==1"; statement="this animate [""ani_door3"", 0], this say ""fordcvdoorclose"", this exec ""\DHI_FordCV\scripts\doorind.sqs"""; }; class Opendoor4 { displayName ="Open Rear Door"; position = "pos_door4"; radius =1; onlyForplayer= false; condition = "this animationPhase ""ani_door4""<0.5 && speed this < 5"; statement = "this animate [""ani_door4"", 1], this say ""fordcvdooropen"", this exec ""\DHI_FordCV\scripts\doorind.sqs"""; }; class closedoor4 { displayName="Close Rear Door"; position="pos_door4"; radius=2; onlyForplayer= false; condition="this animationPhase ""ani_door4""==1"; statement="this animate [""ani_door4"", 0], this say ""fordcvdoorclose"", this exec ""\DHI_FordCV\scripts\doorind.sqs"""; }; class opentrunk { displayName="Open Trunk"; position="pos_trunk"; radius=1; onlyForplayer= false; condition="this animationPhase ""ani_trunk""<0.5"; statement="this animate [""ani_trunk"", 1]"; }; class closetrunk { displayName="Close Trunk"; position="pos_trunk"; radius=2; onlyForplayer= false; condition="this animationPhase ""ani_trunk""==1"; statement="this animate [""ani_trunk"", 0], this say ""fordcvdoorclose"""; }; // START POLICE ACTION OPTIONS // TO DISABLE LATER??????? class sirenon { displayName="Siren on"; position="pos_switches"; radius=1; onlyForplayer= false; condition="this animationPhase ""ani_siren""<0.5"; statement="this animate [""ani_siren"", 1], this exec ""\DHI_FordCV\scripts\whelensiren.sqs"", this exec ""\DHI_FordCV\scripts\decklightsaux.sqs"", this exec ""\DHI_FordCV\scripts\decklightsaux2.sqs"", this exec ""\DHI_FordCV\scripts\decklights.sqs"""; }; class sirenoff { displayName="Siren off"; position="pos_switches"; radius=1; onlyForplayer= false; condition="this animationPhase ""ani_siren"">.8"; statement="this animate [""ani_siren"", 0.5]"; }; class sirentoggleon { displayName="Toggle Siren"; position="pos_switches"; radius=1; onlyForplayer= false; condition="this animationPhase ""ani_siren""==1"; statement="this animate [""ani_siren"", 0.9], this exec ""\dhi_fordcv\scripts\whelensirentoggle.sqs"""; }; class sirentoggleoff { displayName="Toggle Siren"; position="pos_switches"; radius=1; onlyForplayer= false; condition="this animationPhase ""ani_siren""==0.9"; statement="this animate [""ani_siren"", 1],this exec ""\dhi_fordcv\scripts\whelensiren.sqs"""; }; class flasherson { displayName="Lightbar on"; position="pos_switches"; radius=1; onlyForplayer= false; condition="this animationPhase ""ani_siren""<0.4"; statement="this animate [""ani_siren"", 0.5], this say ""takedown"", this exec ""\DHI_FordCV\scripts\decklights.sqs"", this exec ""\DHI_FordCV\scripts\decklightsaux.sqs"", this exec ""\DHI_FordCV\scripts\decklightsaux2.sqs"""; }; class flashersoff { displayName="Lightbar off"; position="pos_switches"; radius=1; onlyForplayer= false; condition="this animationPhase ""ani_siren""==0.5"; statement="this animate [""ani_siren"", 0]"; }; class directright { displayName="Directional Right"; position="pos_switches"; radius=1; onlyForplayer= false; condition="this animationPhase ""ani_direct""<0.4"; statement="this animate [""ani_direct"", 0.5], this exec ""\DHI_FordCV\scripts\directionalarrow.sqs"""; }; class directleft { displayName="Directional Left"; position="pos_switches"; radius=1; onlyForplayer= false; condition="this animationPhase ""ani_direct""<0.4"; statement="this animate [""ani_direct"", 1], this exec ""\DHI_FordCV\scripts\directionalarrow.sqs"""; }; class Directoff { displayName="Directional off"; position="pos_switches"; radius=1; onlyForplayer= false; condition="this animationPhase ""ani_direct"">0.3"; statement="this animate [""ani_direct"", 0]"; }; class swivelmdtright { displayName="Swivel MDT Right"; position="pos_switches"; radius=1; onlyForplayer= false; condition="this animationPhase ""ani_mdt""<0.5"; statement="this animate [""ani_mdt"", 1]"; }; class swivelmdtleft { displayName="Swivel MDT Left"; position="pos_switches"; radius=1; onlyForplayer= false; condition="this animationPhase ""ani_mdt""==1"; statement="this animate [""ani_mdt"", 0]"; }; }; }; class dhi_cvpi_p71_gpd_stealth: dhi_cvpi_p71_gpd_patrol { scope=public; vehicleClass="Americas_vehicles"; displayName="GPD P71 Stealth TEC"; picture="\DHI_FordCV\icons\P71w.pac"; icon="\DHI_FordCV\icons\fordcv.pac"; model="\DHI_FordCV\dhi_cvpi_p71_gpd_stealth"; accuracy=6.90; // HIDDEN SELECTION // Inherient to all police vehicles // Includes extra slots for extra parts // NOTE: No door lights since these would have been disable with installation of police package. hiddenSelections[] = { "Backuplight", //...................... 1 2 3 4 5 6 7 8 "LB1","LB2","LB3","LB4","LB5","LB6","LB7","LB8", //...................... 9 10 11 12 13 14 15 16 "DA1","DA2","DA3","DA4","DA5","DA6","DA7","DA8", //...................... 17 18 19 20 21 22 NOTE DL5 and DL6 are for slicktop "DL1","DL2","DL3","DL4","DL5","DL6", //...................... 23 24 25 "MDTPG1","MDTPG2","MDTPG3", //...................... 26 27 28 29 30 31 32 33 34 "SPD1","SPD2","SPD3","SPD4","SPD5","SPD6","SPD7","SPD8","SPD9", //...................... 35 36 37 38 39 "k9","METRO","hubcaps","","lightbar","pushbumperguards" }; class Library {libTextDesc = "Ford Crown Victoria P71 Police Interceptor with third party installation of police gear, including radio console and MDT, speed radar, digital video camera, partition cage, K9 kettle, light bar, directional arrow, deck and dash lights, push bumper. This car to be used as base.";}; class UserActions { // NOTE: DOORLIGHTS DISABLED FOR POLICE INTERCEPTOR PACKAGE class Opendoor1 { displayName ="Open Driver Door"; position = "pos_door1"; radius =1; onlyForplayer= false; condition = "this animationPhase ""ani_door1""<0.5 && speed this < 5"; statement = "this animate [""ani_door1"", 1], this say ""fordcvdooropen"", this exec ""\DHI_FordCV\scripts\doorind.sqs"""; }; class closedoor1 { displayName="Close Driver Door"; position="pos_door1"; radius=2; onlyForplayer= false; condition="this animationPhase ""ani_door1""==1"; statement="this animate [""ani_door1"", 0], this say ""fordcvdoorclose"", this exec ""\DHI_FordCV\scripts\doorind.sqs"""; }; class Opendoor2 { displayName ="Open Rear Door"; position = "pos_door2"; radius =1; onlyForplayer= false; condition = "this animationPhase ""ani_door2""<0.5 && speed this < 5"; statement = "this animate [""ani_door2"", 1], this say ""fordcvdooropen"", this exec ""\DHI_FordCV\scripts\doorind.sqs"""; }; class closedoor2 { displayName="Close Rear Door"; position="pos_door2"; radius=2; onlyForplayer= false; condition="this animationPhase ""ani_door2""==1"; statement="this animate [""ani_door2"", 0], this say ""fordcvdoorclose"", this exec ""\DHI_FordCV\scripts\doorind.sqs"""; }; class Opendoor3 { displayName ="Open Front Door"; position = "pos_door3"; radius =1; onlyForplayer= false; condition = "this animationPhase ""ani_door3""<0.5 && speed this < 5"; statement = "this animate [""ani_door3"", 1], this say ""fordcvdooropen"", this exec ""\DHI_FordCV\scripts\doorind.sqs"""; }; class closedoor3 { displayName="Close Front Door"; position="pos_door3"; radius=2; onlyForplayer= false; condition="this animationPhase ""ani_door3""==1"; statement="this animate [""ani_door3"", 0], this say ""fordcvdoorclose"", this exec ""\DHI_FordCV\scripts\doorind.sqs"""; }; class Opendoor4 { displayName ="Open Rear Door"; position = "pos_door4"; radius =1; onlyForplayer= false; condition = "this animationPhase ""ani_door4""<0.5 && speed this < 5"; statement = "this animate [""ani_door4"", 1], this say ""fordcvdooropen"", this exec ""\DHI_FordCV\scripts\doorind.sqs"""; }; class closedoor4 { displayName="Close Rear Door"; position="pos_door4"; radius=2; onlyForplayer= false; condition="this animationPhase ""ani_door4""==1"; statement="this animate [""ani_door4"", 0], this say ""fordcvdoorclose"", this exec ""\DHI_FordCV\scripts\doorind.sqs"""; }; class opentrunk { displayName="Open Trunk"; position="pos_trunk"; radius=1; onlyForplayer= false; condition="this animationPhase ""ani_trunk""<0.5"; statement="this animate [""ani_trunk"", 1]"; }; class closetrunk { displayName="Close Trunk"; position="pos_trunk"; radius=2; onlyForplayer= false; condition="this animationPhase ""ani_trunk""==1"; statement="this animate [""ani_trunk"", 0], this say ""fordcvdoorclose"""; }; // START POLICE ACTION OPTIONS // TO DISABLE LATER??????? class sirenon { displayName="Siren on"; position="pos_switches"; radius=1; onlyForplayer= false; condition="this animationPhase ""ani_siren""<0.5"; statement="this animate [""ani_siren"", 1], this exec ""\DHI_FordCV\scripts\whelensiren.sqs"", this exec ""\DHI_FordCV\scripts\decklightsaux.sqs"", this exec ""\DHI_FordCV\scripts\decklightsaux2.sqs"", this exec ""\DHI_FordCV\scripts\decklights.sqs"""; }; class sirenoff { displayName="Siren off"; position="pos_switches"; radius=1; onlyForplayer= false; condition="this animationPhase ""ani_siren"">.8"; statement="this animate [""ani_siren"", 0.5]"; }; class sirentoggleon { displayName="Toggle Siren"; position="pos_switches"; radius=1; onlyForplayer= false; condition="this animationPhase ""ani_siren""==1"; statement="this animate [""ani_siren"", 0.9], this exec ""\dhi_fordcv\scripts\whelensirentoggle.sqs"""; }; class sirentoggleoff { displayName="Toggle Siren"; position="pos_switches"; radius=1; onlyForplayer= false; condition="this animationPhase ""ani_siren""==0.9"; statement="this animate [""ani_siren"", 1],this exec ""\dhi_fordcv\scripts\whelensiren.sqs"""; }; class flasherson { displayName="Lightbar on"; position="pos_switches"; radius=1; onlyForplayer= false; condition="this animationPhase ""ani_siren""<0.4"; statement="this animate [""ani_siren"", 0.5], this say ""takedown"", this exec ""\DHI_FordCV\scripts\decklights.sqs"", this exec ""\DHI_FordCV\scripts\decklightsaux.sqs"", this exec ""\DHI_FordCV\scripts\decklightsaux2.sqs"""; }; class flashersoff { displayName="Lightbar off"; position="pos_switches"; radius=1; onlyForplayer= false; condition="this animationPhase ""ani_siren""==0.5"; statement="this animate [""ani_siren"", 0]"; }; class directright { displayName="Directional Right"; position="pos_switches"; radius=1; onlyForplayer= false; condition="this animationPhase ""ani_direct""<0.4"; statement="this animate [""ani_direct"", 0.5], this exec ""\DHI_FordCV\scripts\directionalarrow.sqs"""; }; class directleft { displayName="Directional Left"; position="pos_switches"; radius=1; onlyForplayer= false; condition="this animationPhase ""ani_direct""<0.4"; statement="this animate [""ani_direct"", 1], this exec ""\DHI_FordCV\scripts\directionalarrow.sqs"""; }; class Directoff { displayName="Directional off"; position="pos_switches"; radius=1; onlyForplayer= false; condition="this animationPhase ""ani_direct"">0.3"; statement="this animate [""ani_direct"", 0]"; }; }; }; class dhi_cvpi_p71_LAPD_patrol: Car_sedan { scope=public; vehicleClass="SG_police"; displayName="LAPD Patrol"; picture="\DHI_FordCV\icons\P71gpd1.pac"; icon="\DHI_FordCV\icons\fordcv.pac"; model="\DHI_FordCV\dhi_cvpi_p71_LAPD_patrol"; accuracy=6.90; crew="SG_Police_3"; side=1; type=1; typicalCargo[]={}; cargoIsCoDriver[] = {1,0 }; weapons[]={"DHI_FordCV_horn2"}; magazines[] = {}; unloadInCombat = true; class TransportWeapons{}; transportSoldier=3; transportMaxMagazines=0; transportMaxWeapons=0; viewCargoShadow = true; maxSpeed=209; turnCoef=1.9500000; terrainCoef=3.550000; brakeDistance=20.00; cost=30000; fuelCapacity=35; armorWheels=0.07; armor=18; // total armor armorStructural=8.0; // very low structural damage armorEngine=2.2; soundEngine[]={"\DHI_FordCV\sounds\engine.wav",.10,1}; soundGetIn[]={"\DHI_FordCV\sounds\getin.wav",.10,1}; soundGetOut[]={"\DHI_FordCV\sounds\getout.wav",.10,1}; soundGear[]={"\DHI_FordCV\sounds\gear.wav",.10,1}; soundCrash[]={"\DHI_FordCV\sounds\crash.wav",.10,1}; soundLandCrash[]={"\DHI_FordCV\sounds\crash.wav",.10,1}; selectionBrakeLights="brzdove svetlo"; selectionBackLights="zadni svetlo"; // // HIDDEN SELECTION // Inherient to all police vehicles // Includes extra slots for extra parts // NOTE: No door lights since these would have been disable with installation of police package. hiddenSelections[] = { "Backuplight", //...................... 1 2 3 4 5 6 7 8 "LB1","LB2","LB3","LB4","LB5","LB6","LB7","LB8", //...................... 9 10 11 12 13 14 15 16 "DA1","DA2","DA3","DA4","DA5","DA6","DA7","DA8", //...................... 17 18 19 20 21 22 NOTE DL5 and DL6 are for slicktop "DL1","DL2","DL3","DL4","DL5","DL6", //...................... 23 24 25 "MDTPG1","MDTPG2","MDTPG3", //...................... 26 27 28 29 30 31 32 33 34 "SPD1","SPD2","SPD3","SPD4","SPD5","SPD6","SPD7","SPD8","SPD9", //...................... 35 36 37 38 39 "k9","METRO","hubcaps" }; class Exhausts { class exhaust1 { position = "vyfuk start"; direction = "vyfuk konec"; effect ="ExhaustsEffect"; }; class exhaust2:exhaust1 { position = "exhaust2start"; direction = "exhaust2end"; }; }; dammageHalf[]= { "\DHI_FordCv\windows1_ca.paa","\DHI_FordCv\windowsB_ca.paa", "\DHI_FordCv\windows_ca.paa","\DHI_FordCv\windowsB_ca.paa", "\DHI_FordCv\body_lapd.pac","\DHI_FordCV\body_lapd_B.pac" }; dammageFull[]= { "\DHI_FordCv\windows1_ca.paa","\DHI_FordCv\windowsC_ca.paa", "\DHI_FordCv\windows_ca.paa","\DHI_FordCv\windowsC_ca.paa", "\DHI_FordCv\body_lapd.pac","\DHI_FordCV\body_lapd_B.pac" }; class Library {libTextDesc = "Ford Crown Victoria P71 Police Interceptor with third party installation of police gear, including radio console and MDT, speed radar, digital video camera, partition cage, K9 kettle, light bar, directional arrow, deck and dash lights, push bumper. This car to be used as base.";}; class Reflectors { class Left { color[]={0.900000,0.800000,0.800000,1.000000}; ambient[]={0.100000,0.100000,0.100000,1.000000}; position="HDlightstart1"; direction="HDlightdir1"; hitpoint="HDlightstart1"; selection="HDlightstart1"; size=0.500000; brightness=0.500000; }; class Right { color[]={0.900000,0.800000,0.800000,1.000000}; ambient[]={0.100000,0.100000,0.100000,1.000000}; position="HDlightstart2"; direction="HDlightdir2"; hitpoint="HDlightstart2"; selection="HDlightstart2"; size=0.500000; brightness=0.500000; }; }; class MarkerLights { class taillightL { name = "taillightL"; color[] = {1.000000,0.100000,0.100000,1 }; ambient[] = {0.100000,0.010000,0.010000,1 }; brightness = 0.004000; blinking = "false"; }; class taillightr { name = "taillightr"; color[] = {1.000000,0.100000,0.100000,1 }; ambient[] = {0.100000,0.010000,0.010000,1 }; brightness = 0.004000; blinking = "false"; }; // class headlightL // { // name = "hdlightstart1"; // color[] = {0.100000,0.100000,0.100000,1 }; // ambient[] = {0.100000,0.010000,0.010000,1 }; // brightness = 0.004000; // blinking = "false"; // }; // class headlightr // { // name = "hdlightstart2"; // color[] = {0.000000,0.000000,0.000000,1 }; // ambient[] = {0.100000,0.010000,0.010000,1 }; // brightness = 0.004000; // blinking = "false"; // }; }; class Damage { tex[] = {}; mat[] = { How do I know what to put down to get a specific vehicle to show up in the shop? -
Allowing and Including Addons
bloodxgusher replied to bloodxgusher's topic in ARMA 2 & OA : ADDONS - Configs & Scripting
WOW I am stupid...I never went down the entire strip of code where I was suppose to add the class name... I can't wait to get off work and try this. This makes things much clearer now. Thanks for this. Im still curious on one thing though. The class name for the vehicle...is that the same class name I use from the cfgPatches to force the addon? The Vehicle is player created. So would all I have to do is open the vehicle pbo with like note pad or PBOview to the class name? -
Allowing and Including Addons
bloodxgusher replied to bloodxgusher's topic in ARMA 2 & OA : ADDONS - Configs & Scripting
Ok i know im somewhat in the right track. Here is my problem still. The addon that I am using is only bought through shops. For example, The addon im using is a police car. I want police to spawn at the police-base then able to buy the car from the cop car shop in the police base. Im not sure if your familiar with the CLR mission files but I know if one wants to get a new car to spawn, they would have to edit the mission array and shops.sqf and say how many are available to buy or to make infinite and which shop the car spawns in. Basically just adding a new car. So I guess my question is do you know how to go about correctly doing this because I've tried about 10 different times and FAILED horribly each time lol. To show you what I have tried look at the snippet of the master array I posted. I know so far that on one of those lines...lets say the UralCivil for example. One of those dictate what the car shows up as in the shop and game and one is like a class name or the "Master Name" (I can't think of the correct term) The other parts are telling you that it is a truck of course and how mush it will cost. I think What I am messing up on is the class name or the "master name" ["UralCivil", ["Fahrzeug", "truck"],["UralCivil", "Civil Ural #1"],[35000, 17500],[2, "truck", "response_training", 1500], [500, [1,0,0,14] ], "UralCivil" call ISSE_Cfg_Vehicle_GetName,"UralCivil" call ISSE_Cfg_Vehicle_GetDesc,[["stahl", 17],["ebauteile", 2],["glas", 2],["plastik", 3],["erdoel", 6]] ], Lol any clue. Thanks for your help so far. -
Allowing and Including Addons
bloodxgusher replied to bloodxgusher's topic in ARMA 2 & OA : ADDONS - Configs & Scripting
For example in the CLR revolution mission. There is a master array sqf that i guess tells the game what vehicles to call to be used. I believe it is most of the vehicles and items that come default with the game here is a snippet. ["HMMWV",["Fahrzeug", "car"],["HMMWV", "HMMWV"], [45000, 22500], [2, "car", "sobr_training", 800], [350, [1,0,0,1] ], "HMMWV" call ISSE_Cfg_Vehicle_GetName, "HMMWV" call ISSE_Cfg_Vehicle_GetDesc, [["stahl", 10],["ebauteile", 1],["glas", 2],["plastik", 2],["erdoel", 5]] ], ["V3S_Civ",["Fahrzeug", "truck"],["Praha V3S", "Praha V3S"],[25000, 12500], [2, "truck", "patrol_training", 1500], [500,[1,0,0,13]], "Truck5t" call ISSE_Cfg_Vehicle_GetName, "Truck5t" call ISSE_Cfg_Vehicle_GetDesc, [["stahl", 17],["ebauteile", 2],["glas", 2],["plastik", 3],["erdoel", 6]] ], ["Ural_CDF",["Fahrzeug", "truck"],["Ural_CDF", "Ural CDF"],[35000, 17500], [2, "truck", "patrol_training", 1500], [500,[1,0,0,13]], "Truck5t" call ISSE_Cfg_Vehicle_GetName, "Truck5t" call ISSE_Cfg_Vehicle_GetDesc, [["stahl", 17],["ebauteile", 2],["glas", 2],["plastik", 3],["erdoel", 6]] ], ["UralOpen_CDF", ["Fahrzeug", "truck"],["UralOpen", "Ural Open"], [35000, 17500],[2, "truck", "patrol_training", 1500], [500, [1,0,0,13] ], "Truck5tOpen" call ISSE_Cfg_Vehicle_GetName, "Truck5tOpen" call ISSE_Cfg_Vehicle_GetDesc, [["stahl", 17],["ebauteile", 2],["glas", 2],["plastik", 3],["erdoel", 6]] ], ["Ikarus", ["Fahrzeug", "truck"],["Ikarus", "Bus"],[40000, 20000],[2, "truck", "response_training", 1000], [500, [1,0,0,12] ], "Bus_city" call ISSE_Cfg_Vehicle_GetName,"Bus_city" call ISSE_Cfg_Vehicle_GetDesc,[["stahl", 14],["ebauteile", 2],["glas", 2],["plastik", 3],["erdoel", 5]] ], ["UralCivil", ["Fahrzeug", "truck"],["UralCivil", "Civil Ural #1"],[35000, 17500],[2, "truck", "response_training", 1500], [500, [1,0,0,14] ], "UralCivil" call ISSE_Cfg_Vehicle_GetName,"UralCivil" call ISSE_Cfg_Vehicle_GetDesc,[["stahl", 17],["ebauteile", 2],["glas", 2],["plastik", 3],["erdoel", 6]] ], This is where you can name a vehicle another name other than the default given by Bohemia...also change the pricing they are sold at...Now that im writting this i'm realising this may be specially written for this mission. Just trying to give you something to further help me on. -
Allowing and Including Addons
bloodxgusher replied to bloodxgusher's topic in ARMA 2 & OA : ADDONS - Configs & Scripting
cool. Thanks for this. I was messing with this actually but thought I get some advice from someone who knows for sure. thanks for the help agian. Now would I still of course have to mess with the master arrays or? -
Arma2 dedicated server howto
bloodxgusher replied to warlock2511's topic in ARMA 2 & OA - Servers & Administration
Hey thanks for posting this. Im looking to start hosting my own server soon. In the mean time, if I wanted to test this out on my home pc, how would I go about doing this? Would these Config and cfg files go in the directory? -
It was fun this afternoon. Will be looking forward to next week :)
-
Hey everyone. So I recently upgraded to Windows 7 32bit. Working with a Dell Inspiron 530, 430 Watt PSU, 9800GTS Nvidia, Core Duo @2.20ghz. 3Gig Ram. So since upgrading, I am able to play the game flawlessly until patch 1.05. When I start up the game, it immediately crashes when I get to the menu screen. I get "Arma 2 has stopped wroking...Windows is working to resolve the problem..." I hear this may have a lot to do with resolution. My native Res is 1360x768. I was able to play the game after some messing around with resolutions but once I shut down the game, im back to the same problem with crashing. I am unable to just start the game and simply play. Does anyone have any suggestions or solutions? Your input would be great.
-
Patch 1.05 compatibility issues
bloodxgusher replied to bloodxgusher's topic in ARMA 2 & OA - TROUBLESHOOTING
Yes I also us this game with a hard copy. I can use every patch version with no problems except patch 1.05. I will reinstall the game and patch it to version 3 then patch it to version 5 and see what results I get and post them here. I also noticed that changing compatability with Win 7 does not help either. -
Hey everyone. Im in the process of editing a PBO mission that I might want to run on a server later. I was wondering if it was possible to compile or compact a addon into a PBO and successfully run the mission. Depending on what the mission consist of, I know I would have to edit some sqf files os Arma 2 knows how to call the addon. Does anyone have any knowlede of this? Thanks.
-
Cherno Life Revolution Masterarrays and Shops.sqs
bloodxgusher posted a topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Hey everyone. So me and a couple people are trying to update cherno life for a change just to bring a little variety and we are having problems with adding in a Humvee. anyone have any suggestions? We have the humvee in the cop base but we are having nothing short of failure with it. When the game is launched. We can not open shops or spawn with guns. We are guessing that the Shops.sqs is altered wrong. So if someone has a rubric of how a vehicle is added with the Masterarray and Shops.sqf that would help a lot. Thanks. -
Arma 2 server help... (i am noob)
bloodxgusher replied to bloodxgusher's topic in ARMA 2 & OA - MULTIPLAYER
Ok so I put the Server.Cfg file in the Arma2 directory. Now where do I put the Arma2.Cfg file? When I start up Arma 2, should I also start up the Arma 2 Server Console? Also. Where do I get the game type I want to host? For example. I have played Cherno Life many times now. Isn't that file saved somewhere on my computer and do I need that file at all to alter the game at all? Thanks again. -
Arma 2 server help... (i am noob)
bloodxgusher replied to bloodxgusher's topic in ARMA 2 & OA - MULTIPLAYER
Hey Groslezard...this helped at lot. I still have some questions. ok so the ArmaServer.exe that goes into the Arma2 directory. Where do I put the config file. Does that go in the directory as well? When I load up the Server.exe all I get are two lines of code. 8:38:11 Dedicated host created. 8:38:12 Host identity created. I also found out my ISP(Verizon) only offers up to 50mbps down and I believe the same up. This is FIOS. Thanks again for the help. All info is welcomed.