Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!-- Lightweight Bicycle Definition -->
- <vehicle name="vehicleBicycleLightweight">
- <property name="cameraDistance" value="3, 4.5"/>
- <property name="cameraTurnRate" value=".25, .4"/>
- <property name="upAngleMax" value="70"/>
- <property name="upForce" value="1"/>
- <property name="steerAngleMax" value="30"/>
- <property name="steerRate" value="150"/>
- <property name="steerCenteringRate" value="95"/>
- <property name="tiltAngleMax" value="20"/>
- <property name="tiltThreshold" value="3"/>
- <property name="tiltDampening" value=".20"/>
- <property name="tiltDampenThreshold" value="8"/>
- <property name="tiltUpForce" value="5"/>
- <!-- Faster + lower stamina drain -->
- <property name="motorTorque_turbo" value="650, 200, 900, 200"/>
- <property name="velocityMax_turbo" value="7, 5, 10, 5"/>
- <property name="brakeTorque" value="3200"/>
- <property name="hopForce" value="4.2, .05"/>
- <property name="unstickForce" value=".25"/>
- <property name="waterDrag_y_velScale_velMaxScale" value="1.7, .9, .2"/>
- <property name="wheelPtlScale" value=".6"/>
- <property name="hornSound" value="bicycle_horn"/>
- <property name="recipeName" value="vehicleBicycleLightweightPlaceable" />
- <property class="chassis">
- <property name="class" value="Chassis"/>
- <property name="paint" value="M"/>
- </property>
- <property class="handlebars">
- <property name="class" value="Steering"/>
- <property name="transform" value="M/Forks"/>
- <property name="steerAngle" value="0, 31, 0"/>
- <property name="IKHandLPosition" value="-0.285, 0.180, 0.0408"/>
- <property name="IKHandLRotation" value="-0.532, 91.886, 24.957"/>
- <property name="IKHandRPosition" value="0.285, 0.180, 0.04"/>
- <property name="IKHandRRotation" value="0.994, 85.819, -152.804"/>
- <property name="paint" value="handlebar"/>
- </property>
- <property class="pedals">
- <property name="class" value="Pedals"/>
- <property name="transform" value="M/Crank"/>
- <property name="IKFootLPosition" value="-.06, .1, -.05"/>
- <property name="IKFootLRotation" value="0, 0, 0"/>
- <property name="IKFootRPosition" value="-.06, .1, -.05"/>
- <property name="IKFootRRotation" value="0, 0, 0"/>
- <property name="pedalSound" value="bicycle_pedal"/>
- <!-- Reduced stamina drain -->
- <property name="staminaDrain" value="-20,-20"/>
- <property name="particleDamaged" value="Particles/p_damaged"/>
- <property name="particleBroken" value="Particles/p_broken"/>
- </property>
- <property class="seat0">
- <property name="pose" value="1"/>
- <property name="position" value="0, 0, 0"/>
- <property name="rotation" value="0, 0, 0"/>
- <property name="exit" value="-.8,0,0 ~ .8,0,0 ~ 0,0,-1.4 ~ 0,0,1.4 ~ 0,1.5,0"/>
- </property>
- <property class="wheel0">
- <property name="tireTransform" value="M/Forks/Wheel0"/>
- <property name="torqueScale_motor_brake" value=".18, .5"/>
- <property name="bounceSound" value="bicycle_suspension"/>
- <property name="slideSound" value="bicycle_brake"/>
- </property>
- <property class="wheel1">
- <property name="tireTransform" value="Wheel1"/>
- <property name="torqueScale_motor_brake" value="1.1, 1"/>
- <property name="bounceSound" value="bicycle_suspension"/>
- <property name="slideSound" value="bicycle_brake"/>
- </property>
- <property class="headlight">
- <property name="class" value="Headlight"/>
- <property name="bright" value=".75"/>
- <property name="mod" value="light"/>
- <property name="modT" value="M/Forks/HeadLights"/>
- <property name="modOnT" value="M/Forks/HeadLights/Lights"/>
- <property name="modMatEmissive" value="808080"/>
- </property>
- <property class="storage">
- <property name="class" value="Storage"/>
- <property name="mesh" value="M/Storage"/>
- <property name="transform" value="basket"/>
- </property>
- </vehicle>
- <!-- ITEM DEFINITIONS -->
- <item name="vehicleBicycleLightweightChassis">
- <property name="Extends" value="vehicleWheels"/>
- <property name="Tags" value="vehiclesSkill"/>
- <property name="EconomicValue" value="950"/>
- <property name="TraderStageTemplate" value="vehicleTier1"/>
- <property name="UnlockedBy" value="craftingVehicles"/>
- <property name="SoundPickup" value="chassis_grab"/>
- <property name="SoundPlace" value="chassis_place"/>
- </item>
- <item name="vehicleBicycleLightweightHandlebars">
- <property name="Extends" value="vehicleWheels"/>
- <property name="Tags" value="vehiclesSkill"/>
- <property name="EconomicValue" value="950"/>
- <property name="TraderStageTemplate" value="vehicleTier1"/>
- <property name="UnlockedBy" value="craftingVehicles"/>
- <property name="SoundPickup" value="handlebars_grab"/>
- <property name="SoundPlace" value="handlebars_place"/>
- </item>
- <item name="vehicleBicycleLightweightPlaceable">
- <property name="Extends" value="vehicleMinibikePlaceable"/>
- <property name="Tags" value="vehicle,vlight,canHaveCosmetic"/>
- <property name="DescriptionKey" value="vehiclePlaceableBicycleLightweightDesc"/>
- <property name="Meshfile" value="@:Entities/Vehicles/VBikeMountain/VBikeMountainP.prefab"/>
- <property name="EconomicValue" value="3500"/>
- <property name="TraderStageTemplate" value="vehicleTier2"/>
- <property name="SoundPickup" value="bike_grab"/>
- <property name="SoundPlace" value="bike_place"/>
- <property class="Action1">
- <property name="Vehicle" value="vehicleBicycleLightweight"/>
- </property>
- <effect_group name="vehicleBicycleLightweightPlaceable" tiered="false">
- <passive_effect name="ModSlots" operation="base_set" value="3"/>
- <passive_effect name="ModPowerBonus" operation="base_add" value="450" tags="EconomicValue"/>
- <passive_effect name="DegradationMax" operation="base_set" value="2000"/>
- </effect_group>
- </item>
- <!-- RECIPES -->
- <recipe name="vehicleBicycleLightweightChassis" count="1" craft_time="40" craft_area="workbench" tags="perkGreaseMonkey,learnable,workbenchCrafting">
- <ingredient name="resourceForgedIron" count="10"/>
- <ingredient name="resourceMechanicalParts" count="4"/>
- <ingredient name="resourceDuctTape" count="4"/>
- <ingredient name="resourceLeather" count="4"/>
- <ingredient name="resourceSpring" count="2"/>
- </recipe>
- <recipe name="vehicleBicycleLightweightHandlebars" count="1" craft_time="40" craft_area="workbench" tags="perkGreaseMonkey,learnable,workbenchCrafting">
- <ingredient name="resourceDuctTape" count="4"/>
- <ingredient name="resourceLeather" count="4"/>
- <ingredient name="resourceMechanicalParts" count="2"/>
- <ingredient name="resourceMetalPipe" count="8"/>
- <ingredient name="resourceSpring" count="2"/>
- </recipe>
- <recipe name="vehicleBicycleLightweightPlaceable" count="1" craft_time="40" tags="workbenchCrafting,packMuleCrafting">
- <ingredient name="vehicleWheels" count="2"/>
- <ingredient name="vehicleBicycleLightweightChassis" count="1"/>
- <ingredient name="vehicleBicycleLightweightHandlebars" count="1"/>
- <ingredient name="resourceMechanicalParts" count="2"/>
- </recipe>
- <!-- SKILL UNLOCK -->
- <crafting_skill name="craftingVehicles" parent="attCrafting">
- <effect_group>
- <!-- Unlock after 25 books (skill level 25) -->
- <passive_effect name="RecipeTagUnlocked" operation="base_set" level="25,100" value="1" tags="vehicleBicycleLightweightChassis,vehicleBicycleLightweightHandlebars,vehicleBheels,vehicleBicycleLightweightPlaceable"/>
- </effect_group>
- </crafting_skill>
Advertisement
Add Comment
Please, Sign In to add comment