forked from Simnation/Main
ED
This commit is contained in:
parent
41d330bde5
commit
d6225ef198
15 changed files with 2447 additions and 0 deletions
756
resources/[cars]/[mechaniccars]/LGC19FLATBED/data/carcols.meta
Normal file
756
resources/[cars]/[mechaniccars]/LGC19FLATBED/data/carcols.meta
Normal file
|
@ -0,0 +1,756 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<CVehicleModelInfoVarGlobal>
|
||||
<Sirens>
|
||||
<Item>
|
||||
<id value="856256"/>
|
||||
<name>lgc19flatbed</name>
|
||||
<timeMultiplier value="1.00000000"/>
|
||||
<lightFalloffMax value="90.00000000"/>
|
||||
<lightFalloffExponent value="10.00000000"/>
|
||||
<lightInnerConeAngle value="2.29061000"/>
|
||||
<lightOuterConeAngle value="70.00000000"/>
|
||||
<lightOffset value="0.00000000"/>
|
||||
<textureName>VehicleLight_sirenlight</textureName>
|
||||
<sequencerBpm value="525"/>
|
||||
<leftHeadLight>
|
||||
<sequencer value=""/>
|
||||
</leftHeadLight>
|
||||
<rightHeadLight>
|
||||
<sequencer value=""/>
|
||||
</rightHeadLight>
|
||||
<leftTailLight>
|
||||
<sequencer value="2694881440"/>
|
||||
</leftTailLight>
|
||||
<rightTailLight>
|
||||
<sequencer value="168430090"/>
|
||||
</rightTailLight>
|
||||
<leftHeadLightMultiples value="1"/>
|
||||
<rightHeadLightMultiples value="1"/>
|
||||
<leftTailLightMultiples value="2"/>
|
||||
<rightTailLightMultiples value="2"/>
|
||||
<useRealLights value="true"/>
|
||||
<sirens>
|
||||
<Item> <!--siren1-->
|
||||
<rotation>
|
||||
<delta value="3.14159265"/>
|
||||
<start value="0.00000000"/>
|
||||
<speed value="3.00000000"/>
|
||||
<sequencer value="3272356032"/>
|
||||
<multiples value="1"/>
|
||||
<direction value="true"/>
|
||||
<syncToBpm value="true"/>
|
||||
</rotation>
|
||||
<flashiness>
|
||||
<delta value="3.14159265"/>
|
||||
<start value="0.00000000"/>
|
||||
<speed value="0.00000000"/>
|
||||
<sequencer value="3272356032"/>
|
||||
<multiples value="1"/>
|
||||
<direction value="true"/>
|
||||
<syncToBpm value="true"/>
|
||||
</flashiness>
|
||||
<corona>
|
||||
<intensity value="75.00000000"/>
|
||||
<size value="0.00000000"/>
|
||||
<pull value="0.00000000"/>
|
||||
<faceCamera value="false"/>
|
||||
</corona>
|
||||
<color value="0xFFFFFF00"/>
|
||||
<intensity value="2.00000000"/>
|
||||
<lightGroup value="1"/>
|
||||
<rotate value="false"/>
|
||||
<scale value="true"/>
|
||||
<scaleFactor value="10"/>
|
||||
<flash value="true"/>
|
||||
<light value="true"/>
|
||||
<spotLight value="true"/>
|
||||
<castShadows value="false"/>
|
||||
</Item>
|
||||
<Item> <!--siren2-->
|
||||
<rotation>
|
||||
<delta value="3.14159265"/>
|
||||
<start value="0.00000000"/>
|
||||
<speed value="3.00000000"/>
|
||||
<sequencer value="818089008"/>
|
||||
<multiples value="1"/>
|
||||
<direction value="true"/>
|
||||
<syncToBpm value="true"/>
|
||||
</rotation>
|
||||
<flashiness>
|
||||
<delta value="3.14159265"/>
|
||||
<start value="0.00000000"/>
|
||||
<speed value="0.00000000"/>
|
||||
<sequencer value="818089008"/>
|
||||
<multiples value="1"/>
|
||||
<direction value="true"/>
|
||||
<syncToBpm value="true"/>
|
||||
</flashiness>
|
||||
<corona>
|
||||
<intensity value="75.00000000"/>
|
||||
<size value="0.00010000"/>
|
||||
<pull value="0.20000000"/>
|
||||
<faceCamera value="false"/>
|
||||
</corona>
|
||||
<color value="0xFFFFFF00"/>
|
||||
<intensity value="2.00000000"/>
|
||||
<lightGroup value="1"/>
|
||||
<rotate value="false"/>
|
||||
<scale value="true"/>
|
||||
<scaleFactor value="10"/>
|
||||
<flash value="true"/>
|
||||
<light value="true"/>
|
||||
<spotLight value="true"/>
|
||||
<castShadows value="false"/>
|
||||
</Item>
|
||||
<Item> <!--siren3-->
|
||||
<rotation>
|
||||
<delta value="3.14159265"/>
|
||||
<start value="0.00000000"/>
|
||||
<speed value="3.00000000"/>
|
||||
<sequencer value="204522252"/>
|
||||
<multiples value="1"/>
|
||||
<direction value="true"/>
|
||||
<syncToBpm value="true"/>
|
||||
</rotation>
|
||||
<flashiness>
|
||||
<delta value="3.14159265"/>
|
||||
<start value="0.00000000"/>
|
||||
<speed value="0.00000000"/>
|
||||
<sequencer value="204522252"/>
|
||||
<multiples value="1"/>
|
||||
<direction value="true"/>
|
||||
<syncToBpm value="true"/>
|
||||
</flashiness>
|
||||
<corona>
|
||||
<intensity value="75.00000000"/>
|
||||
<size value="0.00010000"/>
|
||||
<pull value="0.20000000"/>
|
||||
<faceCamera value="false"/>
|
||||
</corona>
|
||||
<color value="0xFFFFFF00"/>
|
||||
<intensity value="2.00000000"/>
|
||||
<lightGroup value="1"/>
|
||||
<rotate value="false"/>
|
||||
<scale value="true"/>
|
||||
<scaleFactor value="10"/>
|
||||
<flash value="true"/>
|
||||
<light value="true"/>
|
||||
<spotLight value="true"/>
|
||||
<castShadows value="false"/>
|
||||
</Item>
|
||||
<Item> <!--siren4-->
|
||||
<rotation>
|
||||
<delta value="3.14159265"/>
|
||||
<start value="0.00000000"/>
|
||||
<speed value="3.00000000"/>
|
||||
<sequencer value="204522252"/>
|
||||
<multiples value="1"/>
|
||||
<direction value="true"/>
|
||||
<syncToBpm value="true"/>
|
||||
</rotation>
|
||||
<flashiness>
|
||||
<delta value="3.14159265"/>
|
||||
<start value="0.00000000"/>
|
||||
<speed value="0.00000000"/>
|
||||
<sequencer value="204522252"/>
|
||||
<multiples value="1"/>
|
||||
<direction value="true"/>
|
||||
<syncToBpm value="true"/>
|
||||
</flashiness>
|
||||
<corona>
|
||||
<intensity value="75.00000000"/>
|
||||
<size value="0.00000000"/>
|
||||
<pull value="0.00000000"/>
|
||||
<faceCamera value="false"/>
|
||||
</corona>
|
||||
<color value="0xFFFFFF00"/>
|
||||
<intensity value="2.00000000"/>
|
||||
<lightGroup value="1"/>
|
||||
<rotate value="false"/>
|
||||
<scale value="true"/>
|
||||
<scaleFactor value="10"/>
|
||||
<flash value="true"/>
|
||||
<light value="true"/>
|
||||
<spotLight value="true"/>
|
||||
<castShadows value="false"/>
|
||||
</Item>
|
||||
<Item> <!--siren5-->
|
||||
<rotation>
|
||||
<delta value="3.14159265"/>
|
||||
<start value="0.00000000"/>
|
||||
<speed value="3.00000000"/>
|
||||
<sequencer value="818089008"/>
|
||||
<multiples value="1"/>
|
||||
<direction value="true"/>
|
||||
<syncToBpm value="true"/>
|
||||
</rotation>
|
||||
<flashiness>
|
||||
<delta value="3.14159265"/>
|
||||
<start value="0.00000000"/>
|
||||
<speed value="0.00000000"/>
|
||||
<sequencer value="818089008"/>
|
||||
<multiples value="2"/>
|
||||
<direction value="true"/>
|
||||
<syncToBpm value="true"/>
|
||||
</flashiness>
|
||||
<corona>
|
||||
<intensity value="75.00000000"/>
|
||||
<size value="0.00000000"/>
|
||||
<pull value="0.00000000"/>
|
||||
<faceCamera value="false"/>
|
||||
</corona>
|
||||
<color value="0xFFFFFF00"/>
|
||||
<intensity value="2.00000000"/>
|
||||
<lightGroup value="1"/>
|
||||
<rotate value="false"/>
|
||||
<scale value="true"/>
|
||||
<scaleFactor value="10"/>
|
||||
<flash value="true"/>
|
||||
<light value="true"/>
|
||||
<spotLight value="true"/>
|
||||
<castShadows value="false"/>
|
||||
</Item>
|
||||
<Item> <!--siren6-->
|
||||
<rotation>
|
||||
<delta value="3.14159265"/>
|
||||
<start value="0.00000000"/>
|
||||
<speed value="3.00000000"/>
|
||||
<sequencer value="3272356032"/>
|
||||
<multiples value="1"/>
|
||||
<direction value="true"/>
|
||||
<syncToBpm value="true"/>
|
||||
</rotation>
|
||||
<flashiness>
|
||||
<delta value="3.14159265"/>
|
||||
<start value="0.00000000"/>
|
||||
<speed value="0.00000000"/>
|
||||
<sequencer value="3272356032"/>
|
||||
<multiples value="2"/>
|
||||
<direction value="true"/>
|
||||
<syncToBpm value="true"/>
|
||||
</flashiness>
|
||||
<corona>
|
||||
<intensity value="75.00000000"/>
|
||||
<size value="0.00000000"/>
|
||||
<pull value="0.00000000"/>
|
||||
<faceCamera value="false"/>
|
||||
</corona>
|
||||
<color value="0xFFFFFF00"/>
|
||||
<intensity value="2.00000000"/>
|
||||
<lightGroup value="1"/>
|
||||
<rotate value="false"/>
|
||||
<scale value="true"/>
|
||||
<scaleFactor value="10"/>
|
||||
<flash value="true"/>
|
||||
<light value="true"/>
|
||||
<spotLight value="true"/>
|
||||
<castShadows value="false"/>
|
||||
</Item>
|
||||
<Item> <!--siren7-->
|
||||
<rotation>
|
||||
<delta value="3.14159265"/>
|
||||
<start value="0.00000000"/>
|
||||
<speed value="3.00000000"/>
|
||||
<sequencer value="409014545"/>
|
||||
<multiples value="1"/>
|
||||
<direction value="true"/>
|
||||
<syncToBpm value="true"/>
|
||||
</rotation>
|
||||
<flashiness>
|
||||
<delta value="3.14159265"/>
|
||||
<start value="0.00000000"/>
|
||||
<speed value="0.00000000"/>
|
||||
<sequencer value="409014545"/>
|
||||
<multiples value="2"/>
|
||||
<direction value="true"/>
|
||||
<syncToBpm value="true"/>
|
||||
</flashiness>
|
||||
<corona>
|
||||
<intensity value="50.00000000"/>
|
||||
<size value="0.00000000"/>
|
||||
<pull value="0.20000000"/>
|
||||
<faceCamera value="false"/>
|
||||
</corona>
|
||||
<color value="0xFFFFFF00"/>
|
||||
<intensity value="0.90000000"/>
|
||||
<lightGroup value="1"/>
|
||||
<rotate value="false"/>
|
||||
<scale value="true"/>
|
||||
<scaleFactor value="10"/>
|
||||
<flash value="true"/>
|
||||
<light value="true"/>
|
||||
<spotLight value="true"/>
|
||||
<castShadows value="false"/>
|
||||
</Item>
|
||||
<Item> <!--siren8-->
|
||||
<rotation>
|
||||
<delta value="3.14159265"/>
|
||||
<start value="0.00000000"/>
|
||||
<speed value="3.00000000"/>
|
||||
<sequencer value="3272361028"/>
|
||||
<multiples value="1"/>
|
||||
<direction value="true"/>
|
||||
<syncToBpm value="true"/>
|
||||
</rotation>
|
||||
<flashiness>
|
||||
<delta value="3.14159265"/>
|
||||
<start value="0.00000000"/>
|
||||
<speed value="0.00000000"/>
|
||||
<sequencer value="3272361028"/>
|
||||
<multiples value="2"/>
|
||||
<direction value="true"/>
|
||||
<syncToBpm value="true"/>
|
||||
</flashiness>
|
||||
<corona>
|
||||
<intensity value="50.00000000"/>
|
||||
<size value="0.00000000"/>
|
||||
<pull value="0.20000000"/>
|
||||
<faceCamera value="false"/>
|
||||
</corona>
|
||||
<color value="0xFFFFFF00"/>
|
||||
<intensity value="0.50000000"/>
|
||||
<lightGroup value="1"/>
|
||||
<rotate value="false"/>
|
||||
<scale value="true"/>
|
||||
<scaleFactor value="10"/>
|
||||
<flash value="true"/>
|
||||
<light value="true"/>
|
||||
<spotLight value="true"/>
|
||||
<castShadows value="false"/>
|
||||
</Item>
|
||||
<Item> <!--siren9-->
|
||||
<rotation>
|
||||
<delta value="0.00000000"/>
|
||||
<start value="0.00000000"/>
|
||||
<speed value="3.00000000"/>
|
||||
<sequencer value="2290664204"/>
|
||||
<multiples value="1"/>
|
||||
<direction value="true"/>
|
||||
<syncToBpm value="true"/>
|
||||
</rotation>
|
||||
<flashiness>
|
||||
<delta value="0.00000000"/>
|
||||
<start value="0.00000000"/>
|
||||
<speed value="0.00000000"/>
|
||||
<sequencer value="2290664204"/>
|
||||
<multiples value="2"/>
|
||||
<direction value="true"/>
|
||||
<syncToBpm value="true"/>
|
||||
</flashiness>
|
||||
<corona>
|
||||
<intensity value="50.00000000"/>
|
||||
<size value="0.00000000"/>
|
||||
<pull value="0.20000000"/>
|
||||
<faceCamera value="false"/>
|
||||
</corona>
|
||||
<color value="0xFFFFFFFF"/>
|
||||
<intensity value="0.50000000"/>
|
||||
<lightGroup value="1"/>
|
||||
<rotate value="false"/>
|
||||
<scale value="true"/>
|
||||
<scaleFactor value="10"/>
|
||||
<flash value="true"/>
|
||||
<light value="true"/>
|
||||
<spotLight value="true"/>
|
||||
<castShadows value="false"/>
|
||||
</Item>
|
||||
<Item> <!--siren10-->
|
||||
<rotation>
|
||||
<delta value="0.00000000"/>
|
||||
<start value="0.00000000"/>
|
||||
<speed value="3.00000000"/>
|
||||
<sequencer value="572659811"/>
|
||||
<multiples value="1"/>
|
||||
<direction value="true"/>
|
||||
<syncToBpm value="true"/>
|
||||
</rotation>
|
||||
<flashiness>
|
||||
<delta value="0.00000000"/>
|
||||
<start value="0.00000000"/>
|
||||
<speed value="0.00000000"/>
|
||||
<sequencer value="572659811"/>
|
||||
<multiples value="2"/>
|
||||
<direction value="true"/>
|
||||
<syncToBpm value="true"/>
|
||||
</flashiness>
|
||||
<corona>
|
||||
<intensity value="50.00000000"/>
|
||||
<size value="0.00000000"/>
|
||||
<pull value="0.00000000"/>
|
||||
<faceCamera value="false"/>
|
||||
</corona>
|
||||
<color value="0xFFFFFF00"/>
|
||||
<intensity value="0.50000000"/>
|
||||
<lightGroup value="1"/>
|
||||
<rotate value="false"/>
|
||||
<scale value="true"/>
|
||||
<scaleFactor value="10"/>
|
||||
<flash value="true"/>
|
||||
<light value="true"/>
|
||||
<spotLight value="true"/>
|
||||
<castShadows value="false"/>
|
||||
</Item>
|
||||
<Item> <!--siren11-->
|
||||
<rotation>
|
||||
<delta value="0.00000000"/>
|
||||
<start value="0.00000000"/>
|
||||
<speed value="3.00000000"/>
|
||||
<sequencer value="2955675784"/>
|
||||
<multiples value="1"/>
|
||||
<direction value="true"/>
|
||||
<syncToBpm value="true"/>
|
||||
</rotation>
|
||||
<flashiness>
|
||||
<delta value="0.00000000"/>
|
||||
<start value="0.00000000"/>
|
||||
<speed value="5.000000000"/>
|
||||
<sequencer value="2955675784"/>
|
||||
<multiples value="1"/>
|
||||
<direction value="true"/>
|
||||
<syncToBpm value="true"/>
|
||||
</flashiness>
|
||||
<corona>
|
||||
<intensity value="50.00000000"/>
|
||||
<size value="0.00000000"/>
|
||||
<pull value="0.00000000"/>
|
||||
<faceCamera value="false"/>
|
||||
</corona>
|
||||
<color value="0xFFFFFF00"/>
|
||||
<intensity value="0.50000000"/>
|
||||
<lightGroup value="1"/>
|
||||
<rotate value="false"/>
|
||||
<scale value="true"/>
|
||||
<scaleFactor value="10"/>
|
||||
<flash value="true"/>
|
||||
<light value="true"/>
|
||||
<spotLight value="true"/>
|
||||
<castShadows value="false"/>
|
||||
</Item>
|
||||
<Item> <!--siren12-->
|
||||
<rotation>
|
||||
<delta value="0.00000000"/>
|
||||
<start value="0.00000000"/>
|
||||
<speed value="3.00000000"/>
|
||||
<sequencer value="92365346"/>
|
||||
<multiples value="1"/>
|
||||
<direction value="true"/>
|
||||
<syncToBpm value="true"/>
|
||||
</rotation>
|
||||
<flashiness>
|
||||
<delta value="0.00000000"/>
|
||||
<start value="0.00000000"/>
|
||||
<speed value="5.00000000"/>
|
||||
<sequencer value="92365346"/>
|
||||
<multiples value="1"/>
|
||||
<direction value="true"/>
|
||||
<syncToBpm value="true"/>
|
||||
</flashiness>
|
||||
<corona>
|
||||
<intensity value="50.00000000"/>
|
||||
<size value="0.00000000"/>
|
||||
<pull value="0.00000000"/>
|
||||
<faceCamera value="false"/>
|
||||
</corona>
|
||||
<color value="0xFFFFFF00"/>
|
||||
<intensity value="0.50000000"/>
|
||||
<lightGroup value="1"/>
|
||||
<rotate value="false"/>
|
||||
<scale value="true"/>
|
||||
<scaleFactor value="10"/>
|
||||
<flash value="true"/>
|
||||
<light value="true"/>
|
||||
<spotLight value="true"/>
|
||||
<castShadows value="false"/>
|
||||
</Item>
|
||||
<Item> <!--siren13-->
|
||||
<rotation>
|
||||
<delta value="-1.57079633"/>
|
||||
<start value="0.00000000"/>
|
||||
<speed value="3.00000000"/>
|
||||
<sequencer value="2858518040"/>
|
||||
<multiples value="1"/>
|
||||
<direction value="true"/>
|
||||
<syncToBpm value="true"/>
|
||||
</rotation>
|
||||
<flashiness>
|
||||
<delta value="-1.57079633"/>
|
||||
<start value="0.00000000"/>
|
||||
<speed value="0.00000000"/>
|
||||
<sequencer value="2858518040"/>
|
||||
<multiples value="2"/>
|
||||
<direction value="true"/>
|
||||
<syncToBpm value="true"/>
|
||||
</flashiness>
|
||||
<corona>
|
||||
<intensity value="50.00000000"/>
|
||||
<size value="0.00000000"/>
|
||||
<pull value="0.00000000"/>
|
||||
<faceCamera value="false"/>
|
||||
</corona>
|
||||
<color value="0xFFFFFF00"/>
|
||||
<intensity value="0.50000000"/>
|
||||
<lightGroup value="1"/>
|
||||
<rotate value="false"/>
|
||||
<scale value="true"/>
|
||||
<scaleFactor value="10"/>
|
||||
<flash value="true"/>
|
||||
<light value="true"/>
|
||||
<spotLight value="true"/>
|
||||
<castShadows value="false"/>
|
||||
</Item>
|
||||
<Item> <!--siren14-->
|
||||
<rotation>
|
||||
<delta value="-1.57079633"/>
|
||||
<start value="0.00000000"/>
|
||||
<speed value="3.00000000"/>
|
||||
<sequencer value="1426862275"/>
|
||||
<multiples value="1"/>
|
||||
<direction value="true"/>
|
||||
<syncToBpm value="true"/>
|
||||
</rotation>
|
||||
<flashiness>
|
||||
<delta value="-1.57079633"/>
|
||||
<start value="0.00000000"/>
|
||||
<speed value="0.00000000"/>
|
||||
<sequencer value="1426862275"/>
|
||||
<multiples value="2"/>
|
||||
<direction value="true"/>
|
||||
<syncToBpm value="true"/>
|
||||
</flashiness>
|
||||
<corona>
|
||||
<intensity value="50.00000000"/>
|
||||
<size value="0.00000000"/>
|
||||
<pull value="0.00000000"/>
|
||||
<faceCamera value="false"/>
|
||||
</corona>
|
||||
<color value="0xFFFFFF00"/>
|
||||
<intensity value="0.50000000"/>
|
||||
<lightGroup value="1"/>
|
||||
<rotate value="false"/>
|
||||
<scale value="true"/>
|
||||
<scaleFactor value="10"/>
|
||||
<flash value="true"/>
|
||||
<light value="true"/>
|
||||
<spotLight value="true"/>
|
||||
<castShadows value="false"/>
|
||||
</Item>
|
||||
<Item> <!--siren15-->
|
||||
<rotation>
|
||||
<delta value="1.57079633"/>
|
||||
<start value="0.00000000"/>
|
||||
<speed value="3.00000000"/>
|
||||
<sequencer value="1426862275"/>
|
||||
<multiples value="1"/>
|
||||
<direction value="true"/>
|
||||
<syncToBpm value="true"/>
|
||||
</rotation>
|
||||
<flashiness>
|
||||
<delta value="1.57079633"/>
|
||||
<start value="0.00000000"/>
|
||||
<speed value="0.00000000"/>
|
||||
<sequencer value="1426862275"/>
|
||||
<multiples value="2"/>
|
||||
<direction value="true"/>
|
||||
<syncToBpm value="true"/>
|
||||
</flashiness>
|
||||
<corona>
|
||||
<intensity value="50.00000000"/>
|
||||
<size value="0.00000000"/>
|
||||
<pull value="0.00000000"/>
|
||||
<faceCamera value="false"/>
|
||||
</corona>
|
||||
<color value="0xFFFFFF00"/>
|
||||
<intensity value="0.50000000"/>
|
||||
<lightGroup value="1"/>
|
||||
<rotate value="false"/>
|
||||
<scale value="true"/>
|
||||
<scaleFactor value="10"/>
|
||||
<flash value="true"/>
|
||||
<light value="true"/>
|
||||
<spotLight value="true"/>
|
||||
<castShadows value="false"/>
|
||||
</Item>
|
||||
<Item> <!--siren16-->
|
||||
<rotation>
|
||||
<delta value="1.57079633"/>
|
||||
<start value="0.00000000"/>
|
||||
<speed value="3.00000000"/>
|
||||
<sequencer value="2858518040"/>
|
||||
<multiples value="1"/>
|
||||
<direction value="true"/>
|
||||
<syncToBpm value="true"/>
|
||||
</rotation>
|
||||
<flashiness>
|
||||
<delta value="1.57079633"/>
|
||||
<start value="0.00000000"/>
|
||||
<speed value="0.00000000"/>
|
||||
<sequencer value="2858518040"/>
|
||||
<multiples value="2"/>
|
||||
<direction value="true"/>
|
||||
<syncToBpm value="true"/>
|
||||
</flashiness>
|
||||
<corona>
|
||||
<intensity value="50.00000000"/>
|
||||
<size value="0.00000000"/>
|
||||
<pull value="0.00000000"/>
|
||||
<faceCamera value="false"/>
|
||||
</corona>
|
||||
<color value="0xFFFFFF00"/>
|
||||
<intensity value="0.50000000"/>
|
||||
<lightGroup value="1"/>
|
||||
<rotate value="false"/>
|
||||
<scale value="true"/>
|
||||
<scaleFactor value="10"/>
|
||||
<flash value="true"/>
|
||||
<light value="true"/>
|
||||
<spotLight value="true"/>
|
||||
<castShadows value="false"/>
|
||||
</Item>
|
||||
<Item> <!--siren17-->
|
||||
<rotation>
|
||||
<delta value="1.57079633"/>
|
||||
<start value="0.00000000"/>
|
||||
<speed value="3.00000000"/>
|
||||
<sequencer value="4294967295"/>
|
||||
<multiples value="1"/>
|
||||
<direction value="true"/>
|
||||
<syncToBpm value="true"/>
|
||||
</rotation>
|
||||
<flashiness>
|
||||
<delta value="1.57079633"/>
|
||||
<start value="0.00000000"/>
|
||||
<speed value="0.00000000"/>
|
||||
<sequencer value="4294967295"/>
|
||||
<multiples value="2"/>
|
||||
<direction value="true"/>
|
||||
<syncToBpm value="true"/>
|
||||
</flashiness>
|
||||
<corona>
|
||||
<intensity value="300.00000000"/>
|
||||
<size value="0.00000000"/>
|
||||
<pull value="0.00000000"/>
|
||||
<faceCamera value="false"/>
|
||||
</corona>
|
||||
<color value="0xFFFFFFFF"/>
|
||||
<intensity value="300.00000000"/>
|
||||
<lightGroup value="1"/>
|
||||
<rotate value="false"/>
|
||||
<scale value="true"/>
|
||||
<scaleFactor value="10"/>
|
||||
<flash value="true"/>
|
||||
<light value="true"/>
|
||||
<spotLight value="true"/>
|
||||
<castShadows value="false"/>
|
||||
</Item>
|
||||
<Item> <!--siren18-->
|
||||
<rotation>
|
||||
<delta value="-1.57079633"/>
|
||||
<start value="0.00000000"/>
|
||||
<speed value="3.00000000"/>
|
||||
<sequencer value="4294967295"/>
|
||||
<multiples value="1"/>
|
||||
<direction value="true"/>
|
||||
<syncToBpm value="true"/>
|
||||
</rotation>
|
||||
<flashiness>
|
||||
<delta value="-1.57079633"/>
|
||||
<start value="0.00000000"/>
|
||||
<speed value="0.00000000"/>
|
||||
<sequencer value="4294967295"/>
|
||||
<multiples value="2"/>
|
||||
<direction value="true"/>
|
||||
<syncToBpm value="true"/>
|
||||
</flashiness>
|
||||
<corona>
|
||||
<intensity value="300.00000000"/>
|
||||
<size value="0.00000000"/>
|
||||
<pull value="0.00000000"/>
|
||||
<faceCamera value="false"/>
|
||||
</corona>
|
||||
<color value="0xFFFFFFFF"/>
|
||||
<intensity value="300.00000000"/>
|
||||
<lightGroup value="1"/>
|
||||
<rotate value="false"/>
|
||||
<scale value="true"/>
|
||||
<scaleFactor value="10"/>
|
||||
<flash value="true"/>
|
||||
<light value="true"/>
|
||||
<spotLight value="true"/>
|
||||
<castShadows value="false"/>
|
||||
</Item>
|
||||
<Item> <!--siren19-->
|
||||
<rotation>
|
||||
<delta value="3.14159265"/>
|
||||
<start value="0.00000000"/>
|
||||
<speed value="3.00000000"/>
|
||||
<sequencer value="4294967295"/>
|
||||
<multiples value="1"/>
|
||||
<direction value="true"/>
|
||||
<syncToBpm value="true"/>
|
||||
</rotation>
|
||||
<flashiness>
|
||||
<delta value="3.14159265"/>
|
||||
<start value="0.00000000"/>
|
||||
<speed value="0.10000000"/>
|
||||
<sequencer value="4294967295"/>
|
||||
<multiples value="2"/>
|
||||
<direction value="true"/>
|
||||
<syncToBpm value="true"/>
|
||||
</flashiness>
|
||||
<corona>
|
||||
<intensity value="300.00000000"/>
|
||||
<size value="0.00000000"/>
|
||||
<pull value="0.20000000"/>
|
||||
<faceCamera value="false"/>
|
||||
</corona>
|
||||
<color value="0xFFFFFFFF"/>
|
||||
<intensity value="300.00000000"/>
|
||||
<lightGroup value="1"/>
|
||||
<rotate value="false"/>
|
||||
<scale value="true"/>
|
||||
<scaleFactor value="10"/>
|
||||
<flash value="true"/>
|
||||
<light value="true"/>
|
||||
<spotLight value="true"/>
|
||||
<castShadows value="false"/>
|
||||
</Item>
|
||||
<Item> <!--siren20-->
|
||||
<rotation>
|
||||
<delta value="0.00000000"/>
|
||||
<start value="0.00000000"/>
|
||||
<speed value="3.00000000"/>
|
||||
<sequencer value="4294967295"/>
|
||||
<multiples value="1"/>
|
||||
<direction value="true"/>
|
||||
<syncToBpm value="true"/>
|
||||
</rotation>
|
||||
<flashiness>
|
||||
<delta value="0.00000000"/>
|
||||
<start value="0.00000000"/>
|
||||
<speed value="0.00000000"/>
|
||||
<sequencer value="4294967295"/>
|
||||
<multiples value="2"/>
|
||||
<direction value="true"/>
|
||||
<syncToBpm value="true"/>
|
||||
</flashiness>
|
||||
<corona>
|
||||
<intensity value="300.00000000"/>
|
||||
<size value="0.00000000"/>
|
||||
<pull value="0.20000000"/>
|
||||
<faceCamera value="false"/>
|
||||
</corona>
|
||||
<color value="0xFFFFFFFF"/>
|
||||
<intensity value="300.00000000"/>
|
||||
<lightGroup value="1"/>
|
||||
<rotate value="false"/>
|
||||
<scale value="true"/>
|
||||
<scaleFactor value="10"/>
|
||||
<flash value="true"/>
|
||||
<light value="true"/>
|
||||
<spotLight value="true"/>
|
||||
<castShadows value="false"/>
|
||||
</Item>
|
||||
</sirens>
|
||||
</Item>
|
||||
</Sirens>
|
||||
</CVehicleModelInfoVarGlobal>
|
|
@ -0,0 +1,41 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<CVehicleModelInfoVariation>
|
||||
<variationData>
|
||||
<Item>
|
||||
<modelName>lgc19flatbed</modelName>
|
||||
<colors>
|
||||
<Item>
|
||||
<indices content="char_array">
|
||||
5
|
||||
5
|
||||
131
|
||||
0
|
||||
</indices>
|
||||
<liveries>
|
||||
<Item value="false"/>
|
||||
<Item value="false"/>
|
||||
<Item value="false"/>
|
||||
</liveries>
|
||||
</Item>
|
||||
</colors>
|
||||
<kits>
|
||||
<Item>0_default_modkit</Item>
|
||||
</kits>
|
||||
<plateProbabilities>
|
||||
<Probabilities>
|
||||
<Item>
|
||||
<Name>Standard White</Name>
|
||||
<Value value="30"/>
|
||||
</Item>
|
||||
<Item>
|
||||
<Name>White Plate 2</Name>
|
||||
<Value value="70"/>
|
||||
</Item>
|
||||
</Probabilities>
|
||||
</plateProbabilities>
|
||||
<lightSettings value="1"/>
|
||||
<sirenSettings value="856256"/>
|
||||
</Item>
|
||||
</variationData>
|
||||
</CVehicleModelInfoVariation>
|
|
@ -0,0 +1,63 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<CHandlingDataMgr>
|
||||
<HandlingData>
|
||||
<Item type="CHandlingData">
|
||||
<handlingName>lgc19flatbed</handlingName>
|
||||
<fMass value="6760" />
|
||||
<fInitialDragCoeff value="4.0" />
|
||||
<fPercentSubmerged value="85.0" />
|
||||
<vecCentreOfMassOffset x="0" y="0.0" z="0.0" />
|
||||
<vecInertiaMultiplier x="1.0" y="1.2" z="1.4" />
|
||||
<fDriveBiasFront value="0.0" />
|
||||
<nInitialDriveGears value="5" />
|
||||
<fInitialDriveForce value="0.14" />
|
||||
<fDriveInertia value="0.5" />
|
||||
<fClutchChangeRateScaleUpShift value="1.3" />
|
||||
<fClutchChangeRateScaleDownShift value="1.3" />
|
||||
<fInitialDriveMaxFlatVel value="140" />
|
||||
<fBrakeForce value="0.34" />
|
||||
<fBrakeBiasFront value="0.65" />
|
||||
<fHandBrakeForce value="0.3" />
|
||||
<fSteeringLock value="45.0" />
|
||||
<fTractionCurveMax value="1.6" />
|
||||
<fTractionCurveMin value="1.45" />
|
||||
<fTractionCurveLateral value="18.2" />
|
||||
<fTractionSpringDeltaMax value="0.15" />
|
||||
<fLowSpeedTractionLossMult value="0.0" />
|
||||
<fCamberStiffnesss value="0" />
|
||||
<fTractionBiasFront value="0.485" />
|
||||
<fTractionLossMult value="0.82" />
|
||||
<fSuspensionForce value="2.1" />
|
||||
<fSuspensionCompDamp value="0.70000" />
|
||||
<fSuspensionReboundDamp value="0.700000" />
|
||||
<fSuspensionUpperLimit value="0.11" />
|
||||
<fSuspensionLowerLimit value="-0.18" />
|
||||
<fSuspensionRaise value="0.0" />
|
||||
<fSuspensionBiasFront value="0.52" />
|
||||
<fAntiRollBarForce value="1.0" />
|
||||
<fAntiRollBarBiasFront value="0.48" />
|
||||
<fRollCentreHeightFront value="0.5" />
|
||||
<fRollCentreHeightRear value="0.5" />
|
||||
<fCollisionDamageMult value="0.64" />
|
||||
<fWeaponDamageMult value="0.82" />
|
||||
<fDeformationDamageMult value="2.15" />
|
||||
<fEngineDamageMult value="0.73" />
|
||||
<fPetrolTankVolume value="262.50" />
|
||||
<fOilVolume value="149.84" />
|
||||
<fSeatOffsetDistX value="0.05" />
|
||||
<fSeatOffsetDistY value="-0.19" />
|
||||
<fSeatOffsetDistZ value="0.0" />
|
||||
<nMonetaryValue value="25000" />
|
||||
<strModelFlags>20220048</strModelFlags>
|
||||
<strHandlingFlags>0</strHandlingFlags>
|
||||
<strDamageFlags>20</strDamageFlags>
|
||||
<AIHandling>TRUCK</AIHandling>
|
||||
<SubHandlingData>
|
||||
<Item type="NULL" />
|
||||
<Item type="NULL" />
|
||||
<Item type="NULL" />
|
||||
</SubHandlingData>
|
||||
</Item>
|
||||
</HandlingData>
|
||||
</CHandlingDataMgr>
|
127
resources/[cars]/[mechaniccars]/LGC19FLATBED/data/vehicles.meta
Normal file
127
resources/[cars]/[mechaniccars]/LGC19FLATBED/data/vehicles.meta
Normal file
|
@ -0,0 +1,127 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<CVehicleModelInfo__InitDataList>
|
||||
<residentTxd>vehshare</residentTxd>
|
||||
<residentAnims />
|
||||
<InitDatas>
|
||||
<Item>
|
||||
<modelName>lgc19flatbed</modelName>
|
||||
<txdName>lgc19flatbed</txdName>
|
||||
<handlingId>lgc19flatbed</handlingId>
|
||||
<gameName>lgc19flatbed</gameName>
|
||||
<vehicleMakeName>2019 Peterbilt 337</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_RIG</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">
|
||||
500.000000
|
||||
500.000000
|
||||
500.000000
|
||||
500.000000
|
||||
500.000000
|
||||
500.000000
|
||||
</lodDistances>
|
||||
<minSeatHeight value="1.213" />
|
||||
<identicalModelSpawnDistance value="100" />
|
||||
<maxNumOfSameColor value="10" />
|
||||
<defaultBodyHealth value="1000.000000" />
|
||||
<pretendOccupantsScale value="1.000000" />
|
||||
<visibleSpawnDistScale value="1.000000" />
|
||||
<trackerPathWidth value="2.000000" />
|
||||
<weaponForceMult value="2.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</flags>
|
||||
<type>VEHICLE_TYPE_CAR</type>
|
||||
<plateType>VPT_FRONT_PLATES</plateType>
|
||||
<dashboardType>VDT_CAVALCADE</dashboardType>
|
||||
<vehicleClass>VC_EMERGENCY</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>vehicles_cav_interior</parent>
|
||||
<child>lgc19flatbed</child>
|
||||
</Item>
|
||||
</txdRelationships>
|
||||
</CVehicleModelInfo__InitDataList>
|
18
resources/[cars]/[mechaniccars]/LGC19FLATBED/fxmanifest.lua
Normal file
18
resources/[cars]/[mechaniccars]/LGC19FLATBED/fxmanifest.lua
Normal file
|
@ -0,0 +1,18 @@
|
|||
resource_manifest_version '77731fab-63ca-442c-a67b-abc70f28dfa5'
|
||||
|
||||
fx_version 'adamant'
|
||||
games { 'gta5' }
|
||||
|
||||
description 'LGCustoms'
|
||||
|
||||
files {
|
||||
'data/handling.meta',
|
||||
'data/vehicles.meta',
|
||||
'data/carcols.meta',
|
||||
'data/carvariations.meta'
|
||||
}
|
||||
|
||||
data_file 'HANDLING_FILE' 'data/handling.meta'
|
||||
data_file 'VEHICLE_METADATA_FILE' 'data/vehicles.meta'
|
||||
data_file 'CARCOLS_FILE' 'data/carcols.meta'
|
||||
data_file 'VEHICLE_VARIATION_FILE' 'data/carvariations.meta'
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
resources/[jobs]/[mechanic]/ebu_flatbeds/.fxap
Normal file
BIN
resources/[jobs]/[mechanic]/ebu_flatbeds/.fxap
Normal file
Binary file not shown.
67
resources/[jobs]/[mechanic]/ebu_flatbeds/Readme.md
Normal file
67
resources/[jobs]/[mechanic]/ebu_flatbeds/Readme.md
Normal file
|
@ -0,0 +1,67 @@
|
|||
######
|
||||
## There are no longer circles- makesure to read the controls. Bed controls are done at the back left or right of the truck.
|
||||
#####
|
||||
|
||||
## Default Controls:
|
||||
[E] - At bed to attach / detach vehicle (useable in vehicle on bed as well)
|
||||
[LeftArrow] - Attach, Wind winch
|
||||
[RightArrow] - Unwind winch
|
||||
[UpArrow] - Raise Bed (automatic, click once)
|
||||
[DownArrow] - Lower Bed (automatic, click once)
|
||||
[G] - Remove Rope
|
||||
[SHIFT] - Access Hand Winch controls
|
||||
[SHIFT] + [LeftArrow] - Grab winch
|
||||
[SHIFT] + [RightArrow] - Return winch
|
||||
[SHIFT] + [E] - Attach winch
|
||||
|
||||
## How to use:
|
||||
# For ROLLING beds:
|
||||
1. Lower bed
|
||||
2. Ensure the vehicle is behind the truck close to the bed
|
||||
3. Press Left Arrow next to the flatbed truck body to attach the winch
|
||||
4. Press Left Arrow again to wind the winch
|
||||
5. Press E when the vehicle is ON the bed. If the vehicle is inside the bed, or too high, press E to disconnect then E again to reconnect the car.
|
||||
|
||||
# For Static beds:
|
||||
1. Ensure the car is behind the truck.
|
||||
2. Press E next to the truck, or inside the car.
|
||||
|
||||
|
||||
|
||||
## Exports / Events:
|
||||
# wind start/stop winding the winch
|
||||
targetflatbedWind(truck)
|
||||
# OR connect target or wind start/stop winding the winch
|
||||
targetflatbedWind(truck, target)
|
||||
# event:
|
||||
"ebu_flatbeds:client:targetflatbedWind"
|
||||
|
||||
# start/stop unwinding the winch
|
||||
targetflatbedUnWind(truck)
|
||||
# event:
|
||||
"ebu_flatbeds:client:targetflatbedUnWind"
|
||||
|
||||
# attach/detach vehicle on bed
|
||||
targetflatbedAtt(truck)
|
||||
# event:
|
||||
"ebu_flatbeds:client:targetflatbedAtt"
|
||||
|
||||
# delete rope attached to truck
|
||||
targetflatbedRope(truck)
|
||||
# event
|
||||
"ebu_flatbeds:client:targetflatbedRope"
|
||||
|
||||
# toggle wheel lift on truck (if applicable)
|
||||
targetflatbedWheel(truck)
|
||||
# event:
|
||||
"ebu_flatbeds:client:targetflatbedWheel"
|
||||
|
||||
# Raise / stop the bed
|
||||
targetflatbedRaise(truck)
|
||||
# event:
|
||||
"ebu_flatbeds:client:targetflatbedRaise"
|
||||
|
||||
# Lower /stop the bed
|
||||
targetflatbedLower(truck)
|
||||
# event:
|
||||
"ebu_flatbeds:client:targetflatbedLower"
|
BIN
resources/[jobs]/[mechanic]/ebu_flatbeds/client/client.lua
Normal file
BIN
resources/[jobs]/[mechanic]/ebu_flatbeds/client/client.lua
Normal file
Binary file not shown.
241
resources/[jobs]/[mechanic]/ebu_flatbeds/client/utils.lua
Normal file
241
resources/[jobs]/[mechanic]/ebu_flatbeds/client/utils.lua
Normal file
|
@ -0,0 +1,241 @@
|
|||
if not Config.DisableExtKeyControls then
|
||||
RegisterKeyMapping('+bedLower', Config.Controlmessages.LowerBed, 'keyboard', 'DOWN')
|
||||
RegisterKeyMapping('+bedRaise', Config.Controlmessages.RaiseBed, 'keyboard', 'UP')
|
||||
RegisterKeyMapping('+flatbedWheel', Config.Controlmessages.WheelLift, 'keyboard', 'H')
|
||||
if Config.EnableRopes then
|
||||
RegisterKeyMapping('+flatbedWind', Config.Controlmessages.WindWinch..' / '..Config.Controlmessages.GrabWinch, 'keyboard', 'LEFT')
|
||||
RegisterKeyMapping('+flatbedUWind', Config.Controlmessages.ExtendWinch..' / '..Config.Controlmessages.ReturnWinch, 'keyboard', 'RIGHT')
|
||||
RegisterKeyMapping('+flatbedRope', Config.Controlmessages.DetachWinch..' / '..Config.Controlmessages.AttachWinch, 'keyboard', 'G')
|
||||
end
|
||||
end
|
||||
|
||||
if not Config.DisableInVehControl then
|
||||
RegisterKeyMapping('+flatbedAtt', Config.Controlmessages.AttachVehicle, 'keyboard', 'E')
|
||||
end
|
||||
|
||||
RegisterKeyMapping('+flatbedWarp', 'Flatbed Get In Car', 'keyboard', 'F')
|
||||
|
||||
function loadComplete(car, truck)
|
||||
--This is called once a vehicle is loaded onto a truck
|
||||
|
||||
end
|
||||
|
||||
--allowed() is the function that determines if the player is allowed to use the controls. DO NOT RENAME THE FUNCTION
|
||||
--Place whatever job check code you want in here, return true if allowed, false if not
|
||||
function allowed()
|
||||
return true
|
||||
end
|
||||
|
||||
--This function allows checks for vehicle ownership before attaching ropes or to the bed
|
||||
-- args [truck(entity), car(entity)]
|
||||
function checkOwnership(truck, car)
|
||||
return true
|
||||
end
|
||||
|
||||
--This function returns if the vehicle is locked or not when trying to get in the loaded vehicle from next to the trailer
|
||||
--false = NOT locked true == LOCKED
|
||||
function IsVehicleLocked(car)
|
||||
return DecorGetInt(car, '_VEH_DOOR_LOCK_STATUS') == 2 or DecorGetInt(car, '_VEH_DOOR_LOCK_STATUS') == 10
|
||||
end
|
||||
|
||||
--======NOTIFICATIONS======--
|
||||
function LoadCompleteNotif()
|
||||
EndTextCommandThefeedPostTickerForced(1,1)
|
||||
ThefeedNextPostBackgroundColor(184)
|
||||
BeginTextCommandThefeedPost("STRING")
|
||||
AddTextComponentSubstringPlayerName(Config.NotiLoadCompleteMessage)
|
||||
EndTextCommandThefeedPostTicker(true, true)
|
||||
Wait(3000)
|
||||
EndTextCommandThefeedPostTickerForced(1,1)
|
||||
end
|
||||
|
||||
function UnLoadCompleteNotif()
|
||||
EndTextCommandThefeedPostTickerForced(1,1)
|
||||
ThefeedNextPostBackgroundColor(184)
|
||||
BeginTextCommandThefeedPost("STRING")
|
||||
AddTextComponentSubstringPlayerName(Config.NotiUnLoadCompleteMessage)
|
||||
EndTextCommandThefeedPostTicker(true, true)
|
||||
Wait(3000)
|
||||
EndTextCommandThefeedPostTickerForced(1,1)
|
||||
end
|
||||
|
||||
function FBBlockedNotif()
|
||||
EndTextCommandThefeedPostTickerForced(1,1)
|
||||
ThefeedNextPostBackgroundColor(6)
|
||||
BeginTextCommandThefeedPost("STRING")
|
||||
AddTextComponentSubstringPlayerName(Config.NotiFBBlockedMessage)
|
||||
EndTextCommandThefeedPostTicker(true, true)
|
||||
Wait(3000)
|
||||
EndTextCommandThefeedPostTickerForced(1,1)
|
||||
end
|
||||
|
||||
function BlockedMessage()
|
||||
EndTextCommandThefeedPostTickerForced(1,1)
|
||||
ThefeedNextPostBackgroundColor(6)
|
||||
BeginTextCommandThefeedPost("STRING")
|
||||
AddTextComponentSubstringPlayerName(Config.NotiBlockedMessage)
|
||||
EndTextCommandThefeedPostTicker(true, true)
|
||||
Wait(3000)
|
||||
EndTextCommandThefeedPostTickerForced(1,1)
|
||||
end
|
||||
|
||||
|
||||
|
||||
--Help Text Messages
|
||||
function message(lineOne, lineTwo, lineThree, duration, loop)
|
||||
BeginTextCommandDisplayHelp("THREESTRINGS")
|
||||
AddTextComponentSubstringPlayerName(lineOne)
|
||||
AddTextComponentSubstringPlayerName(lineTwo or "")
|
||||
AddTextComponentSubstringPlayerName(lineThree or "")
|
||||
|
||||
-- shape (always 0), loop (bool), makeSound (bool), duration (5000 max 5 sec)
|
||||
EndTextCommandDisplayHelp(0, loop, false, duration or 5000)
|
||||
end
|
||||
|
||||
|
||||
--Advanced Functions
|
||||
function validTruck(veh)
|
||||
local playerPos = GetEntityCoords(PlayerPedId())
|
||||
local truckCoords = GetEntityCoords(veh)
|
||||
if trucks and #trucks > 0 and has_value(trucks, GetEntityModel(veh)) and #(playerPos - truckCoords) < 10 then
|
||||
return true
|
||||
end
|
||||
return false
|
||||
end
|
||||
|
||||
--Target
|
||||
if Config.UseTarget then
|
||||
--QB CORE
|
||||
local bones = {"seat_dside_f", "seat_dside_r", "seat_pside_f", "seat_pside_f", 'boot', "scoop", 'chassis'}
|
||||
local options = {}
|
||||
options[#options+1] = {
|
||||
num = 1,
|
||||
icon = 'fa-solid fa-car-side',
|
||||
label = '[Winch] Attach Winch',
|
||||
action = function(entity)
|
||||
playerAttach(entity)
|
||||
end,
|
||||
canInteract = function(entity, distance, data)
|
||||
return winchInHand and Config.EnableRopes
|
||||
end,
|
||||
}
|
||||
options[#options+1] = {
|
||||
num = 2,
|
||||
icon = 'fa-solid fa-angles-left',
|
||||
label = '[Winch] Attach / Wind Winch',
|
||||
action = function(entity)
|
||||
TriggerEvent("ebu_flatbeds:client:targetflatbedWind", entity)
|
||||
end,
|
||||
canInteract = function(entity, distance, data)
|
||||
return Config.Trucks[GetEntityModel(entity)] and Config.Trucks[GetEntityModel(entity)].type ~= "static" and allowed() and Config.EnableRopes
|
||||
end,
|
||||
}
|
||||
options[#options+1] = {
|
||||
num = 3,
|
||||
icon = 'fa-solid fa-angles-right',
|
||||
label = '[Winch] UnWind Winch',
|
||||
action = function(entity)
|
||||
TriggerEvent("ebu_flatbeds:client:targetflatbedUnWind", entity)
|
||||
end,
|
||||
canInteract = function(entity, distance, data)
|
||||
return Config.Trucks[GetEntityModel(entity)] and Config.Trucks[GetEntityModel(entity)].type ~= "static" and allowed() and Config.EnableRopes
|
||||
end,
|
||||
}
|
||||
options[#options+1] = {
|
||||
num = 4,
|
||||
icon = 'fa-solid fa-angles-up',
|
||||
label = '[Winch] Raise Bed',
|
||||
action = function(entity)
|
||||
TriggerEvent("ebu_flatbeds:client:targetflatbedRaise", entity)
|
||||
end,
|
||||
canInteract = function(entity, distance, data)
|
||||
return Config.Trucks[GetEntityModel(entity)] and Config.Trucks[GetEntityModel(entity)].type ~= "static" and allowed()
|
||||
end,
|
||||
}
|
||||
options[#options+1] = {
|
||||
num = 5,
|
||||
icon = 'fa-solid fa-angles-down',
|
||||
label = '[Winch] Lower Bed',
|
||||
action = function(entity)
|
||||
TriggerEvent("ebu_flatbeds:client:targetflatbedLower", entity)
|
||||
end,
|
||||
canInteract = function(entity, distance, data)
|
||||
return Config.Trucks[GetEntityModel(entity)] and Config.Trucks[GetEntityModel(entity)].type ~= "static" and allowed()
|
||||
end,
|
||||
}
|
||||
options[#options+1] = {
|
||||
num = 6,
|
||||
icon = 'fa-solid fa-ban',
|
||||
label = '[Winch] Remove Winch',
|
||||
action = function(entity)
|
||||
TriggerEvent("ebu_flatbeds:client:targetflatbedRope", entity)
|
||||
end,
|
||||
canInteract = function(entity, distance, data)
|
||||
return Config.Trucks[GetEntityModel(entity)] and Config.Trucks[GetEntityModel(entity)].type ~= "static" and allowed() and Config.EnableRopes
|
||||
end,
|
||||
}
|
||||
options[#options+1] = {
|
||||
num = 7,
|
||||
icon = 'fa-solid fa-car-side',
|
||||
label = '[Winch] Attach / Detach Vehicle',
|
||||
action = function(entity)
|
||||
TriggerEvent("ebu_flatbeds:client:targetflatbedAtt", entity)
|
||||
end,
|
||||
canInteract = function(entity, distance, data)
|
||||
return Config.Trucks[GetEntityModel(entity)] and Config.Trucks[GetEntityModel(entity)].type ~= "static" and allowed()
|
||||
end,
|
||||
}
|
||||
options[#options+1] = {
|
||||
num = 8,
|
||||
icon = 'fa-solid fa-truck-ramp-box',
|
||||
label = '[Winch] Toggle Wheel Lift',
|
||||
action = function(entity)
|
||||
TriggerEvent("ebu_flatbeds:client:targetflatbedWheel", entity)
|
||||
end,
|
||||
canInteract = function(entity, distance, data)
|
||||
return Config.Trucks[GetEntityModel(entity)] and Config.Trucks[GetEntityModel(entity)].wheellift and allowed() and Config.EnableRopes
|
||||
end,
|
||||
}
|
||||
--Grab winch from truck
|
||||
options[#options+1] = {
|
||||
num = 9,
|
||||
icon = 'fa-solid fa-car-side',
|
||||
label = '[Winch] Grab Winch',
|
||||
action = function(entity)
|
||||
playerGrab(entity, PlayerPedId())
|
||||
end,
|
||||
canInteract = function(entity, distance, data)
|
||||
return Config.Trucks[GetEntityModel(entity)] and Config.Trucks[GetEntityModel(entity)].type ~= "static" and allowed() and Config.EnableRopes
|
||||
end,
|
||||
}
|
||||
--Grab winch from winched car
|
||||
options[#options+1] = {
|
||||
num = 10,
|
||||
icon = 'fa-solid fa-car-side',
|
||||
label = '[Winch] Grab Veh Winch',
|
||||
action = function(entity)
|
||||
playerGrabVeh(entity, PlayerPedId())
|
||||
end,
|
||||
canInteract = function(entity, distance, data)
|
||||
return getIsVehWinched(entity) and allowed() and Config.EnableRopes
|
||||
end,
|
||||
}
|
||||
options[#options+1] = {
|
||||
num =11,
|
||||
icon = 'fa-solid fa-car-side',
|
||||
label = '[Winch] Return Winch',
|
||||
action = function(entity)
|
||||
playerReturn(entity)
|
||||
end,
|
||||
canInteract = function(entity, distance, data)
|
||||
return Config.Trucks[GetEntityModel(entity)] and Config.Trucks[GetEntityModel(entity)].type ~= "static" and winchInHand and Config.EnableRopes
|
||||
end,
|
||||
}
|
||||
|
||||
exports['qb-target']:AddTargetBone(bones, {
|
||||
options = options,
|
||||
distance = 5.5
|
||||
})
|
||||
|
||||
end
|
||||
|
1107
resources/[jobs]/[mechanic]/ebu_flatbeds/config.lua
Normal file
1107
resources/[jobs]/[mechanic]/ebu_flatbeds/config.lua
Normal file
File diff suppressed because it is too large
Load diff
27
resources/[jobs]/[mechanic]/ebu_flatbeds/fxmanifest.lua
Normal file
27
resources/[jobs]/[mechanic]/ebu_flatbeds/fxmanifest.lua
Normal file
|
@ -0,0 +1,27 @@
|
|||
fx_version 'adamant'
|
||||
game 'gta5'
|
||||
lua54 'yes'
|
||||
|
||||
description 'Flatbeds Winch Script'
|
||||
author 'Theebu'
|
||||
|
||||
version '0.7.8a'
|
||||
|
||||
shared_scripts {
|
||||
'config.lua',
|
||||
}
|
||||
|
||||
client_scripts {
|
||||
'client/utils.lua',
|
||||
'client/client.lua'
|
||||
}
|
||||
|
||||
server_scripts {
|
||||
'server/server.lua'
|
||||
}
|
||||
|
||||
escrow_ignore {
|
||||
'config.lua',
|
||||
'client/utils.lua'
|
||||
}
|
||||
dependency '/assetpacks'
|
BIN
resources/[jobs]/[mechanic]/ebu_flatbeds/server/server.lua
Normal file
BIN
resources/[jobs]/[mechanic]/ebu_flatbeds/server/server.lua
Normal file
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue