7DTD A19 Serverseitige Scripts - Server-side scripts ⇒ 7DTD - Mehr Fahrzeugsitze - More car seats
- sxteam_gaming
- Site Admin
- Beiträge: 196
- Registriert: Mittwoch 1. Mai 2019, 18:26
7DTD - Mehr Fahrzeugsitze - More car seats
Mit dieser Änderung bekommen Motorrad, Gyrocopter und das Fahrad zusätzliche Sitze im Mehrspieler.
With this change motorcycle, gyrocopter and the bike get additional seats on the multiplayer.
vehicles.xml
Gyrocopter
Fahrrad | Bicycle
Motorrad |Motorcycle
With this change motorcycle, gyrocopter and the bike get additional seats on the multiplayer.
vehicles.xml
Gyrocopter
suchen & ersetzen:
search & replace:
<vehicle name="vehicleGyrocopter">
Code: Alles auswählen
<vehicle name="vehicleGyrocopter">
<property name="cameraDistance" value="6, 8"/>
<property name="cameraTurnRate" value=".2, .35"/>
<property name="motorTorqueMinQ" value="1"/>
<property name="motorTorqueMaxQ" value="1"/>
<property name="brakeTorque" value="10"/>
<property name="steerRate" value="130"/>
<property name="steerCenteringRate" value="90"/>
<property name="tiltAngleMax" value="8"/>
<property name="tiltThreshold" value="2"/>
<property name="tiltDampening" value=".01"/>
<property name="tiltDampenThreshold" value="0"/>
<property name="tiltUpForce" value="1"/>
<property name="upAngleMax" value="60"/>
<property name="upForce" value=".5"/>
<property name="unstickForce" value="1"/>
<property name="velocityMax" value="9, 15"/>
<property name="airDrag_velScale_angVelScale" value=".997, .97"/>
<property name="waterDrag_y_velScale_velMaxScale" value="1.5, .9, 1"/>
<property name="waterLift_y_depth_force" value="1, .5, .1"/>
<property name="hornSound" value="vehicle/minibike/minibike_horn"/>
<property class="engine">
<property name="class" value="Engine"/>
<property name="slot_type" value="engine"/>
<property name="fuelKmPerL" value="0.15"/>
<property name="foodDrain" value=".002,.00811"/><!-- driving/turbo, gyro -->
<property name="gear1" value="
500,2500, -1400,800,0, 1500,9999,9999,
,
,
0, .5, .45, .1, -9, .1, .1, Vehicles/Gyrocopter/gyrocopter_idle_lp,
-.1, .1, .65, .7, 0, 9, .1, Vehicles/Gyrocopter/gyrocopter_med_lp
"/>
<property name="sound_start" value="Vehicles/Gyrocopter/gyrocopter_start"/>
<property name="sound_shut_off" value="Vehicles/Gyrocopter/gyrocopter_shutoff"/>
<property name="sound_no_fuel_shut_off" value="Vehicles/Gyrocopter/gyrocopter_sputter"/>
<property name="paint" value="body"/>
</property>
<property class="fuelTank">
<property name="class" value="FuelTank"/>
<property name="capacity" value="80"/>
</property>
<property class="handlebars">
<property name="class" value="Steering"/>
<property name="slot_type" value="handlebars"/>
<property name="transform" value="Origin"/>
<property name="steerMaxAngle" value="0"/>
<property name="IKHandLPosition" value="-.052, .923, .755"/>
<property name="IKHandLRotation" value="0, 17.2, 90"/>
<property name="IKHandRPosition" value=".052, 1.0054, .755"/>
<property name="IKHandRRotation" value="0, -17.2, -90"/>
</property>
<property class="seat0">
<property name="position" value="0, .05, .98"/>
<property name="rotation" value="-25, 0, 0"/>
<property name="exit" value="-1.3,0,.9 ~ 1.3,0,.9 ~ 0,0,-2.4 ~ 0,0,2.4 ~ 0,2,0"/>
</property>
<property class="seat1">
<!--0, .292, -.13-->
<property name="position" value="0, .10, .48"/>
<property name="rotation" value="-25, 0, 0"/>
<!---.8,0,0 ~ .8,0,0 ~ 0,0,-1.4 ~ 0,0,1.4 ~ 0,1.5,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="motor0">
<property name="rpmAccel_min_max" value=".002, .05"/>
<property name="rpmMax" value="3"/>
<property name="rpmDrag" value=".993"/>
<property name="trigger" value="vel"/>
<property name="type" value="spin"/>
<property name="transform" value="Origin/TopPropellerJoint"/>
<property name="axis" value="1"/>
</property>
<property class="motor1">
<property name="engine" value="engine"/>
<property name="engineOffPer" value=".05"/>
<property name="turbo" value="1.35"/>
<property name="rpmAccel_min_max" value="0, .1"/>
<property name="rpmMax" value="8"/>
<property name="rpmDrag" value=".993"/>
<property name="trigger" value="inputForward"/>
<property name="type" value="spin"/>
<property name="transform" value="Origin/BackPropellerJoint"/>
<property name="axis" value="2"/>
</property>
<property class="force0">
<property name="trigger" value="motor0"/>
<property name="type" value="relative"/>
<property name="force" value="0, .19, 0"/>
<property name="ceiling" value="260, 280"/>
</property>
<property class="force1">
<property name="trigger" value="motor1"/>
<property name="type" value="relative"/>
<property name="force" value="0, 0, .15"/>
</property>
<property class="force2">
<property name="trigger" value="inputForward"/>
<property name="type" value="relative"/>
<property name="force" value="0, 0, .0"/>
</property>
<property class="force3">
<property name="trigger" value="inputStrafe"/>
<property name="type" value="relativeTorque"/>
<property name="force" value="0, .03, 0"/>
</property>
<property class="force4">
<property name="trigger" value="inputUp"/>
<property name="type" value="relativeTorque"/>
<property name="force" value="-.02, 0, 0"/>
</property>
<property class="force5">
<property name="trigger" value="inputDown"/>
<property name="type" value="relativeTorque"/>
<property name="force" value=".02, 0, 0"/>
</property>
<property class="wheel0">
<property name="torqueScale_motor_brake" value="1, 1"/>
</property>
<property class="wheel1">
<property name="torqueScale_motor_brake" value="1, 1"/>
</property>
<property class="wheel2">
<property name="torqueScale_motor_brake" value="1, 1"/>
</property>
<property class="storage">
<property name="class" value="Storage"/>
<property name="display_name" value="basket"/>
<property name="slot_type" value="basket"/>
<property name="mesh" value="basket"/>
<property name="transform" value="basket"/>
</property>
</vehicle>
suchen & ersetzen:
search & replace:
<vehicle name="vehicleBicycle">
Code: Alles auswählen
<vehicle name="vehicleBicycle">
<property name="cameraDistance" value="3, 4.5"/>
<property name="cameraTurnRate" value=".2, .35"/>
<property name="motorTorqueMinQ" value="1000"/>
<property name="motorTorqueMaxQ" value="1000"/>
<property name="brakeTorque" value="4000"/>
<property name="upAngleMax" value="70"/>
<property name="upForce" value="1"/>
<property name="steerAngleMax" value="28"/>
<property name="steerRate" value="130"/>
<property name="steerCenteringRate" value="90"/>
<property name="tiltAngleMax" value="20"/>
<property name="tiltThreshold" value="3"/>
<property name="tiltDampening" value=".22"/>
<property name="tiltDampenThreshold" value="8"/>
<property name="tiltUpForce" value="5"/>
<property name="hopForce" value="4, .05"/>
<property name="unstickForce" value=".2"/>
<property name="velocityMax" value="5, 10"/>
<property name="waterDrag_y_velScale_velMaxScale" value="1.7, .9, .2"/>
<property name="wheelPtlScale" value=".6"/>
<property name="hornSound" value="vehicle/minibike/minibike_horn"/>
<property class="chassis">
<property name="class" value="Chassis"/>
<property name="slot_type" value="chassis"/>
<property name="mesh" value="chassis"/>
<property name="transform" value="Origin"/>
<property name="paint" value="chassis"/>
</property>
<property class="handlebars">
<property name="class" value="Steering"/>
<property name="slot_type" value="handlebars"/>
<property name="mesh" value="handlebar"/>
<property name="transform" value="Origin/handlebar_joint"/>
<property name="IKHandLPosition" value="-.24, .284, -.129"/>
<property name="IKHandLRotation" value="-.8781128, -25.45557, -10.52621"/>
<property name="IKHandRPosition" value=".24, .284, -.129"/>
<property name="IKHandRRotation" value=".8781128, 25.45557, 10.52621"/>
<property name="paint" value="handlebar"/>
</property>
<property class="pedals">
<property name="class" value="Pedals"/>
<property name="slot_type" value="pedals"/>
<property name="transform" value="Origin/pedalJoint"/>
<property name="pedalLPosition" value="-.182, 0, -.217"/>
<property name="pedalRPosition" value=".182, 0, .217"/>
<property name="IKFootLPosition" value="0, .1, -.05"/>
<property name="IKFootLRotation" value="0, 0, 0"/>
<property name="IKFootRPosition" value="0, .1, -.05"/>
<property name="IKFootRRotation" value="0, 0, 0"/>
<property name="pedalSound" value="bicycle_pedal"/>
<property name="staminaDrain" value="0,0"/><!-- stamina drain walking/running. It now uses movement tags so regular passives apply -->
</property>
<property class="seat0">
<property name="position" value="0, .292, -.13"/>
<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="seat1">
<!--0, .292, -.13-->
<property name="position" value="0, .392, -.63"/>
<property name="rotation" value="0, 0, 0"/>
<!---.8,0,0 ~ .8,0,0 ~ 0,0,-1.4 ~ 0,0,1.4 ~ 0,1.5,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="steerTransform" value="Origin/handlebar_joint"/>
<property name="tireTransform" value="Origin/handlebar_joint/frontWheel_joint"/>
<property name="torqueScale_motor_brake" value=".15, .5"/>
</property>
<property class="wheel1">
<property name="tireTransform" value="Origin/backWheelJoint"/>
<property name="torqueScale_motor_brake" value="1, 1"/>
</property>
<property class="storage">
<property name="class" value="Storage"/>
<property name="display_name" value="basket"/>
<property name="slot_type" value="basket"/>
<property name="mesh" value="basket"/>
<property name="transform" value="basket"/>
</property>
</vehicle>
suchen & ersetzen:
search & replace:
<vehicle name="vehicleMotorcycle">
Code: Alles auswählen
<vehicle name="vehicleMotorcycle">
<property name="cameraDistance" value="3.5, 5"/>
<property name="cameraTurnRate" value=".2, .35"/>
<property name="motorTorqueMinQ" value="3000"/>
<property name="motorTorqueMaxQ" value="3000"/>
<property name="brakeTorque" value="4000"/>
<property name="upAngleMax" value="70"/>
<property name="upForce" value="1"/>
<property name="steerRate" value="130"/>
<property name="steerCenteringRate" value="90"/>
<property name="tiltAngleMax" value="20"/>
<property name="tiltThreshold" value="3"/>
<property name="tiltDampening" value=".22"/>
<property name="tiltDampenThreshold" value="8"/>
<property name="tiltUpForce" value="5"/>
<property name="hopForce" value="1, .8"/>
<property name="unstickForce" value="1"/>
<property name="velocityMax" value="9, 14"/>
<property name="waterDrag_y_velScale_velMaxScale" value="1.7, .9, .1"/>
<property name="wheelPtlScale" value="1"/>
<property name="hornSound" value="vehicle/minibike/minibike_horn"/>
<property class="battery">
<property name="class" value="Battery"/>
<property name="slot_type" value="battery"/>
<property name="mesh" value="battery"/>
<property name="transform" value="battery"/>
</property>
<property class="chassis">
<property name="class" value="Chassis"/>
<property name="display_name" value="chassis"/>
<property name="slot_type" value="chassis"/>
<property name="mesh" value="chassis"/>
<property name="transform" value="Origin"/>
<property name="part_damage_reduction" value="0.5"/>
<property name="paint" value="Motorcycle"/>
</property>
<property class="engine">
<property name="class" value="Engine"/>
<property name="slot_type" value="engine"/>
<property name="mesh" value="engine_small"/>
<property name="transform" value="engine_small"/>
<property name="particle_transform" value="engine_small/MinibikeParticles/p_engine_fire"/>
<property name="fuelKmPerL" value=".2"/>
<property name="foodDrain" value=".002,.0101"/><!-- driving/turbo, motorcycle -->
<property name="gear1" value="
500,2500, -1400,800,0, 700,2000,900,
Vehicles/Motorbike/motorbike_accel_1,
,
0, .7, 1, .1, -9, .15, .1, Vehicles/Motorbike/motorbike_idle_lp,
-.3, .1, .1, .4, -.05, 9, .2, Vehicles/Motorbike/motorbike_run_lp
"/>
<property name="gear2" value="
500,2500, -2000,1000,2000, 620,2200,800,
Vehicles/Motorbike/motorbike_accel_2,
Vehicles/Motorbike/motorbike_decel,
-.2, -.02, .1, .2, -1, 1, .1, Vehicles/Motorbike/motorbike_run_lp
"/>
<property name="gear3" value="
500,2500, -2000,1000,2000, 570,2200,1000,
Vehicles/Motorbike/motorbike_accel_3,
Vehicles/Motorbike/motorbike_decel,
-.21, -.05, .1, .2, -1, 1, .1, Vehicles/Motorbike/motorbike_run_lp
"/>
<property name="gear4" value="
500,2500, -2000,1000,2000, 500,9999,9999,
,
Vehicles/Motorbike/motorbike_decel,
-.25, -.08, .55, .45, -1, 1, .1, Vehicles/Motorbike/motorbike_run_lp
"/>
<property name="sound_start" value="Vehicles/Motorbike/minibike_start_"/>
<property name="sound_shut_off" value="Vehicles/Motorbike/minibike_shutoff_"/>
<property name="sound_no_fuel_shut_off" value="Vehicles/Motorbike/motorbike_empty"/>
</property>
<property class="fuelTank">
<property name="class" value="FuelTank"/>
<property name="capacity" value="120"/>
</property>
<property class="handlebars">
<property name="class" value="Steering"/>
<property name="slot_type" value="handlebars"/>
<property name="mesh" value="handlebar"/>
<property name="transform" value="Origin/handlebar_joint"/>
<property name="IKHandLPosition" value="-.3329, .2552, -.158"/>
<property name="IKHandLRotation" value="27.30321, -15.59375, 8.961643"/>
<property name="IKHandRPosition" value=".3329, .2552, -.158"/>
<property name="IKHandRRotation" value="27.30321, 15.59375, -8.961643"/>
</property>
<property class="seat0">
<property name="position" value="0, 0, -.201"/>
<property name="rotation" value="0, 0, 0"/>
<property name="exit" value="-.9,0,0 ~ .9,0,0 ~ 0,0,-1.5 ~ 0,0,1.6 ~ 0,1.5,0"/>
</property>
<property class="seat1">
<!--0, 0, -.201-->
<property name="position" value="0, .1, -.701"/>
<property name="rotation" value="0, 0, 0"/>
<property name="exit" value=".9,0,0 ~ -.9,0,0 ~ 0,0,1.5 ~ 0,0,-1.6 ~ 0,-1.5,0"/>
</property>
<property class="wheel0">
<property name="steerTransform" value="Origin/handlebar_joint"/>
<property name="tireTransform" value="Origin/handlebar_joint/frontWheel_joint"/>
<property name="torqueScale_motor_brake" value=".15, .5"/>
</property>
<property class="wheel1">
<property name="tireTransform" value="Origin/backWheelJoint"/>
<property name="torqueScale_motor_brake" value="1, 1"/>
</property>
<property class="headlight">
<property name="class" value="Headlight"/>
<property name="transform" value="Origin/handlebar_joint/headlight"/>
<property name="bright" value=".9"/>
</property>
<property class="storage">
<property name="class" value="Storage"/>
<property name="display_name" value="basket"/>
<property name="slot_type" value="basket"/>
<property name="mesh" value="basket"/>
<property name="transform" value="basket"/>
</property>
</vehicle>