

	-------------------
	ModDesc installation

	<vehicleTypes>
		<type name="Your vehicle name in xml" className="Vehicle" filename="$dataS/scripts/vehicles/Vehicle.lua"  parent="baseDrivable">
			<specialization name="foldable" /> [This option for folding, on keypad X (Folding)]
			<specialization name="cover" /> [This option for folding, on keypad N (Cover)]
		</type>
	</vehicleTypes>

	-------------------
	
	1.
	Add the whole [strobeLightbar_prefab] map in to your vehicle mod map.


	2.
	Drag and dropp [strobe_lightbar.i3d] in to the open giants "vehicle".i3d mod.

	3.
	Add this xml in to the modDesc.xml
	
	<vehicleTypes>
		<type name="Your vehicle name in xml" className="Vehicle" filename="$dataS/scripts/vehicles/Vehicle.lua"  parent="baseDrivable">
			<specialization name="foldable" /> [This option for folding, on keypad X (Folding)]
			<specialization name="cover" /> [This option for folding, on keypad N (Cover)]
		</type>
	</vehicleTypes>


	4.
	Add this xml to the vehicle.xml file. [This xml is with animation for keypad X and with shop config

        <beaconLights>
            <beaconLight node="basicLedStrobeLight_01" filename="roofSignA20/basicLedStrobeLight/basicLedStrobeLight.xml" />
            <beaconLight node="basicLedStrobeLight_02" filename="roofSignA20/basicLedStrobeLight/basicLedStrobeLight.xml" />
            <beaconLight node="basicLedStrobeLight_03" filename="roofSignA20/basicLedStrobeLight/basicLedStrobeLight.xml" />
            <beaconLight node="basicLedStrobeLight_04" filename="roofSignA20/basicLedStrobeLight/basicLedStrobeLight.xml" />
        </beaconLights>

    <foldable>
        <foldingConfigurations>
            <foldingConfiguration>
                <foldingParts startMoveDirection="1" >
                    <foldingPart animationName="signUppDown" speedScale="1" />
                </foldingParts>
            </foldingConfiguration>
        </foldingConfigurations>
    </foldable>

    <animations>
        <!--roofSignA20-->
        <animation name="signUppDown">
            <part node="signFrameVis" startTime="0" endTime="3" startRot="0 0 0" endRot="90 0 0"/>
        </animation>
    </animations>

    <cylindered>
        <movingParts>
            <!--roofSignA20-->
            <movingPart node="mainArmHyd" referencePoint="mainArmHyd_ref" referenceFrame="mainArmHyd_frame" isActiveDirty="true" maxUpdateDistance="150">
                <translatingPart node="mainArmHyd_punch"/>
            </movingPart>
        </movingParts>
    </cylindered>


	
	5. Add this i3dMapping at the bottom in the vehicle.xml [change node!]

    <i3dMappings>
        <i3dMapping id="signFrameVis" node="0>0|0" />
        <i3dMapping id="mainArmHyd_ref" node="0>0|0|1" />
        <i3dMapping id="basicLedStrobeLight_01" node="0>0|0|3|0" />
        <i3dMapping id="basicLedStrobeLight_02" node="0>0|0|3|1" />
        <i3dMapping id="basicLedStrobeLight_03" node="0>0|0|3|2" />
        <i3dMapping id="basicLedStrobeLight_04" node="0>0|0|3|3" />
        <i3dMapping id="mainArmHyd_frame" node="0>3" />
        <i3dMapping id="mainArmHyd" node="0>3|0" />
        <i3dMapping id="mainArmHyd_punch" node="0>3|0|0" />
    </i3dMappings>

