adding liverys

This commit is contained in:
KingMcDonalds
2025-02-06 03:13:23 -08:00
parent 75cef5920c
commit d96c871c41
44 changed files with 4136 additions and 59 deletions
+20
View File
@@ -0,0 +1,20 @@
resource_manifest_version '77731fab-63ca-442c-a67b-abc70f28dfa5'
files {
'vehicles.meta',
'carvariations.meta',
'carcols.meta',
'handling.meta',
'vehiclelayouts.meta', -- Not Required
}
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' -- Not Required
client_script {
'vehicle_names.lua' -- Not Required
}
File diff suppressed because it is too large Load Diff
+38
View File
@@ -0,0 +1,38 @@
<?xml version="1.0" encoding="UTF-8"?>
<CVehicleModelInfoVariation>
<variationData>
<Item>
<modelName>7728</modelName>
<colors>
<Item>
<indices content="char_array">
0
0
0
0
28
0
</indices>
<liveries>
<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="1" />
<sirenSettings value="556" />
</Item>
</variationData>
</CVehicleModelInfoVariation>
+69
View File
@@ -0,0 +1,69 @@
<?xml version="1.0" encoding="UTF-8"?>
<CHandlingDataMgr>
<HandlingData>
<Item type="CHandlingData">
<handlingName>16CHALLENGER</handlingName>
<fMass value="1900.000000" />
<fInitialDragCoeff value="9.000000" />
<fPercentSubmerged value="85.000000" />
<vecCentreOfMassOffset x="0.000000" y="0.000000" z="0.200000" />
<vecInertiaMultiplier x="1.000000" y="1.000000" z="1.600000" />
<fDriveBiasFront value="0.000000" />
<nInitialDriveGears value="5" />
<fInitialDriveForce value="0.450000" />
<fDriveInertia value="1.000000" />
<fClutchChangeRateScaleUpShift value="1.200000" />
<fClutchChangeRateScaleDownShift value="1.200000" />
<fInitialDriveMaxFlatVel value="175.000000" />
<fBrakeForce value="0.900000" />
<fBrakeBiasFront value="0.425000" />
<fHandBrakeForce value="0.600000" />
<fSteeringLock value="40.000000" />
<fTractionCurveMax value="2.500000" />
<fTractionCurveMin value="2.350000" />
<fTractionCurveLateral value="22.500000" />
<fTractionSpringDeltaMax value="0.150000" />
<fLowSpeedTractionLossMult value="1.000000" />
<fCamberStiffnesss value="0.000000" />
<fTractionBiasFront value="0.488000" />
<fTractionLossMult value="1.000000" />
<fSuspensionForce value="2.300000" />
<fSuspensionCompDamp value="1.800000" />
<fSuspensionReboundDamp value="2.100000" />
<fSuspensionUpperLimit value="0.050000" />
<fSuspensionLowerLimit value="-0.100000" />
<fSuspensionRaise value="0.000000" />
<fSuspensionBiasFront value="0.500000" />
<fAntiRollBarForce value="0.700000" />
<fAntiRollBarBiasFront value="0.450000" />
<fRollCentreHeightFront value="0.180000" />
<fRollCentreHeightRear value="0.005000" />
<fCollisionDamageMult value="0.700000" />
<fWeaponDamageMult value="1.000000" />
<fDeformationDamageMult value="0.700000" />
<fEngineDamageMult value="1.500000" />
<fPetrolTankVolume value="65.000000" />
<fOilVolume value="5.000000" />
<fSeatOffsetDistX value="0.150000" />
<fSeatOffsetDistY value="0.000000" />
<fSeatOffsetDistZ value="0.000000" />
<nMonetaryValue value="25000" />
<strModelFlags>440010</strModelFlags>
<strHandlingFlags>0</strHandlingFlags>
<strDamageFlags>0</strDamageFlags>
<AIHandling>SPORTS_CAR</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>
</HandlingData>
</CHandlingDataMgr>
Binary file not shown.
Binary file not shown.
Binary file not shown.
+56
View File
@@ -0,0 +1,56 @@
--[[
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 = {"7728"},
steadyBurnConfig = {
forceOn = false, useTime = false,
disableWithLights = false,
sbExtras = {}
},
parkConfig = {
usePark = true,
useSync = false,
syncWith = {"7728","615", "376", "gpd7", "640", "128", "704", "st23tahoe", "24sub", "24ramambo", "23sierrafire", "23gmcleoslick", "23gmcleo", "ccso1", "gpdchief1" },
pExtras = {10},
dExtras = {11}
},
hornConfig = {
useHorn = false,
hornExtras = {},
},
brakeConfig = {
useBrakes = false,
speedThreshold = 3,
brakeExtras = {},
disableExtras = {}
},
reverseConfig = {
useReverse = false,
reverseExtras = {}
},
doorConfig = {
useDoors = true,
driverSide = {enable = {6}, disable = {}},
passSide = {enable = {7}, disable = {}},
trunk = {enable ={}, disable = {}}
},
buttons = {
{label = "Drive Pattern", key = 1, color = "green", extra = 1, linkedExtras = {}, oppositeExtras = {}, offExtras = {}, repair = false},
{label = "Park Pattern", key = 2, color = "green", extra = 2, linkedExtras = {}, oppositeExtras = {}, offExtras = {}, repair = false},
{label = "Cruise Lights", key = 3, color = "green", extra = 3, linkedExtras = {}, oppositeExtras = {}, offExtras = {}, repair = false},
{label = "Flood Lights", key = 4, color = "green", extra = 4, linkedExtras = {}, oppositeExtras = {}, offExtras = {}, repair = false},
{label = "Alley Lights", key = 5, color = "green", extra = 5, linkedExtras = {}, oppositeExtras = {}, offExtras = {}, repair = false},
{label = "Driver Alley", key = 6, color = "green", extra = 6, linkedExtras = {}, oppositeExtras = {}, offExtras = {}, repair = false},
{label = "Pass. Alley", key = 7, color = "green", extra = 7, linkedExtras = {}, oppositeExtras = {}, offExtras = {}, repair = false}
},
defaultStages = {
useDefaults = false,
enableKeys = {},
disableKeys = {}
}
}
+138
View File
@@ -0,0 +1,138 @@
<?xml version="1.0" encoding="UTF-8"?>
<CVehicleModelInfo__InitDataList>
<residentTxd>vehshare</residentTxd>
<residentAnims />
<InitDatas>
<Item>
<modelName>7728</modelName>
<txdName>7728</txdName>
<handlingId>16CHALLENGER</handlingId>
<gameName>WHEEL_FRONT_RIGHT_CAMERA</gameName>
<vehicleMakeName>7728</vehicleMakeName>
<expressionDictName>null</expressionDictName>
<expressionName>null</expressionName>
<animConvRoofDictName>null</animConvRoofDictName>
<animConvRoofName>null</animConvRoofName>
<animConvRoofWindowsAffected />
<ptfxAssetName>null</ptfxAssetName>
<audioNameHash>lg81hcredeye</audioNameHash>
<layout>LAYOUT_STANDARD</layout>
<coverBoundOffsets>BUFFALO_COVER_OFFSET_INFO</coverBoundOffsets>
<explosionInfo>EXPLOSION_INFO_DEFAULT</explosionInfo>
<scenarioLayout />
<cameraName>DEFAULT_FOLLOW_VEHICLE_CAMERA</cameraName>
<aimCameraName>BOX_VEHICLE_AIM_CAMERA</aimCameraName>
<bonnetCameraName>VEHICLE_BONNET_CAMERA_STANDARD</bonnetCameraName>
<povCameraName>DEFAULT_POV_CAMERA_LOOKAROUND</povCameraName>
<FirstPersonDriveByIKOffset x="0.000000" y="-0.050000" z="-0.030000" />
<FirstPersonDriveByUnarmedIKOffset x="0.000000" y="0.000000" z="0.000000" />
<FirstPersonProjectileDriveByIKOffset x="0.000000" y="-0.088000" z="0.093000" />
<FirstPersonProjectileDriveByPassengerIKOffset x="0.020000" y="0.060000" z="-0.090000" />
<FirstPersonProjectileDriveByRearLeftIKOffset x="0.000000" y="0.000000" z="-0.055000" />
<FirstPersonProjectileDriveByRearRightIKOffset x="0.000000" y="0.000000" z="-0.055000" />
<FirstPersonDriveByLeftPassengerIKOffset x="0.000000" y="0.000000" z="-0.040000" />
<FirstPersonDriveByRightPassengerIKOffset x="-0.045000" y="-0.048000" z="-0.040000" />
<FirstPersonDriveByRightRearPassengerIKOffset x="0.000000" y="0.000000" 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.150000" y="0.268000" z="0.503000" />
<FirstPersonPassengerMobilePhoneOffset x="0.136000" y="0.223000" z="0.425000" />
<FirstPersonMobilePhoneSeatIKOffset>
<Item>
<Offset x="0.156000" y="0.223000" z="0.493000" />
<SeatIndex value="2" />
</Item>
<Item>
<Offset x="0.156000" y="0.223000" z="0.493000" />
<SeatIndex value="3" />
</Item>
</FirstPersonMobilePhoneSeatIKOffset>
<PovCameraOffset x="0.000000" y="-0.235000" z="0.590000" />
<PovCameraVerticalAdjustmentForRollCage value="0.000000" />
<PovPassengerCameraOffset x="0.000000" y="0.000000" z="0.030000" />
<PovRearPassengerCameraOffset x="0.000000" y="0.000000" z="0.070000" />
<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.250000" />
<wheelScaleRear value="0.250000" />
<dirtLevelMin value="0.000000" />
<dirtLevelMax value="50.000000" />
<envEffScaleMin value="0.000000" />
<envEffScaleMax value="1.000000" />
<envEffScaleMin2 value="0.000000" />
<envEffScaleMax2 value="1.000000" />
<damageMapScale value="0.900000" />
<damageOffsetScale value="1.000000" />
<diffuseTint value="0x00FFFFFF" />
<steerWheelMult value="1.000000" />
<HDTextureDist value="5.000000" />
<lodDistances content="float_array">
500.000000
500.000000
500.000000
500.000000
500.000000
500.000000
</lodDistances>
<minSeatHeight value="0.966" />
<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_USE_INTERIOR_RED_LIGHT FLAG_LAW_ENFORCEMENT FLAG_EMERGENCY_SERVICE FLAG_NO_RESPRAY FLAG_DONT_SPAWN_IN_CARGEN FLAG_REPORT_CRIME_IF_STANDING_ON FLAG_HAS_LIVERY</flags>
<type>VEHICLE_TYPE_CAR</type>
<plateType>VPT_FRONT_AND_BACK_PLATES</plateType>
<dashboardType>VDT_RACE</dashboardType>
<vehicleClass>VC_EMERGENCY</vehicleClass>
<wheelType>VWT_SPORT</wheelType>
<trailers />
<additionalTrailers />
<drivers />
<extraIncludes />
<doorsWithCollisionWhenClosed />
<driveableDoors />
<bumpersNeedToCollideWithMap value="false" />
<needsRopeTexture value="false" />
<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 />
<buoyancySphereOffset x="0.000000" y="0.000000" z="0.000000" />
<buoyancySphereSizeScale value="1.000000" />
<pOverrideRagdollThreshold type="NULL" />
<firstPersonDrivebyData>
<Item>STD_POLICE3_FRONT_LEFT</Item>
<Item>STD_POLICE3_FRONT_RIGHT</Item>
<Item>STD_POLICE2_REAR_LEFT</Item>
<Item>STD_POLICE2_REAR_RIGHT</Item>
</firstPersonDrivebyData>
</Item>
</InitDatas>
<txdRelationships>
<Item>
<parent>vehicles_race_interior</parent>
<child>vehicles_race_generic</child>
</Item>
<Item>
<parent>vehicles_race_generic</parent>
<child>7728</child>
</Item>
</txdRelationships>
</CVehicleModelInfo__InitDataList>
+2 -3
View File
@@ -1,4 +1,3 @@
resource_manifest_version '77731fab-63ca-442c-a67b-abc70f28dfa5' resource_manifest_version '44febabe-d386-4d18-afbe-5e627f4af937'
client_script "client.lua"
client_script 'client.lua'
+5 -5
View File
@@ -1,9 +1,9 @@
Citizen.CreateThread(function() Citizen.CreateThread(function()
SetMapZoomDataLevel(0, 0.96, 0.9, 0.08, 0.0, 0.0) -- Level 0 SetMapZoomDataLevel(0, 0.96, 0.9, 0.08, 0.0, 0.0)
SetMapZoomDataLevel(1, 1.6, 0.9, 0.08, 0.0, 0.0) -- Level 1 SetMapZoomDataLevel(1, 1.6, 0.9, 0.08, 0.0, 0.0)
SetMapZoomDataLevel(2, 8.6, 0.9, 0.08, 0.0, 0.0) -- Level 2 SetMapZoomDataLevel(2, 8.6, 0.9, 0.08, 0.0, 0.0)
SetMapZoomDataLevel(3, 12.3, 0.9, 0.08, 0.0, 0.0) -- Level 3 SetMapZoomDataLevel(3, 12.3, 0.9, 0.08, 0.0, 0.0)
SetMapZoomDataLevel(4, 22.3, 0.9, 0.08, 0.0, 0.0) -- Level 4 SetMapZoomDataLevel(4, 22.3, 0.9, 0.08, 0.0, 0.0)
end) end)
Citizen.CreateThread(function() Citizen.CreateThread(function()
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.
@@ -11,17 +11,17 @@
<vecInertiaMultiplier x="1.000000" y="1.600000" z="1.600000" /> <vecInertiaMultiplier x="1.000000" y="1.600000" z="1.600000" />
<fDriveBiasFront value="0.000000" /> <fDriveBiasFront value="0.000000" />
<nInitialDriveGears value="8" /> <nInitialDriveGears value="8" />
<fInitialDriveForce value="0.400000" /> <fInitialDriveForce value="0.600000" />
<fDriveInertia value="1.300000" /> <fDriveInertia value="4.900000" />
<fClutchChangeRateScaleUpShift value="2.000000" /> <fClutchChangeRateScaleUpShift value="2.300000" />
<fClutchChangeRateScaleDownShift value="2.000000" /> <fClutchChangeRateScaleDownShift value="2.300000" />
<fInitialDriveMaxFlatVel value="155.000000" /> <fInitialDriveMaxFlatVel value="200.000000" />
<fBrakeForce value="0.900000" /> <fBrakeForce value="2.900000" />
<fBrakeBiasFront value="0.525000" /> <fBrakeBiasFront value="0.525000" />
<fHandBrakeForce value="0.600000" /> <fHandBrakeForce value="0.600000" />
<fSteeringLock value="40.000000" /> <fSteeringLock value="40.000000" />
<fTractionCurveMax value="2.550000" /> <fTractionCurveMax value="1.800000" />
<fTractionCurveMin value="2.450000" /> <fTractionCurveMin value="1.900000" />
<fTractionCurveLateral value="22.500000" /> <fTractionCurveLateral value="22.500000" />
<fTractionSpringDeltaMax value="0.020000" /> <fTractionSpringDeltaMax value="0.020000" />
<fLowSpeedTractionLossMult value="1.000000" /> <fLowSpeedTractionLossMult value="1.000000" />
@@ -51,7 +51,7 @@
<nMonetaryValue value="35000" /> <nMonetaryValue value="35000" />
<strModelFlags>440010</strModelFlags> <strModelFlags>440010</strModelFlags>
<strHandlingFlags>0</strHandlingFlags> <strHandlingFlags>0</strHandlingFlags>
<strDamageFlags>0</strDamageFlags> <strDamageFlags>50</strDamageFlags>
<AIHandling>AVERAGE</AIHandling> <AIHandling>AVERAGE</AIHandling>
<SubHandlingData> <SubHandlingData>
<Item type="CCarHandlingData"> <Item type="CCarHandlingData">
@@ -11,17 +11,17 @@
<vecInertiaMultiplier x="1.000000" y="1.600000" z="1.600000" /> <vecInertiaMultiplier x="1.000000" y="1.600000" z="1.600000" />
<fDriveBiasFront value="0.000000" /> <fDriveBiasFront value="0.000000" />
<nInitialDriveGears value="8" /> <nInitialDriveGears value="8" />
<fInitialDriveForce value="0.400000" /> <fInitialDriveForce value="0.600000" />
<fDriveInertia value="1.300000" /> <fDriveInertia value="4.900000" />
<fClutchChangeRateScaleUpShift value="2.000000" /> <fClutchChangeRateScaleUpShift value="2.300000" />
<fClutchChangeRateScaleDownShift value="2.000000" /> <fClutchChangeRateScaleDownShift value="2.300000" />
<fInitialDriveMaxFlatVel value="155.000000" /> <fInitialDriveMaxFlatVel value="200.000000" />
<fBrakeForce value="0.900000" /> <fBrakeForce value="2.900000" />
<fBrakeBiasFront value="0.525000" /> <fBrakeBiasFront value="0.525000" />
<fHandBrakeForce value="0.600000" /> <fHandBrakeForce value="0.600000" />
<fSteeringLock value="40.000000" /> <fSteeringLock value="40.000000" />
<fTractionCurveMax value="2.550000" /> <fTractionCurveMax value="1.800000" />
<fTractionCurveMin value="2.450000" /> <fTractionCurveMin value="1.900000" />
<fTractionCurveLateral value="22.500000" /> <fTractionCurveLateral value="22.500000" />
<fTractionSpringDeltaMax value="0.020000" /> <fTractionSpringDeltaMax value="0.020000" />
<fLowSpeedTractionLossMult value="1.000000" /> <fLowSpeedTractionLossMult value="1.000000" />
@@ -51,7 +51,7 @@
<nMonetaryValue value="35000" /> <nMonetaryValue value="35000" />
<strModelFlags>440010</strModelFlags> <strModelFlags>440010</strModelFlags>
<strHandlingFlags>0</strHandlingFlags> <strHandlingFlags>0</strHandlingFlags>
<strDamageFlags>0</strDamageFlags> <strDamageFlags>50</strDamageFlags>
<AIHandling>AVERAGE</AIHandling> <AIHandling>AVERAGE</AIHandling>
<SubHandlingData> <SubHandlingData>
<Item type="CCarHandlingData"> <Item type="CCarHandlingData">
Binary file not shown.
Binary file not shown.
+407
View File
@@ -0,0 +1,407 @@
Attribution-NonCommercial 4.0 International
=======================================================================
Creative Commons Corporation ("Creative Commons") is not a law firm and
does not provide legal services or legal advice. Distribution of
Creative Commons public licenses does not create a lawyer-client or
other relationship. Creative Commons makes its licenses and related
information available on an "as-is" basis. Creative Commons gives no
warranties regarding its licenses, any material licensed under their
terms and conditions, or any related information. Creative Commons
disclaims all liability for damages resulting from their use to the
fullest extent possible.
Using Creative Commons Public Licenses
Creative Commons public licenses provide a standard set of terms and
conditions that creators and other rights holders may use to share
original works of authorship and other material subject to copyright
and certain other rights specified in the public license below. The
following considerations are for informational purposes only, are not
exhaustive, and do not form part of our licenses.
Considerations for licensors: Our public licenses are
intended for use by those authorized to give the public
permission to use material in ways otherwise restricted by
copyright and certain other rights. Our licenses are
irrevocable. Licensors should read and understand the terms
and conditions of the license they choose before applying it.
Licensors should also secure all rights necessary before
applying our licenses so that the public can reuse the
material as expected. Licensors should clearly mark any
material not subject to the license. This includes other CC-
licensed material, or material used under an exception or
limitation to copyright. More considerations for licensors:
wiki.creativecommons.org/Considerations_for_licensors
Considerations for the public: By using one of our public
licenses, a licensor grants the public permission to use the
licensed material under specified terms and conditions. If
the licensor's permission is not necessary for any reason--for
example, because of any applicable exception or limitation to
copyright--then that use is not regulated by the license. Our
licenses grant only permissions under copyright and certain
other rights that a licensor has authority to grant. Use of
the licensed material may still be restricted for other
reasons, including because others have copyright or other
rights in the material. A licensor may make special requests,
such as asking that all changes be marked or described.
Although not required by our licenses, you are encouraged to
respect those requests where reasonable. More considerations
for the public:
wiki.creativecommons.org/Considerations_for_licensees
=======================================================================
Creative Commons Attribution-NonCommercial 4.0 International Public
License
By exercising the Licensed Rights (defined below), You accept and agree
to be bound by the terms and conditions of this Creative Commons
Attribution-NonCommercial 4.0 International Public License ("Public
License"). To the extent this Public License may be interpreted as a
contract, You are granted the Licensed Rights in consideration of Your
acceptance of these terms and conditions, and the Licensor grants You
such rights in consideration of benefits the Licensor receives from
making the Licensed Material available under these terms and
conditions.
Section 1 -- Definitions.
a. Adapted Material means material subject to Copyright and Similar
Rights that is derived from or based upon the Licensed Material
and in which the Licensed Material is translated, altered,
arranged, transformed, or otherwise modified in a manner requiring
permission under the Copyright and Similar Rights held by the
Licensor. For purposes of this Public License, where the Licensed
Material is a musical work, performance, or sound recording,
Adapted Material is always produced where the Licensed Material is
synched in timed relation with a moving image.
b. Adapter's License means the license You apply to Your Copyright
and Similar Rights in Your contributions to Adapted Material in
accordance with the terms and conditions of this Public License.
c. Copyright and Similar Rights means copyright and/or similar rights
closely related to copyright including, without limitation,
performance, broadcast, sound recording, and Sui Generis Database
Rights, without regard to how the rights are labeled or
categorized. For purposes of this Public License, the rights
specified in Section 2(b)(1)-(2) are not Copyright and Similar
Rights.
d. Effective Technological Measures means those measures that, in the
absence of proper authority, may not be circumvented under laws
fulfilling obligations under Article 11 of the WIPO Copyright
Treaty adopted on December 20, 1996, and/or similar international
agreements.
e. Exceptions and Limitations means fair use, fair dealing, and/or
any other exception or limitation to Copyright and Similar Rights
that applies to Your use of the Licensed Material.
f. Licensed Material means the artistic or literary work, database,
or other material to which the Licensor applied this Public
License.
g. Licensed Rights means the rights granted to You subject to the
terms and conditions of this Public License, which are limited to
all Copyright and Similar Rights that apply to Your use of the
Licensed Material and that the Licensor has authority to license.
h. Licensor means the individual(s) or entity(ies) granting rights
under this Public License.
i. NonCommercial means not primarily intended for or directed towards
commercial advantage or monetary compensation. For purposes of
this Public License, the exchange of the Licensed Material for
other material subject to Copyright and Similar Rights by digital
file-sharing or similar means is NonCommercial provided there is
no payment of monetary compensation in connection with the
exchange.
j. Share means to provide material to the public by any means or
process that requires permission under the Licensed Rights, such
as reproduction, public display, public performance, distribution,
dissemination, communication, or importation, and to make material
available to the public including in ways that members of the
public may access the material from a place and at a time
individually chosen by them.
k. Sui Generis Database Rights means rights other than copyright
resulting from Directive 96/9/EC of the European Parliament and of
the Council of 11 March 1996 on the legal protection of databases,
as amended and/or succeeded, as well as other essentially
equivalent rights anywhere in the world.
l. You means the individual or entity exercising the Licensed Rights
under this Public License. Your has a corresponding meaning.
Section 2 -- Scope.
a. License grant.
1. Subject to the terms and conditions of this Public License,
the Licensor hereby grants You a worldwide, royalty-free,
non-sublicensable, non-exclusive, irrevocable license to
exercise the Licensed Rights in the Licensed Material to:
a. reproduce and Share the Licensed Material, in whole or
in part, for NonCommercial purposes only; and
b. produce, reproduce, and Share Adapted Material for
NonCommercial purposes only.
2. Exceptions and Limitations. For the avoidance of doubt, where
Exceptions and Limitations apply to Your use, this Public
License does not apply, and You do not need to comply with
its terms and conditions.
3. Term. The term of this Public License is specified in Section
6(a).
4. Media and formats; technical modifications allowed. The
Licensor authorizes You to exercise the Licensed Rights in
all media and formats whether now known or hereafter created,
and to make technical modifications necessary to do so. The
Licensor waives and/or agrees not to assert any right or
authority to forbid You from making technical modifications
necessary to exercise the Licensed Rights, including
technical modifications necessary to circumvent Effective
Technological Measures. For purposes of this Public License,
simply making modifications authorized by this Section 2(a)
(4) never produces Adapted Material.
5. Downstream recipients.
a. Offer from the Licensor -- Licensed Material. Every
recipient of the Licensed Material automatically
receives an offer from the Licensor to exercise the
Licensed Rights under the terms and conditions of this
Public License.
b. No downstream restrictions. You may not offer or impose
any additional or different terms or conditions on, or
apply any Effective Technological Measures to, the
Licensed Material if doing so restricts exercise of the
Licensed Rights by any recipient of the Licensed
Material.
6. No endorsement. Nothing in this Public License constitutes or
may be construed as permission to assert or imply that You
are, or that Your use of the Licensed Material is, connected
with, or sponsored, endorsed, or granted official status by,
the Licensor or others designated to receive attribution as
provided in Section 3(a)(1)(A)(i).
b. Other rights.
1. Moral rights, such as the right of integrity, are not
licensed under this Public License, nor are publicity,
privacy, and/or other similar personality rights; however, to
the extent possible, the Licensor waives and/or agrees not to
assert any such rights held by the Licensor to the limited
extent necessary to allow You to exercise the Licensed
Rights, but not otherwise.
2. Patent and trademark rights are not licensed under this
Public License.
3. To the extent possible, the Licensor waives any right to
collect royalties from You for the exercise of the Licensed
Rights, whether directly or through a collecting society
under any voluntary or waivable statutory or compulsory
licensing scheme. In all other cases the Licensor expressly
reserves any right to collect such royalties, including when
the Licensed Material is used other than for NonCommercial
purposes.
Section 3 -- License Conditions.
Your exercise of the Licensed Rights is expressly made subject to the
following conditions.
a. Attribution.
1. If You Share the Licensed Material (including in modified
form), You must:
a. retain the following if it is supplied by the Licensor
with the Licensed Material:
i. identification of the creator(s) of the Licensed
Material and any others designated to receive
attribution, in any reasonable manner requested by
the Licensor (including by pseudonym if
designated);
ii. a copyright notice;
iii. a notice that refers to this Public License;
iv. a notice that refers to the disclaimer of
warranties;
v. a URI or hyperlink to the Licensed Material to the
extent reasonably practicable;
b. indicate if You modified the Licensed Material and
retain an indication of any previous modifications; and
c. indicate the Licensed Material is licensed under this
Public License, and include the text of, or the URI or
hyperlink to, this Public License.
2. You may satisfy the conditions in Section 3(a)(1) in any
reasonable manner based on the medium, means, and context in
which You Share the Licensed Material. For example, it may be
reasonable to satisfy the conditions by providing a URI or
hyperlink to a resource that includes the required
information.
3. If requested by the Licensor, You must remove any of the
information required by Section 3(a)(1)(A) to the extent
reasonably practicable.
4. If You Share Adapted Material You produce, the Adapter's
License You apply must not prevent recipients of the Adapted
Material from complying with this Public License.
Section 4 -- Sui Generis Database Rights.
Where the Licensed Rights include Sui Generis Database Rights that
apply to Your use of the Licensed Material:
a. for the avoidance of doubt, Section 2(a)(1) grants You the right
to extract, reuse, reproduce, and Share all or a substantial
portion of the contents of the database for NonCommercial purposes
only;
b. if You include all or a substantial portion of the database
contents in a database in which You have Sui Generis Database
Rights, then the database in which You have Sui Generis Database
Rights (but not its individual contents) is Adapted Material; and
c. You must comply with the conditions in Section 3(a) if You Share
all or a substantial portion of the contents of the database.
For the avoidance of doubt, this Section 4 supplements and does not
replace Your obligations under this Public License where the Licensed
Rights include other Copyright and Similar Rights.
Section 5 -- Disclaimer of Warranties and Limitation of Liability.
a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE
EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS
AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF
ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS,
IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION,
WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR
PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS,
ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT
KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT
ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU.
b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE
TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION,
NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT,
INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES,
COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR
USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN
ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR
DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR
IN PART, THIS LIMITATION MAY NOT APPLY TO YOU.
c. The disclaimer of warranties and limitation of liability provided
above shall be interpreted in a manner that, to the extent
possible, most closely approximates an absolute disclaimer and
waiver of all liability.
Section 6 -- Term and Termination.
a. This Public License applies for the term of the Copyright and
Similar Rights licensed here. However, if You fail to comply with
this Public License, then Your rights under this Public License
terminate automatically.
b. Where Your right to use the Licensed Material has terminated under
Section 6(a), it reinstates:
1. automatically as of the date the violation is cured, provided
it is cured within 30 days of Your discovery of the
violation; or
2. upon express reinstatement by the Licensor.
For the avoidance of doubt, this Section 6(b) does not affect any
right the Licensor may have to seek remedies for Your violations
of this Public License.
c. For the avoidance of doubt, the Licensor may also offer the
Licensed Material under separate terms or conditions or stop
distributing the Licensed Material at any time; however, doing so
will not terminate this Public License.
d. Sections 1, 5, 6, 7, and 8 survive termination of this Public
License.
Section 7 -- Other Terms and Conditions.
a. The Licensor shall not be bound by any additional or different
terms or conditions communicated by You unless expressly agreed.
b. Any arrangements, understandings, or agreements regarding the
Licensed Material not stated herein are separate from and
independent of the terms and conditions of this Public License.
Section 8 -- Interpretation.
a. For the avoidance of doubt, this Public License does not, and
shall not be interpreted to, reduce, limit, restrict, or impose
conditions on any use of the Licensed Material that could lawfully
be made without permission under this Public License.
b. To the extent possible, if any provision of this Public License is
deemed unenforceable, it shall be automatically reformed to the
minimum extent necessary to make it enforceable. If the provision
cannot be reformed, it shall be severed from this Public License
without affecting the enforceability of the remaining terms and
conditions.
c. No term or condition of this Public License will be waived and no
failure to comply consented to unless expressly agreed to by the
Licensor.
d. Nothing in this Public License constitutes or may be interpreted
as a limitation upon, or waiver of, any privileges and immunities
that apply to the Licensor or You, including from the legal
processes of any jurisdiction or authority.
=======================================================================
Creative Commons is not a party to its public
licenses. Notwithstanding, Creative Commons may elect to apply one of
its public licenses to material it publishes and in those instances
will be considered the “Licensor.” The text of the Creative Commons
public licenses is dedicated to the public domain under the CC0 Public
Domain Dedication. Except for the limited purpose of indicating that
material is shared under a Creative Commons public license or as
otherwise permitted by the Creative Commons policies published at
creativecommons.org/policies, Creative Commons does not authorize the
use of the trademark "Creative Commons" or any other trademark or logo
of Creative Commons without its prior written consent including,
without limitation, in connection with any unauthorized modifications
to any of its public licenses or any other arrangements,
understandings, or agreements concerning use of licensed material. For
the avoidance of doubt, this paragraph does not form part of the
public licenses.
Creative Commons may be contacted at creativecommons.org.
+121
View File
@@ -0,0 +1,121 @@
# Images
## FOV 1st person Car
Driver:
![image](https://github.com/user-attachments/assets/a1d41139-0131-4b20-85ab-d97034338c0d)
Passenger:
![image](https://github.com/user-attachments/assets/39bd59f7-9372-4dd9-9441-dc5e16ad7cbb)
## Blur on your back
![image](https://github.com/user-attachments/assets/509ea5f4-d853-4780-ac6e-de4ab7db0e04)
## Myopia
without Glasses:
![image](https://github.com/user-attachments/assets/9d66003e-bf49-42fc-ac18-6a7fc61f39a7)
With Glasses:
![image](https://github.com/user-attachments/assets/b435f3f7-9d3a-4a12-b76d-ea4283fd0b24)
## Resmon
![image](https://github.com/user-attachments/assets/c4359860-61c1-445e-a96a-f2ce204a02fc)
## Important
EN: If you use qb-radialmenu, you must make the following change for the glasses to work properly
ESP: Si usas qb-radialmenu, debes realizar el siguiente cambio para que funcione bien las gafas
Line/Linea [908] - qb-radialmenu/client/clothing.lua
```
function ToggleProps(whic)
local which = whic
if type(whic) == 'table' then
which = tostring(whic.id)
end
Wait(50)
if Cooldown then return end
local Prop = Props[which]
local Ped = PlayerPedId()
local Cur = {
Id = Prop.Prop,
Ped = Ped,
Prop = GetPedPropIndex(Ped, Prop.Prop),
Texture = GetPedPropTextureIndex(Ped, Prop.Prop),
}
local isGlasses = Prop.Prop == 1
if not Prop.Variants then
if Cur.Prop ~= -1 then
PlayToggleEmote(Prop.Emote.Off, function()
LastEquipped[which] = Cur
ClearPedProp(Ped, Prop.Prop)
if isGlasses then
TriggerServerEvent("fzt_fov:updateGlasses", 0, 0)
end
end)
return true
else
local Last = LastEquipped[which] -- Si el jugador ya quitó el prop, vuélvelo a equipar
if Last then
PlayToggleEmote(Prop.Emote.On, function()
SetPedPropIndex(Ped, Prop.Prop, Last.Prop, Last.Texture, true)
if isGlasses then
TriggerServerEvent("fzt_fov:updateGlasses", Last.Prop, Last.Texture)
end
end)
LastEquipped[which] = false
return true
end
end
Notify(Lang:t('info.nothing_to_remove'))
return false
else
local Gender = IsMpPed(Ped)
if not Gender then
Notify(Lang:t('info.wrong_ped'))
return false
end
variations = Prop.Variants[Gender]
for k, v in pairs(variations) do
if Cur.Prop == k then
PlayToggleEmote(Prop.Emote.On, function()
SetPedPropIndex(Ped, Prop.Prop, v, Cur.Texture, true)
-- Actualizar metadatos y notificar al cliente si son lentes
if isGlasses then
TriggerServerEvent("fzt_fov:updateGlasses", v, Cur.Texture)
end
end)
return true
end
end
Notify(Lang:t('info.no_variants'))
return false
end
end
```
## License/Licencia
EN:
This project is protected under the [Creative Commons Attribution-NonCommercial 4.0 International (CC-BY-NC-4.0) License](LICENSE).
It is strictly prohibited to sell or monetize this software.
For more details, see the [LICENSE](LICENSE) file.
ESP:
Este proyecto está protegido bajo la [Licencia Creative Commons Attribution-NonCommercial 4.0 International (CC-BY-NC-4.0)](LICENSE).
Está estrictamente prohibido vender o monetizar este software.
Para más detalles, consulta el archivo [LICENSE](LICENSE).
@@ -0,0 +1,43 @@
-- Este archivo es parte del proyecto fzt_Fov.
-- Copyright (c) 2025 fourztL. Todos los derechos reservados.
-- Este proyecto está distribuido bajo la Licencia Creative Commons Attribution-NonCommercial 4.0 International (CC-BY-NC-4.0).
-- Para más detalles, consulta el archivo LICENSE.
local cameraActive = false
local cam = nil
local pitch, offsetYaw = 0.0, 0.0
Citizen.CreateThread(function()
while true do
Citizen.Wait(5)
local ped = PlayerPedId()
local vehicle = GetVehiclePedIsIn(ped, false)
if vehicle ~= 0 and GetPedInVehicleSeat(vehicle, -1) == ped and GetFollowVehicleCamViewMode() == 4 then
if not cameraActive then
cameraActive = true
cam = CreateCam("DEFAULT_SCRIPTED_CAMERA", true)
AttachCamToPedBone(cam, ped, GetPedBoneIndex(ped, 12844), 0.0, 0.0, 0.65, 0.0)
SetCamFov(cam, 90.0)
SetCamNearClip(cam, 0.09)
RenderScriptCams(true, true, 1000, true, true)
end
DisableControlAction(0, 1, true)
DisableControlAction(0, 2, true)
local mouseX, mouseY = GetDisabledControlNormal(0, 1), GetDisabledControlNormal(0, 2)
offsetYaw = math.max(-90.0, math.min(90.0, offsetYaw - mouseX * 5.0))
pitch = math.max(-40.0, math.min(40.0, pitch - mouseY * 5.0))
SetCamRot(cam, pitch, 0.0, GetEntityHeading(vehicle) + offsetYaw, 2)
else
if cameraActive then
cameraActive = false
RenderScriptCams(false, false, 0, true, false)
DestroyCam(cam, false)
cam = nil
end
end
end
end)
@@ -0,0 +1,71 @@
-- Este archivo es parte del proyecto fzt_Fov.
-- Copyright (c) 2025 fourztL. Todos los derechos reservados.
-- Este proyecto está distribuido bajo la Licencia Creative Commons Attribution-NonCommercial 4.0 International (CC-BY-NC-4.0).
-- Para más detalles, consulta el archivo LICENSE.
local minDistance, maxDistance = 0.20, 20.0
entidadAtras = function(entity)
local playerPed = PlayerPedId()
local playerCoords = GetEntityCoords(playerPed)
local playerHeading = GetEntityHeading(playerPed)
local entityCoords = GetEntityCoords(entity)
local direction = GetEntityForwardVector(playerPed)
local toEntity = vector3(entityCoords.x - playerCoords.x, entityCoords.y - playerCoords.y, 0.0)
local dotProduct = direction.x * toEntity.x + direction.y * toEntity.y
return dotProduct < 0.0
end
aplicarTransparencia = function(entity, alpha)
if DoesEntityExist(entity) then
SetEntityAlpha(entity, alpha, false)
end
end
resetVisibilidad = function(entity)
if DoesEntityExist(entity) then
ResetEntityAlpha(entity)
end
end
Citizen.CreateThread(function()
while true do
Citizen.Wait(200)
local playerPed = PlayerPedId()
local playerCoords = GetEntityCoords(playerPed)
local nearbyEntities = {}
for _, ped in ipairs(GetGamePool('CPed')) do
if ped ~= playerPed and DoesEntityExist(ped) and not IsPedAPlayer(ped) then
table.insert(nearbyEntities, ped)
end
end
for _, playerId in ipairs(GetActivePlayers()) do
local otherPed = GetPlayerPed(playerId)
if otherPed ~= playerPed and DoesEntityExist(otherPed) then
table.insert(nearbyEntities, otherPed)
end
end
for _, entity in ipairs(nearbyEntities) do
local distance = #(GetEntityCoords(entity) - playerCoords)
if entidadAtras(entity) then
if distance <= minDistance then
aplicarTransparencia(entity, 220)
elseif distance <= maxDistance then
local alpha = 220 * (1 - (distance - minDistance) / (maxDistance - minDistance))
aplicarTransparencia(entity, math.floor(math.max(0, math.min(220, alpha))))
else
aplicarTransparencia(entity, 0)
end
else
resetVisibilidad(entity)
end
end
end
end)
+62
View File
@@ -0,0 +1,62 @@
-- Este archivo es parte del proyecto fzt_Fov.
-- Copyright (c) 2025 fourztL. Todos los derechos reservados.
-- Este proyecto está distribuido bajo la Licencia Creative Commons Attribution-NonCommercial 4.0 International (CC-BY-NC-4.0).
-- Para más detalles, consulta el archivo LICENSE.
local blurEffectEnabled = false
local wearingGlasses = false
-- Función para aplicar el efecto de visión borrosa
ApplyBlurEffect = function(enabled)
if enabled then
SetTimecycleModifier("Drunk")
SetTimecycleModifierStrength(0.8)
TriggerScreenblurFadeIn(3500) -- Desenfoque de pantalla
--print("Efecto de visión borrosa activado.")
else
ClearTimecycleModifier()
TriggerScreenblurFadeOut(500) -- Quitar el desenfoque de pantalla
--print("Efecto de visión borrosa desactivado.")
end
end
-- Función para verificar si el jugador está usando lentes
IsWearingGlasses = function()
local ped = PlayerPedId()
local drawable = GetPedPropIndex(ped, 1)
local texture = GetPedPropTextureIndex(ped, 1)
return drawable ~= 0 and drawable ~= -1
end
-- Evento para recibir el estado inicial de miopía
RegisterNetEvent("fzt_fov:setMiopia", function(esMiope)
--print("Estado de miopía recibido:", esMiope)
blurEffectEnabled = esMiope
ApplyBlurEffect(blurEffectEnabled and not wearingGlasses)
end)
-- Evento para recibir el estado inicial de los lentes
RegisterNetEvent("fzt_fov:setGlassesState", function(isWearingGlasses)
--print("Estado de los lentes recibido:", isWearingGlasses)
wearingGlasses = isWearingGlasses
ApplyBlurEffect(blurEffectEnabled and not wearingGlasses)
end)
TriggerServerEvent("fzt_fov:checkGlasses")
-- Monitorear cambios en el equipamiento del jugador
Citizen.CreateThread(function()
while true do
Citizen.Wait(1000)
if blurEffectEnabled then
wearingGlasses = IsWearingGlasses()
ApplyBlurEffect(blurEffectEnabled and not wearingGlasses)
else
Citizen.Wait(5000)
end
end
end)
+18
View File
@@ -0,0 +1,18 @@
-- Este archivo es parte del proyecto fzt_Fov.
-- Copyright (c) 2025 fourztL. Todos los derechos reservados.
-- Este proyecto está distribuido bajo la Licencia Creative Commons Attribution-NonCommercial 4.0 International (CC-BY-NC-4.0).
-- Para más detalles, consulta el archivo LICENSE.
fx_version 'cerulean'
game 'gta5'
author 'fourztL'
description 'FOV Changer'
version '1.0.0'
client_script 'client/*.lua'
server_script {
'@mysql-async/lib/MySQL.lua',
'server/*.lua'
}
+71
View File
@@ -0,0 +1,71 @@
-- Este archivo es parte del proyecto fzt_Fov.
-- Copyright (c) 2025 fourztL. Todos los derechos reservados.
-- Este proyecto está distribuido bajo la Licencia Creative Commons Attribution-NonCommercial 4.0 International (CC-BY-NC-4.0).
-- Para más detalles, consulta el archivo LICENSE.
local QBCore = exports['qb-core']:GetCoreObject()
-- Agrega la tabla a tu Database
exports.oxmysql:execute([[
ALTER TABLE players
ADD COLUMN esMiope TINYINT(1) NOT NULL DEFAULT 0;
]], {}, function(result)
if result then
print("Campo 'esMiope' agregado correctamente a la tabla 'players'.")
else
print("Error al agregar el campo 'esMiope'.")
end
end)
-- Evento para cargar los datos del jugador al iniciar sesión
RegisterNetEvent('QBCore:Server:OnPlayerLoaded', function()
local src = source
local Player = QBCore.Functions.GetPlayer(src)
if not Player then return end
-- Consultar el estado de miopía desde la base de datos
exports.oxmysql:execute('SELECT esMiope FROM players WHERE citizenid = ?', {Player.PlayerData.citizenid}, function(result)
if result and result[1] then
local esMiope = result[1].esMiope == 1
Player.Functions.SetMetaData("esMiope", esMiope)
TriggerClientEvent('fzt_fov:setMiopia', src, esMiope)
else
local esMiope = false
Player.Functions.SetMetaData("esMiope", esMiope)
TriggerClientEvent('fzt_fov:setMiopia', src, esMiope)
end
end)
end)
-- Comando para cambiar el estado de miopía (opcional, para pruebas)
QBCore.Commands.Add("setmiopia", "Establecer estado de miopía", {}, false, function(source, args)
local Player = QBCore.Functions.GetPlayer(source)
if not Player then return end
local esMiope = tonumber(args[1]) == 1
Player.Functions.SetMetaData("esMiope", esMiope)
-- Guardar el cambio en la base de datos usando oxmysql
exports.oxmysql:execute('UPDATE players SET esMiope = ? WHERE citizenid = ?', {esMiope and 1 or 0, Player.PlayerData.citizenid})
TriggerClientEvent('fzt_fov:setMiopia', source, esMiope)
TriggerClientEvent("QBCore:Notify", source, "Miopía " .. (esMiope and "activada" or "desactivada"), "success")
end)
-- Evento para actualizar el estado de los lentes desde el qb-radialmenu
RegisterNetEvent("fzt_fov:updateGlasses", function(drawable, texture)
local src = source
local Player = QBCore.Functions.GetPlayer(src)
if not Player then return end
local props = Player.PlayerData.metadata["props"] or {}
props["glasses"] = { drawable = drawable, texture = texture }
Player.Functions.SetMetaData("props", props)
local isWearingGlasses = drawable ~= 0 and drawable ~= -1
TriggerClientEvent("fzt_fov:setGlassesState", src, isWearingGlasses)
--print("Lentes actualizados (radial menu). Drawable:", drawable, "Texture:", texture)
end)
+26
View File
@@ -0,0 +1,26 @@
resource_manifest_version '77731fab-63ca-442c-a67b-abc70f28dfa5'
files {
'vehicles.meta',
'carvariations.meta',
'carcols.meta',
'handling.meta',
'vehiclelayouts.meta',
'peds.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'
data_file 'PED_METADATA_FILE' 'peds.meta'
client_script {
'vehicle_names.lua'
}
File diff suppressed because it is too large Load Diff
+62
View File
@@ -0,0 +1,62 @@
<?xml version="1.0" encoding="UTF-8"?>
<CVehicleModelInfoVariation>
<variationData> <!-- Template made by McGinlay -->
<Item>
<modelName>sahp18tahoe</modelName>
<colors>
<Item>
<indices content="char_array">
0
134
0
64
64
64
64
</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"/>
<Item value="false"/>
<Item value="false"/>
<Item value="false"/>
<Item value="false"/>
<Item value="false"/>
<Item value="false"/>
<Item value="false"/>
<Item value="false"/>
<Item value="false"/>
<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="1"/>
<sirenSettings value="6734567341"/>
</Item>
</variationData>
</CVehicleModelInfoVariation>
+124
View File
@@ -0,0 +1,124 @@
<?xml version="1.0" encoding="UTF-8"?>
<CHandlingDataMgr>
<HandlingData>
<Item type="CHandlingData">
<handlingName>sahp18tahoe</handlingName>
<fMass value="2497.000000" />
<fInitialDragCoeff value="13.000000" />
<fPercentSubmerged value="85.000000" />
<vecCentreOfMassOffset x="0.000000" y="0.000000" z="0.000000" />
<vecInertiaMultiplier x="1.200000" y="1.600000" z="2.000000" />
<fDriveBiasFront value="0.500000" />
<nInitialDriveGears value="6" />
<fInitialDriveForce value="0.300000" />
<fDriveInertia value="0.450000" />
<fClutchChangeRateScaleUpShift value="1.500000" />
<fClutchChangeRateScaleDownShift value="2.000000" />
<fInitialDriveMaxFlatVel value="150.000000" />
<fBrakeForce value="0.900000" />
<fBrakeBiasFront value="0.500000" />
<fHandBrakeForce value="0.600000" />
<fSteeringLock value="40.000000" />
<fTractionCurveMax value="2.750000" />
<fTractionCurveMin value="2.250000" />
<fTractionCurveLateral value="20.500000" />
<fTractionSpringDeltaMax value="0.130000" />
<fLowSpeedTractionLossMult value="1.500000" />
<fCamberStiffnesss value="0.000000" />
<fTractionBiasFront value="0.500000" />
<fTractionLossMult value="0.800000" />
<fSuspensionForce value="2.800000" />
<fSuspensionCompDamp value="1.400000" />
<fSuspensionReboundDamp value="3.000000" />
<fSuspensionUpperLimit value="0.100000" />
<fSuspensionLowerLimit value="-0.120000" />
<fSuspensionRaise value="0.000000" />
<fSuspensionBiasFront value="0.510000" />
<fAntiRollBarForce value="0.400000" />
<fAntiRollBarBiasFront value="0.530000" />
<fRollCentreHeightFront value="0.290000" />
<fRollCentreHeightRear value="0.300000" />
<fCollisionDamageMult value="1.000000" />
<fWeaponDamageMult value="1.000000" />
<fDeformationDamageMult value="1.000000" />
<fEngineDamageMult value="1.600000" />
<fPetrolTankVolume value="65.000000" />
<fOilVolume value="5.000000" />
<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>
</SubHandlingData>
</Item>
<Item type="CHandlingData">
<handlingName>TAHOE2WD</handlingName>
<fMass value="2497.000000"/>
<fInitialDragCoeff value="13.000000"/>
<fPercentSubmerged value="85.000000"/>
<vecCentreOfMassOffset x="0.000000" y="0.000000" z="0.000000"/>
<vecInertiaMultiplier x="1.200000" y="1.600000" z="2.000000"/>
<fDriveBiasFront value="0.000000"/>
<nInitialDriveGears value="7"/>
<fInitialDriveForce value="0.400000"/>
<fDriveInertia value="0.400000"/>
<fClutchChangeRateScaleUpShift value="1.200000"/>
<fClutchChangeRateScaleDownShift value="2.000000"/>
<fInitialDriveMaxFlatVel value="195.001450"/>
<fBrakeForce value="0.900000"/>
<fBrakeBiasFront value="0.500000"/>
<fHandBrakeForce value="0.600000"/>
<fSteeringLock value="40.000000"/>
<fTractionCurveMax value="2.750000"/>
<fTractionCurveMin value="2.250000"/>
<fTractionCurveLateral value="20.500000"/>
<fTractionSpringDeltaMax value="0.130000"/>
<fLowSpeedTractionLossMult value="1.500000"/>
<fCamberStiffnesss value="0.000000"/>
<fTractionBiasFront value="0.500000"/>
<fTractionLossMult value="0.800000"/>
<fSuspensionForce value="2.800000"/>
<fSuspensionCompDamp value="1.400000"/>
<fSuspensionReboundDamp value="3.000000"/>
<fSuspensionUpperLimit value="0.100000"/>
<fSuspensionLowerLimit value="-0.120000"/>
<fSuspensionRaise value="0.000000"/>
<fSuspensionBiasFront value="0.510000"/>
<fAntiRollBarForce value="0.400000"/>
<fAntiRollBarBiasFront value="0.530000"/>
<fRollCentreHeightFront value="0.290000"/>
<fRollCentreHeightRear value="0.300000"/>
<fCollisionDamageMult value="1.000000"/>
<fWeaponDamageMult value="1.000000"/>
<fDeformationDamageMult value="1.000000"/>
<fEngineDamageMult value="1.600000"/>
<fPetrolTankVolume value="65.000000"/>
<fOilVolume value="5.000000"/>
<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>
</SubHandlingData>
</Item>
</HandlingData>
</CHandlingDataMgr>
Binary file not shown.
Binary file not shown.
Binary file not shown.
+135
View File
@@ -0,0 +1,135 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- 2018 Chevrolet Tahoe PPV - GeorgieMoon -->
<CVehicleModelInfo__InitDataList>
<residentTxd>vehshare</residentTxd>
<residentAnims />
<InitDatas>
<Item>
<modelName>sahp18tahoe</modelName>
<txdName>sahp18tahoe</txdName>
<handlingId>sahp18tahoe</handlingId>
<gameName>sahp18tahoe</gameName>
<vehicleMakeName>19CHEVY</vehicleMakeName>
<expressionDictName>null</expressionDictName>
<expressionName>null</expressionName>
<animConvRoofDictName>null</animConvRoofDictName>
<animConvRoofName>null</animConvRoofName>
<animConvRoofWindowsAffected />
<ptfxAssetName>null</ptfxAssetName>
<audioNameHash>granger</audioNameHash>
<layout>LAYOUT_RANGER</layout>
<coverBoundOffsets>GRANGER_COVER_OFFSET_INFO</coverBoundOffsets>
<explosionInfo>EXPLOSION_INFO_DEFAULT</explosionInfo>
<scenarioLayout />
<cameraName>DEFAULT_FOLLOW_VEHICLE_CAMERA</cameraName>
<aimCameraName>BOX_VEHICLE_AIM_CAMERA</aimCameraName>
<bonnetCameraName>VEHICLE_BONNET_CAMERA_STANDARD</bonnetCameraName>
<povCameraName>DEFAULT_POV_CAMERA_LOOKAROUND</povCameraName>
<FirstPersonDriveByIKOffset x="0.000000" y="-0.150000" z="-0.030000" />
<FirstPersonDriveByUnarmedIKOffset x="0.000000" y="0.000000" z="0.000000" />
<FirstPersonProjectileDriveByIKOffset x="0.000000" y="-0.088000" z="0.093000" />
<FirstPersonProjectileDriveByPassengerIKOffset x="0.020000" y="0.060000" z="-0.090000" />
<FirstPersonProjectileDriveByRearLeftIKOffset x="0.000000" y="0.000000" z="-0.055000" />
<FirstPersonProjectileDriveByRearRightIKOffset x="0.000000" y="0.000000" z="-0.055000" />
<FirstPersonDriveByLeftPassengerIKOffset x="0.000000" y="0.000000" z="-0.040000" />
<FirstPersonDriveByRightPassengerIKOffset x="-0.045000" y="-0.048000" z="-0.040000" />
<FirstPersonDriveByRightRearPassengerIKOffset x="0.000000" y="0.000000" 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.150000" y="0.268000" z="0.503000" />
<FirstPersonPassengerMobilePhoneOffset x="0.136000" y="0.223000" z="0.425000" />
<FirstPersonMobilePhoneSeatIKOffset>
<Item>
<Offset x="0.156000" y="0.223000" z="0.493000" />
<SeatIndex value="2" />
</Item>
<Item>
<Offset x="0.156000" y="0.223000" z="0.493000" />
<SeatIndex value="3" />
</Item>
</FirstPersonMobilePhoneSeatIKOffset>
<PovCameraOffset x="0.000000" y="-0.135000" z="0.635000" />
<PovCameraVerticalAdjustmentForRollCage value="0.000000" />
<PovPassengerCameraOffset x="0.000000" y="0.000000" z="0.030000" />
<PovRearPassengerCameraOffset x="0.000000" y="0.000000" z="0.070000" />
<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.292300" />
<wheelScaleRear value="0.292300" />
<dirtLevelMin value="0.000000" />
<dirtLevelMax value="50.000000" />
<envEffScaleMin value="0.000000" />
<envEffScaleMax value="1.000000" />
<envEffScaleMin2 value="0.000000" />
<envEffScaleMax2 value="1.000000" />
<damageMapScale value="0.900000" />
<damageOffsetScale value="1.000000" />
<diffuseTint value="0x00FFFFFF" />
<steerWheelMult value="1.000000" />
<HDTextureDist value="5.000000" />
<lodDistances content="float_array">
500.000000
500.000000
500.000000
500.000000
500.000000
500.000000
</lodDistances>
<minSeatHeight value="0.966" />
<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_HAS_LIVERY FLAG_EXTRAS_STRONG FLAG_LAW_ENFORCEMENT</flags>
<type>VEHICLE_TYPE_CAR</type>
<plateType>VPT_FRONT_AND_BACK_PLATES</plateType>
<dashboardType>VDT_RACE</dashboardType>
<vehicleClass>VC_EMERGENCY</vehicleClass>
<wheelType>VWT_SUV</wheelType>
<trailers />
<additionalTrailers />
<drivers />
<extraIncludes />
<doorsWithCollisionWhenClosed />
<driveableDoors />
<bumpersNeedToCollideWithMap value="false" />
<needsRopeTexture value="false" />
<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 />
<buoyancySphereOffset x="0.000000" y="0.000000" z="0.000000" />
<buoyancySphereSizeScale value="1.000000" />
<pOverrideRagdollThreshold type="NULL" />
<firstPersonDrivebyData>
<Item>RANGER_CAVALCADE_FRONT_LEFT</Item>
<Item>RANGER_FRONT_RIGHT</Item>
<Item>RANGER_PRANGER_REAR_LEFT</Item>
<Item>RANGER_PRANGER_REAR_RIGHT</Item>
</firstPersonDrivebyData>
</Item>
</InitDatas>
<txdRelationships>
<Item>
<parent>vehicles_banshee_interior</parent>
<child>sahp18tahoe</child>
</Item>
</txdRelationships>
</CVehicleModelInfo__InitDataList>
+3 -3
View File
@@ -234,7 +234,7 @@ ensure wk_wars2x
ensure ulc ensure ulc
ensure reverse-hud ensure reverse-hud
ensure taser_effect-main ensure taser_effect-main
ensure ensure fzt_fov-main
ensure ensure
ensure ensure
@@ -370,8 +370,8 @@ ensure tiller
ensure e450ambo ensure e450ambo
ensure 751 ensure 751
ensure st23tahoe ensure st23tahoe
ensure ensure 7728
ensure ensure sahp18tahoe
ensure ensure
ensure ensure