adding new script
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 5.7 MiB |
Binary file not shown.
|
After Width: | Height: | Size: 1.7 MiB |
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,199 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<CVehicleModelInfoVariation>
|
||||
<variationData> <!--2021 Tacoma Undercover Visor Setup By Ferious Development LLC @ Feb 2025-->
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<Item>
|
||||
<modelName>21tacouc</modelName>
|
||||
<colors>
|
||||
<Item>
|
||||
<indices content="char_array">
|
||||
35
|
||||
0
|
||||
0
|
||||
0
|
||||
13
|
||||
17
|
||||
</indices>
|
||||
<liveries>
|
||||
<Item value="true" />
|
||||
<Item value="false" />
|
||||
<Item value="false" />
|
||||
<Item value="false" />
|
||||
<Item value="false" />
|
||||
<Item value="false" />
|
||||
<Item value="false" />
|
||||
<Item value="false" />
|
||||
</liveries>
|
||||
</Item>
|
||||
<Item>
|
||||
<indices content="char_array">
|
||||
35
|
||||
0
|
||||
0
|
||||
0
|
||||
13
|
||||
17
|
||||
</indices>
|
||||
<liveries>
|
||||
<Item value="false" />
|
||||
<Item value="true" />
|
||||
<Item value="false" />
|
||||
<Item value="false" />
|
||||
<Item value="false" />
|
||||
<Item value="false" />
|
||||
<Item value="false" />
|
||||
<Item value="false" />
|
||||
</liveries>
|
||||
</Item>
|
||||
<Item>
|
||||
<indices content="char_array">
|
||||
35
|
||||
0
|
||||
0
|
||||
0
|
||||
13
|
||||
17
|
||||
</indices>
|
||||
<liveries>
|
||||
<Item value="false" />
|
||||
<Item value="false" />
|
||||
<Item value="true" />
|
||||
<Item value="false" />
|
||||
<Item value="false" />
|
||||
<Item value="false" />
|
||||
<Item value="false" />
|
||||
<Item value="false" />
|
||||
</liveries>
|
||||
</Item>
|
||||
<Item>
|
||||
<indices content="char_array">
|
||||
35
|
||||
0
|
||||
0
|
||||
0
|
||||
13
|
||||
17
|
||||
</indices>
|
||||
<liveries>
|
||||
<Item value="false" />
|
||||
<Item value="false" />
|
||||
<Item value="false" />
|
||||
<Item value="true" />
|
||||
<Item value="false" />
|
||||
<Item value="false" />
|
||||
<Item value="false" />
|
||||
<Item value="false" />
|
||||
</liveries>
|
||||
</Item>
|
||||
<Item>
|
||||
<indices content="char_array">
|
||||
35
|
||||
0
|
||||
0
|
||||
0
|
||||
13
|
||||
17
|
||||
</indices>
|
||||
<liveries>
|
||||
<Item value="false" />
|
||||
<Item value="false" />
|
||||
<Item value="false" />
|
||||
<Item value="false" />
|
||||
<Item value="true" />
|
||||
<Item value="false" />
|
||||
<Item value="false" />
|
||||
<Item value="false" />
|
||||
</liveries>
|
||||
</Item> <Item>
|
||||
<indices content="char_array">
|
||||
35
|
||||
0
|
||||
0
|
||||
0
|
||||
13
|
||||
17
|
||||
</indices>
|
||||
<liveries>
|
||||
<Item value="false" />
|
||||
<Item value="false" />
|
||||
<Item value="false" />
|
||||
<Item value="false" />
|
||||
<Item value="false" />
|
||||
<Item value="true" />
|
||||
<Item value="false" />
|
||||
<Item value="false" />
|
||||
</liveries>
|
||||
</Item>
|
||||
<Item>
|
||||
<indices content="char_array">
|
||||
35
|
||||
0
|
||||
0
|
||||
0
|
||||
13
|
||||
17
|
||||
</indices>
|
||||
<liveries>
|
||||
<Item value="false" />
|
||||
<Item value="false" />
|
||||
<Item value="false" />
|
||||
<Item value="false" />
|
||||
<Item value="false" />
|
||||
<Item value="false" />
|
||||
<Item value="true" />
|
||||
<Item value="false" />
|
||||
</liveries>
|
||||
</Item>
|
||||
<Item>
|
||||
<indices content="char_array">
|
||||
35
|
||||
0
|
||||
0
|
||||
0
|
||||
13
|
||||
17
|
||||
</indices>
|
||||
<liveries>
|
||||
<Item value="false" />
|
||||
<Item value="false" />
|
||||
<Item value="false" />
|
||||
<Item value="false" />
|
||||
<Item value="false" />
|
||||
<Item value="false" />
|
||||
<Item value="false" />
|
||||
<Item value="true" />
|
||||
</liveries>
|
||||
</Item>
|
||||
</colors>
|
||||
<kits>
|
||||
<Item>0_default_modkit</Item>
|
||||
</kits>
|
||||
<windowsWithExposedEdges />
|
||||
<plateProbabilities>
|
||||
<Probabilities />
|
||||
</plateProbabilities>
|
||||
<lightSettings value="0" />
|
||||
<sirenSettings value="3451" />
|
||||
</Item>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</variationData>
|
||||
</CVehicleModelInfoVariation>
|
||||
@@ -0,0 +1,25 @@
|
||||
fx_version 'cerulean'
|
||||
|
||||
game 'gta5'
|
||||
|
||||
description 'Car Packs'
|
||||
|
||||
author 'Ferious Development LLC'
|
||||
|
||||
files {
|
||||
'data/**/vehicles.meta',
|
||||
'data/**/carcols.meta',
|
||||
'data/**/carvariations.meta',
|
||||
'data/**/handling.meta',
|
||||
'data/**/vehiclelayouts.meta',
|
||||
'data/**/dlctext.meta',
|
||||
}
|
||||
|
||||
|
||||
data_file 'handling_file' 'data/**/*handling.meta'
|
||||
data_file 'vehicle_metadata_file' 'data/**/*vehicles.meta'
|
||||
data_file 'dlctext_file' 'data/**/*dlctext.meta'
|
||||
data_file 'carcols_file' 'data/**/*carcols.meta'
|
||||
data_file 'vehicle_variation_file' 'data/**/*carvariations.meta'
|
||||
data_file 'vehicle_layouts_file' 'data/**/*vehicleslayouts.meta'
|
||||
|
||||
@@ -0,0 +1,67 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<CHandlingDataMgr>
|
||||
<HandlingData>
|
||||
<Item type="CHandlingData"> <!--2021 Tacoma Undercover Visor Setup By Ferious Development LLC @ Feb 2025-->
|
||||
<handlingName>21tacouc</handlingName>
|
||||
<fMass value="2200.000000" />
|
||||
<fInitialDragCoeff value="8.000000" />
|
||||
<fPercentSubmerged value="85.000000" />
|
||||
<vecCentreOfMassOffset x="0.000000" y="0.050000" z="0.000000" />
|
||||
<vecInertiaMultiplier x="1.000000" y="1.600000" z="1.600000" />
|
||||
<fDriveBiasFront value="0.500000" />
|
||||
<nInitialDriveGears value="6" />
|
||||
<fInitialDriveForce value="0.200000" />
|
||||
<fDriveInertia value="1.000000" />
|
||||
<fClutchChangeRateScaleUpShift value="1.800000" />
|
||||
<fClutchChangeRateScaleDownShift value="1.800000" />
|
||||
<fInitialDriveMaxFlatVel value="135.000000" />
|
||||
<fBrakeForce value="0.600000" />
|
||||
<fBrakeBiasFront value="0.650000" />
|
||||
<fHandBrakeForce value="0.350000" />
|
||||
<fSteeringLock value="35.000000" />
|
||||
<fTractionCurveMax value="1.900000" />
|
||||
<fTractionCurveMin value="1.500000" />
|
||||
<fTractionCurveLateral value="19.000000" />
|
||||
<fTractionSpringDeltaMax value="0.130000" />
|
||||
<fLowSpeedTractionLossMult value="1.000000" />
|
||||
<fCamberStiffnesss value="0.000000" />
|
||||
<fTractionBiasFront value="0.500000" />
|
||||
<fTractionLossMult value="0.900000" />
|
||||
<fSuspensionForce value="1.400000" />
|
||||
<fSuspensionCompDamp value="0.700000" />
|
||||
<fSuspensionReboundDamp value="1.200000" />
|
||||
<fSuspensionUpperLimit value="0.100000" />
|
||||
<fSuspensionLowerLimit value="-0.180000" />
|
||||
<fSuspensionRaise value="0.000000" />
|
||||
<fSuspensionBiasFront value="0.510000" />
|
||||
<fAntiRollBarForce value="0.900000" />
|
||||
<fAntiRollBarBiasFront value="0.600000" />
|
||||
<fRollCentreHeightFront value="0.550000" />
|
||||
<fRollCentreHeightRear value="0.500000" />
|
||||
<fCollisionDamageMult value="1.000000" />
|
||||
<fWeaponDamageMult value="1.000000" />
|
||||
<fDeformationDamageMult value="0.800000" />
|
||||
<fEngineDamageMult value="1.500000" />
|
||||
<fPetrolTankVolume value="65.000000" />
|
||||
<fOilVolume value="5.500000" />
|
||||
<fSeatOffsetDistX value="0.000000" />
|
||||
<fSeatOffsetDistY value="0.000000" />
|
||||
<fSeatOffsetDistZ value="0.000000" />
|
||||
<nMonetaryValue value="50000" />
|
||||
<strModelFlags>440010</strModelFlags>
|
||||
<strHandlingFlags>0</strHandlingFlags>
|
||||
<strDamageFlags>0</strDamageFlags>
|
||||
<AIHandling>AVERAGE</AIHandling>
|
||||
<SubHandlingData>
|
||||
<Item type="CCarHandlingData">
|
||||
<fBackEndPopUpCarImpulseMult value="0.100000" />
|
||||
<fBackEndPopUpBuildingImpulseMult value="0.030000" />
|
||||
<fBackEndPopUpMaxDeltaSpeed value="0.600000" />
|
||||
</Item>
|
||||
<Item type="NULL" />
|
||||
<Item type="NULL" />
|
||||
</SubHandlingData>
|
||||
</Item><!--21TACTRDS HANDLING ENDS HERE-->
|
||||
</HandlingData>
|
||||
</CHandlingDataMgr>
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,58 @@
|
||||
|
||||
--[[
|
||||
Ultimate Lighting Controller Config
|
||||
the ULC resource is required to use this configuration
|
||||
get the resource here: https://github.com/Flohhhhh/ultimate-lighting-controller/releases/latest
|
||||
To learn how to setup and use ULC visit here: https://docs.dwnstr.com/ulc/overview
|
||||
]]
|
||||
|
||||
return {names = {"21tacouc"},
|
||||
steadyBurnConfig = {
|
||||
forceOn = false, useTime = false,
|
||||
disableWithLights = false,
|
||||
sbExtras = {}
|
||||
},
|
||||
parkConfig = {
|
||||
usePark = false,
|
||||
useSync = false,
|
||||
syncWith = {},
|
||||
pExtras = {},
|
||||
dExtras = {}
|
||||
},
|
||||
hornConfig = {
|
||||
useHorn = false,
|
||||
hornExtras = {},
|
||||
disableExtras = {}
|
||||
},
|
||||
brakeConfig = {
|
||||
useBrakes = false,
|
||||
speedThreshold = 3,
|
||||
brakeExtras = {},
|
||||
disableExtras = {}
|
||||
},
|
||||
reverseConfig = {
|
||||
useReverse = false,
|
||||
reverseExtras = {},
|
||||
disableExtras = {}
|
||||
},
|
||||
doorConfig = {
|
||||
useDoors = false,
|
||||
driverSide = {enable = {}, disable = {}},
|
||||
passSide = {enable = {}, disable = {}},
|
||||
trunk = {enable ={}, disable = {}}
|
||||
},
|
||||
buttons = {
|
||||
{label = "Fog", key = 1, color = "green", extra = 1, linkedExtras = {}, oppositeExtras = {}, offExtras = {}, repair = false},
|
||||
{label = "Pod Light", key = 2, color = "green", extra = 6, linkedExtras = {}, oppositeExtras = {}, offExtras = {}, repair = false},
|
||||
{label = "Rear Pod Light", key = 3, color = "green", extra = 8, linkedExtras = {}, oppositeExtras = {}, offExtras = {}, repair = false}
|
||||
},
|
||||
stages = {
|
||||
useStages = false,
|
||||
stageKeys = {},
|
||||
},
|
||||
defaultStages = {
|
||||
useDefaults = false,
|
||||
enableKeys = {},
|
||||
disableKeys = {}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,151 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<CVehicleModelInfo__InitDataList>
|
||||
<residentTxd>vehshare</residentTxd>
|
||||
<residentAnims /> <!--2021 Tacoma Undercover Visor Setup By Ferious Development LLC @ Feb 2025-->
|
||||
<InitDatas>
|
||||
<Item>
|
||||
<modelName>21tacouc</modelName>
|
||||
<txdName>21tacouc</txdName>
|
||||
<handlingId>21tacouc</handlingId>
|
||||
<gameName>Toyota</gameName>
|
||||
<vehicleMakeName>Tacoma</vehicleMakeName>
|
||||
<expressionDictName>null</expressionDictName>
|
||||
<expressionName>null</expressionName>
|
||||
<animConvRoofDictName>va_taco_undercover</animConvRoofDictName>
|
||||
<animConvRoofName>taco_undercover</animConvRoofName>
|
||||
<animConvRoofWindowsAffected />
|
||||
<ptfxAssetName>null</ptfxAssetName>
|
||||
<audioNameHash>BISON</audioNameHash>
|
||||
<layout>LAYOUT_BISON</layout>
|
||||
<coverBoundOffsets>BISON_COVER_OFFSET_INFO</coverBoundOffsets>
|
||||
<explosionInfo>EXPLOSION_INFO_DEFAULT</explosionInfo>
|
||||
<scenarioLayout />
|
||||
<cameraName>DEFAULT_FOLLOW_VEHICLE_CAMERA</cameraName>
|
||||
<aimCameraName>DEFAULT_THIRD_PERSON_VEHICLE_AIM_CAMERA</aimCameraName>
|
||||
<bonnetCameraName>VEHICLE_BONNET_CAMERA_STANDARD</bonnetCameraName>
|
||||
<povCameraName>DEFAULT_POV_CAMERA</povCameraName>
|
||||
<FirstPersonDriveByIKOffset x="0.040000" y="-0.060000" z="-0.040000" />
|
||||
<FirstPersonDriveByUnarmedIKOffset x="0.000000" y="0.000000" z="0.000000" />
|
||||
<FirstPersonProjectileDriveByIKOffset x="0.075000" y="-0.128000" z="-0.020000" />
|
||||
<FirstPersonProjectileDriveByPassengerIKOffset x="0.000000" y="0.058000" z="-0.058000" />
|
||||
<FirstPersonProjectileDriveByRearLeftIKOffset x="0.000000" y="-0.058000" z="-0.055000" />
|
||||
<FirstPersonProjectileDriveByRearRightIKOffset x="0.000000" y="-0.058000" z="-0.055000" />
|
||||
<FirstPersonDriveByLeftPassengerIKOffset x="0.000000" y="0.015000" z="-0.040000" />
|
||||
<FirstPersonDriveByRightPassengerIKOffset x="-0.043000" y="-0.043000" z="-0.055000" />
|
||||
<FirstPersonDriveByRightRearPassengerIKOffset x="0.000000" y="0.015000" z="-0.040000" />
|
||||
<FirstPersonDriveByLeftPassengerUnarmedIKOffset x="0.000000" y="0.000000" z="0.000000" />
|
||||
<FirstPersonDriveByRightPassengerUnarmedIKOffset x="0.000000" y="0.000000" z="0.000000" />
|
||||
<FirstPersonMobilePhoneOffset x="0.143000" y="0.278000" z="0.565000" />
|
||||
<FirstPersonPassengerMobilePhoneOffset x="0.204000" y="0.176000" z="0.490000" />
|
||||
<FirstPersonMobilePhoneSeatIKOffset>
|
||||
<Item>
|
||||
<Offset x="0.204000" y="0.131000" z="0.490000" />
|
||||
<SeatIndex value="2" />
|
||||
</Item>
|
||||
<Item>
|
||||
<Offset x="0.204000" y="0.131000" z="0.490000" />
|
||||
<SeatIndex value="3" />
|
||||
</Item>
|
||||
</FirstPersonMobilePhoneSeatIKOffset>
|
||||
<PovCameraOffset x="0.000000" y="-0.170000" z="0.550000" />
|
||||
<PovCameraVerticalAdjustmentForRollCage value="0.000000" />
|
||||
<PovPassengerCameraOffset x="0.000000" y="0.000000" z="0.020000" />
|
||||
<PovRearPassengerCameraOffset x="0.000000" y="0.000000" z="0.020000" />
|
||||
<vfxInfoName>VFXVEHICLEINFO_CAR_GENERIC</vfxInfoName>
|
||||
<shouldUseCinematicViewMode value="true" />
|
||||
<shouldCameraTransitionOnClimbUpDown value="false" />
|
||||
<shouldCameraIgnoreExiting value="false" />
|
||||
<AllowPretendOccupants value="true" />
|
||||
<AllowJoyriding value="true" />
|
||||
<AllowSundayDriving value="true" />
|
||||
<AllowBodyColorMapping value="true" />
|
||||
<wheelScale value="0.300000" />
|
||||
<wheelScaleRear value="0.300000" />
|
||||
<dirtLevelMin value="0.300000" />
|
||||
<dirtLevelMax value="0.850000" />
|
||||
<envEffScaleMin value="0.000000" />
|
||||
<envEffScaleMax value="1.000000" />
|
||||
<envEffScaleMin2 value="0.000000" />
|
||||
<envEffScaleMax2 value="1.000000" />
|
||||
<damageMapScale value="0.600000" />
|
||||
<damageOffsetScale value="1.000000" />
|
||||
<diffuseTint value="0x00FFFFFF" />
|
||||
<steerWheelMult value="1.000000" />
|
||||
<HDTextureDist value="5.000000" />
|
||||
<lodDistances content="float_array">
|
||||
1500.000000
|
||||
3000.000000
|
||||
7000.000000
|
||||
14000.000000
|
||||
50000.000000
|
||||
50000.000000
|
||||
</lodDistances>
|
||||
<minSeatHeight value="0.962" />
|
||||
<identicalModelSpawnDistance value="20" />
|
||||
<maxNumOfSameColor value="10" />
|
||||
<defaultBodyHealth value="1000.000000" />
|
||||
<pretendOccupantsScale value="1.000000" />
|
||||
<visibleSpawnDistScale value="1.000000" />
|
||||
<trackerPathWidth value="2.000000" />
|
||||
<weaponForceMult value="1.000000" />
|
||||
<frequency value="100" />
|
||||
<swankness>SWANKNESS_1</swankness>
|
||||
<maxNum value="999" />
|
||||
<flags>FLAG_EXTRAS_STRONG FLAG_HAS_LIVERY FLAG_LAW_ENFORCEMENT FLAG_EMERGENCY_SERVICE FLAG_NO_RESPRAY FLAG_DONT_SPAWN_IN_CARGEN FLAG_HAS_INTERIOR_EXTRAS FLAG_REPORT_CRIME_IF_STANDING_ON</flags>
|
||||
<type>VEHICLE_TYPE_CAR</type>
|
||||
<plateType>VPT_FRONT_AND_BACK_PLATES</plateType>
|
||||
<dashboardType>VDT_FEROCI</dashboardType>
|
||||
<vehicleClass>VC_EMERGENCY</vehicleClass>
|
||||
<wheelType>VWT_SUV</wheelType>
|
||||
<trailers>
|
||||
<Item>boattrailer</Item>
|
||||
<Item>trailersmall</Item>
|
||||
</trailers>
|
||||
<additionalTrailers>
|
||||
<Item>trailersmall2</Item>
|
||||
</additionalTrailers>
|
||||
<drivers>
|
||||
<Item>
|
||||
<driverName>S_M_M_AutoShop_01</driverName>
|
||||
<npcName />
|
||||
</Item>
|
||||
<Item>
|
||||
<driverName>S_M_M_AutoShop_02</driverName>
|
||||
<npcName />
|
||||
</Item>
|
||||
<Item>
|
||||
<driverName>S_M_M_Trucker_01</driverName>
|
||||
<npcName />
|
||||
</Item>
|
||||
</drivers>
|
||||
<extraIncludes>
|
||||
<Item></Item>
|
||||
</extraIncludes>
|
||||
<doorsWithCollisionWhenClosed />
|
||||
<driveableDoors />
|
||||
<bumpersNeedToCollideWithMap value="false" />
|
||||
<needsRopeTexture value="false" />
|
||||
<requiredExtras>
|
||||
<Item>EXTRA_2</Item>
|
||||
</requiredExtras>
|
||||
<rewards />
|
||||
<cinematicPartCamera>
|
||||
<Item>WHEEL_FRONT_RIGHT_CAMERA</Item>
|
||||
<Item>WHEEL_FRONT_LEFT_CAMERA</Item>
|
||||
<Item>WHEEL_REAR_RIGHT_CAMERA</Item>
|
||||
<Item>WHEEL_REAR_LEFT_CAMERA</Item>
|
||||
</cinematicPartCamera>
|
||||
<NmBraceOverrideSet>Truck</NmBraceOverrideSet>
|
||||
<buoyancySphereOffset x="0.000000" y="0.000000" z="0.000000" />
|
||||
<buoyancySphereSizeScale value="1.000000" />
|
||||
<pOverrideRagdollThreshold type="NULL" />
|
||||
<firstPersonDrivebyData>
|
||||
<Item>RANGER_BISON_FRONT_LEFT</Item>
|
||||
<Item>VAN_RUMPO_FRONT_RIGHT</Item>
|
||||
<Item>RANGER_BISON_REAR_LEFT</Item>
|
||||
<Item>RANGER_BISON_REAR_RIGHT</Item>
|
||||
</firstPersonDrivebyData>
|
||||
</Item>
|
||||
</InitDatas>
|
||||
<txdRelationships />
|
||||
</CVehicleModelInfo__InitDataList>
|
||||
@@ -0,0 +1,17 @@
|
||||
resource_manifest_version '77731fab-63ca-442c-a67b-abc70f28dfa5'
|
||||
|
||||
-- Leaked By: Leaking Hub | Joshua Y. | https://discord.gg/aXWXXst
|
||||
|
||||
files {
|
||||
'vehicles.meta',
|
||||
'carvariations.meta',
|
||||
'carcols.meta',
|
||||
'handling.meta',
|
||||
'vehiclelayouts.meta',
|
||||
}
|
||||
|
||||
data_file 'HANDLING_FILE' 'handling.meta'
|
||||
data_file 'VEHICLE_METADATA_FILE' 'vehicles.meta'
|
||||
data_file 'CARCOLS_FILE' 'carcols.meta'
|
||||
data_file 'VEHICLE_VARIATION_FILE' 'carvariations.meta'
|
||||
data_file 'VEHICLE_LAYOUTS_FILE' 'vehiclelayouts.meta'
|
||||
@@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<CExtraTextMetaFile>
|
||||
<hasGlobalTextFile value="true"/>
|
||||
<hasAdditionalText value="false"/>
|
||||
<isTitleUpdate value="false"/>
|
||||
</CExtraTextMetaFile>
|
||||
@@ -0,0 +1,140 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<CHandlingDataMgr>
|
||||
<HandlingData>
|
||||
<Item type="CHandlingData">
|
||||
<handlingName>as350</handlingName>
|
||||
<fMass value="22000.000000" />
|
||||
<fInitialDragCoeff value="2.500000" />
|
||||
<fPercentSubmerged value="65.000000" />
|
||||
<vecCentreOfMassOffset x="0.000000" y="0.600000" z="0.000000" />
|
||||
<vecInertiaMultiplier x="3.500000" y="3.500000" z="3.500000" />
|
||||
<fDriveBiasFront value="0.000000" />
|
||||
<nInitialDriveGears value="1" />
|
||||
<fInitialDriveForce value="0.300000" />
|
||||
<fDriveInertia value="1.000000" />
|
||||
<fClutchChangeRateScaleUpShift value="1.300000" />
|
||||
<fClutchChangeRateScaleDownShift value="1.300000" />
|
||||
<fInitialDriveMaxFlatVel value="235.000000" />
|
||||
<fBrakeForce value="0.400000" />
|
||||
<fBrakeBiasFront value="0.600000" />
|
||||
<fHandBrakeForce value="0.700000" />
|
||||
<fSteeringLock value="35.000000" />
|
||||
<fTractionCurveMax value="1.300000" />
|
||||
<fTractionCurveMin value="1.200000" />
|
||||
<fTractionCurveLateral value="12.000000" />
|
||||
<fTractionSpringDeltaMax value="0.100000" />
|
||||
<fLowSpeedTractionLossMult value="0.000000" />
|
||||
<fCamberStiffnesss value="0.000000" />
|
||||
<fTractionBiasFront value="0.500000" />
|
||||
<fTractionLossMult value="1.000000" />
|
||||
<fSuspensionForce value="8.800000" />
|
||||
<fSuspensionCompDamp value="6.500000" />
|
||||
<fSuspensionReboundDamp value="7.099994" />
|
||||
<fSuspensionUpperLimit value="0.100000" />
|
||||
<fSuspensionLowerLimit value="-0.020000" />
|
||||
<fSuspensionRaise value="0.000000" />
|
||||
<fSuspensionBiasFront value="0.120000" />
|
||||
<fAntiRollBarForce value="0.000000" />
|
||||
<fAntiRollBarBiasFront value="0.000000" />
|
||||
<fRollCentreHeightFront value="0.000000" />
|
||||
<fRollCentreHeightRear value="0.000000" />
|
||||
<fCollisionDamageMult value="9.500000" />
|
||||
<fWeaponDamageMult value="9.500000" />
|
||||
<fDeformationDamageMult value="9.000000" />
|
||||
<fEngineDamageMult value="9.500000" />
|
||||
<fPetrolTankVolume value="100.000000" />
|
||||
<fOilVolume value="8.000000" />
|
||||
<fSeatOffsetDistX value="-0.150000" />
|
||||
<fSeatOffsetDistY value="0.000000" />
|
||||
<fSeatOffsetDistZ value="0.000000" />
|
||||
<nMonetaryValue value="52000" />
|
||||
<strModelFlags>2044000</strModelFlags>
|
||||
<strHandlingFlags>401000</strHandlingFlags>
|
||||
<strDamageFlags>20</strDamageFlags>
|
||||
<AIHandling>AVERAGE</AIHandling>
|
||||
<SubHandlingData>
|
||||
<Item type="CFlyingHandlingData">
|
||||
<fThrust value="0.300000" />
|
||||
<fThrustFallOff value="0.025000" />
|
||||
<fThrustVectoring value="0.000000" />
|
||||
<fYawMult value="-0.225000" />
|
||||
<fYawStabilise value="0.000000" />
|
||||
<fSideSlipMult value="0.000000" />
|
||||
<fRollMult value="1.170000" />
|
||||
<fRollStabilise value="0.000000" />
|
||||
<fPitchMult value="1.170000" />
|
||||
<fPitchStabilise value="0.000000" />
|
||||
<fFormLiftMult value="1.800000" />
|
||||
<fAttackLiftMult value="0.005500" />
|
||||
<fAttackDiveMult value="0.004500" />
|
||||
<fGearDownDragV value="0.100000" />
|
||||
<fGearDownLiftMult value="1.000000" />
|
||||
<fWindMult value="0.000500" />
|
||||
<fMoveRes value="0.032000" />
|
||||
<vecTurnRes x="0.980000" y="0.980000" z="0.850000" />
|
||||
<vecSpeedRes x="0.150000" y="0.150000" z="-0.450000" />
|
||||
<fGearDoorFrontOpen value="90.000000" />
|
||||
<fGearDoorRearOpen value="90.000000" />
|
||||
<fGearDoorRearOpen2 value="90.000000" />
|
||||
<fGearDoorRearMOpen value="90.000000" />
|
||||
<fTurublenceMagnitudeMax value="0.020000" />
|
||||
<fTurublenceForceMulti value="0.001500" />
|
||||
<fTurublenceRollTorqueMulti value="0.000000" />
|
||||
<fTurublencePitchTorqueMulti value="0.000000" />
|
||||
<fBodyDamageControlEffectMult value="9.500000" />
|
||||
<fInputSensitivityForDifficulty value="0.300000" />
|
||||
<fOnGroundYawBoostSpeedPeak value="1.000000" />
|
||||
<fOnGroundYawBoostSpeedCap value="1.000000" />
|
||||
<fEngineOffGlideMulti value="1.000000" />
|
||||
<fSubmergeLevelToPullHeliUnderwater value="0.01" />
|
||||
<handlingType>HANDLING_TYPE_FLYING</handlingType>
|
||||
</Item>
|
||||
<Item type="CVehicleWeaponHandlingData">
|
||||
<uWeaponHash>
|
||||
<Item>VEHICLE_WEAPON_SEARCHLIGHT</Item>
|
||||
<Item />
|
||||
<Item />
|
||||
</uWeaponHash>
|
||||
<WeaponSeats content="int_array">
|
||||
0
|
||||
0
|
||||
0
|
||||
</WeaponSeats>
|
||||
<fTurretSpeed content="float_array">
|
||||
1.000000
|
||||
0.000000
|
||||
</fTurretSpeed>
|
||||
<fTurretPitchMin content="float_array">
|
||||
0.000000
|
||||
0.000000
|
||||
</fTurretPitchMin>
|
||||
<fTurretPitchMax content="float_array">
|
||||
0.000000
|
||||
0.000000
|
||||
</fTurretPitchMax>
|
||||
<fTurretCamPitchMin content="float_array">
|
||||
0.000000
|
||||
0.000000
|
||||
</fTurretCamPitchMin>
|
||||
<fTurretCamPitchMax content="float_array">
|
||||
0.000000
|
||||
0.000000
|
||||
</fTurretCamPitchMax>
|
||||
<fBulletVelocityForGravity content="float_array">
|
||||
0.000000
|
||||
0.000000
|
||||
</fBulletVelocityForGravity>
|
||||
<fTurretPitchForwardMin content="float_array">
|
||||
0.000000
|
||||
0.000000
|
||||
</fTurretPitchForwardMin>
|
||||
<fUvAnimationMult value="0.000000" />
|
||||
<fMiscGadgetVar value="0.000000" />
|
||||
<fWheelImpactOffset value="0.000000" />
|
||||
</Item>
|
||||
<Item type="NULL" />
|
||||
</SubHandlingData>
|
||||
</Item>
|
||||
</HandlingData>
|
||||
</CHandlingDataMgr>
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,143 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<CVehicleModelInfo__InitDataList>
|
||||
<residentTxd>vehshare</residentTxd>
|
||||
<residentAnims />
|
||||
|
||||
<InitDatas>
|
||||
<Item>
|
||||
<modelName>as350</modelName>
|
||||
<txdName>as350</txdName>
|
||||
<handlingId>as350</handlingId>
|
||||
<gameName>AS350</gameName>
|
||||
<vehicleMakeName />
|
||||
<expressionDictName>null</expressionDictName>
|
||||
<expressionName>null</expressionName>
|
||||
<animConvRoofDictName>null</animConvRoofDictName>
|
||||
<animConvRoofName>null</animConvRoofName>
|
||||
<animConvRoofWindowsAffected />
|
||||
<ptfxAssetName>null</ptfxAssetName>
|
||||
<audioNameHash />
|
||||
<layout>LAYOUT_HELI</layout>
|
||||
<coverBoundOffsets>POLMAV_COVER_OFFSET_INFO</coverBoundOffsets>
|
||||
<explosionInfo>EXPLOSION_INFO_DEFAULT</explosionInfo>
|
||||
<scenarioLayout />
|
||||
<cameraName>FOLLOW_MAVERICK_CAMERA</cameraName>
|
||||
<aimCameraName>MAVERICK_AIM_CAMERA</aimCameraName>
|
||||
<bonnetCameraName>HELI_BONNET_CAMERA</bonnetCameraName>
|
||||
<povCameraName>HELI_POV_CAMERA</povCameraName>
|
||||
<FirstPersonDriveByIKOffset x="0.000000" y="0.000000" z="0.000000" />
|
||||
<FirstPersonDriveByUnarmedIKOffset x="0.000000" y="0.000000" z="0.000000" />
|
||||
<FirstPersonProjectileDriveByIKOffset x="0.000000" y="0.000000" z="0.000000" />
|
||||
<FirstPersonProjectileDriveByPassengerIKOffset x="0.000000" y="0.000000" z="0.000000" />
|
||||
<FirstPersonProjectileDriveByRearLeftIKOffset x="0.000000" y="0.000000" z="0.000000" />
|
||||
<FirstPersonProjectileDriveByRearRightIKOffset x="0.000000" y="0.000000" z="0.000000" />
|
||||
<FirstPersonDriveByLeftPassengerIKOffset x="0.000000" y="0.000000" z="0.000000" />
|
||||
<FirstPersonDriveByRightPassengerIKOffset x="0.000000" y="-0.063000" z="-0.033000" />
|
||||
<FirstPersonDriveByRightRearPassengerIKOffset x="0.000000" y="0.000000" z="0.000000" />
|
||||
<FirstPersonDriveByLeftPassengerUnarmedIKOffset x="0.000000" y="0.000000" z="0.000000" />
|
||||
<FirstPersonDriveByRightPassengerUnarmedIKOffset x="0.000000" y="0.000000" z="0.000000" />
|
||||
<FirstPersonMobilePhoneOffset x="0.121000" y="0.350000" z="0.508000" />
|
||||
<FirstPersonPassengerMobilePhoneOffset x="0.136000" y="0.296000" z="0.410000" />
|
||||
<FirstPersonMobilePhoneSeatIKOffset>
|
||||
<Item>
|
||||
<Offset x="-0.519000" y="-0.133000" z="0.558000" />
|
||||
<SeatIndex value="2" />
|
||||
</Item>
|
||||
<Item>
|
||||
<Offset x="0.547000" y="-0.359000" z="0.468000" />
|
||||
<SeatIndex value="3" />
|
||||
</Item>
|
||||
</FirstPersonMobilePhoneSeatIKOffset>
|
||||
<PovCameraOffset x="0.000000" y="0.005000" z="0.650000" />
|
||||
<PovCameraVerticalAdjustmentForRollCage value="0.000000" />
|
||||
<PovPassengerCameraOffset x="0.000000" y="0.000000" z="0.000000" />
|
||||
<PovRearPassengerCameraOffset x="0.000000" y="0.000000" z="0.000000" />
|
||||
<vfxInfoName>VFXVEHICLEINFO_HELI_GENERIC</vfxInfoName>
|
||||
<shouldUseCinematicViewMode value="true" />
|
||||
<shouldCameraTransitionOnClimbUpDown value="false" />
|
||||
<shouldCameraIgnoreExiting value="false" />
|
||||
<AllowPretendOccupants value="false" />
|
||||
<AllowJoyriding value="true" />
|
||||
<AllowSundayDriving value="true" />
|
||||
<AllowBodyColorMapping value="true" />
|
||||
<wheelScale value="0.170000" />
|
||||
<wheelScaleRear value="0.075000" />
|
||||
<dirtLevelMin value="0.000000" />
|
||||
<dirtLevelMax value="0.450000" />
|
||||
<envEffScaleMin value="0.000000" />
|
||||
<envEffScaleMax value="1.000000" />
|
||||
<envEffScaleMin2 value="0.000000" />
|
||||
<envEffScaleMax2 value="1.000000" />
|
||||
<damageMapScale value="0.600000" />
|
||||
<damageOffsetScale value="1.000000" />
|
||||
<diffuseTint value="0x00FFFFFF" />
|
||||
<steerWheelMult value="1.000000" />
|
||||
<HDTextureDist value="5.000000" />
|
||||
<lodDistances content="float_array">
|
||||
20.000000
|
||||
35.000000
|
||||
100.000000
|
||||
200.000000
|
||||
1000.000000
|
||||
1000.000000
|
||||
</lodDistances>
|
||||
<minSeatHeight value="1.057" />
|
||||
<identicalModelSpawnDistance value="20" />
|
||||
<maxNumOfSameColor value="10" />
|
||||
<defaultBodyHealth value="1000.000000" />
|
||||
<pretendOccupantsScale value="1.000000" />
|
||||
<visibleSpawnDistScale value="1.350000" />
|
||||
<trackerPathWidth value="2.000000" />
|
||||
<weaponForceMult value="1.000000" />
|
||||
<frequency value="100" />
|
||||
<swankness>SWANKNESS_4</swankness>
|
||||
<maxNum value="999" />
|
||||
<flags>FLAG_NO_BOOT FLAG_HAS_LIVERY FLAG_LAW_ENFORCEMENT FLAG_DRIVER_NO_DRIVE_BY FLAG_NO_RESPRAY FLAG_ALLOWS_RAPPEL FLAG_DONT_SPAWN_IN_CARGEN FLAG_HEADLIGHTS_USE_ACTUAL_BONE_POS FLAG_DONT_SPAWN_AS_AMBIENT FLAG_BLOCK_FROM_ATTRACTOR_SCENARIO FLAG_DONT_TIMESLICE_WHEELS</flags>
|
||||
<type>VEHICLE_TYPE_HELI</type>
|
||||
<plateType>VPT_NONE</plateType>
|
||||
<dashboardType>VDT_MAVERICK</dashboardType>
|
||||
<vehicleClass>VC_HELICOPTER</vehicleClass>
|
||||
<wheelType>VWT_SPORT</wheelType>
|
||||
<trailers />
|
||||
<additionalTrailers />
|
||||
<drivers>
|
||||
<Item>
|
||||
<driverName>S_M_Y_SWAT_01</driverName>
|
||||
<npcName />
|
||||
</Item>
|
||||
</drivers>
|
||||
<extraIncludes />
|
||||
<doorsWithCollisionWhenClosed />
|
||||
<driveableDoors />
|
||||
<bumpersNeedToCollideWithMap value="false" />
|
||||
<needsRopeTexture value="true" />
|
||||
<requiredExtras />
|
||||
<rewards>
|
||||
<Item>REWARD_WEAPON_SNIPERRIFLE</Item>
|
||||
<Item>REWARD_AMMO_SNIPERRIFLE</Item>
|
||||
<Item>REWARD_STAT_WEAPON</Item>
|
||||
</rewards>
|
||||
<cinematicPartCamera>
|
||||
<Item>HELI_REAR_ROTOR_CAMERA</Item>
|
||||
</cinematicPartCamera>
|
||||
<NmBraceOverrideSet />
|
||||
<buoyancySphereOffset x="0.000000" y="0.000000" z="0.000000" />
|
||||
<buoyancySphereSizeScale value="1.000000" />
|
||||
<pOverrideRagdollThreshold type="NULL" />
|
||||
<firstPersonDrivebyData>
|
||||
<Item>STD_FRONT_LEFT</Item>
|
||||
<Item>HELI_FRONT_RIGHT</Item>
|
||||
<Item>HELI_LEFT_SIDE_PASSENGER</Item>
|
||||
<Item>HELI_RIGHT_SIDE_PASSENGER</Item>
|
||||
</firstPersonDrivebyData>
|
||||
</Item>
|
||||
</InitDatas>
|
||||
|
||||
<txdRelationships>
|
||||
<Item>
|
||||
<parent>vehicles_jet_interior</parent>
|
||||
<child>kj2000</child>
|
||||
</Item>
|
||||
</txdRelationships>
|
||||
|
||||
</CVehicleModelInfo__InitDataList>
|
||||
@@ -0,0 +1,17 @@
|
||||
resource_manifest_version '77731fab-63ca-442c-a67b-abc70f28dfa5'
|
||||
|
||||
-- Leaked By: Leaking Hub | Joshua Y. | https://discord.gg/aXWXXst
|
||||
|
||||
files {
|
||||
'vehicles.meta',
|
||||
'carvariations.meta',
|
||||
'carcols.meta',
|
||||
'handling.meta',
|
||||
'vehiclelayouts.meta',
|
||||
}
|
||||
|
||||
data_file 'HANDLING_FILE' 'handling.meta'
|
||||
data_file 'VEHICLE_METADATA_FILE' 'vehicles.meta'
|
||||
data_file 'CARCOLS_FILE' 'carcols.meta'
|
||||
data_file 'VEHICLE_VARIATION_FILE' 'carvariations.meta'
|
||||
data_file 'VEHICLE_LAYOUTS_FILE' 'vehiclelayouts.meta'
|
||||
Binary file not shown.
@@ -0,0 +1,43 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<CVehicleModelInfoVariation>
|
||||
<variationData>
|
||||
<Item>
|
||||
<modelName>aw139</modelName>
|
||||
<colors>
|
||||
<Item>
|
||||
<indices content="char_array">
|
||||
111
|
||||
6
|
||||
6
|
||||
6
|
||||
</indices>
|
||||
<liveries>
|
||||
<Item value="false" />
|
||||
<Item value="false" />
|
||||
<Item value="false" />
|
||||
<Item value="false" />
|
||||
<Item value="false" />
|
||||
<Item value="false" />
|
||||
<Item value="false" />
|
||||
<Item value="false" />
|
||||
</liveries>
|
||||
</Item>
|
||||
</colors>
|
||||
<kits>
|
||||
<Item>0_default_modkit</Item>
|
||||
</kits>
|
||||
<windowsWithExposedEdges />
|
||||
<plateProbabilities>
|
||||
<Probabilities>
|
||||
<Item>
|
||||
<Name>police guv plate</Name>
|
||||
<Value value="100" />
|
||||
</Item>
|
||||
</Probabilities>
|
||||
</plateProbabilities>
|
||||
<lightSettings value="18" />
|
||||
<sirenSettings value="0" />
|
||||
</Item>
|
||||
</variationData>
|
||||
</CVehicleModelInfoVariation>
|
||||
@@ -0,0 +1,139 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<CHandlingDataMgr>
|
||||
<HandlingData>
|
||||
<Item type="CHandlingData">
|
||||
<handlingName>AW139</handlingName>
|
||||
<fMass value="6500.000000" />
|
||||
<fInitialDragCoeff value="10.000000" />
|
||||
<fPercentSubmerged value="75.000000" />
|
||||
<vecCentreOfMassOffset x="0.000000" y="0.335000" z="0.000000" />
|
||||
<vecInertiaMultiplier x="1.000000" y="1.000000" z="1.000000" />
|
||||
<fDriveBiasFront value="0.000000" />
|
||||
<nInitialDriveGears value="1" />
|
||||
<fInitialDriveForce value="0.300000" />
|
||||
<fDriveInertia value="1.000000" />
|
||||
<fClutchChangeRateScaleUpShift value="1.300000" />
|
||||
<fClutchChangeRateScaleDownShift value="1.300000" />
|
||||
<fInitialDriveMaxFlatVel value="160.000000" />
|
||||
<fBrakeForce value="0.400000" />
|
||||
<fBrakeBiasFront value="0.600000" />
|
||||
<fHandBrakeForce value="0.700000" />
|
||||
<fSteeringLock value="35.000000" />
|
||||
<fTractionCurveMax value="1.300000" />
|
||||
<fTractionCurveMin value="1.200000" />
|
||||
<fTractionCurveLateral value="12.000000" />
|
||||
<fTractionSpringDeltaMax value="0.100000" />
|
||||
<fLowSpeedTractionLossMult value="0.000000" />
|
||||
<fCamberStiffnesss value="0.000000" />
|
||||
<fTractionBiasFront value="0.500000" />
|
||||
<fTractionLossMult value="1.000000" />
|
||||
<fSuspensionForce value="3.500000" />
|
||||
<fSuspensionCompDamp value="1.500000" />
|
||||
<fSuspensionReboundDamp value="3.000000" />
|
||||
<fSuspensionUpperLimit value="0.05000" />
|
||||
<fSuspensionLowerLimit value="-0.088000" />
|
||||
<fSuspensionRaise value="0.000000" />
|
||||
<fSuspensionBiasFront value="0.2500" />
|
||||
<fAntiRollBarForce value="0.000000" />
|
||||
<fAntiRollBarBiasFront value="0.000000" />
|
||||
<fRollCentreHeightFront value="0.000000" />
|
||||
<fRollCentreHeightRear value="0.000000" />
|
||||
<fCollisionDamageMult value="1.500000" />
|
||||
<fWeaponDamageMult value="0.500000" />
|
||||
<fDeformationDamageMult value="3.000000" />
|
||||
<fEngineDamageMult value="1.500000" />
|
||||
<fPetrolTankVolume value="100.000000" />
|
||||
<fOilVolume value="8.000000" />
|
||||
<fSeatOffsetDistX value="0.000000" />
|
||||
<fSeatOffsetDistY value="0.000000" />
|
||||
<fSeatOffsetDistZ value="0.200000" />
|
||||
<nMonetaryValue value="52000" />
|
||||
<strModelFlags>2004000</strModelFlags>
|
||||
<strHandlingFlags>401000</strHandlingFlags>
|
||||
<strDamageFlags>20</strDamageFlags>
|
||||
<AIHandling>AVERAGE</AIHandling>
|
||||
<SubHandlingData>
|
||||
<Item type="CFlyingHandlingData">
|
||||
<fThrust value="0.55500" />
|
||||
<fThrustFallOff value="0.032500" />
|
||||
<fThrustVectoring value="0.400000" />
|
||||
<fYawMult value="-1.300000" />
|
||||
<fYawStabilise value="0.001800" />
|
||||
<fSideSlipMult value="0.004000" />
|
||||
<fRollMult value="1.50000" />
|
||||
<fRollStabilise value="0.011000" />
|
||||
<fPitchMult value="1.40000" />
|
||||
<fPitchStabilise value="0.001100" />
|
||||
<fFormLiftMult value="1.000000" />
|
||||
<fAttackLiftMult value="2.900000" />
|
||||
<fAttackDiveMult value="2.900000" />
|
||||
<fGearDownDragV value="0.100000" />
|
||||
<fGearDownLiftMult value="1.000000" />
|
||||
<fWindMult value="0.000300" />
|
||||
<fMoveRes value="0.035000" />
|
||||
<vecTurnRes x="0.820000" y="0.740000" z="0.820000" />
|
||||
<vecSpeedRes x="0.500000" y="0.500000" z="0.700000" />
|
||||
<fGearDoorFrontOpen value="110.000000" />
|
||||
<fGearDoorRearOpen value="95.000000" />
|
||||
<fGearDoorRearOpen2 value="90.000000" />
|
||||
<fGearDoorRearMOpen value="90.000000" />
|
||||
<fTurublenceMagnitudeMax value="0.000000" />
|
||||
<fTurublenceForceMulti value="0.000000" />
|
||||
<fTurublenceRollTorqueMulti value="0.000000" />
|
||||
<fTurublencePitchTorqueMulti value="0.000000" />
|
||||
<fBodyDamageControlEffectMult value="0.400000" />
|
||||
<fInputSensitivityForDifficulty value="0.400000" />
|
||||
<fOnGroundYawBoostSpeedPeak value="1.000000" />
|
||||
<fOnGroundYawBoostSpeedCap value="1.000000" />
|
||||
<fEngineOffGlideMulti value="1.000000" />
|
||||
<handlingType>HANDLING_TYPE_FLYING</handlingType>
|
||||
</Item>
|
||||
<Item type="CVehicleWeaponHandlingData">
|
||||
<uWeaponHash>
|
||||
<Item>VEHICLE_WEAPON_SEARCHLIGHT</Item>
|
||||
<Item>VEHICLE_WEAPON_SEARCHLIGHT</Item>
|
||||
<Item>VEHICLE_WEAPON_SEARCHLIGHT</Item>
|
||||
</uWeaponHash>
|
||||
<WeaponSeats content="int_array">
|
||||
1
|
||||
1
|
||||
0
|
||||
</WeaponSeats>
|
||||
<fTurretSpeed content="float_array">
|
||||
15.000000
|
||||
15.000000
|
||||
</fTurretSpeed>
|
||||
<fTurretPitchMin content="float_array">
|
||||
-1.500000
|
||||
-1.500000
|
||||
</fTurretPitchMin>
|
||||
<fTurretPitchMax content="float_array">
|
||||
0.707000
|
||||
0.707000
|
||||
</fTurretPitchMax>
|
||||
<fTurretCamPitchMin content="float_array">
|
||||
-1.500000
|
||||
-1.500000
|
||||
</fTurretCamPitchMin>
|
||||
<fTurretCamPitchMax content="float_array">
|
||||
0.707000
|
||||
0.707000
|
||||
</fTurretCamPitchMax>
|
||||
<fBulletVelocityForGravity content="float_array">
|
||||
25.000000
|
||||
25.000000
|
||||
</fBulletVelocityForGravity>
|
||||
<fTurretPitchForwardMin content="float_array">
|
||||
-1.500000
|
||||
-1.500000
|
||||
</fTurretPitchForwardMin>
|
||||
<fUvAnimationMult value="0.000000" />
|
||||
<fMiscGadgetVar value="0.000000" />
|
||||
<fWheelImpactOffset value="0.000000" />
|
||||
</Item>
|
||||
<Item type="NULL" />
|
||||
</SubHandlingData>
|
||||
</Item>
|
||||
</HandlingData>
|
||||
</CHandlingDataMgr>
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,122 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<CVehicleModelInfo__InitDataList>
|
||||
<residentTxd>vehshare</residentTxd>
|
||||
<residentAnims />
|
||||
|
||||
<InitDatas>
|
||||
<Item>
|
||||
<modelName>aw139</modelName>
|
||||
<txdName>aw139</txdName>
|
||||
<handlingId>aw139</handlingId>
|
||||
<gameName>aw139</gameName>
|
||||
<vehicleMakeName>AUGUSTW</vehicleMakeName>
|
||||
<expressionDictName>null</expressionDictName>
|
||||
<expressionName>null</expressionName>
|
||||
<animConvRoofDictName>null</animConvRoofDictName>
|
||||
<animConvRoofName>null</animConvRoofName>
|
||||
<animConvRoofWindowsAffected />
|
||||
<ptfxAssetName>null</ptfxAssetName>
|
||||
<audioNameHash />
|
||||
<layout>LAYOUT_HELI_SWIFT</layout>
|
||||
<!-- <layout>LAYOUT_HELI_AW139</layout> -->
|
||||
<coverBoundOffsets>SWIFT_COVER_OFFSET_INFO</coverBoundOffsets>
|
||||
<explosionInfo>EXPLOSION_INFO_DEFAULT</explosionInfo>
|
||||
<scenarioLayout />
|
||||
<cameraName>FOLLOW_HELI_CAMERA</cameraName>
|
||||
<aimCameraName>HELI_AIM_CAMERA</aimCameraName>
|
||||
<bonnetCameraName>DEFAULT_VEHICLE_BONNET_CAMERA</bonnetCameraName>
|
||||
<povCameraName>HELI_POV_CAMERA</povCameraName>
|
||||
<FirstPersonDriveByIKOffset x="0.000000" y="0.000000" z="0.000000" />
|
||||
<FirstPersonDriveByUnarmedIKOffset x="0.000000" y="0.000000" z="0.000000" />
|
||||
<FirstPersonProjectileDriveByIKOffset x="0.000000" y="0.000000" z="0.000000" />
|
||||
<FirstPersonProjectileDriveByPassengerIKOffset x="0.000000" y="0.000000" z="0.000000" />
|
||||
<FirstPersonDriveByLeftPassengerIKOffset x="0.000000" y="0.000000" z="0.000000" />
|
||||
<FirstPersonDriveByRightPassengerIKOffset x="-0.053000" y="-0.053000" z="-0.068000" />
|
||||
<FirstPersonDriveByLeftPassengerUnarmedIKOffset x="0.000000" y="0.000000" z="0.000000" />
|
||||
<FirstPersonDriveByRightPassengerUnarmedIKOffset x="0.000000" y="-0.080000" z="-0.033000" />
|
||||
<FirstPersonPassengerMobilePhoneOffset x="0.173000" y="0.273000" z="0.518000" />
|
||||
<FirstPersonMobilePhoneOffset x="0.183000" y="0.383000" z="0.553000" />
|
||||
<PovCameraOffset x="0.000000" y="-0.100000" z="0.670000" />
|
||||
<vfxInfoName>VFXVEHICLEINFO_HELI_GENERIC</vfxInfoName>
|
||||
<shouldUseCinematicViewMode value="true" />
|
||||
<shouldCameraTransitionOnClimbUpDown value="false" />
|
||||
<shouldCameraIgnoreExiting value="false" />
|
||||
<AllowPretendOccupants value="false" />
|
||||
<AllowJoyriding value="true" />
|
||||
<AllowSundayDriving value="true" />
|
||||
<AllowBodyColorMapping value="true" />
|
||||
<wheelScale value="0.137000" />
|
||||
<wheelScaleRear value="0.144000" />
|
||||
<dirtLevelMin value="0.000000" />
|
||||
<dirtLevelMax value="0.200000" />
|
||||
<envEffScaleMin value="0.000000" />
|
||||
<envEffScaleMax value="1.000000" />
|
||||
<envEffScaleMin2 value="0.000000" />
|
||||
<envEffScaleMax2 value="1.000000" />
|
||||
<damageMapScale value="0.600000" />
|
||||
<damageOffsetScale value="1.000000" />
|
||||
<diffuseTint value="0x32000000" />
|
||||
<steerWheelMult value="1.000000" />
|
||||
<HDTextureDist value="5.000000" />
|
||||
<lodDistances content="float_array">
|
||||
20.000000
|
||||
40.000000
|
||||
100.000000
|
||||
200.000000
|
||||
1000.000000
|
||||
1000.000000
|
||||
</lodDistances>
|
||||
<minSeatHeight value="1.24" />
|
||||
<identicalModelSpawnDistance value="20" />
|
||||
<maxNumOfSameColor value="10" />
|
||||
<defaultBodyHealth value="1000.000000" />
|
||||
<pretendOccupantsScale value="1.000000" />
|
||||
<visibleSpawnDistScale value="1.350000" />
|
||||
<trackerPathWidth value="2.000000" />
|
||||
<weaponForceMult value="1.000000" />
|
||||
<frequency value="100" />
|
||||
<swankness>SWANKNESS_3</swankness>
|
||||
<maxNum value="999" />
|
||||
<flags>FLAG_HEADLIGHTS_USE_ACTUAL_BONE_POS FLAG_NO_BOOT FLAG_DRIVER_NO_DRIVE_BY FLAG_HAS_LIVERY FLAG_NO_RESPRAY FLAG_AVERAGE_CAR FLAG_DONT_SPAWN_IN_CARGEN FLAG_DONT_SPAWN_AS_AMBIENT FLAG_DONT_TIMESLICE_WHEELS FLAG_LAW_ENFORCEMENT FLAG_ALLOWS_RAPPEL FLAG_HELICOPTER_WITH_LANDING_GEAR FLAG_HAS_TURRET_SEAT_ON_VEHICLE FLAG_USE_TURRET_RELATIVE_AIM_CALCULATION FLAG_EQUIP_UNARMED_ON_ENTER</flags>
|
||||
<type>VEHICLE_TYPE_HELI</type>
|
||||
<plateType>VPT_NONE</plateType>
|
||||
<dashboardType>VDT_LAZER</dashboardType>
|
||||
<vehicleClass>VC_HELICOPTER</vehicleClass>
|
||||
<wheelType>VWT_SPORT</wheelType>
|
||||
<trailers />
|
||||
<additionalTrailers />
|
||||
<drivers>
|
||||
<Item>
|
||||
<driverName>s_m_y_uscg_03</driverName>
|
||||
<npcName>Pilot</npcName>
|
||||
</Item>
|
||||
</drivers>
|
||||
<extraIncludes />
|
||||
<doorsWithCollisionWhenClosed />
|
||||
<driveableDoors />
|
||||
<bumpersNeedToCollideWithMap value="false" />
|
||||
<needsRopeTexture value="true" />
|
||||
<requiredExtras />
|
||||
<rewards />
|
||||
<cinematicPartCamera>
|
||||
<Item>HELI_REAR_ROTOR_CAMERA</Item>
|
||||
</cinematicPartCamera>
|
||||
<NmBraceOverrideSet />
|
||||
<buoyancySphereOffset x="0.000000" y="0.000000" z="0.000000" />
|
||||
<buoyancySphereSizeScale value="1.000000" />
|
||||
<pOverrideRagdollThreshold type="NULL" />
|
||||
<firstPersonDrivebyData>
|
||||
<Item>STD_FRONT_LEFT</Item>
|
||||
<Item>HELI_FRONT_RIGHT</Item>
|
||||
</firstPersonDrivebyData>
|
||||
</Item>
|
||||
</InitDatas>
|
||||
|
||||
<txdRelationships>
|
||||
<Item>
|
||||
<parent>vehicles_jet_interior</parent>
|
||||
<child>AW139</child>
|
||||
</Item>
|
||||
</txdRelationships>
|
||||
|
||||
</CVehicleModelInfo__InitDataList>
|
||||
@@ -0,0 +1,17 @@
|
||||
resource_manifest_version '77731fab-63ca-442c-a67b-abc70f28dfa5'
|
||||
|
||||
-- Leaked By: Leaking Hub | Joshua Y. | https://discord.gg/aXWXXst
|
||||
|
||||
files {
|
||||
'vehicles.meta',
|
||||
'carvariations.meta',
|
||||
'carcols.meta',
|
||||
'handling.meta',
|
||||
'vehiclelayouts.meta',
|
||||
}
|
||||
|
||||
data_file 'HANDLING_FILE' 'handling.meta'
|
||||
data_file 'VEHICLE_METADATA_FILE' 'vehicles.meta'
|
||||
data_file 'CARCOLS_FILE' 'carcols.meta'
|
||||
data_file 'VEHICLE_VARIATION_FILE' 'carvariations.meta'
|
||||
data_file 'VEHICLE_LAYOUTS_FILE' 'vehiclelayouts.meta'
|
||||
@@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<CExtraTextMetaFile>
|
||||
<hasGlobalTextFile value="true"/>
|
||||
<hasAdditionalText value="false"/>
|
||||
<isTitleUpdate value="false"/>
|
||||
</CExtraTextMetaFile>
|
||||
@@ -0,0 +1,178 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<SExtraTitleUpdateData>
|
||||
<Mounts>
|
||||
<Item type="SExtraTitleUpdateMount">
|
||||
<deviceName>dlcSPUpgrade:/</deviceName>
|
||||
<path>update:/dlc_patch/spUpgrade/</path>
|
||||
</Item>
|
||||
<Item type="SExtraTitleUpdateMount">
|
||||
<deviceName>dlcMPBeach:/</deviceName>
|
||||
<path>update:/dlc_patch/mpBeach/</path>
|
||||
</Item>
|
||||
<Item type="SExtraTitleUpdateMount">
|
||||
<deviceName>dlc_MPChristmas:/</deviceName>
|
||||
<path>update:/dlc_patch/mpChristmas/</path>
|
||||
</Item>
|
||||
<Item type="SExtraTitleUpdateMount">
|
||||
<deviceName>dlcMPValentines:/</deviceName>
|
||||
<path>update:/dlc_patch/mpValentines/</path>
|
||||
</Item>
|
||||
<Item type="SExtraTitleUpdateMount">
|
||||
<deviceName>dlcMPBusiness:/</deviceName>
|
||||
<path>update:/dlc_patch/mpBusiness/</path>
|
||||
</Item>
|
||||
<Item type="SExtraTitleUpdateMount">
|
||||
<deviceName>dlc_mpBusiness2:/</deviceName>
|
||||
<path>update:/dlc_patch/mpBusiness2/</path>
|
||||
</Item>
|
||||
<Item type="SExtraTitleUpdateMount">
|
||||
<deviceName>dlcMPHipster:/</deviceName>
|
||||
<path>update:/dlc_patch/mpHipster/</path>
|
||||
</Item>
|
||||
<Item type="SExtraTitleUpdateMount">
|
||||
<deviceName>dlc_MPIndependence:/</deviceName>
|
||||
<path>update:/dlc_patch/mpIndependence/</path>
|
||||
</Item>
|
||||
<Item type="SExtraTitleUpdateMount">
|
||||
<deviceName>dlcMPLTS:/</deviceName>
|
||||
<path>update:/dlc_patch/mpLTS/</path>
|
||||
</Item>
|
||||
<Item type="SExtraTitleUpdateMount">
|
||||
<deviceName>dlcMPPilot:/</deviceName>
|
||||
<path>update:/dlc_patch/mpPilot/</path>
|
||||
</Item>
|
||||
<Item type="SExtraTitleUpdateMount">
|
||||
<deviceName>dlc_patchDay1NG:/</deviceName>
|
||||
<path>update:/dlc_patch/patchDay1NG/</path>
|
||||
</Item>
|
||||
<Item type="SExtraTitleUpdateMount">
|
||||
<deviceName>dlc_mpPatchesNG:/</deviceName>
|
||||
<path>update:/dlc_patch/mpPatchesNG/</path>
|
||||
</Item>
|
||||
<Item type="SExtraTitleUpdateMount">
|
||||
<deviceName>dlc_mpChristmas2:/</deviceName>
|
||||
<path>update:/dlc_patch/mpChristmas2/</path>
|
||||
</Item>
|
||||
<Item type="SExtraTitleUpdateMount">
|
||||
<deviceName>dlcMPHeist:/</deviceName>
|
||||
<path>update:/dlc_patch/mpHeist/</path>
|
||||
</Item>
|
||||
<Item type="SExtraTitleUpdateMount">
|
||||
<deviceName>dlc_MPLuxe:/</deviceName>
|
||||
<path>update:/dlc_patch/mpLuxe/</path>
|
||||
</Item>
|
||||
<Item type="SExtraTitleUpdateMount">
|
||||
<deviceName>dlc_patchDay3NG:/</deviceName>
|
||||
<path>update:/dlc_patch/patchDay3NG/</path>
|
||||
</Item>
|
||||
<Item type="SExtraTitleUpdateMount">
|
||||
<deviceName>dlc_patchDay5NG:/</deviceName>
|
||||
<path>update:/dlc_patch/patchDay5NG/</path>
|
||||
</Item>
|
||||
<Item type="SExtraTitleUpdateMount">
|
||||
<deviceName>dlc_mpLuxe2:/</deviceName>
|
||||
<path>update:/dlc_patch/mpLuxe2/</path>
|
||||
</Item>
|
||||
<Item type="SExtraTitleUpdateMount">
|
||||
<deviceName>dlc_mpLowrider:/</deviceName>
|
||||
<path>update:/dlc_patch/mpLowrider/</path>
|
||||
</Item>
|
||||
<Item type="SExtraTitleUpdateMount">
|
||||
<deviceName>dlcMPHalloween:/</deviceName>
|
||||
<path>update:/dlc_patch/mpHalloween/</path>
|
||||
</Item>
|
||||
<Item type="SExtraTitleUpdateMount">
|
||||
<deviceName>dlc_mpApartment:/</deviceName>
|
||||
<path>update:/dlc_patch/mpApartment/</path>
|
||||
</Item>
|
||||
<Item type="SExtraTitleUpdateMount">
|
||||
<deviceName>dlc_mpLowrider2:/</deviceName>
|
||||
<path>update:/dlc_patch/mpLowrider2/</path>
|
||||
</Item>
|
||||
<Item type="SExtraTitleUpdateMount">
|
||||
<deviceName>dlc_navy:/</deviceName>
|
||||
<path>update:/dlc_patch/navy/</path>
|
||||
</Item>
|
||||
<Item type="SExtraTitleUpdateMount">
|
||||
<deviceName>dlc_sr71:/</deviceName>
|
||||
<path>update:/dlc_patch/sr71/</path>
|
||||
</Item>
|
||||
<Item type="SExtraTitleUpdateMount">
|
||||
<deviceName>dlc_spyplane:/</deviceName>
|
||||
<path>update:/dlc_patch/spyplane/</path>
|
||||
</Item>
|
||||
<Item type="SExtraTitleUpdateMount">
|
||||
<deviceName>dlc_stryker:/</deviceName>
|
||||
<path>update:/dlc_patch/stryker/</path>
|
||||
</Item>
|
||||
<Item type="SExtraTitleUpdateMount">
|
||||
<deviceName>dlc_usaf:/</deviceName>
|
||||
<path>update:/dlc_patch/usaf/</path>
|
||||
</Item>
|
||||
<Item type="SExtraTitleUpdateMount">
|
||||
<deviceName>dlc_bluethunder:/</deviceName>
|
||||
<path>update:/dlc_patch/bluethunder/</path>
|
||||
</Item>
|
||||
<Item type="SExtraTitleUpdateMount">
|
||||
<deviceName>dlc_usmc:/</deviceName>
|
||||
<path>update:/dlc_patch/usmc/</path>
|
||||
</Item>
|
||||
<Item type="SExtraTitleUpdateMount">
|
||||
<deviceName>dlc_mq9:/</deviceName>
|
||||
<path>update:/dlc_patch/mq9/</path>
|
||||
</Item>
|
||||
<Item type="SExtraTitleUpdateMount">
|
||||
<deviceName>dlc_spooky:/</deviceName>
|
||||
<path>update:/dlc_patch/spooky/</path>
|
||||
</Item>
|
||||
<Item type="SExtraTitleUpdateMount">
|
||||
<deviceName>dlc_concorde:/</deviceName>
|
||||
<path>update:/dlc_patch/concorde/</path>
|
||||
</Item>
|
||||
<Item type="SExtraTitleUpdateMount">
|
||||
<deviceName>dlc_a320:/</deviceName>
|
||||
<path>update:/dlc_patch/a320/</path>
|
||||
</Item>
|
||||
<Item type="SExtraTitleUpdateMount">
|
||||
<deviceName>dlc_spirit:/</deviceName>
|
||||
<path>update:/dlc_patch/spirit/</path>
|
||||
</Item>
|
||||
<Item type="SExtraTitleUpdateMount">
|
||||
<deviceName>dlc_leo2a6:/</deviceName>
|
||||
<path>update:/dlc_patch/leo2a6/</path>
|
||||
</Item>
|
||||
<Item type="SExtraTitleUpdateMount">
|
||||
<deviceName>dlc_shuttlecarrier:/</deviceName>
|
||||
<path>update:/dlc_patch/shuttlecarrier/</path>
|
||||
</Item>
|
||||
<Item type="SExtraTitleUpdateMount">
|
||||
<deviceName>dlc_airforce1:/</deviceName>
|
||||
<path>update:/dlc_patch/airforce1/</path>
|
||||
</Item>
|
||||
<Item type="SExtraTitleUpdateMount">
|
||||
<deviceName>dlc_vh60n:/</deviceName>
|
||||
<path>update:/dlc_patch/vh60n/</path>
|
||||
</Item>
|
||||
<Item type="SExtraTitleUpdateMount">
|
||||
<deviceName>dlc_a346:/</deviceName>
|
||||
<path>update:/dlc_patch/a346/</path>
|
||||
</Item>
|
||||
<Item type="SExtraTitleUpdateMount">
|
||||
<deviceName>dlc_a343:/</deviceName>
|
||||
<path>update:/dlc_patch/a343/</path>
|
||||
</Item>
|
||||
<Item type="SExtraTitleUpdateMount">
|
||||
<deviceName>dlc_firehawk:/</deviceName>
|
||||
<path>update:/dlc_patch/firehawk/</path>
|
||||
</Item>
|
||||
<Item type="SExtraTitleUpdateMount">
|
||||
<deviceName>dlc_s64e:/</deviceName>
|
||||
<path>update:/dlc_patch/s64e/</path>
|
||||
</Item>
|
||||
<Item type="SExtraTitleUpdateMount">
|
||||
<deviceName>dlc_mpExecutive:/</deviceName>
|
||||
<path>update:/dlc_patch/mpExecutive/</path>
|
||||
</Item>
|
||||
</Mounts>
|
||||
</SExtraTitleUpdateData>
|
||||
@@ -0,0 +1,140 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<CHandlingDataMgr>
|
||||
<HandlingData>
|
||||
<Item type="CHandlingData">
|
||||
<handlingName>firehawk</handlingName>
|
||||
<fMass value="13000.000000" />
|
||||
<fInitialDragCoeff value="10.000000" />
|
||||
<fPercentSubmerged value="75.000000" />
|
||||
<vecCentreOfMassOffset x="0.000000" y="0.000000" z="0.000000" />
|
||||
<vecInertiaMultiplier x="1.000000" y="1.000000" z="1.000000" />
|
||||
<fDriveBiasFront value="0.000000" />
|
||||
<nInitialDriveGears value="1" />
|
||||
<fInitialDriveForce value="0.300000" />
|
||||
<fDriveInertia value="1.000000" />
|
||||
<fClutchChangeRateScaleUpShift value="1.300000" />
|
||||
<fClutchChangeRateScaleDownShift value="1.300000" />
|
||||
<fInitialDriveMaxFlatVel value="160.000000" />
|
||||
<fBrakeForce value="0.400000" />
|
||||
<fBrakeBiasFront value="0.600000" />
|
||||
<fHandBrakeForce value="0.700000" />
|
||||
<fSteeringLock value="35.000000" />
|
||||
<fTractionCurveMax value="1.300000" />
|
||||
<fTractionCurveMin value="1.200000" />
|
||||
<fTractionCurveLateral value="12.000000" />
|
||||
<fTractionSpringDeltaMax value="0.100000" />
|
||||
<fLowSpeedTractionLossMult value="0.000000" />
|
||||
<fCamberStiffnesss value="0.000000" />
|
||||
<fTractionBiasFront value="0.500000" />
|
||||
<fTractionLossMult value="1.000000" />
|
||||
<fSuspensionForce value="2.000000" />
|
||||
<fSuspensionCompDamp value="2.000000" />
|
||||
<fSuspensionReboundDamp value="2.000000" />
|
||||
<fSuspensionUpperLimit value="0.200000" />
|
||||
<fSuspensionLowerLimit value="-0.100000" />
|
||||
<fSuspensionRaise value="0.000000" />
|
||||
<fSuspensionBiasFront value="0.850000" />
|
||||
<fAntiRollBarForce value="0.000000" />
|
||||
<fAntiRollBarBiasFront value="0.000000" />
|
||||
<fRollCentreHeightFront value="0.000000" />
|
||||
<fRollCentreHeightRear value="0.000000" />
|
||||
<fCollisionDamageMult value="1.500000" />
|
||||
<fWeaponDamageMult value="0.500000" />
|
||||
<fDeformationDamageMult value="3.000000" />
|
||||
<fEngineDamageMult value="1.500000" />
|
||||
<fPetrolTankVolume value="100.000000" />
|
||||
<fOilVolume value="8.000000" />
|
||||
<fSeatOffsetDistX value="0.000000" />
|
||||
<fSeatOffsetDistY value="0.000000" />
|
||||
<fSeatOffsetDistZ value="0.000000" />
|
||||
<nMonetaryValue value="52000" />
|
||||
<strModelFlags>2022000</strModelFlags>
|
||||
<strHandlingFlags>401000</strHandlingFlags>
|
||||
<strDamageFlags>20</strDamageFlags>
|
||||
<AIHandling>AVERAGE</AIHandling>
|
||||
<SubHandlingData>
|
||||
<Item type="CFlyingHandlingData">
|
||||
<fThrust value="0.470000" />
|
||||
<fThrustFallOff value="0.035000" />
|
||||
<fThrustVectoring value="0.300000" />
|
||||
<fYawMult value="-1.050000" />
|
||||
<fYawStabilise value="0.000700" />
|
||||
<fSideSlipMult value="0.004000" />
|
||||
<fRollMult value="1.350000" />
|
||||
<fRollStabilise value="0.012000" />
|
||||
<fPitchMult value="1.500000" />
|
||||
<fPitchStabilise value="0.002000" />
|
||||
<fFormLiftMult value="0.800000" />
|
||||
<fAttackLiftMult value="2.500000" />
|
||||
<fAttackDiveMult value="2.500000" />
|
||||
<fGearDownDragV value="0.100000" />
|
||||
<fGearDownLiftMult value="1.000000" />
|
||||
<fWindMult value="0.000250" />
|
||||
<fMoveRes value="0.050000" />
|
||||
<vecTurnRes x="0.750000" y="0.650000" z="0.750000" />
|
||||
<vecSpeedRes x="0.500000" y="0.500000" z="0.700000" />
|
||||
<fGearDoorFrontOpen value="90.000000" />
|
||||
<fGearDoorRearOpen value="90.000000" />
|
||||
<fGearDoorRearOpen2 value="90.000000" />
|
||||
<fGearDoorRearMOpen value="90.000000" />
|
||||
<fTurublenceMagnitudeMax value="0.000000" />
|
||||
<fTurublenceForceMulti value="0.000000" />
|
||||
<fTurublenceRollTorqueMulti value="0.000000" />
|
||||
<fTurublencePitchTorqueMulti value="0.000000" />
|
||||
<fBodyDamageControlEffectMult value="0.500000" />
|
||||
<fInputSensitivityForDifficulty value="0.180000" />
|
||||
<fOnGroundYawBoostSpeedPeak value="1.000000" />
|
||||
<fOnGroundYawBoostSpeedCap value="1.000000" />
|
||||
<fEngineOffGlideMulti value="1.000000" />
|
||||
<handlingType>HANDLING_TYPE_FLYING</handlingType>
|
||||
</Item>
|
||||
<Item type="CVehicleWeaponHandlingData">
|
||||
<uWeaponHash>
|
||||
<Item>VEHICLE_WEAPON_WATER_CANNON</Item>
|
||||
<Item>VEHICLE_WEAPON_SEARCHLIGHT</Item>
|
||||
<Item />
|
||||
</uWeaponHash>
|
||||
<WeaponSeats content="int_array">
|
||||
0
|
||||
0
|
||||
0
|
||||
</WeaponSeats>
|
||||
<fTurretSpeed content="float_array">
|
||||
3.000000
|
||||
0.000000
|
||||
</fTurretSpeed>
|
||||
<fTurretPitchMin content="float_array">
|
||||
-0.400000
|
||||
0.000000
|
||||
</fTurretPitchMin>
|
||||
<fTurretPitchMax content="float_array">
|
||||
0.707000
|
||||
0.000000
|
||||
</fTurretPitchMax>
|
||||
<fTurretCamPitchMin content="float_array">
|
||||
-0.500000
|
||||
0.000000
|
||||
</fTurretCamPitchMin>
|
||||
<fTurretCamPitchMax content="float_array">
|
||||
0.000000
|
||||
0.000000
|
||||
</fTurretCamPitchMax>
|
||||
<fBulletVelocityForGravity content="float_array">
|
||||
25.000000
|
||||
0.000000
|
||||
</fBulletVelocityForGravity>
|
||||
<fTurretPitchForwardMin content="float_array">
|
||||
-0.080000
|
||||
0.000000
|
||||
</fTurretPitchForwardMin>
|
||||
<fUvAnimationMult value="0.000000" />
|
||||
<fMiscGadgetVar value="0.000000" />
|
||||
<fWheelImpactOffset value="0.000000" />
|
||||
</Item>
|
||||
<Item type="NULL" />
|
||||
<Item type="NULL" />
|
||||
</SubHandlingData>
|
||||
</Item>
|
||||
</HandlingData>
|
||||
</CHandlingDataMgr>
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,145 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<CVehicleModelInfo__InitDataList>
|
||||
<residentTxd>vehshare</residentTxd>
|
||||
<residentAnims />
|
||||
|
||||
<InitDatas>
|
||||
<Item>
|
||||
<modelName>firehawk</modelName>
|
||||
<txdName>firehawk</txdName>
|
||||
<handlingId>FIREHAWK</handlingId>
|
||||
<gameName>ANNIHL</gameName>
|
||||
<vehicleMakeName />
|
||||
<expressionDictName>null</expressionDictName>
|
||||
<expressionName>null</expressionName>
|
||||
<animConvRoofDictName>null</animConvRoofDictName>
|
||||
<animConvRoofName>null</animConvRoofName>
|
||||
<animConvRoofWindowsAffected />
|
||||
<ptfxAssetName>null</ptfxAssetName>
|
||||
<audioNameHash />
|
||||
<layout>LAYOUT_HELI_SWIFT</layout>
|
||||
<coverBoundOffsets>ANNIHILATOR_COVER_OFFSET_INFO</coverBoundOffsets>
|
||||
<explosionInfo>EXPLOSION_INFO_DEFAULT</explosionInfo>
|
||||
<scenarioLayout />
|
||||
<cameraName>FOLLOW_HELI_CAMERA</cameraName>
|
||||
<aimCameraName>HELI_AIM_CAMERA</aimCameraName>
|
||||
<bonnetCameraName>ANNIHILATOR_BONNET_CAMERA</bonnetCameraName>
|
||||
<povCameraName>ANNIHILATOR_POV_CAMERA</povCameraName>
|
||||
<FirstPersonDriveByIKOffset x="0.035000" y="-0.215000" z="-0.018000" />
|
||||
<FirstPersonDriveByUnarmedIKOffset x="0.000000" y="0.000000" z="0.000000" />
|
||||
<FirstPersonProjectileDriveByIKOffset x="0.000000" y="0.000000" z="0.000000" />
|
||||
<FirstPersonProjectileDriveByPassengerIKOffset x="0.000000" y="0.000000" z="0.000000" />
|
||||
<FirstPersonProjectileDriveByRearLeftIKOffset x="0.000000" y="0.000000" z="0.000000" />
|
||||
<FirstPersonProjectileDriveByRearRightIKOffset x="0.000000" y="0.000000" z="0.000000" />
|
||||
<FirstPersonDriveByLeftPassengerIKOffset x="0.000000" y="0.040000" z="-0.128000" />
|
||||
<FirstPersonDriveByRightPassengerIKOffset x="0.000000" y="-0.050000" z="-0.035000" />
|
||||
<FirstPersonDriveByRightRearPassengerIKOffset x="0.000000" y="0.040000" z="-0.128000" />
|
||||
<FirstPersonDriveByLeftPassengerUnarmedIKOffset x="0.000000" y="0.000000" z="0.000000" />
|
||||
<FirstPersonDriveByRightPassengerUnarmedIKOffset x="0.000000" y="0.000000" z="0.000000" />
|
||||
<FirstPersonMobilePhoneOffset x="0.190000" y="0.345000" z="0.490000" />
|
||||
<FirstPersonPassengerMobilePhoneOffset x="0.190000" y="0.283000" z="0.448000" />
|
||||
<FirstPersonMobilePhoneSeatIKOffset>
|
||||
<Item>
|
||||
<Offset x="-0.504000" y="-0.143000" z="0.478000" />
|
||||
<SeatIndex value="2" />
|
||||
</Item>
|
||||
<Item>
|
||||
<Offset x="0.599000" y="-0.448000" z="0.466000" />
|
||||
<SeatIndex value="3" />
|
||||
</Item>
|
||||
</FirstPersonMobilePhoneSeatIKOffset>
|
||||
<PovCameraOffset x="0.000000" y="-0.050000" z="0.625000" />
|
||||
<PovCameraVerticalAdjustmentForRollCage value="0.000000" />
|
||||
<PovPassengerCameraOffset x="0.000000" y="0.030000" z="0.055000" />
|
||||
<PovRearPassengerCameraOffset x="0.000000" y="0.030000" z="0.055000" />
|
||||
<vfxInfoName>VFXVEHICLEINFO_HELI_ANNIHILATOR</vfxInfoName>
|
||||
<shouldUseCinematicViewMode value="true" />
|
||||
<shouldCameraTransitionOnClimbUpDown value="false" />
|
||||
<shouldCameraIgnoreExiting value="false" />
|
||||
<AllowPretendOccupants value="false" />
|
||||
<AllowJoyriding value="true" />
|
||||
<AllowSundayDriving value="true" />
|
||||
<AllowBodyColorMapping value="true" />
|
||||
<wheelScale value="0.200100" />
|
||||
<wheelScaleRear value="0.117600" />
|
||||
<dirtLevelMin value="0.000000" />
|
||||
<dirtLevelMax value="0.450000" />
|
||||
<envEffScaleMin value="0.000000" />
|
||||
<envEffScaleMax value="0.200000" />
|
||||
<envEffScaleMin2 value="0.000000" />
|
||||
<envEffScaleMax2 value="0.200000" />
|
||||
<damageMapScale value="0.300000" />
|
||||
<damageOffsetScale value="1.000000" />
|
||||
<diffuseTint value="0x00FFFFFF" />
|
||||
<steerWheelMult value="1.000000" />
|
||||
<HDTextureDist value="5.000000" />
|
||||
<lodDistances content="float_array">
|
||||
25.000000
|
||||
35.000000
|
||||
100.000000
|
||||
200.000000
|
||||
1000.000000
|
||||
1000.000000
|
||||
</lodDistances>
|
||||
<minSeatHeight value="0.969" />
|
||||
<identicalModelSpawnDistance value="20" />
|
||||
<maxNumOfSameColor value="10" />
|
||||
<defaultBodyHealth value="1000.000000" />
|
||||
<pretendOccupantsScale value="1.000000" />
|
||||
<visibleSpawnDistScale value="1.500000" />
|
||||
<trackerPathWidth value="2.000000" />
|
||||
<weaponForceMult value="1.000000" />
|
||||
<frequency value="100" />
|
||||
<swankness>SWANKNESS_4</swankness>
|
||||
<maxNum value="999" />
|
||||
<flags>FLAG_NO_BOOT FLAG_LAW_ENFORCEMENT FLAG_DRIVER_NO_DRIVE_BY FLAG_NO_RESPRAY FLAG_ALLOWS_RAPPEL FLAG_DONT_SPAWN_IN_CARGEN FLAG_DONT_SPAWN_AS_AMBIENT FLAG_DONT_TIMESLICE_WHEELS FLAG_DISABLE_WEAPON_WHEEL_IN_FIRST_PERSON FLAG_USE_PILOT_HELMET</flags>
|
||||
<type>VEHICLE_TYPE_HELI</type>
|
||||
<plateType>VPT_NONE</plateType>
|
||||
<dashboardType>VDT_MAVERICK</dashboardType>
|
||||
<vehicleClass>VC_HELICOPTER</vehicleClass>
|
||||
<wheelType>VWT_SPORT</wheelType>
|
||||
<trailers />
|
||||
<additionalTrailers />
|
||||
<drivers>
|
||||
<Item>
|
||||
<driverName>s_m_y_swat_01</driverName>
|
||||
<npcName />
|
||||
</Item>
|
||||
</drivers>
|
||||
<extraIncludes />
|
||||
<doorsWithCollisionWhenClosed />
|
||||
<driveableDoors />
|
||||
<bumpersNeedToCollideWithMap value="false" />
|
||||
<needsRopeTexture value="true" />
|
||||
<requiredExtras />
|
||||
<rewards>
|
||||
<Item>REWARD_WEAPON_SNIPERRIFLE</Item>
|
||||
<Item>REWARD_AMMO_SNIPERRIFLE</Item>
|
||||
<Item>REWARD_STAT_WEAPON</Item>
|
||||
</rewards>
|
||||
<cinematicPartCamera>
|
||||
<Item>HELI_REAR_ROTOR_CAMERA</Item>
|
||||
</cinematicPartCamera>
|
||||
<NmBraceOverrideSet />
|
||||
<buoyancySphereOffset x="0.000000" y="0.000000" z="-0.500000" />
|
||||
<buoyancySphereSizeScale value="0.900000" />
|
||||
<pOverrideRagdollThreshold type="NULL" />
|
||||
<firstPersonDrivebyData>
|
||||
<Item>STD_FRONT_LEFT</Item>
|
||||
<Item>HELI_ANNIHILATOR_FRONT_RIGHT</Item>
|
||||
<Item>HELI_LEFT_SIDE_PASSENGER</Item>
|
||||
<Item>HELI_RIGHT_SIDE_PASSENGER</Item>
|
||||
<Item>HELI_FROGGER_REAR_LEFT</Item>
|
||||
<Item>HELI_FROGGER_REAR_RIGHT</Item>
|
||||
</firstPersonDrivebyData>
|
||||
</Item>
|
||||
</InitDatas>
|
||||
|
||||
<txdRelationships>
|
||||
<Item>
|
||||
<parent>vehicles_jet_interior</parent>
|
||||
<child>kj2000</child>
|
||||
</Item>
|
||||
</txdRelationships>
|
||||
|
||||
</CVehicleModelInfo__InitDataList>
|
||||
@@ -818,7 +818,8 @@ Config.VehicleRestrictions = {
|
||||
"24mustanggt4d",
|
||||
"speed1",
|
||||
"f350bubba",
|
||||
"19mustgt",
|
||||
"19mustgt",
|
||||
"21tacouc",
|
||||
|
||||
},
|
||||
['EG | Owner'] = {
|
||||
@@ -971,7 +972,8 @@ Config.VehicleRestrictions = {
|
||||
"300srt8leo",
|
||||
"640",
|
||||
"704",
|
||||
"7728",
|
||||
"7728",
|
||||
"21tacouc",
|
||||
"23ram6",
|
||||
"21mach1stang",
|
||||
"am_srt15",
|
||||
|
||||
@@ -0,0 +1,381 @@
|
||||
-- Config (DON'T TOUCH)
|
||||
Config = {
|
||||
Model = axon
|
||||
}
|
||||
|
||||
-- THIS IS WHERE YOU DONT TOUCH, THESE ARE THE SOUNDS.
|
||||
|
||||
local function PlayAxonBodyOn()
|
||||
local playerNetId = NetworkGetNetworkIdFromEntity(PlayerPedId())
|
||||
TriggerServerEvent("Server:SoundToRadius", playerNetId, 4.0, "BODYCAMAXON_ON", 0.6)
|
||||
end
|
||||
|
||||
local function PlayAxonBodyOff()
|
||||
local playerNetId = NetworkGetNetworkIdFromEntity(PlayerPedId())
|
||||
TriggerServerEvent("Server:SoundToRadius", playerNetId, 4.0, "BODYCAMAXON_OFF", 0.6)
|
||||
end
|
||||
|
||||
local function PlayAxonBodyDPress()
|
||||
local playerNetId = NetworkGetNetworkIdFromEntity(PlayerPedId())
|
||||
TriggerServerEvent("Server:SoundToRadius", playerNetId, 4.0, "BODYCAMAXON_DPRESS", 0.6)
|
||||
end
|
||||
|
||||
local function PlayAxonBodyPress()
|
||||
local playerNetId = NetworkGetNetworkIdFromEntity(PlayerPedId())
|
||||
TriggerServerEvent("Server:SoundToRadius", playerNetId, 4.0, "BODYCAMAXON_PRESS", 0.6)
|
||||
end
|
||||
|
||||
local function PlayAxonBodyLowCharge()
|
||||
local playerNetId = NetworkGetNetworkIdFromEntity(PlayerPedId())
|
||||
TriggerServerEvent("Server:SoundToRadius", playerNetId, 4.0, "BODYCAMAXON_LOWBATTERY", 0.6)
|
||||
end
|
||||
|
||||
local function PlayGBodycamSoundOn()
|
||||
PlaySoundFrontend(-1, "5_SEC_WARNING", "HUD_MINI_GAME_SOUNDSET", 1)
|
||||
end
|
||||
|
||||
local function PlayGBodycamSoundOff()
|
||||
PlaySoundFrontend(-1, "ATM_WINDOW", "HUD_FRONTEND_DEFAULT_SOUNDSET", 1)
|
||||
end
|
||||
|
||||
function StartAxonTaserRecording()
|
||||
PlayAxonBodyOn()
|
||||
Notify("~y~Axon Taser: ~o~Taser unholstered. ~w~Body camera has ~g~started ~w~recording.")
|
||||
end
|
||||
|
||||
----
|
||||
----
|
||||
----
|
||||
-- START OF MAIN CODE SORTA
|
||||
local isABCon = false
|
||||
local isTaserDrawn = false
|
||||
local isTaserFired = false
|
||||
|
||||
local batteryLevel = 100
|
||||
local lowBatteryThreshold = 20
|
||||
local batteryDrainRate = 1
|
||||
local rechargeRate = 5
|
||||
local rechargeInterval = 60000
|
||||
local isRecharging = false
|
||||
|
||||
local isCalibrated = false
|
||||
|
||||
|
||||
RegisterCommand("bcCalibrate", function()
|
||||
isCalibrated = true
|
||||
Notify("~g~Bodycam calibrated successfully.")
|
||||
end, false)
|
||||
|
||||
function ToggleBodycam()
|
||||
if isABCon then
|
||||
isABCon = false
|
||||
else
|
||||
if batteryLevel > 0 then
|
||||
isABCon = true
|
||||
else
|
||||
Notify("~r~Battery depleted. Unable to start recording.")
|
||||
PlayAxonBodyLowCharge()
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Citizen.CreateThread(function()
|
||||
while true do
|
||||
Citizen.Wait(60000)
|
||||
if isABCon and batteryLevel > 0 and not isRecharging then
|
||||
batteryLevel = batteryLevel - 5
|
||||
if batteryLevel <= 10 then
|
||||
Notify("~r~Bodycam Battery Low: ~w~" .. batteryLevel .. "% remaining.")
|
||||
end
|
||||
elseif batteryLevel <= 0 then
|
||||
isABCon = false
|
||||
Notify("~r~Bodycam Battery: ~w~Depleted. Recording stopped.")
|
||||
end
|
||||
end
|
||||
end)
|
||||
|
||||
function StartRecharge()
|
||||
if isRecharging or batteryLevel >= 100 then return end
|
||||
isRecharging = true
|
||||
|
||||
Citizen.CreateThread(function()
|
||||
while isRecharging and batteryLevel < 100 do
|
||||
Citizen.Wait(rechargeInterval)
|
||||
batteryLevel = math.min(batteryLevel + rechargeRate, 100)
|
||||
if batteryLevel < 100 then
|
||||
Notify("~y~Bodycam Battery: ~g~" .. batteryLevel .. "% ~y~(Still Charging...)")
|
||||
else
|
||||
Notify("~g~Bodycam battery fully recharged. Charging stopped.")
|
||||
PlayAxonBodyLowCharge()
|
||||
isRecharging = false
|
||||
end
|
||||
end
|
||||
end)
|
||||
end
|
||||
|
||||
RegisterCommand("bodycamCharge", function()
|
||||
Notify("~y~Bodycam Battery Level: ~g~" .. batteryLevel .. "%")
|
||||
end, false)
|
||||
|
||||
RegisterCommand("rechargeBodycam", function()
|
||||
local playerPed = PlayerPedId()
|
||||
if IsPedInAnyVehicle(playerPed, false) then
|
||||
if batteryLevel < 100 then
|
||||
Notify("~y~Axon Body: ~w~ You're bodycam has started charging.")
|
||||
StartRecharge()
|
||||
elseif batteryLevel == 100 then
|
||||
Notify("~y~Axon Body: ~w~You're bodycam has started charging.")
|
||||
Notify("~y~Axon Body: ~w~Battery ~r~Full~w~, Charging has stopped.")
|
||||
PlayAxonBodyLowCharge()
|
||||
end
|
||||
else
|
||||
Notify("~r~You must be in a vehicle to recharge the bodycam.")
|
||||
end
|
||||
end, false)
|
||||
|
||||
|
||||
|
||||
Citizen.CreateThread(function()
|
||||
while true do
|
||||
Citizen.Wait(0)
|
||||
|
||||
local playerPed = PlayerPedId()
|
||||
local playerWeapon = GetSelectedPedWeapon(playerPed)
|
||||
|
||||
if isCalibrated then
|
||||
if playerWeapon == GetHashKey("WEAPON_STUNGUN") then
|
||||
if not isTaserDrawn then
|
||||
Citizen.Wait(3000)
|
||||
isTaserDrawn = true
|
||||
|
||||
if not isABCon then
|
||||
isABCon = true
|
||||
Config.Model = 'axon'
|
||||
StartAxonTaserRecording()
|
||||
end
|
||||
end
|
||||
|
||||
if IsPedShooting(playerPed) and not isTaserFired then
|
||||
isTaserFired = true
|
||||
Notify("~y~Axon Taser: ~o~Taser fired, updating dispatch.")
|
||||
Citizen.Wait(1000)
|
||||
end
|
||||
else
|
||||
if isTaserDrawn then
|
||||
isTaserDrawn = false
|
||||
isTaserFired = false
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end)
|
||||
|
||||
|
||||
|
||||
|
||||
Citizen.CreateThread(function()
|
||||
while true do
|
||||
Citizen.Wait(3000)
|
||||
|
||||
if isABCon == true then
|
||||
Citizen.Wait(120000)
|
||||
PlayAxonBodyOn()
|
||||
end
|
||||
end
|
||||
end)
|
||||
|
||||
local isShowingAxon = false
|
||||
local record = false
|
||||
local bdWeapons = {
|
||||
'WEAPON_PISTOL',
|
||||
'WEAPON_COMBATPISTOL',
|
||||
'WEAPON_SNSPISTOL',
|
||||
'WEAPON_HEAVYPISTOL'
|
||||
}
|
||||
|
||||
Citizen.CreateThread(function()
|
||||
while true do
|
||||
Citizen.Wait(100)
|
||||
|
||||
local ped = PlayerPedId()
|
||||
local currentWeapon = GetSelectedPedWeapon(ped)
|
||||
local isWeaponMatched = false
|
||||
|
||||
for _, weapon in ipairs(bdWeapons) do
|
||||
if currentWeapon == GetHashKey(weapon) then
|
||||
isWeaponMatched = true
|
||||
break
|
||||
end
|
||||
end
|
||||
|
||||
if not IsPedInAnyVehicle(ped, true) then
|
||||
if isWeaponMatched and not isABCon then
|
||||
if not isCalibrated then
|
||||
return
|
||||
end
|
||||
|
||||
Citizen.Wait(2000)
|
||||
Notify("~y~Axon Signal Sidearm: ~o~Weapon unholstered. ~w~Body camera has ~g~started ~w~recording.")
|
||||
PlayAxonBodyOn()
|
||||
isABCon = true
|
||||
Config.Model = 'axon'
|
||||
end
|
||||
else
|
||||
Citizen.Wait(1000)
|
||||
end
|
||||
end
|
||||
end)
|
||||
|
||||
|
||||
|
||||
|
||||
-----
|
||||
-- VEHICLE AXON SIGNAL
|
||||
|
||||
Citizen.CreateThread(function()
|
||||
while true do
|
||||
Citizen.Wait(100)
|
||||
local ped = PlayerPedId()
|
||||
|
||||
if IsPedInAnyVehicle(ped, false) then
|
||||
local currentVehicle = GetVehiclePedIsIn(ped, false)
|
||||
local LightsOn = IsVehicleSirenOn(currentVehicle)
|
||||
|
||||
if isCalibrated then
|
||||
if LightsOn and not isABCon then
|
||||
Citizen.Wait(2000)
|
||||
if IsVehicleSirenOn(currentVehicle) then
|
||||
Notify("~y~Axon Signal Vehicle: ~o~Emergency lights activated. ~w~Body camera has ~g~started ~w~recording.")
|
||||
PlayAxonBodyOn()
|
||||
isABCon = true
|
||||
Config.Model = 'axon'
|
||||
end
|
||||
end
|
||||
else
|
||||
Citizen.Wait(1000)
|
||||
end
|
||||
else
|
||||
Citizen.Wait(1000)
|
||||
end
|
||||
end
|
||||
end)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
RegisterKeyMapping('axonbc', 'Toggle your Axon Bodycam', 'keyboard', 'numpad7')
|
||||
|
||||
RegisterCommand("axonbc", function(source, args, rawCommand)
|
||||
if isCalibrated == false then
|
||||
Notify("~r~Please calibrate your bodycam first using /bcCalibrate.")
|
||||
else
|
||||
local ped = PlayerPedId()
|
||||
|
||||
while not HasAnimDictLoaded("clothingtie") do
|
||||
RequestAnimDict("clothingtie")
|
||||
Citizen.Wait(0)
|
||||
end
|
||||
|
||||
local pos = GetEntityCoords(ped, true)
|
||||
local rot = GetEntityHeading(ped)
|
||||
|
||||
if isABCon then
|
||||
TaskPlayAnimAdvanced(ped, "clothingtie", "outro", pos, 0.0, 0.0, rot, 8.0, 3.0, -1, 50, 0.125, 0, 0)
|
||||
Citizen.Wait(300)
|
||||
PlayAxonBodyPress()
|
||||
Citizen.Wait(600)
|
||||
ClearPedTasks(ped)
|
||||
Notify("~y~AXON BODY: ~w~Body Camera has ~r~stopped~w~ recording.")
|
||||
PlayAxonBodyOff()
|
||||
else
|
||||
TaskPlayAnimAdvanced(ped, "clothingtie", "outro", pos, 0.0, 0.0, rot, 8.0, 3.0, -1, 50, 0.125, 0, 0)
|
||||
Citizen.Wait(600)
|
||||
PlayAxonBodyDPress()
|
||||
Citizen.Wait(600)
|
||||
ClearPedTasks(ped)
|
||||
Notify("~y~AXON BODY: ~w~Body Camera has ~g~started~w~ recording.")
|
||||
PlayAxonBodyOn()
|
||||
end
|
||||
|
||||
isABCon = not isABCon
|
||||
Config.Model = 'axon'
|
||||
end
|
||||
end, false)
|
||||
|
||||
|
||||
|
||||
|
||||
RegisterCommand("togglerec", function(source, args, rawCommand)
|
||||
record = not record
|
||||
if not record then
|
||||
TriggerEvent('chat:addMessage', {
|
||||
color = {255, 0, 0},
|
||||
multiline = true,
|
||||
args = {"Bodycam", "Bodycam recording set to ^1 false"}
|
||||
})
|
||||
else
|
||||
TriggerEvent('chat:addMessage', {
|
||||
color = {255, 0, 0},
|
||||
multiline = true,
|
||||
args = {"Bodycam", "Bodycam recording set to ^2 true"}
|
||||
})
|
||||
end
|
||||
end, false)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
function Notify(string)
|
||||
SetNotificationTextEntry("STRING")
|
||||
AddTextComponentString(string)
|
||||
DrawNotification(false, true)
|
||||
end
|
||||
|
||||
Citizen.CreateThread(function()
|
||||
while true do
|
||||
if isABCon then
|
||||
local year, month, day, hour, minute, second = GetLocalTime()
|
||||
|
||||
if month < 10 then
|
||||
month = "0" .. month
|
||||
end
|
||||
|
||||
if day < 10 then
|
||||
day = "0" .. day
|
||||
end
|
||||
|
||||
if isShowingAxon and Config.Model == 'axon' then
|
||||
SendNUIMessage({
|
||||
transactionType = 'updateTime',
|
||||
timestamp = year .. '-0' .. month .. '-' .. day .. ' ' .. 'T' .. hour .. ':' .. minute .. ':' .. second,
|
||||
})
|
||||
end
|
||||
|
||||
if Config.Model == 'axon' and not isShowingAxon then
|
||||
SendNUIMessage({
|
||||
transactionType = 'showAxon',
|
||||
show = true,
|
||||
timestamp = year .. '-0' .. month .. '-' .. day .. ' ' .. 'T' .. hour .. ':' .. minute .. ':' .. second,
|
||||
})
|
||||
isShowingAxon = true
|
||||
end
|
||||
else
|
||||
if isShowingAxon and Config.Model == 'axon' then
|
||||
SendNUIMessage({
|
||||
transactionType = 'showAxon',
|
||||
show = false,
|
||||
})
|
||||
isShowingAxon = false
|
||||
end
|
||||
end
|
||||
|
||||
Citizen.Wait(100)
|
||||
end
|
||||
end)
|
||||
@@ -0,0 +1 @@
|
||||
-- NOT INN USE
|
||||
@@ -0,0 +1,35 @@
|
||||
--[[
|
||||
Please note the following;
|
||||
This resource was originally created by K&F Creative Studios, with modifications made by Crunchy Code. I do not claim ownership of
|
||||
the original creation; my contributions are limited to editing and enhancing the resource to introduce the features described on the LCPDFR.com page.
|
||||
]]
|
||||
|
||||
fx_version 'cerulean'
|
||||
games { 'gta5' }
|
||||
|
||||
author 'K&F Creative Studios'
|
||||
description 'Axon Body Cam Script'
|
||||
version '1.0.0'
|
||||
|
||||
ui_page 'html/index.html'
|
||||
|
||||
files {
|
||||
'html/index.html',
|
||||
'html/images/axon.png',
|
||||
}
|
||||
|
||||
shared_script 'config.lua'
|
||||
client_script 'client.lua'
|
||||
|
||||
|
||||
------------------------
|
||||
|
||||
--[[
|
||||
For the Axon Signal Taser integration.
|
||||
You can use one of these models for the taser, rename the models (.ydr // .ytd) to w_pi_stungun (<IF NEEDED).
|
||||
YOU DONT NEED ANYTHING TO MAKE THIS WORK, JUST NEED PlayCustomSounds. That's it. You dont even need the taser models.
|
||||
|
||||
https://www.gta5-mods.com/weapons/axon-taser-7 -- FREE
|
||||
|
||||
https://www.moddexdev.co.uk/products/taser-10-replace -- PAID
|
||||
]]
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 7.4 KiB |
@@ -0,0 +1,81 @@
|
||||
<html>
|
||||
<head>
|
||||
<!-- Need to include jQuery! -->
|
||||
<script src="nui://game/ui/jquery.js" type="text/javascript"></script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/howler/2.1.1/howler.min.js" type="text/javascript"></script>
|
||||
<script>
|
||||
var audioPlayer = null;
|
||||
|
||||
// Listen for NUI Messages.
|
||||
window.addEventListener('message', function(event) {
|
||||
// Check for playSound transaction
|
||||
if (event.data.transactionType == "playSound") {
|
||||
if (audioPlayer != null) {
|
||||
audioPlayer.pause();
|
||||
}
|
||||
|
||||
audioPlayer = new Howl({
|
||||
src: ["./sounds/" + event.data.transactionFile + ".ogg"],
|
||||
autoplay: false,
|
||||
loop: true,
|
||||
volume: event.data.transactionVolume,
|
||||
onend: function() {
|
||||
}
|
||||
});
|
||||
|
||||
audioPlayer.play();
|
||||
|
||||
} else if (event.data.transactionType == "showAxon") {
|
||||
var div = document.getElementById("axonOverlay");
|
||||
if (event.data.show == true) {
|
||||
div.style.display = "block";
|
||||
document.getElementById("timestamp").innerHTML = event.data.timestamp;
|
||||
} else {
|
||||
div.style.display = "none";
|
||||
}
|
||||
} else if (event.data.transactionType == "showReveal") {
|
||||
var div = document.getElementById("revealOverlay");
|
||||
if (event.data.show == true) {
|
||||
div.style.display = "block";
|
||||
document.getElementById("timestamp").innerHTML = event.data.timestamp;
|
||||
} else {
|
||||
div.style.display = "none";
|
||||
}
|
||||
}
|
||||
|
||||
if (event.data.transactionType == "updateTime") {
|
||||
document.getElementById("timestamp").innerHTML = event.data.timestamp;
|
||||
document.getElementById("timestamp2").innerHTML = event.data.timestamp;
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
<link href="https://fonts.googleapis.com/css2?family=Roboto+Mono&display=swap" rel="stylesheet">
|
||||
</head>
|
||||
<style>
|
||||
</style>
|
||||
<body>
|
||||
|
||||
<div id='axonOverlay' style='display:none; text-align:right;'>
|
||||
<div style='color:#ffff; font-weight:normal; font-size:1.6rem; height:100px; position:relative; margin-top:20px; margin-left:100px;'>
|
||||
<img src='images/axon.png' width='5%' height='auto' style='padding:5px; float:right; margin-top:10px; margin-left:10px;'>
|
||||
<div style="font-family: 'Roboto Mono', monospace; padding-top:20px; margin-right:50px; margin-left:100px;">
|
||||
<span id='timestamp'>2020-09-29 T18:29</span>
|
||||
<br>
|
||||
<span id='serial'>AXON BODY 3 X81020805</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id='revealOverlay' style='display:none;text-align:right;'>
|
||||
<div style='color:#ffff;font-weight:bold;font-size:1.4rem;height:100px;position:relative;'>
|
||||
<div style="font-family: 'Roboto Mono', monospace;padding-top:85vh;padding-right:100px;">
|
||||
<span id='serial'>249105</span>
|
||||
<br>
|
||||
<span id='timestamp2'>2020/10/09 17:44:32</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Binary file not shown.
@@ -0,0 +1,18 @@
|
||||
fx_version 'bodacious'
|
||||
game 'gta5'
|
||||
|
||||
author 'HANE'
|
||||
description 'HPUB'
|
||||
version '1.0.0'
|
||||
|
||||
this_is_a_map 'yes'
|
||||
|
||||
|
||||
data_file 'TIMECYCLEMOD_FILE' 'hane_gpub_timecycle.xml'
|
||||
data_file 'INTERIOR_PROXY_ORDER_FILE' 'interiorproxies.meta'
|
||||
|
||||
files {
|
||||
'hane_gpub_timecycle.xml',
|
||||
'interiorproxies.meta'
|
||||
}
|
||||
dependency '/assetpacks'
|
||||
@@ -0,0 +1,61 @@
|
||||
<timecycle_modifier_data version="1.000000">
|
||||
<modifier name="hngpub" numMods="61" userFlags="0">
|
||||
<light_directional_amb_intensity>0.000 0.000</light_directional_amb_intensity>
|
||||
<light_amb_down_wrap>0.410 0.000</light_amb_down_wrap>
|
||||
<light_natural_amb_down_col_r>1.000 1.000</light_natural_amb_down_col_r>
|
||||
<light_natural_amb_down_col_g>0.875 1.000</light_natural_amb_down_col_g>
|
||||
<light_natural_amb_down_col_b>0.522 1.000</light_natural_amb_down_col_b>
|
||||
<light_natural_amb_down_intensity>0.300 0.000</light_natural_amb_down_intensity>
|
||||
<light_natural_amb_up_col_r>0.800 1.000</light_natural_amb_up_col_r>
|
||||
<light_natural_amb_up_col_g>0.737 1.000</light_natural_amb_up_col_g>
|
||||
<light_natural_amb_up_col_b>0.365 1.000</light_natural_amb_up_col_b>
|
||||
<light_natural_amb_up_intensity>0.200 0.000</light_natural_amb_up_intensity>
|
||||
<light_natural_push>0.000 0.000</light_natural_push>
|
||||
<light_artificial_int_down_col_r>0.561 1.000</light_artificial_int_down_col_r>
|
||||
<light_artificial_int_down_col_g>0.341 1.000</light_artificial_int_down_col_g>
|
||||
<light_artificial_int_down_col_b>0.082 1.000</light_artificial_int_down_col_b>
|
||||
<light_artificial_int_down_intensity>0.500 0.000</light_artificial_int_down_intensity>
|
||||
<light_artificial_int_up_col_r>0.537 1.000</light_artificial_int_up_col_r>
|
||||
<light_artificial_int_up_col_g>0.702 1.000</light_artificial_int_up_col_g>
|
||||
<light_artificial_int_up_col_b>0.263 1.000</light_artificial_int_up_col_b>
|
||||
<light_artificial_int_up_intensity>0.200 0.000</light_artificial_int_up_intensity>
|
||||
<ped_light_col_r>1.000 1.000</ped_light_col_r>
|
||||
<ped_light_col_g>0.420 1.000</ped_light_col_g>
|
||||
<ped_light_col_b>0.110 1.000</ped_light_col_b>
|
||||
<ped_light_mult>0.200 1.000</ped_light_mult>
|
||||
<ssao_inten>5.768 0.000</ssao_inten>
|
||||
<postfx_exposure>-0.800 0.000</postfx_exposure>
|
||||
<postfx_bright_pass_thresh_width>0.500 0.000</postfx_bright_pass_thresh_width>
|
||||
<postfx_bright_pass_thresh>0.500 0.000</postfx_bright_pass_thresh>
|
||||
<postfx_intensity_bloom>0.500 0.000</postfx_intensity_bloom>
|
||||
<postfx_vignetting_intensity>0.504 0.000</postfx_vignetting_intensity>
|
||||
<postfx_vignetting_radius>8.000 0.000</postfx_vignetting_radius>
|
||||
<postfx_vignetting_contrast>0.000 0.000</postfx_vignetting_contrast>
|
||||
<postfx_vignetting_col_r>0.000 0.000</postfx_vignetting_col_r>
|
||||
<postfx_vignetting_col_g>0.000 0.000</postfx_vignetting_col_g>
|
||||
<postfx_vignetting_col_b>0.000 0.000</postfx_vignetting_col_b>
|
||||
<postfx_vignetting_intensity>0.975 0.000</postfx_vignetting_intensity>
|
||||
<postfx_vignetting_radius>5.000 0.000</postfx_vignetting_radius>
|
||||
<postfx_vignetting_contrast>0.000 0.000</postfx_vignetting_contrast>
|
||||
<postfx_tonemap_filmic_override_dark>1.000 0.000</postfx_tonemap_filmic_override_dark>
|
||||
<postfx_tonemap_filmic_exposure_dark>3.000 0.000</postfx_tonemap_filmic_exposure_dark>
|
||||
<postfx_tonemap_filmic_a>0.992 0.000</postfx_tonemap_filmic_a>
|
||||
<postfx_tonemap_filmic_b>0.030 0.000</postfx_tonemap_filmic_b>
|
||||
<postfx_tonemap_filmic_c>0.192 0.000</postfx_tonemap_filmic_c>
|
||||
<postfx_tonemap_filmic_d>0.009 0.000</postfx_tonemap_filmic_d>
|
||||
<postfx_tonemap_filmic_e>0.029 0.000</postfx_tonemap_filmic_e>
|
||||
<postfx_tonemap_filmic_f>0.480 0.000</postfx_tonemap_filmic_f>
|
||||
<postfx_tonemap_filmic_w>4.000 0.000</postfx_tonemap_filmic_w>
|
||||
<postfx_tonemap_filmic_override_bright>1.000 0.000</postfx_tonemap_filmic_override_bright>
|
||||
<postfx_tonemap_filmic_exposure_bright>-2.000 0.000</postfx_tonemap_filmic_exposure_bright>
|
||||
<postfx_tonemap_filmic_a_bright>0.192 0.000</postfx_tonemap_filmic_a_bright>
|
||||
<postfx_tonemap_filmic_b_bright>0.095 0.000</postfx_tonemap_filmic_b_bright>
|
||||
<postfx_tonemap_filmic_c_bright>0.192 0.000</postfx_tonemap_filmic_c_bright>
|
||||
<postfx_tonemap_filmic_d_bright>0.992 0.000</postfx_tonemap_filmic_d_bright>
|
||||
<postfx_tonemap_filmic_e_bright>0.010 0.000</postfx_tonemap_filmic_e_bright>
|
||||
<postfx_tonemap_filmic_f_bright>0.480 0.000</postfx_tonemap_filmic_f_bright>
|
||||
<postfx_tonemap_filmic_w_bright>3.840 0.000</postfx_tonemap_filmic_w_bright>
|
||||
<natural_ambient_multiplier>0.150 0.000</natural_ambient_multiplier>
|
||||
<artificial_int_ambient_multiplier>0.500 0.000</artificial_int_ambient_multiplier>
|
||||
</modifier>
|
||||
</timecycle_modifier_data>
|
||||
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,23 @@
|
||||
<CodeWalkerProject>
|
||||
<Name>New CodeWalker Project</Name>
|
||||
<Version value="1" />
|
||||
<YmapFilenames>
|
||||
<Item>..\..\..\[hane_cigarstore]\hane_cigar_meta\stream\hn_cigar_limbo.ymap</Item>
|
||||
<Item>..\..\..\[hane_cigarstore]\hane_cigar_meta\stream\hn_cigar_milo_.ymap</Item>
|
||||
</YmapFilenames>
|
||||
<YtypFilenames>
|
||||
<Item>..\..\..\[hane_cigarstore]\hane_cigar_meta\stream\hane_cigar.ytyp</Item>
|
||||
<Item>..\..\..\[hane_cigarstore]\hane_cigar_meta\stream\hane_cigar_assets.ytyp</Item>
|
||||
<Item>..\..\..\[hane_cigarstore]\hane_cigar_meta\stream\hn_cgr_limbo.ytyp</Item>
|
||||
</YtypFilenames>
|
||||
<YbnFilenames />
|
||||
<YndFilenames />
|
||||
<YnvFilenames />
|
||||
<TrainsFilenames />
|
||||
<ScenarioFilenames />
|
||||
<AudioRelFilenames />
|
||||
<YdrFilenames />
|
||||
<YddFilenames />
|
||||
<YftFilenames />
|
||||
<YtdFilenames />
|
||||
</CodeWalkerProject>
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,15 @@
|
||||
fx_version 'bodacious'
|
||||
game 'gta5'
|
||||
|
||||
author 'HANE'
|
||||
description 'HPUB'
|
||||
version '1.0.0'
|
||||
|
||||
this_is_a_map 'yes'
|
||||
|
||||
|
||||
files {
|
||||
'hane_gpub_timecycle.xml',
|
||||
'interiorproxies.meta'
|
||||
}
|
||||
dependency '/assetpacks'
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,15 @@
|
||||
fx_version 'bodacious'
|
||||
game 'gta5'
|
||||
|
||||
author 'HANE'
|
||||
description 'HPUB'
|
||||
version '1.0.0'
|
||||
|
||||
this_is_a_map 'yes'
|
||||
|
||||
|
||||
files {
|
||||
'hane_gpub_timecycle.xml',
|
||||
'interiorproxies.meta'
|
||||
}
|
||||
dependency '/assetpacks'
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,19 @@
|
||||
--[[
|
||||
Scripted By: Xander1998 (X. Cross)
|
||||
--]]
|
||||
|
||||
resource_manifest_version '44febabe-d386-4d18-afbe-5e627f4af937'
|
||||
|
||||
ui_page "nui/index.html"
|
||||
files {
|
||||
"nui/index.html",
|
||||
"nui/vue.min.js",
|
||||
"nui/script.js",
|
||||
"nui/style.css",
|
||||
"nui/images/seal.png"
|
||||
}
|
||||
|
||||
client_scripts {
|
||||
"config.lua",
|
||||
"client.lua"
|
||||
}
|
||||
@@ -0,0 +1,128 @@
|
||||
local dashcamActive = false
|
||||
local attachedVehicle = nil
|
||||
local cameraHandle = nil
|
||||
|
||||
Citizen.CreateThread(function()
|
||||
while true do
|
||||
if dashcamActive then
|
||||
|
||||
if dashcamActive and not IsPedInAnyVehicle(GetPlayerPed(PlayerId()), false) then
|
||||
DisableDash()
|
||||
dashcamActive = false
|
||||
end
|
||||
|
||||
if IsPedInAnyVehicle(GetPlayerPed(PlayerId()), false) and dashcamActive then
|
||||
UpdateDashcam()
|
||||
end
|
||||
|
||||
end
|
||||
Citizen.Wait(1000)
|
||||
end
|
||||
end)
|
||||
|
||||
Citizen.CreateThread(function()
|
||||
while true do
|
||||
if IsControlJustPressed(1, 81) and IsPedInAnyVehicle(GetPlayerPed(PlayerId()), false) then
|
||||
if dashcamActive then
|
||||
DisableDash()
|
||||
else
|
||||
EnableDash()
|
||||
end
|
||||
end
|
||||
|
||||
if dashcamActive then
|
||||
local bonPos = GetWorldPositionOfEntityBone(attachedVehicle, GetEntityBoneIndexByName(attachedVehicle, "windscreen"))
|
||||
local vehRot = GetEntityRotation(attachedVehicle, 0)
|
||||
SetCamCoord(cameraHandle, bonPos.x, bonPos.y, bonPos.z)
|
||||
SetCamRot(cameraHandle, vehRot.x, vehRot.y, vehRot.z, 0)
|
||||
end
|
||||
Citizen.Wait(0)
|
||||
end
|
||||
end)
|
||||
|
||||
function EnableDash()
|
||||
attachedVehicle = GetVehiclePedIsIn(GetPlayerPed(PlayerId()), false)
|
||||
if DashcamConfig.RestrictVehicles then
|
||||
if CheckVehicleRestriction() then
|
||||
SetTimecycleModifier("scanline_cam_cheap")
|
||||
SetTimecycleModifierStrength(2.2)
|
||||
local cam = CreateCam("DEFAULT_SCRIPTED_CAMERA", 1)
|
||||
RenderScriptCams(1, 0, 0, 1, 1)
|
||||
SetFocusEntity(attachedVehicle)
|
||||
cameraHandle = cam
|
||||
SendNUIMessage({
|
||||
type = "enabledash"
|
||||
})
|
||||
dashcamActive = true
|
||||
end
|
||||
else
|
||||
SetTimecycleModifier("scanline_cam_cheap")
|
||||
SetTimecycleModifierStrength(2.2)
|
||||
local cam = CreateCam("DEFAULT_SCRIPTED_CAMERA", 1)
|
||||
RenderScriptCams(1, 0, 0, 1, 1)
|
||||
SetFocusEntity(attachedVehicle)
|
||||
cameraHandle = cam
|
||||
SendNUIMessage({
|
||||
type = "enabledash"
|
||||
})
|
||||
dashcamActive = true
|
||||
end
|
||||
end
|
||||
|
||||
function DisableDash()
|
||||
ClearTimecycleModifier("scanline_cam_cheap")
|
||||
RenderScriptCams(0, 0, 1, 1, 1)
|
||||
DestroyCam(cameraHandle, false)
|
||||
SetFocusEntity(GetPlayerPed(PlayerId()))
|
||||
SendNUIMessage({
|
||||
type = "disabledash"
|
||||
})
|
||||
dashcamActive = false
|
||||
end
|
||||
|
||||
function UpdateDashcam()
|
||||
local gameTime = GetGameTimer()
|
||||
local year, month, day, hour, minute, second = GetLocalTime()
|
||||
local unitNumber = GetPlayerServerId(PlayerId())
|
||||
local unitName = GetPlayerName(PlayerId())
|
||||
local unitSpeed = nil
|
||||
|
||||
if DashcamConfig.useMPH then
|
||||
unitSpeed = GetEntitySpeed(attachedVehicle) * 2.23694
|
||||
else
|
||||
unitSpeed = GetEntitySpeed(attachedVehicle) * 3.6
|
||||
end
|
||||
|
||||
SendNUIMessage({
|
||||
type = "updatedash",
|
||||
info = {
|
||||
gameTime = gameTime,
|
||||
clockTime = {year = year, month = month, day = day, hour = hour, minute = minute, second = second},
|
||||
unitNumber = unitNumber,
|
||||
unitName = unitName,
|
||||
unitSpeed = unitSpeed,
|
||||
useMPH = DashcamConfig.useMPH
|
||||
}
|
||||
})
|
||||
end
|
||||
|
||||
function CheckVehicleRestriction()
|
||||
if DashcamConfig.RestrictionType == "custom" then
|
||||
for a = 1, #DashcamConfig.AllowedVehicles do
|
||||
print(GetHashKey(DashcamConfig.AllowedVehicles[a]))
|
||||
print(GetEntityModel(attachedVehicle))
|
||||
if GetHashKey(DashcamConfig.AllowedVehicles[a]) == GetEntityModel(attachedVehicle) then
|
||||
return true
|
||||
end
|
||||
end
|
||||
return false
|
||||
elseif DashcamConfig.RestrictionType == "class" then
|
||||
if GetVehicleClass(attachedVehicle) == 18 then
|
||||
return true
|
||||
else
|
||||
return false
|
||||
end
|
||||
else
|
||||
return false
|
||||
end
|
||||
end
|
||||
@@ -0,0 +1,40 @@
|
||||
DashcamConfig = {}
|
||||
|
||||
DashcamConfig.useMPH = true -- False will turn it to KMH
|
||||
|
||||
DashcamConfig.RestrictVehicles = true
|
||||
DashcamConfig.RestrictionType = "class" -- custom / class
|
||||
|
||||
DashcamConfig.AllowedVehicles = {
|
||||
"dps8",
|
||||
"lib111vic",
|
||||
"lib116explorer",
|
||||
"lib118taurus",
|
||||
"lib119tahoe",
|
||||
"fhp_tahoe2",
|
||||
"legacycharger",
|
||||
"21slickppv1",
|
||||
"20expk9bb",
|
||||
"353",
|
||||
"722",
|
||||
"645",
|
||||
"569",
|
||||
"505",
|
||||
"272",
|
||||
"797",
|
||||
"881",
|
||||
"919",
|
||||
"988",
|
||||
"7777",
|
||||
"7789",
|
||||
"87",
|
||||
"724",
|
||||
"544",
|
||||
"404",
|
||||
"382",
|
||||
"gt24non",
|
||||
"191",
|
||||
"181",
|
||||
|
||||
|
||||
}
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 296 B |
@@ -0,0 +1,28 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>Xander1998's Dashcam</title>
|
||||
<link rel="stylesheet" href="./style.css">
|
||||
</head>
|
||||
<body>
|
||||
<div id="Dashcam_Body" v-show="showDash">
|
||||
<div id="Dashcam_Data">
|
||||
<div id="Dashcam_Gametime">Video: {{ gameTime }}</div>
|
||||
<div id="Dashcam_DateTime">Date: {{ clockTime.month }} / {{clockTime.day}} / {{clockTime.year}}</div>
|
||||
<div id="Dashcam_ClockTime">Time: {{clockTime.hour}} : {{clockTime.minute}} : {{clockTime.second}}</div>
|
||||
<div id="Dashcam_Unitnumber">Unit: {{ unitNumber }}</div>
|
||||
<div id="Dashcam_Unitname">Unit Name: {{ unitName }}</div>
|
||||
<div id="Dashcam_Unitspeed">Unit Speed: {{ unitSpeed }} {{ unitSpeedType }}</div>
|
||||
<div>
|
||||
<img id="Dashcam_Image" src="./images/seal.png">
|
||||
<div id="Dashcam_Info">
|
||||
<div>{{ dashMessageOne }}</div>
|
||||
<div style="color: rgb(25, 167, 255); font-size: 25px; font-weight: bold; -webkit-text-stroke-width: 1px; -webkit-text-stroke-color: black;">{{ dashLabel }}</div>
|
||||
<div>{{ dashMessageTwo }}</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<script src="./vue.min.js"></script>
|
||||
<script src="./script.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,65 @@
|
||||
const Dashcam = new Vue({
|
||||
el: "#Dashcam_Body",
|
||||
|
||||
data: {
|
||||
showDash: false,
|
||||
|
||||
gameTime: 0,
|
||||
clockTime: {},
|
||||
unitNumber: 0,
|
||||
unitName: "",
|
||||
unitSpeed: 0,
|
||||
unitSpeedType: "MPH",
|
||||
|
||||
dashMessageOne: "This vehicle is licensed to the",
|
||||
dashLabel: "State of Georgia",
|
||||
dashMessageTwo: "Any unauthorized use is subject to criminal charges."
|
||||
},
|
||||
|
||||
methods: {
|
||||
|
||||
EnableDashcam() {
|
||||
this.showDash = true;
|
||||
},
|
||||
|
||||
DisableDashcam() {
|
||||
this.showDash = false;
|
||||
},
|
||||
|
||||
UpdateDashcam(data) {
|
||||
this.gameTime = data.gameTime;
|
||||
this.clockTime = data.clockTime;
|
||||
this.unitNumber = data.unitNumber;
|
||||
this.unitName = data.unitName;
|
||||
this.unitSpeed = Math.round(data.unitSpeed);
|
||||
|
||||
if (data.useMPH) {
|
||||
this.unitSpeedType = "MPH";
|
||||
} else {
|
||||
this.unitSpeedType = "KMH";
|
||||
};
|
||||
},
|
||||
|
||||
}
|
||||
});
|
||||
|
||||
document.onreadystatechange = () => {
|
||||
if (document.readyState === "complete") {
|
||||
window.addEventListener('message', function(event) {
|
||||
if (event.data.type == "enabledash") {
|
||||
|
||||
Dashcam.EnableDashcam();
|
||||
|
||||
} else if (event.data.type == "disabledash") {
|
||||
|
||||
Dashcam.DisableDashcam();
|
||||
|
||||
} else if (event.data.type == "updatedash") {
|
||||
|
||||
Dashcam.UpdateDashcam(event.data.info);
|
||||
|
||||
}
|
||||
|
||||
});
|
||||
};
|
||||
};
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user