1
0
Fork 0
forked from Simnation/Main
This commit is contained in:
Nordi98 2025-08-07 08:04:21 +02:00
parent 92f9b55b4c
commit 77224ca19e
31 changed files with 6 additions and 561 deletions

View file

@ -111,7 +111,12 @@ Config.MechanicLocations = {
coords = vector3(-989.0930, -2051.7393, 9.4054), coords = vector3(-989.0930, -2051.7393, 9.4054),
size = 8.0, size = 8.0,
showBlip = false, showBlip = false,
} },
{
coords = vector3(1707.73, 3712.24, 34.37),
size = 8.0,
showBlip = false,
},
}, },
blip = { blip = {
id = 446, id = 446,

View file

@ -1,18 +0,0 @@
fx_version 'cerulean'
game 'gta5'
lua54 'yes'
client_script {
'native_cl.lua',
'init_cl.lua',
}
server_script {
'native_sv.lua',
'init_sv.lua',
}
export 'GetMySteamID'
dependency '/assetpacks'

View file

@ -1,12 +0,0 @@
fx_version 'cerulean'
game 'gta5'
lua54 'yes'
client_script 'hudevent_c.lua'
client_script 'hudevent_aff.lua'
server_script 'hudevent_s.lua'
dependency '/assetpacks'

View file

@ -1,55 +0,0 @@
author "kad Darem : shop.jumpon-studios.com"
documentation "https://docs.jumpon-studios.com"
version "1.2.2"
package_id "5207275"
fx_version "cerulean"
game "gta5"
lua54 "yes"
escrow_ignore {
"shared/config.lua",
"overwriteConfig.lua",
"shared/lang.lua",
"overwriteLang.lua",
"meta/flatbed/vehiclelayouts.meta",
"meta/flatbed/handling.meta",
"meta/flatbed/vehicles.meta",
"meta/flatbed/carcols.meta",
"meta/flatbed/carvariations.meta",
"stream/*"
}
shared_scripts {
"shared/config.lua",
"overwriteConfig.lua",
"shared/lang.lua",
"overwriteLang.lua",
}
client_script {
"@kd_hud-event/hudevent_aff.lua",
"@kd_custom-native/native_cl.lua",
"client/depanneur_plateau.lua",
}
server_scripts {
"server/depanneur_server.lua",
"server/versionChecker.lua"
}
data_file "VEHICLE_LAYOUTS_FILE" "meta/flatbed/vehiclelayouts.meta"
data_file "HANDLING_FILE" "meta/flatbed/handling.meta"
data_file "VEHICLE_METADATA_FILE" "meta/flatbed/vehicles.meta"
data_file "CARCOLS_FILE" "meta/flatbed/carcols.meta"
data_file "VEHICLE_VARIATION_FILE" "meta/flatbed/carvariations.meta"
files {
"meta/flatbed/vehiclelayouts.meta",
"meta/flatbed/handling.meta",
"meta/flatbed/vehicles.meta",
"meta/flatbed/carcols.meta",
"meta/flatbed/carvariations.meta",
}
dependency '/assetpacks'

View file

@ -1,23 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<CVehicleModelInfoVarGlobal>
<Kits>
<Item>
<kitName>0_default_modkit</kitName>
<id value="0" />
<kitType>MKT_SPECIAL</kitType>
<visibleMods />
<linkMods />
<statMods />
<slotNames />
<liveryNames>
<Item>FLATBED3_LV1</Item>
<Item>FLATBED3_LV2</Item>
<Item>FLATBED3_LV3</Item>
<Item>FLATBED3_LV4</Item>
<Item>FLATBED3_LV5</Item>
<Item>FLATBED3_LV6</Item>
</liveryNames>
</Item>
</Kits>
<Lights />
</CVehicleModelInfoVarGlobal>

View file

@ -1,145 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<CVehicleModelInfoVariation>
<variationData>
<Item>
<modelName>flatbed3</modelName>
<colors>
<Item>
<indices content="char_array">
112
112
159
156
</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">
62
62
4
156
</indices>
<liveries>
<Item value="false" />
<Item value="true" />
<Item value="false" />
<Item value="false" />
<Item value="false" />
<Item value="false" />
<Item value="false" />
<Item value="false" />
</liveries>
</Item>
<Item>
<indices content="char_array">
18
18
160
156
</indices>
<liveries>
<Item value="false" />
<Item value="false" />
<Item value="true" />
<Item value="false" />
<Item value="false" />
<Item value="false" />
<Item value="false" />
<Item value="false" />
</liveries>
</Item>
<Item>
<indices content="char_array">
19
19
136
156
</indices>
<liveries>
<Item value="false" />
<Item value="false" />
<Item value="false" />
<Item value="true" />
<Item value="false" />
<Item value="false" />
<Item value="false" />
<Item value="false" />
</liveries>
</Item>
<Item>
<indices content="char_array">
27
27
36
156
</indices>
<liveries>
<Item value="false" />
<Item value="false" />
<Item value="false" />
<Item value="false" />
<Item value="true" />
<Item value="false" />
<Item value="false" />
<Item value="false" />
</liveries>
</Item>
<Item>
<indices content="char_array">
108
108
123
156
</indices>
<liveries>
<Item value="false" />
<Item value="false" />
<Item value="false" />
<Item value="false" />
<Item value="false" />
<Item value="true" />
<Item value="false" />
<Item value="false" />
</liveries>
</Item>
</colors>
<kits>
<item>0_default_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="335" />
<sirenSettings value="9" />
</Item>
</variationData>
</CVehicleModelInfoVariation>

View file

@ -1,7 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<CHandlingDataMgr>
<HandlingData>
<!-- Add your car handling here -->
</HandlingData>
</CHandlingDataMgr>

View file

@ -1,62 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<CVehicleMetadataMgr>
<VehicleCoverBoundOffsetInfos />
<FirstPersonDriveByLookAroundData />
<VehicleExplosionInfos>
<Item type="CVehicleExplosionInfo">
<Name>EXPLOSION_INFO_DEFAULT</Name>
<ExplosionData />
<AdditionalPartVelocityMinAngle value="0.000000" />
<AdditionalPartVelocityMaxAngle value="0.000000" />
<AdditionalPartVelocityMinMagnitude value="0.000000" />
<AdditionalPartVelocityMaxMagnitude value="0.000000" />
<VehicleExplosionLODs>
<Item>
<Radius value="0.000000" />
<PartDeletionChance value="0.000000" />
</Item>
<Item>
<Radius value="10.000000" />
<PartDeletionChance value="0.400000" />
</Item>
<Item>
<Radius value="17.000000" />
<PartDeletionChance value="0.800000" />
</Item>
</VehicleExplosionLODs>
</Item>
<Item type="CVehicleExplosionInfo">
<Name>EXPLOSION_INFO_CAR</Name>
<ExplosionData>
<Item>
<ExplosionTag>CAR</ExplosionTag>
<PositionAtPetrolTank value="true" />
<PositionInBoundingBox value="false" />
<DelayTimeMs value="34" />
<Scale value="1.000000" />
<PositionOffset x="0.000000" y="0.000000" z="0.000000" />
</Item>
</ExplosionData>
<AdditionalPartVelocityMinAngle value="45.000000" />
<AdditionalPartVelocityMaxAngle value="60.000000" />
<AdditionalPartVelocityMinMagnitude value="5.000000" />
<AdditionalPartVelocityMaxMagnitude value="8.000000" />
<VehicleExplosionLODs>
<Item>
<Radius value="0.000000" />
<PartDeletionChance value="0.000000" />
</Item>
<Item>
<Radius value="15.000000" />
<PartDeletionChance value="0.400000" />
</Item>
<Item>
<Radius value="22.000000" />
<PartDeletionChance value="0.800000" />
</Item>
</VehicleExplosionLODs>
</Item>
</VehicleExplosionInfos>
</CVehicleMetadataMgr>

View file

@ -1,127 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<CVehicleModelInfo__InitDataList>
<residentTxd>vehshare</residentTxd>
<residentAnims />
<InitDatas>
<Item>
<modelName>flatbed3</modelName>
<txdName>flatbed3</txdName>
<handlingId>FLATBED</handlingId>
<gameName>FLATBED3</gameName>
<vehicleMakeName>MTL</vehicleMakeName>
<expressionDictName>null</expressionDictName>
<expressionName>null</expressionName>
<animConvRoofDictName>null</animConvRoofDictName>
<animConvRoofName>null</animConvRoofName>
<animConvRoofWindowsAffected />
<ptfxAssetName>null</ptfxAssetName>
<audioNameHash>FLATBED</audioNameHash>
<layout>LAYOUT_TRUCK</layout>
<coverBoundOffsets>FLATBED_COVER_OFFSET_INFO</coverBoundOffsets>
<explosionInfo>EXPLOSION_INFO_TRUCK</explosionInfo>
<scenarioLayout />
<cameraName>DEFAULT_FOLLOW_VEHICLE_CAMERA</cameraName>
<aimCameraName>MID_BOX_VEHICLE_AIM_CAMERA</aimCameraName>
<bonnetCameraName>VEHICLE_BONNET_CAMERA_MID</bonnetCameraName>
<povCameraName>DEFAULT_POV_CAMERA_LOOKAROUND_MID</povCameraName>
<FirstPersonDriveByIKOffset x="-0.055000" y="-0.050000" z="-0.020000" />
<FirstPersonDriveByUnarmedIKOffset x="0.000000" y="0.000000" z="0.000000" />
<FirstPersonProjectileDriveByIKOffset x="0.063000" y="-0.058000" z="0.000000" />
<FirstPersonProjectileDriveByPassengerIKOffset x="-0.055000" y="-0.083000" z="0.033000" />
<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.000000" z="0.000000" />
<FirstPersonDriveByRightRearPassengerIKOffset x="0.000000" y="0.000000" z="0.000000" />
<FirstPersonDriveByLeftPassengerUnarmedIKOffset x="0.000000" y="0.000000" z="0.000000" />
<FirstPersonDriveByRightPassengerUnarmedIKOffset x="0.000000" y="0.000000" z="0.000000" />
<FirstPersonMobilePhoneOffset x="0.155000" y="0.370000" z="0.461000" />
<FirstPersonPassengerMobilePhoneOffset x="0.136000" y="0.223000" z="0.425000" />
<PovCameraOffset x="0.000000" y="-0.081000" z="0.615000" />
<PovCameraVerticalAdjustmentForRollCage value="0.000000" />
<PovPassengerCameraOffset x="0.000000" y="0.000000" z="0.040000" />
<PovRearPassengerCameraOffset x="0.000000" y="0.000000" z="0.040000" />
<vfxInfoName>VFXVEHICLEINFO_TRUCK_HIDDEN_EXHAUST</vfxInfoName>
<shouldUseCinematicViewMode value="true" />
<shouldCameraTransitionOnClimbUpDown value="false" />
<shouldCameraIgnoreExiting value="false" />
<AllowPretendOccupants value="true" />
<AllowJoyriding value="false" />
<AllowSundayDriving value="false" />
<AllowBodyColorMapping value="true" />
<wheelScale value="0.354000" />
<wheelScaleRear value="0.320000" />
<dirtLevelMin value="0.300000" />
<dirtLevelMax value="1.000000" />
<envEffScaleMin value="0.000000" />
<envEffScaleMax value="1.000000" />
<envEffScaleMin2 value="0.000000" />
<envEffScaleMax2 value="1.000000" />
<damageMapScale value="0.600000" />
<damageOffsetScale value="1.000000" />
<diffuseTint value="0x00FFFFFF" />
<steerWheelMult value="1.000000" />
<HDTextureDist value="5.000000" />
<lodDistances content="float_array">
20.000000
90.000000
130.000000
260.000000
750.000000
750.000000
</lodDistances>
<minSeatHeight value="1.213" />
<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="10" />
<swankness>SWANKNESS_1</swankness>
<maxNum value="999" />
<flags>FLAG_BIG FLAG_CAN_HONK_WHEN_FLEEING FLAG_AVOID_TURNS FLAG_EXTRAS_REQUIRE FLAG_PEDS_CAN_STAND_ON_TOP FLAG_DONT_SPAWN_IN_CARGEN FLAG_USE_FAT_INTERIOR_LIGHT FLAG_IS_BULKY FLAG_BLOCK_FROM_ATTRACTOR_SCENARIO FLAG_CANNOT_TAKE_COVER_WHEN_STOOD_ON FLAG_HAS_LIVERY FLAG_EXTRAS_ONLY_BREAK_WHEN_DESTROYED</flags>
<type>VEHICLE_TYPE_CAR</type>
<plateType>VPT_FRONT_PLATES</plateType>
<dashboardType>VDT_TRUCK</dashboardType>
<vehicleClass>VC_INDUSTRIAL</vehicleClass>
<wheelType>VWT_SPORT</wheelType>
<trailers />
<additionalTrailers />
<drivers>
<Item>
<driverName>S_M_M_Trucker_01</driverName>
<npcName />
</Item>
</drivers>
<extraIncludes />
<doorsWithCollisionWhenClosed>
<Item>VEH_EXT_BONNET</Item>
</doorsWithCollisionWhenClosed>
<driveableDoors />
<bumpersNeedToCollideWithMap value="true" />
<needsRopeTexture value="false" />
<requiredExtras />
<rewards />
<cinematicPartCamera>
<Item>WHEEL_WIDE_REAR_RIGHT_CAMERA</Item>
<Item>WHEEL_WIDE_REAR_LEFT_CAMERA</Item>
</cinematicPartCamera>
<NmBraceOverrideSet>Truck</NmBraceOverrideSet>
<buoyancySphereOffset x="0.000000" y="0.000000" z="0.000000" />
<buoyancySphereSizeScale value="1.000000" />
<pOverrideRagdollThreshold type="NULL" />
<firstPersonDrivebyData>
<Item>TRUCK_PHANTOM_FRONT_LEFT</Item>
<Item>TRUCK_PACKER_FRONT_RIGHT</Item>
</firstPersonDrivebyData>
</Item>
</InitDatas>
<txdRelationships>
<Item>
<parent>vehshare_truck</parent>
<child>flatbed3</child>
</Item>
</txdRelationships>
</CVehicleModelInfo__InitDataList>

View file

@ -1,5 +0,0 @@
-------------
-- USE THIS FILE TO EDIT THE CONFIGURATION OF THE SCRIPT
-- CONFIG LOCATION : shared/config.lua
-- Copy ONLY values you want edit, NOT ALL the config file
-------------

View file

@ -1,5 +0,0 @@
-------------
-- USE THIS FILE TO TRANSLATE THE SCRIPT
-- LANG LOCATION : shared/lang.lua
-- Copy ONLY values you want edit, NOT ALL the Lang file
-------------

View file

@ -1,71 +0,0 @@
-------------------------------
-- DOCUMENTATION : https://docs.jumpon-studios.com/
--------------------------------
-------------------------------------------
-- DON'T EDIT THIS FILE
-- TO OVERWRITE CONFIG VALUE, USE overwriteConfig.lua file instead
-------------------------------------------
Config = {}
-- Display helpfull information to setup a new truck
Config.Debug = false
-- Max length of the winch
Config.MaxLengthRope = 19.0
-- Can push the car with rope ? (unrealistic but useful to get off the vehicle of the bed)
Config.pushWithRope = true
-- Duration to synchronize the rope between players
Config.ResyncRopeFrenquency = 10000 --ms
-- Keys
Config.DefaultKeys = {
tow = "j",
winch = "h",
unwind = "g"
}
-- Model name of the hook object
Config.HookModel = "prop_rope_hook_01"
-- List of truck available for this script (you can add more)
Config.ValidModel = {
-- Copy this array to add vehicle.
[`flatbed3`] = {
-- Set bedUp & bedDown to 0 if you don't need to move the bed to use the winch
referenceBone = "bodyshell", --optional, by default: bodyshell
--referenceBone <-> attachVehBone is the distance to define if the bed is up or down
bedUp = 3.7, -- Distance between bodyshell bone and attachVehBone when the bed is up
bedDown = 8.1, -- Distance between bodyshell bone and attachVehBone when the bed is down
bedSpeed = 0.3, -- Speed of the bed movement 0.0 <> 1.0
ropeBone = "misc_b", -- Bone where the rope is attached
ropeOffset = vector3(0, 0, 0.3), -- offset from ropeBone to adjust the position of the rope
ropeDistancetake = 1.5, -- Max distance to take the winch
attachVehBone = "misc_a", -- Bone where the vehicle is attached
attachLocationOffset = vector3(0.0, 0.0, 0.0), --optional: offset from the attachVehBone bone
attachOffset = vector4(0.0, 0.0, 0.0, 0.0) -- for the vehicle location when attach (w value is the tilt)
},
[`slamtruck`] = {
bedUp = 0,
bedDown = 0,
ropeBone = "bodyshell",
ropeOffset = vector3(0.0, 0.7, 0.5),
ropeDistancetake = 1.5,
attachVehBone = "bodyshell",
attachOffset = vector4(0, 0.0, 0.0, 10.0)
},
[`chauler`] = {
bedUp = 0,
bedDown = 0,
ropeBone = "bodyshell",
ropeOffset = vector3(0.0, 0.7, 0.5),
ropeDistancetake = 1.5,
attachVehBone = "bodyshell",
attachOffset = vector4(0, 0.0, 0.0, 10.0)
},
}

View file

@ -1,30 +0,0 @@
-------------------------------------------
-- DON'T EDIT THIS FILE
-- TO TRANSLATE THE SCRIPT, USE overwriteLang.lua file instead
-------------------------------------------
Lang = {}
Lang['key_tow'] = "Flatbed tow truck~"
Lang['key_winch'] = "Flatbed winch~"
Lang['key_unwind'] = "Flatbed unwind~"
Lang['wind_up'] = "wind up the trailer"
Lang['get_down'] = "get down the trailer"
Lang['press_trailer'] = "Press %s to %s"
Lang['must_store_hook'] = "You must store the hook before moving the tow truck"
Lang['store_hook'] = "Press %s to store the hook"
Lang['take_hook'] = "Press %s to take the hook"
Lang['press_attach'] = "Press %s to %s"
Lang['unhook'] = "detach the vehicle"
Lang['hook'] = "attach the vehicle"
Lang['unhooked'] = "Vehicle unhooked"
Lang['hooked'] = "Vehicle hooked"
Lang['no_vehicle'] = "No vehicle on the towtruck"
Lang['winch_hold'] = "Hold %s to wind the winch"
Lang['unwind_hold'] = "Hold %s to unwind the winch"
Lang['winch_attch'] = "Press %s to attach the hook to the vehicle"
Lang['winch_max'] = "Cable unwound at maximum"
Lang['winch_drop'] = "Press %s to drop the hook"
Lang['winch_take'] = "Press %s to take the hook"
Lang['request_control'] = "Taking control of the vehicle"
Lang['winch_already_use'] = "The winch is already used"