This commit is contained in:
KingMcDonalds
2023-04-28 15:59:37 -07:00
30 changed files with 1220 additions and 110 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ Config = {}
-- Disable/enable sounds
Config.Sounds = true
Config.LoopSound = true
Config.Volume = 0.8
Config.Volume = 0.5
-- Min: 0.0 Max: 1.0
-- Disable/enable Notifications
File diff suppressed because one or more lines are too long
@@ -389,6 +389,21 @@ resource_manifest_version '77731fab-63ca-442c-a67b-abc70f28dfa5'
data_file 'CARCOLS_FILE' 'data/z2879/carcols.meta'
data_file 'VEHICLE_VARIATION_FILE' 'data/z2879/carvariations.meta'
data_file 'VEHICLE_LAYOUTS_FILE' 'data/z2879/dlctext.meta'
--demon18
files {
'data/demon18/vehicles.meta',
'data/demon18/carvariations.meta',
'data/demon18/carcols.meta',
'data/demon18/handling.meta',
'data/demon18/vehiclelayouts.meta',
}
data_file 'HANDLING_FILE' 'data/demon18/handling.meta'
data_file 'VEHICLE_METADATA_FILE' 'data/demon18/vehicles.meta'
data_file 'CARCOLS_FILE' 'data/demon18/carcols.meta'
data_file 'VEHICLE_VARIATION_FILE' 'data/demon18/carvariations.meta'
data_file 'VEHICLE_LAYOUTS_FILE' 'data/demon18/dlctext.meta'
client_script {
'vehicle_names.lua'
@@ -0,0 +1,600 @@
<?xml version="1.0" encoding="UTF-8"?>
<CVehicleModelInfoVarGlobal>
<Kits>
<Item>
<kitName>1243_demon18_modkit</kitName>
<id value="1243" />
<kitType>MKT_SPECIAL</kitType>
<visibleMods>
<Item>
<modelName>demon18_SPOIL</modelName>
<modShopLabel>demon18_SPOIL</modShopLabel>
<linkedModels />
<turnOffBones>
<Item>misc_a</Item>
</turnOffBones>
<type>VMT_SPOILER</type>
<bone>boot</bone>
<collisionBone>boot</collisionBone>
<cameraPos>VMCP_DEFAULT</cameraPos>
<audioApply value="1.000000" />
<weight value="0" />
<turnOffExtra value="false" />
<disableBonnetCamera value="false" />
<allowBonnetSlide value="true" />
</Item>
<Item>
<modelName>demon18_cage</modelName>
<modShopLabel>demon18_CAGE</modShopLabel>
<linkedModels />
<turnOffBones>
<Item>misc_b</Item>
<Item>misc_c</Item>
<Item>misc_d</Item>
</turnOffBones>
<type>VMT_CHASSIS</type>
<bone>chassis</bone>
<collisionBone>chassis</collisionBone>
<cameraPos>VMCP_DEFAULT</cameraPos>
<audioApply value="1.000000" />
<weight value="0" />
<turnOffExtra value="false" />
<disableBonnetCamera value="false" />
<allowBonnetSlide value="true" />
</Item>
</visibleMods>
<linkMods />
<statMods>
<Item>
<identifier />
<modifier value="25" />
<audioApply value="1.000000" />
<weight value="20" />
<type>VMT_ENGINE</type>
</Item>
<Item>
<identifier />
<modifier value="50" />
<audioApply value="1.000000" />
<weight value="20" />
<type>VMT_ENGINE</type>
</Item>
<Item>
<identifier />
<modifier value="75" />
<audioApply value="1.000000" />
<weight value="20" />
<type>VMT_ENGINE</type>
</Item>
<Item>
<identifier />
<modifier value="100" />
<audioApply value="1.000000" />
<weight value="20" />
<type>VMT_ENGINE</type>
</Item>
<Item>
<identifier />
<modifier value="25" />
<audioApply value="1.000000" />
<weight value="5" />
<type>VMT_BRAKES</type>
</Item>
<Item>
<identifier />
<modifier value="65" />
<audioApply value="1.000000" />
<weight value="5" />
<type>VMT_BRAKES</type>
</Item>
<Item>
<identifier />
<modifier value="100" />
<audioApply value="1.000000" />
<weight value="5" />
<type>VMT_BRAKES</type>
</Item>
<Item>
<identifier />
<modifier value="25" />
<audioApply value="1.000000" />
<weight value="5" />
<type>VMT_GEARBOX</type>
</Item>
<Item>
<identifier />
<modifier value="50" />
<audioApply value="1.000000" />
<weight value="5" />
<type>VMT_GEARBOX</type>
</Item>
<Item>
<identifier />
<modifier value="100" />
<audioApply value="1.000000" />
<weight value="5" />
<type>VMT_GEARBOX</type>
</Item>
<Item>
<identifier />
<modifier value="20" />
<audioApply value="1.000000" />
<weight value="0" />
<type>VMT_ARMOUR</type>
</Item>
<Item>
<identifier />
<modifier value="40" />
<audioApply value="1.000000" />
<weight value="10" />
<type>VMT_ARMOUR</type>
</Item>
<Item>
<identifier />
<modifier value="60" />
<audioApply value="1.000000" />
<weight value="20" />
<type>VMT_ARMOUR</type>
</Item>
<Item>
<identifier />
<modifier value="80" />
<audioApply value="1.000000" />
<weight value="30" />
<type>VMT_ARMOUR</type>
</Item>
<Item>
<identifier />
<modifier value="100" />
<audioApply value="1.000000" />
<weight value="40" />
<type>VMT_ARMOUR</type>
</Item>
<Item>
<identifier>HORN_TRUCK</identifier>
<modifier value="1766676233" />
<audioApply value="1.000000" />
<weight value="0" />
<type>VMT_HORN</type>
</Item>
<Item>
<identifier>HORN_COP</identifier>
<modifier value="2904189469" />
<audioApply value="1.000000" />
<weight value="0" />
<type>VMT_HORN</type>
</Item>
<Item>
<identifier>HORN_CLOWN</identifier>
<modifier value="2543206147" />
<audioApply value="1.000000" />
<weight value="0" />
<type>VMT_HORN</type>
</Item>
<Item>
<identifier>HORN_MUSICAL_1</identifier>
<modifier value="1732399718" />
<audioApply value="1.000000" />
<weight value="0" />
<type>VMT_HORN</type>
</Item>
<Item>
<identifier>HORN_MUSICAL_2</identifier>
<modifier value="2046162893" />
<audioApply value="1.000000" />
<weight value="0" />
<type>VMT_HORN</type>
</Item>
<Item>
<identifier>HORN_MUSICAL_3</identifier>
<modifier value="2194999691" />
<audioApply value="1.000000" />
<weight value="0" />
<type>VMT_HORN</type>
</Item>
<Item>
<identifier>HORN_MUSICAL_4</identifier>
<modifier value="2508304100" />
<audioApply value="1.000000" />
<weight value="0" />
<type>VMT_HORN</type>
</Item>
<Item>
<identifier>HORN_MUSICAL_5</identifier>
<modifier value="3707223535" />
<audioApply value="1.000000" />
<weight value="0" />
<type>VMT_HORN</type>
</Item>
<Item>
<identifier>HORN_SAD_TROMBONE</identifier>
<modifier value="632950117" />
<audioApply value="1.000000" />
<weight value="0" />
<type>VMT_HORN</type>
</Item>
<Item>
<identifier>MUSICAL_HORN_BUSINESS_1</identifier>
<modifier value="3628534289" />
<audioApply value="1.000000" />
<weight value="0" />
<type>VMT_HORN</type>
</Item>
<Item>
<identifier>MUSICAL_HORN_BUSINESS_2</identifier>
<modifier value="3892554122" />
<audioApply value="1.000000" />
<weight value="0" />
<type>VMT_HORN</type>
</Item>
<Item>
<identifier>MUSICAL_HORN_BUSINESS_3</identifier>
<modifier value="4112892878" />
<audioApply value="1.000000" />
<weight value="0" />
<type>VMT_HORN</type>
</Item>
<Item>
<identifier>MUSICAL_HORN_BUSINESS_4</identifier>
<modifier value="116877169" />
<audioApply value="1.000000" />
<weight value="0" />
<type>VMT_HORN</type>
</Item>
<Item>
<identifier>MUSICAL_HORN_BUSINESS_5</identifier>
<modifier value="2684983719" />
<audioApply value="1.000000" />
<weight value="0" />
<type>VMT_HORN</type>
</Item>
<Item>
<identifier>MUSICAL_HORN_BUSINESS_6</identifier>
<modifier value="2982690084" />
<audioApply value="1.000000" />
<weight value="0" />
<type>VMT_HORN</type>
</Item>
<Item>
<identifier>MUSICAL_HORN_BUSINESS_7</identifier>
<modifier value="3203290992" />
<audioApply value="1.000000" />
<weight value="0" />
<type>VMT_HORN</type>
</Item>
<Item>
<identifier>DLC_BUSI2_C_MAJOR_NOTES_C0</identifier>
<modifier value="771284519" />
<audioApply value="1.000000" />
<weight value="0" />
<type>VMT_HORN</type>
</Item>
<Item>
<identifier>DLC_BUSI2_C_MAJOR_NOTES_D0</identifier>
<modifier value="2586621229" />
<audioApply value="1.000000" />
<weight value="0" />
<type>VMT_HORN</type>
</Item>
<Item>
<identifier>DLC_BUSI2_C_MAJOR_NOTES_E0</identifier>
<modifier value="283386134" />
<audioApply value="1.000000" />
<weight value="0" />
<type>VMT_HORN</type>
</Item>
<Item>
<identifier>DLC_BUSI2_C_MAJOR_NOTES_F0</identifier>
<modifier value="3884502400" />
<audioApply value="1.000000" />
<weight value="0" />
<type>VMT_HORN</type>
</Item>
<Item>
<identifier>DLC_BUSI2_C_MAJOR_NOTES_G0</identifier>
<modifier value="265723083" />
<audioApply value="1.000000" />
<weight value="0" />
<type>VMT_HORN</type>
</Item>
<Item>
<identifier>DLC_BUSI2_C_MAJOR_NOTES_A0</identifier>
<modifier value="1746883687" />
<audioApply value="1.000000" />
<weight value="0" />
<type>VMT_HORN</type>
</Item>
<Item>
<identifier>DLC_BUSI2_C_MAJOR_NOTES_B0</identifier>
<modifier value="1919870950" />
<audioApply value="1.000000" />
<weight value="0" />
<type>VMT_HORN</type>
</Item>
<Item>
<identifier>DLC_BUSI2_C_MAJOR_NOTES_C1</identifier>
<modifier value="1085277077" />
<audioApply value="1.000000" />
<weight value="0" />
<type>VMT_HORN</type>
</Item>
<Item>
<identifier>HIPSTER_HORN_1</identifier>
<modifier value="444549672" />
<audioApply value="1.000000" />
<weight value="0" />
<type>VMT_HORN</type>
</Item>
<Item>
<identifier>HIPSTER_HORN_2</identifier>
<modifier value="1603064898" />
<audioApply value="1.000000" />
<weight value="0" />
<type>VMT_HORN</type>
</Item>
<Item>
<identifier>HIPSTER_HORN_3</identifier>
<modifier value="240366033" />
<audioApply value="1.000000" />
<weight value="0" />
<type>VMT_HORN</type>
</Item>
<Item>
<identifier>HIPSTER_HORN_4</identifier>
<modifier value="960137118" />
<audioApply value="1.000000" />
<weight value="0" />
<type>VMT_HORN</type>
</Item>
<Item>
<identifier>INDEP_HORN_1</identifier>
<modifier value="3572144790" />
<audioApply value="1.000000" />
<weight value="0" />
<type>VMT_HORN</type>
</Item>
<Item>
<identifier>INDEP_HORN_2</identifier>
<modifier value="3801396714" />
<audioApply value="1.000000" />
<weight value="0" />
<type>VMT_HORN</type>
</Item>
<Item>
<identifier>INDEP_HORN_3</identifier>
<modifier value="2843657151" />
<audioApply value="1.000000" />
<weight value="0" />
<type>VMT_HORN</type>
</Item>
<Item>
<identifier>INDEP_HORN_4</identifier>
<modifier value="3341811489" />
<audioApply value="1.000000" />
<weight value="0" />
<type>VMT_HORN</type>
</Item>
<Item>
<identifier>LUXE_HORN_1</identifier>
<modifier value="3199657341" />
<audioApply value="1.000000" />
<weight value="0" />
<type>VMT_HORN</type>
</Item>
<Item>
<identifier>LUXE_HORN_2</identifier>
<modifier value="2900378064" />
<audioApply value="1.000000" />
<weight value="0" />
<type>VMT_HORN</type>
</Item>
<Item>
<identifier>LUXE_HORN_3</identifier>
<modifier value="3956195248" />
<audioApply value="1.000000" />
<weight value="0" />
<type>VMT_HORN</type>
</Item>
<!-- PREVIEW HORN - FOR MOD SHOP USE ONLY -->
<Item>
<identifier>LUXORY_HORN_1</identifier>
<modifier value="676333254" />
<audioApply value="1.000000" />
<weight value="0" />
<type>VMT_HORN</type>
</Item>
<!-- PREVIEW HORN - FOR MOD SHOP USE ONLY -->
<Item>
<identifier>LUXURY_HORN_2</identifier>
<modifier value="2099578296" />
<audioApply value="1.000000" />
<weight value="0" />
<type>VMT_HORN</type>
</Item>
<!-- PREVIEW HORN - FOR MOD SHOP USE ONLY -->
<Item>
<identifier>LUXURY_HORN_3</identifier>
<modifier value="1373384483" />
<audioApply value="1.000000" />
<weight value="0" />
<type>VMT_HORN</type>
</Item>
<Item>
<identifier />
<modifier value="2" />
<audioApply value="1.000000" />
<weight value="0" />
<type>VMT_SUSPENSION</type>
</Item>
<Item>
<identifier />
<modifier value="4" />
<audioApply value="1.000000" />
<weight value="0" />
<type>VMT_SUSPENSION</type>
</Item>
<Item>
<identifier />
<modifier value="6" />
<audioApply value="1.000000" />
<weight value="0" />
<type>VMT_SUSPENSION</type>
</Item>
<Item>
<identifier />
<modifier value="8" />
<audioApply value="1.000000" />
<weight value="0" />
<type>VMT_SUSPENSION</type>
</Item>
</statMods>
<slotNames />
<Item>
<slot>VMT_CHASSIS</slot>
<name>TOP_CAGE</name>
</Item>
<liveryNames>
<Item>demon18_LV1</Item>
<Item>demon18_LV2</Item>
<Item>demon18_LV3</Item>
<Item>demon18_LV4</Item>
<Item>demon18_LV5</Item>
<Item>demon18_LV6</Item>
</liveryNames>
</Item>
</Kits>
<Lights>
<Item>
<id value="998" />
<indicator>
<intensity value="0.375000" />
<falloffMax value="2.500000" />
<falloffExponent value="8.000000" />
<innerConeAngle value="30.000000" />
<outerConeAngle value="80.000000" />
<emmissiveBoost value="false" />
<color value="0xFFFF8000" />
</indicator>
<rearIndicatorCorona>
<size value="0.000000" />
<size_far value="0.000000" />
<intensity value="0.000000" />
<intensity_far value="0.000000" />
<color value="0x00000000" />
<numCoronas value="1" />
<distBetweenCoronas value="128" />
<distBetweenCoronas_far value="255" />
<xRotation value="0.000000" />
<yRotation value="0.000000" />
<zRotation value="0.000000" />
<zBias value="0.250000" />
<pullCoronaIn value="false" />
</rearIndicatorCorona>
<frontIndicatorCorona>
<size value="0.000000" />
<size_far value="0.000000" />
<intensity value="0.000000" />
<intensity_far value="0.000000" />
<color value="0x00000000" />
<numCoronas value="1" />
<distBetweenCoronas value="128" />
<distBetweenCoronas_far value="255" />
<xRotation value="0.000000" />
<yRotation value="0.000000" />
<zRotation value="0.000000" />
<zBias value="0.250000" />
<pullCoronaIn value="false" />
</frontIndicatorCorona>
<tailLight>
<intensity value="0.250000" />
<falloffMax value="4.000000" />
<falloffExponent value="16.000000" />
<innerConeAngle value="45.000000" />
<outerConeAngle value="90.000000" />
<emmissiveBoost value="false" />
<color value="0xFFFF0000" />
</tailLight>
<tailLightCorona>
<size value="0.900000" />
<size_far value="5.300000" />
<intensity value="4.000000" />
<intensity_far value="1.000000" />
<color value="0xFFFF1E05" />
<numCoronas value="0" />
<distBetweenCoronas value="0.1" />
<distBetweenCoronas_far value="20.5" />
<xRotation value="0.000000" />
<yRotation value="0.000000" />
<zRotation value="5.667000" />
<zBias value="0.000000" />
<pullCoronaIn value="false" />
</tailLightCorona>
<tailLightMiddleCorona>
<size value="0.000000" />
<size_far value="0.000000" />
<intensity value="0.000000" />
<intensity_far value="0.000000" />
<color value="0x00000000" />
<numCoronas value="0" />
<distBetweenCoronas value="25" />
<distBetweenCoronas_far value="25" />
<xRotation value="0.000000" />
<yRotation value="0.000000" />
<zRotation value="0.000000" />
<zBias value="0.000000" />
<pullCoronaIn value="false" />
</tailLightMiddleCorona>
<headLight>
<intensity value="1.000000" />
<falloffMax value="35.000000" />
<falloffExponent value="16.000000" />
<innerConeAngle value="0.000000" />
<outerConeAngle value="60.209999" />
<emmissiveBoost value="false" />
<color value="0xFFFFFFCC" />
<textureName>VehicleLight_car_oldsquare</textureName>
<mirrorTexture value="true" />
</headLight>
<headLightCorona>
<size value="0.100000" />
<size_far value="10.000000" />
<intensity value="5.000000" />
<intensity_far value="1.000000" />
<color value="0xFFFFFFFF" />
<numCoronas value="1" />
<distBetweenCoronas value="128" />
<distBetweenCoronas_far value="255" />
<xRotation value="0.000000" />
<yRotation value="0.000000" />
<zRotation value="0.000000" />
<zBias value="0.250000" />
<pullCoronaIn value="false" />
</headLightCorona>
<reversingLight>
<intensity value="0.500000" />
<falloffMax value="4.000000" />
<falloffExponent value="32.000000" />
<innerConeAngle value="45.000000" />
<outerConeAngle value="90.000000" />
<emmissiveBoost value="false" />
<color value="0xFFFFFFFF" />
</reversingLight>
<reversingLightCorona>
<size value="0.800000" />
<size_far value="2.000000" />
<intensity value="1.500000" />
<intensity_far value="1.000000" />
<color value="0x00F7F7F7" />
<numCoronas value="1" />
<distBetweenCoronas value="128" />
<distBetweenCoronas_far value="255" />
<xRotation value="0.000000" />
<yRotation value="0.000000" />
<zRotation value="0.000000" />
<zBias value="0.250000" />
<pullCoronaIn value="false" />
</reversingLightCorona>
<name>demon18</name>
</Item>
</Lights>
</CVehicleModelInfoVarGlobal>
@@ -0,0 +1,163 @@
<?xml version="1.0" encoding="UTF-8"?>
<CVehicleModelInfoVariation>
<variationData>
<Item>
<modelName>demon18</modelName>
<colors>
<Item>
<indices content="char_array">
64
0
140
1
</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">
29
0
29
1
</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">
38
0
88
1
</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">
138
0
138
1
</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">
70
0
140
1
</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">
112
0
0
1
</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">
1
0
5
1
</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>
</colors>
<kits>
<Item>1243_demon18_modkit</Item>
</kits>
<windowsWithExposedEdges />
<plateProbabilities>
<Probabilities>
<Item>
<Name>Standard White</Name>
<Value value="25" />
</Item>
<Item>
<Name>White Plate 2</Name>
<Value value="50" />
</Item>
<Item>
<Name>Blue Plate</Name>
<Value value="10" />
</Item>
<Item>
<Name>Yellow Plate</Name>
<Value value="15" />
</Item>
</Probabilities>
</plateProbabilities>
<lightSettings value="998" />
<sirenSettings value="0" />
</Item>
</variationData>
</CVehicleModelInfoVariation>
@@ -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,67 @@
<?xml version="1.0" encoding="UTF-8"?>
<CHandlingDataMgr>
<HandlingData>
<Item type="CHandlingData">
<handlingName>demon18</handlingName>
<fMass value="1940.000000" />
<fInitialDragCoeff value="1.000000" />
<fPercentSubmerged value="85.000000" />
<vecCentreOfMassOffset x="0.000000" y="0.000000" z="0.000000" />
<vecInertiaMultiplier x="1.000000" y="1.000000" z="1.600000" />
<fDriveBiasFront value="0.000000" />
<nInitialDriveGears value="5" />
<fInitialDriveForce value="0.320000" />
<fDriveInertia value="1.000000" />
<fClutchChangeRateScaleUpShift value="1.900000" />
<fClutchChangeRateScaleDownShift value="1.900000" />
<fInitialDriveMaxFlatVel value="244.000000" />
<fBrakeForce value="1.500000" />
<fBrakeBiasFront value="0.650000" />
<fHandBrakeForce value="0.800000" />
<fSteeringLock value="40.000000" />
<fTractionCurveMax value="2.250000" />
<fTractionCurveMin value="1.800000" />
<fTractionCurveLateral value="22.500000" />
<fTractionSpringDeltaMax value="0.150000" />
<fLowSpeedTractionLossMult value="1.000000" />
<fCamberStiffnesss value="0.000000" />
<fTractionBiasFront value="0.500000" />
<fTractionLossMult value="1.000000" />
<fSuspensionForce value="2.000000" />
<fSuspensionCompDamp value="0.800000" />
<fSuspensionReboundDamp value="1.400000" />
<fSuspensionUpperLimit value="0.120000" />
<fSuspensionLowerLimit value="-0.140000" />
<fSuspensionRaise value="0.000000" />
<fSuspensionBiasFront value="0.500000" />
<fAntiRollBarForce value="0.400000" />
<fAntiRollBarBiasFront value="0.660000" />
<fRollCentreHeightFront value="0.30000" />
<fRollCentreHeightRear value="0.290000" />
<fCollisionDamageMult value="0.700000" />
<fWeaponDamageMult value="1.000000" />
<fDeformationDamageMult value="1.200000" />
<fEngineDamageMult value="1.500000" />
<fPetrolTankVolume value="65.000000" />
<fOilVolume value="5.000000" />
<fSeatOffsetDistX value="0.125000" />
<fSeatOffsetDistY value="0.000000" />
<fSeatOffsetDistZ value="0.100000" />
<nMonetaryValue value="150000" />
<strModelFlags>440010</strModelFlags>
<strHandlingFlags>0</strHandlingFlags>
<strDamageFlags>0</strDamageFlags>
<AIHandling>AVERAGE</AIHandling>
<SubHandlingData>
<Item type="CCarHandlingData">
<fBackEndPopUpCarImpulseMult value="0.500000" />
<fBackEndPopUpBuildingImpulseMult value="0.250000" />
<fBackEndPopUpMaxDeltaSpeed value="1.750000" />
</Item>
<Item type="NULL" />
<Item type="NULL" />
</SubHandlingData>
</Item>
</HandlingData>
</CHandlingDataMgr>
@@ -0,0 +1,124 @@
<?xml version="1.0" encoding="UTF-8"?>
<CVehicleModelInfo__InitDataList>
<residentTxd>vehshare</residentTxd>
<residentAnims />
<InitDatas>
<Item>
<modelName>demon18</modelName>
<txdName>demon18</txdName>
<handlingId>demon18</handlingId>
<gameName>demon18</gameName>
<vehicleMakeName>Dodge</vehicleMakeName>
<expressionDictName>null</expressionDictName>
<expressionName>null</expressionName>
<animConvRoofDictName>null</animConvRoofDictName>
<animConvRoofName>null</animConvRoofName>
<animConvRoofWindowsAffected />
<ptfxAssetName>null</ptfxAssetName>
<audioNameHash>DOMINATOR</audioNameHash>
<layout>LAYOUT_LOW_INFERNUS</layout>
<coverBoundOffsets>ZENTORNO_COVER_OFFSET_INFO</coverBoundOffsets>
<explosionInfo>EXPLOSION_INFO_DEFAULT</explosionInfo>
<scenarioLayout />
<cameraName>FOLLOW_CHEETAH_CAMERA</cameraName>
<aimCameraName>DEFAULT_THIRD_PERSON_VEHICLE_AIM_CAMERA</aimCameraName>
<bonnetCameraName>VEHICLE_BONNET_CAMERA_MID_HIGH</bonnetCameraName>
<povCameraName>DEFAULT_POV_CAMERA_NO_REVERSE</povCameraName>
<FirstPersonDriveByIKOffset x="0.000000" y="-0.060000" z="-0.020000" />
<FirstPersonDriveByUnarmedIKOffset x="0.000000" y="0.000000" z="0.000000" />
<FirstPersonProjectileDriveByIKOffset x="0.090000" y="-0.065000" z="-0.060000" />
<FirstPersonProjectileDriveByPassengerIKOffset x="0.000000" y="-0.133000" z="-0.060000" />
<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.060000" z="0.003000" />
<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" />
<FirstPersonPassengerMobilePhoneOffset x="0.176000" y="0.136000" z="0.445000" />
<FirstPersonMobilePhoneOffset x="0.120000" y="0.223000" z="0.531000" />
<PovCameraOffset x="0.000000" y="-0.370000" z="0.590000" />
<PovCameraVerticalAdjustmentForRollCage value="0.000000" />
<PovPassengerCameraOffset x="0.000000" y="-0.130000" z="0.000000" />
<PovRearPassengerCameraOffset x="0.000000" y="0.000000" z="0.000000" />
<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.277000" />
<wheelScaleRear value="0.277000" />
<dirtLevelMin value="0.000000" />
<dirtLevelMax value="0.300000" />
<envEffScaleMin value="0.000000" />
<envEffScaleMax value="1.000000" />
<envEffScaleMin2 value="0.000000" />
<envEffScaleMax2 value="1.000000" />
<damageMapScale value="0.40000" />
<damageOffsetScale value="0.40000" />
<diffuseTint value="0x00FFFFFF" />
<steerWheelMult value="1.000000" />
<HDTextureDist value="5.000000" />
<lodDistances content="float_array">
30.000000
60.000000
100.000000
150.000000
250.000000
500.000000
</lodDistances>
<minSeatHeight value="0.797" />
<identicalModelSpawnDistance value="20" />
<maxNumOfSameColor value="1" />
<defaultBodyHealth value="1000.000000" />
<pretendOccupantsScale value="1.000000" />
<visibleSpawnDistScale value="1.000000" />
<trackerPathWidth value="2.000000" />
<weaponForceMult value="1.000000" />
<frequency value="30" />
<swankness>SWANKNESS_5</swankness>
<maxNum value="4" />
<flags>FLAG_SPORTS FLAG_RICH_CAR FLAG_NO_BROKEN_DOWN_SCENARIO FLAG_COUNT_AS_FACEBOOK_DRIVEN FLAG_HAS_INTERIOR_EXTRAS</flags>
<type>VEHICLE_TYPE_CAR</type>
<plateType>VPT_FRONT_AND_BACK_PLATES</plateType>
<dashboardType>VDT_ZTYPE</dashboardType>
<vehicleClass>VC_MUSCLE</vehicleClass>
<wheelType>VWT_HIEND</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>LOW_HOTKNIFE_FRONT_LEFT</Item>
<Item>LOW_HOTKNIFE_FRONT_RIGHT</Item>
</firstPersonDrivebyData>
</Item>
</InitDatas>
<txdRelationships>
<Item>
<parent>vehicles_btype_interior</parent>
<child>demon18</child>
</Item>
</txdRelationships>
</CVehicleModelInfo__InitDataList>
@@ -57,7 +57,6 @@ Citizen.CreateThread(function()
AddTextEntry('ss69', 'chevy chevelle 1969')
--z2879
AddTextEntry('z2879', 'Chevy Camoro z28 1979')
--demon18
AddTextEntry('demon18', 'Dodge Challenger Demon 2018')
end)
@@ -0,0 +1,137 @@
Citizen.CreateThread(function()
while true do
local prevtime = GetGameTimer()
local prevframes = GetFrameCount()
local fps = -1
local curtime = GetGameTimer()
local curframes = GetFrameCount()
local id = GetPlayerServerId(PlayerId())
local playername = GetPlayerName(PlayerId())
local player = GetPlayerPed(GetPlayerFromServerId(playerid))
local position = GetEntityCoords(player, true)
local zoneID = GetNameOfZone(position.x, position.y, position.z)
local zone = GetLabelText(zoneID)
local coords = GetEntityCoords(ped)
local streetcord1, streetcord2 = GetStreetNameAtCoord(coords.x, coords.y, coords.z, Citizen.ResultAsInteger(), Citizen.ResultAsInteger())
local street1 = GetStreetNameFromHashKey(streetcord1)
local street2 = GetStreetNameFromHashKey(streetcord2)
local onlinePlayers = #GetActivePlayers()
SetDiscordAppId(Config.ApplicationID)
if Config.EnableLargeImage then
SetDiscordRichPresenceAsset(Config.LargeImageName)
end
if Config.SetRichPresenceText then
if Config.RichPresenceText == "standard" then
SetRichPresence("Mainhatten Scripts - discord.gg/ce6auKzCbV")
elseif Config.RichPresenceText == "playerFPS" then
Citizen.CreateThread(function()
while not NetworkIsPlayerActive(PlayerId()) or not NetworkIsSessionStarted() do
Citizen.Wait(Config.UpdateTime*1000)
end
while true do
if((curtime - prevtime) > 1000) then
fps = (curframes - prevframes) - 1
prevtime = curtime
prevframes = curframes
end
SetRichPresence(Translation[Config.Locale]['playerfps_text'] ..fps.. "FPS")
Citizen.Wait(Config.UpdateTime*1000)
end
end)
elseif Config.RichPresenceText == "playerID" then
SetRichPresence(playername.." [ID: "..id.."]")
elseif Config.RichPresenceText == "playerLocZone" then
SetRichPresence(Translation[Config.Locale]['zone_text'] ..zone)
elseif Config.RichPresenceText == "playerLocStreet" then
SetRichPresence(Translation[Config.Locale]['street1_text'] ..street1.. " | " ..street2)
elseif Config.RichPresenceText == "discordServer" then
SetRichPresence(Translation[Config.Locale]['discordserver_text'] ..Config.YourDisordServerLink)
elseif Config.RichPresenceText == "customEGRP" then
SetRichPresence("ID: "..id.." | Players: "..onlinePlayers.." | Currently at "..zone)
else
SetRichPresence(Config.RichPresenceText)
end
end
if Config.EnableLargeImageText then
if Config.LargeImageText == "playerFPS" then
Citizen.CreateThread(function()
while not NetworkIsPlayerActive(PlayerId()) or not NetworkIsSessionStarted() do
Citizen.Wait(Config.UpdateTime*1000)
end
while true do
if((curtime - prevtime) > 1000) then
fps = (curframes - prevframes) - 1
prevtime = curtime
prevframes = curframes
end
SetDiscordRichPresenceAssetText(Translation[Config.Locale]['playerfps_text'] ..fps.. "FPS")
Citizen.Wait(Config.UpdateTime*1000)
end
end)
elseif Config.LargeImageText == "playerID" then
SetDiscordRichPresenceAssetText(playername.." [ID: "..id.."]")
elseif Config.LargeImageText == "playerLoc" then
SetDiscordRichPresenceAssetText(Translation[Config.Locale]['zone_text'] ..zone)
elseif Config.LargeImageText == "playerLocStreet" then
SetDiscordRichPresenceAssetText(Translation[Config.Locale]['street1_text'] ..street1.. " | " ..street2)
elseif Config.LargeImageText == "discordServer" then
SetDiscordRichPresenceAssetText(Translation[Config.Locale]['discordserver_text'] ..Config.YourDisordServerLink)
elseif Config.RichPresenceText == "customEGRP" then
SetRichPresence("ID: "..id.." | Players: "..onlinePlayers.." | Currently at "..zone)
else
SetDiscordRichPresenceAssetText(Config.LargeImageText)
end
end
if Config.EnableSmallImage then
SetDiscordRichPresenceAssetSmall(Config.SmallImageName)
end
if Config.EnableSmallImageText then
if Config.SmallImageText == "playerFPS" then
Citizen.CreateThread(function()
while not NetworkIsPlayerActive(PlayerId()) or not NetworkIsSessionStarted() do
Citizen.Wait(5*1000)
end
while true do
if((curtime - prevtime) > 1000) then
fps = (curframes - prevframes) - 1
prevtime = curtime
prevframes = curframes
end
SetDiscordRichPresenceAssetSmallText(Translation[Config.Locale]['playerfps_text'] ..fps.. "FPS")
Citizen.Wait(Config.UpdateTime*1000)
end
end)
elseif Config.SmallImageText == "playerID" then
SetDiscordRichPresenceAssetSmallText(playername.." ["..id.."]")
elseif Config.SmallImageText == "playerLoc" then
SetDiscordRichPresenceAssetSmallText(Translation[Config.Locale]['zone_text'] ..zone)
elseif Config.SmallImageText == "playerLocStreet" then
SetDiscordRichPresenceAssetSmallText(Translation[Config.Locale]['street1_text'] ..street1.. " | " ..street2)
elseif Config.SmallImageText == "discordServer" then
SetDiscordRichPresenceAssetSmallText(Translation[Config.Locale]['discordserver_text'] ..Config.YourDisordServerLink)
elseif Config.RichPresenceText == "customEGRP" then
SetRichPresence("ID: "..id.." | Players: "..onlinePlayers.." | Currently at "..zone)
else
SetDiscordRichPresenceAssetSmallText(Config.SmallImageText)
end
end
if Config.EnableButtons then
for k,v in pairs(Config.Buttons) do
SetDiscordRichPresenceAction(v.Index, v.Label, v.URL)
end
end
Citizen.Wait(Config.UpdateTime*1000)
end
end)
@@ -0,0 +1,81 @@
Config = {}
Translation = {}
Config.ApplicationID = "543866591079694346" -- Enter your Discord Application ID --> https://discord.com/developers/applications/
Config.UpdateTime = 1 -- 1 = 1 Second -> Updates every Second. Default is 60 Seconds
Config.Locale = "en" -- Current translations: de, en
Config.YourDisordServerLink = "https://discord.elitegami.ng"
--[[ Premade Text Version for RichPresenceText, LargeImageText and SmallImageText - Just
"playerFPS" = Shows the players FPS when you hover the image
"playerID" = Shows the Server ID of the player
"discordServer" = Shows your Discord Server Link from Config.YourDisordServerLink = "YOUR_LINK_HERE"
"playerLocZone" = Shows the current Zone Location of the Player
"playerLocStreet" = Shows the current Street Location of the Player
"standard" = Standart Option
If you want to display own text just write it there
]]
--Main Text Options
Config.SetRichPresenceText = true -- Main Text
Config.RichPresenceText = "customEGRP" --Main Text of DiscordRP
-- Icon Options
Config.EnableLargeImage = true -- Large Image enabled. Replace true with false to disable.
Config.LargeImageName = "eg-blurple" -- Image Name without .png, .jpg, or .jpeg --> https://discord.com/developers/applications/YOUR_APPLICATION_ID/rich-presence/assets
Config.EnableLargeImageText = true -- Text which shows up if you hover large image. Replace true with false to disable.
Config.LargeImageText = "Elite Gaming RP" -- Text which shows up if you hover image.
Config.EnableSmallImage = false -- Small Image enabled. Replace true with false to disable.
Config.SmallImageName = "fivem" -- Image Name without .png, .jpg, or .jpeg --> https://discord.com/developers/applications/YOUR_APPLICATION_ID/rich-presence/assets
Config.EnableSmallImageText = false -- Text which shows up if you hover small image. Replace true with false to disable.
Config.SmallImageText = "EGRP on FiveM!" -- Text which shows up if you hover image.
-- Button Options
Config.EnableButtons = true
--[[ If you want to add more Buttons you only need to Copy the "ButtonDiscord" Section from Line 51 to 55 and Rename ButtonDiscord to what you want.
!! You need to add a , after all section endings. Here in Line 56 so it looks like this }, !!
Don't forget to increase the index by one number each time!
Unfortunately, a maximum of two buttons are currently possible from Discord.]]
Config.Buttons = {
ButtonWebsite = {
Index = 0,
Label = "Discord",
URL = "https://discord.com/invite/x6PwsHtVjE"
},
{
Index = 1,
Label = "Connect",
URL = "fivem://connect/play.elitegami.ng:30120"
}
}
-- Translations
Translation = {
['de'] = {
['zone_text'] = 'Derzeitige Position: ',
['discordserver_text'] = 'Unser Discord:',
['playerfps_text'] = 'Derzeitige FPS: ',
['street1_text'] = 'Befindet sich auf: ',
},
['en'] = {
['zone_text'] = 'Current Position: ',
['discordserver_text'] = 'Our Disord: ',
['playerfps_text'] = 'Current FPS: ',
['street1_text'] = 'Located on: ',
}
}
@@ -0,0 +1,7 @@
fx_version 'cerulean'
games { 'gta5' }
client_scripts {
'config.lua',
'client/main.lua'
}
@@ -1,58 +0,0 @@
local WaitTime = 5000 -- How often do you want to update the status (In MS)
local DiscordAppId = tonumber(GetConvar("RichAppId", "543866591079694346"))
local DiscordAppAsset = GetConvar("RichAssetId", "eg-blurple")
Citizen.CreateThread(function()
Citizen.Wait(3000)
SetDiscordAppId(DiscordAppId)
SetDiscordRichPresenceAsset(DiscordAppAsset)
for _, v in pairs(Config.Buttons) do
SetDiscordRichPresenceAction(v.index, v.name, v.url)
end
while true do
local x,y,z = table.unpack(GetEntityCoords(PlayerPedId(),true))
local StreetHash = GetStreetNameAtCoord(x, y, z)
local onlinePlayers = #GetActivePlayers()
Citizen.Wait(WaitTime)
if StreetHash ~= nil then
miid = GetPlayerServerId(NetworkGetEntityOwner(GetPlayerPed(-1)))
StreetName = GetStreetNameFromHashKey(StreetHash)
if IsPedOnFoot(PlayerPedId()) and not IsEntityInWater(PlayerPedId()) then
if IsPedSprinting(PlayerPedId()) then
SetRichPresence("ID: "..miid.." | Players: "..onlinePlayers.." | Sprinting down "..StreetName)
elseif IsPedRunning(PlayerPedId()) then
SetRichPresence("ID: "..miid.." | Players: "..onlinePlayers.." | Running down "..StreetName)
elseif IsPedWalking(PlayerPedId()) then
SetRichPresence("ID: "..miid.." | Players: "..onlinePlayers.." | Walking down "..StreetName)
elseif IsPedStill(PlayerPedId()) then
SetRichPresence("ID: "..miid.." | Players: "..onlinePlayers.." | Standing on "..StreetName)
end
elseif GetVehiclePedIsUsing(PlayerPedId()) ~= nil and not IsPedInAnyHeli(PlayerPedId()) and not IsPedInAnyPlane(PlayerPedId()) and not IsPedOnFoot(PlayerPedId()) and not IsPedInAnySub(PlayerPedId()) and not IsPedInAnyBoat(PlayerPedId()) then
local MPH = math.ceil(GetEntitySpeed(GetVehiclePedIsUsing(PlayerPedId())) * 2.236936)
local VehName = GetLabelText(GetDisplayNameFromVehicleModel(GetEntityModel(GetVehiclePedIsUsing(PlayerPedId()))))
if MPH > 50 then
SetRichPresence("ID: "..miid.." | Players: "..onlinePlayers.." | Speeding down "..StreetName.." in a "..VehName)
elseif MPH <= 50 and MPH > 0 then
SetRichPresence("ID: "..miid.." | Players: "..onlinePlayers.." | Cruising down "..StreetName.." in a "..VehName)
elseif MPH == 0 then
SetRichPresence("ID: "..miid.." | Players: "..onlinePlayers.." | Parked on "..StreetName.." in a "..VehName)
end
elseif IsPedInAnyHeli(PlayerPedId()) or IsPedInAnyPlane(PlayerPedId()) then
local VehName = GetLabelText(GetDisplayNameFromVehicleModel(GetEntityModel(GetVehiclePedIsUsing(PlayerPedId()))))
if IsEntityInAir(GetVehiclePedIsUsing(PlayerPedId())) or GetEntityHeightAboveGround(GetVehiclePedIsUsing(PlayerPedId())) > 5.0 then
SetRichPresence("ID: "..miid.." | Players: "..onlinePlayers.." | Flying over "..StreetName.." in a "..VehName)
else
SetRichPresence("ID: "..miid.." | Players: "..onlinePlayers.." | Landed at "..StreetName.." in a "..VehName)
end
elseif IsEntityInWater(PlayerPedId()) then
SetRichPresence("ID: "..miid.." | Players: "..onlinePlayers.." | Swimming around")
elseif IsPedInAnyBoat(PlayerPedId()) and IsEntityInWater(GetVehiclePedIsUsing(PlayerPedId())) then
local VehName = GetLabelText(GetDisplayNameFromVehicleModel(GetEntityModel(GetVehiclePedIsUsing(PlayerPedId()))))
SetRichPresence("ID: "..miid.." | Players: "..onlinePlayers.." | Sailing around in a "..VehName)
elseif IsPedInAnySub(PlayerPedId()) and IsEntityInWater(GetVehiclePedIsUsing(PlayerPedId())) then
SetRichPresence("ID: "..miid.." | Players: "..onlinePlayers.." | In a yellow submarine")
end
end
end
end)
@@ -1,5 +0,0 @@
Config = {}
Config.Buttons = {
{index = 0,name = 'Website',url = 'https://elite-gaming.co.uk'},
{index = 1,name = 'Connect',url = 'fivem://connect/fivem.eguk.me:30120'}
}
@@ -1,6 +0,0 @@
fx_version 'adamant'
game 'gta5'
shared_script 'Config.lua'
client_script 'Client.lua'
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+1 -1
View File
@@ -30,7 +30,7 @@
"maxCallsignLength": 15,
"adminCode": "egrp_police_ADMIN",
"discord": {
"enable": true,
"enable": false,
"token": ""
},
"dutyNotification": true,
+1 -1
View File
@@ -3673,5 +3673,5 @@
"isIllegal": false,
"multiplier": 15,
"itemLocation": 0
},
}
]
File diff suppressed because one or more lines are too long
@@ -1 +0,0 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="%PUBLIC_URL%/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png"/><link rel="manifest" href="%PUBLIC_URL%/manifest.json"/><title>React App</title></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script src="bundle.js"></script></body></html>
+2 -2
View File
@@ -402,7 +402,7 @@
"qx80",
"wagoneer91",
"sjcamry",
"demon18",
],
"peds": [
"spn52",
@@ -453,7 +453,7 @@
"JokerSick",
],
"weapons": [
"WEAPON_KATANA",
"WEAPON_KATANA",
"WEAPON_pepperspray",
],
"weapon_components": [
+2 -1
View File
@@ -183,7 +183,7 @@ start cvpiv8
start r_pepperspray
#[-----Discord Perms-----]
start RichPresence
start Discord-Presence
start discord_perms
start Badger_Discord_API
start Discord-VehRestriction
@@ -504,6 +504,7 @@ add_ace group.helper jd.staff allow
add_ace group.superadmin hypnonema allow
add_ace group.admin hypnonema allow
add_ace group.moderator hypnonema allow
add_ace group.helper hypnonema allow
# remove the # to hide player endpoints in external log output
sv_endpointprivacy true