Log in to reply
 

Troubleshooting with replacing Luxor Deluxe and Miljet



  • Hey, folks.
    So I tried to replace the Miljet and the Luxor Deluxe. But I have some issues with both planes. I also replaced other planes too but they are working perfectly fine. I'd consider myself as an advanced user when it comes to adding mods :D
    So here are the problems:
    When I spawn the replaced models they don't have any sound and just support one livery. I guess it's caused by the fact that both the Miljet and the Luxor Deluxe came with a DLC and were not there from the beginning. For example, the Miljet is obviously not listed in the handling.meta and vehicles.meta inside the update.rpf because it came with the mppilot DLC. So to get the new handling I tried to edit the handling.meta and vehicles.meta inside the mppilot folder. I also tried to replace both with different planes but there are still the same issues.
    Does anybody know why are these issues caused and how to fix them? Are these two aircraft somehow not replaceable?

    Thanks and Greetings from Germany
    ~ nonebutMau


  • MODERATOR

    @nonebutMau They are replaceable. I have replaced both of those with F-16c's in my game. You have to edit the handling and vehicle meta (in the most recent location if updated).



  • @DarthPungz Ok good to hear that. But yes I know that I have to edit both handling and vehicles.meta. It's caused by something else. Maybe you could tell me which files did you edit and in which location they were.

    For example, for the Luxor Deluxe, I went to mpluxe first.
    Then into the dlc.rpf > x64 > levels > gta5 > vehicles > mpluxevehicles.rpf > replaced luxor2.yft/luxor2_hi.yft/luxor2.ytd/luxor2+hi.ytd with the replacement model (Embraer 190). Then into common > data > and edited the handling.meta:

    <Item type="CHandlingData">
    <handlingName>luxor2</handlingName>
    <fMass value="6400.000000" />
    <fInitialDragCoeff value="8.000000" />
    <fPercentSubmerged value="75.000000" />
    <vecCentreOfMassOffset x="0.000000" y="0.000000" z="0.000000" />
    <vecInertiaMultiplier x="1.000000" y="1.000000" z="1.000000" />
    <fDriveBiasFront value="1.000000" />
    <nInitialDriveGears value="1" />
    <fInitialDriveForce value="0.001000" />
    <fDriveInertia value="1.000000" />
    <fClutchChangeRateScaleUpShift value="1.300000" />
    <fClutchChangeRateScaleDownShift value="1.300000" />
    <fInitialDriveMaxFlatVel value="326.200000" />
    <fBrakeForce value="0.050000" />
    <fBrakeBiasFront value="0.600000" />
    <fHandBrakeForce value="0.010000" />
    <fSteeringLock value="30.000000" />
    <fTractionCurveMax value="1.150000" />
    <fTractionCurveMin value="0.800000" />
    <fTractionCurveLateral value="12.000000" />
    <fTractionSpringDeltaMax value="0.100000" />
    <fLowSpeedTractionLossMult value="0.000000" />
    <fCamberStiffnesss value="0.000000" />
    <fTractionBiasFront value="0.500000" />
    <fTractionLossMult value="1.000000" />
    <fSuspensionForce value="2.500000" />
    <fSuspensionCompDamp value="2.800000" />
    <fSuspensionReboundDamp value="2.000000" />
    <fSuspensionUpperLimit value="0.080000" />
    <fSuspensionLowerLimit value="-0.050000" />
    <fSuspensionRaise value="0.000000" />
    <fSuspensionBiasFront value="0.250000" />
    <fAntiRollBarForce value="0.000000" />
    <fAntiRollBarBiasFront value="0.000000" />
    <fRollCentreHeightFront value="0.000000" />
    <fRollCentreHeightRear value="0.000000" />
    <fCollisionDamageMult value="1.500000" />
    <fWeaponDamageMult value="0.500000" />
    <fDeformationDamageMult value="4.000000" />
    <fEngineDamageMult value="1.500000" />
    <fPetrolTankVolume value="65.000000" />
    <fOilVolume value="5.000000" />
    <fSeatOffsetDistX value="0.000000" />
    <fSeatOffsetDistY value="0.000000" />
    <fSeatOffsetDistZ value="0.000000" />
    <nMonetaryValue value="45000" />
    <strModelFlags>20000000</strModelFlags>
    <strHandlingFlags>400100</strHandlingFlags>
    <strDamageFlags>20</strDamageFlags>
    <AIHandling>AVERAGE</AIHandling>
    <SubHandlingData>
    <Item type="CFlyingHandlingData">
    <fThrust value="0.810000" />
    <fThrustFallOff value="0.000090" />
    <fThrustVectoring value="0.000000" />
    <fYawMult value="-0.000100" />
    <fYawStabilise value="0.000150" />
    <fSideSlipMult value="0.020000" />
    <fRollMult value="0.003500" />
    <fRollStabilise value="-0.000000" />
    <fPitchMult value="0.000200" />
    <fPitchStabilise value="0.000100" />
    <fFormLiftMult value="0.000250" />
    <fAttackLiftMult value="0.006000" />
    <fAttackDiveMult value="0.000600" />
    <fGearDownDragV value="0.000000" />
    <fGearDownLiftMult value="1.000000" />
    <fWindMult value="0.150000" />
    <fMoveRes value="0.015000" />
    <vecTurnRes x="0.200000" y="0.700000" z="0.700000" />
    <vecSpeedRes x="0.060000" y="0.060000" z="0.060000" />
    <fGearDoorFrontOpen value="90.000000" />
    <fGearDoorRearOpen value="114.589996" />
    <fGearDoorRearOpen2 value="-30.000000" />
    <fGearDoorRearMOpen value="-30.000000" />
    <fTurublenceMagnitudeMax value="10.000000" />
    <fTurublenceForceMulti value="0.006000" />
    <fTurublenceRollTorqueMulti value="0.020000" />
    <fTurublencePitchTorqueMulti value="0.000300" />
    <fBodyDamageControlEffectMult value="0.100000" />
    <fInputSensitivityForDifficulty value="0.900000" />
    <fOnGroundYawBoostSpeedPeak value="3.000000" />
    <fOnGroundYawBoostSpeedCap value="6.000000" />
    <fEngineOffGlideMulti value="1.000000" />
    <handlingType>HANDLING_TYPE_FLYING</handlingType>
    </Item>
    <Item type="NULL" />
    <Item type="NULL" />
    </SubHandlingData>
    </Item>

    then levels > gta5 > and edited vehicles.meta:

    <Item>
    <modelName>luxor2</modelName>
    <txdName>luxor2</txdName>
    <handlingId>LUXOR2</handlingId>
    <gameName>LUXOR2</gameName>
    <vehicleMakeName>BUCKING</vehicleMakeName>
    <expressionDictName>null</expressionDictName>
    <expressionName>null</expressionName>
    <animConvRoofDictName>null</animConvRoofDictName>
    <animConvRoofName>null</animConvRoofName>
    <animConvRoofWindowsAffected />
    <ptfxAssetName>null</ptfxAssetName>
    <audioNameHash>CARGOPLANE</audioNameHash>
    <layout>LAYOUT_PLANE_JUMBO</layout>
    <coverBoundOffsets>STANDARD_COVER_OFFSET_INFO</coverBoundOffsets>
    <explosionInfo>EXPLOSION_INFO_JET</explosionInfo>
    <scenarioLayout />
    <cameraName>FOLLOW_TITAN_CAMERA</cameraName>
    <aimCameraName>PLANE_AIM_CAMERA</aimCameraName>
    <bonnetCameraName>TITAN_BONNET_CAMERA</bonnetCameraName>
    <povCameraName>PLANE_POV_CAMERA</povCameraName>
    <FirstPersonDriveByIKOffset x="0.000000" y="0.000000" z="0.000000" />
    <FirstPersonDriveByUnarmedIKOffset x="0.000000" y="0.000000" z="0.000000" />
    <FirstPersonProjectileDriveByIKOffset x="0.000000" y="0.000000" z="0.000000" />
    <FirstPersonProjectileDriveByPassengerIKOffset x="0.000000" y="0.000000" z="0.000000" />
    <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.038000" z="-0.045000" />
    <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.175000" y="0.360000" z="0.566000" />
    <FirstPersonPassengerMobilePhoneOffset x="0.189000" y="0.291000" z="0.468000" />
    <PovCameraOffset x="0.000000" y="-0.050000" z="0.705000" />
    <PovCameraVerticalAdjustmentForRollCage value="0.000000" />
    <PovPassengerCameraOffset x="0.000000" y="0.000000" z="0.000000" />
    <PovRearPassengerCameraOffset x="0.000000" y="0.000000" z="0.000000" />
    <vfxInfoName>VFXVEHICLEINFO_PLANE_CARGO</vfxInfoName>
    <shouldUseCinematicViewMode value="true" />
    <shouldCameraTransitionOnClimbUpDown value="false" />
    <shouldCameraIgnoreExiting value="false" />
    <AllowPretendOccupants value="false" />
    <AllowJoyriding value="true" />
    <AllowSundayDriving value="true" />
    <AllowBodyColorMapping value="true" />
    <wheelScale value="0.323314" />
    <wheelScaleRear value="0.323314" />
    <dirtLevelMin value="0.000000" />
    <dirtLevelMax value="0.450000" />
    <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">
    100.000000
    400.000000
    600.000000
    1200.000000
    3400.000000
    3400.000000
    </lodDistances>
    <minSeatHeight value="1.213" />
    <identicalModelSpawnDistance value="20" />
    <maxNumOfSameColor value="10" />
    <defaultBodyHealth value="1000.000000" />
    <pretendOccupantsScale value="1.000000" />
    <visibleSpawnDistScale value="2.250000" />
    <trackerPathWidth value="2.000000" />
    <weaponForceMult value="1.000000" />
    <frequency value="100" />
    <swankness>SWANKNESS_4</swankness>
    <maxNum value="999" />
    <flags>FLAG_NO_BOOT FLAG_HAS_LIVERY FLAG_DRIVER_NO_DRIVE_BY FLAG_DONT_SPAWN_IN_CARGEN FLAG_HEADLIGHTS_USE_ACTUAL_BONE_POS FLAG_DONT_SPAWN_AS_AMBIENT FLAG_BLOCK_FROM_ATTRACTOR_SCENARIO FLAG_HEADLIGHTS_ON_LANDINGGEAR FLAG_DONT_TIMESLICE_WHEELS</flags>
    <type>VEHICLE_TYPE_PLANE</type>
    <plateType>VPT_NONE</plateType>
    <dashboardType>VDT_LAZER</dashboardType>
    <vehicleClass>VC_PLANE</vehicleClass>
    <wheelType>VWT_SPORT</wheelType>
    <trailers />
    <additionalTrailers />
    <drivers>
    <Item>
    <driverName>S_M_M_Gentransport</driverName>
    <npcName>Pilot</npcName>
    </Item>
    </drivers>
    <extraIncludes />
    <doorsWithCollisionWhenClosed />
    <driveableDoors />
    <bumpersNeedToCollideWithMap value="false" />
    <needsRopeTexture value="false" />
    <requiredExtras />
    <rewards />
    <cinematicPartCamera>
    <Item>WINGLIGHT_LEFT_CAMERA</Item>
    <Item>WINGLIGHT_RIGHT_CAMERA</Item>
    <Item>PLANE_TAIL_LEFT_CAMERA</Item>
    <Item>PLANE_TAIL_RIGHT_CAMERA</Item>
    </cinematicPartCamera>
    <NmBraceOverrideSet />
    <buoyancySphereOffset x="0.000000" y="0.000000" z="0.000000" />
    <buoyancySphereSizeScale value="1.000000" />
    <pOverrideRagdollThreshold type="NULL" />
    <firstPersonDrivebyData>
    <Item>STD_FRONT_LEFT</Item>
    <Item>PLANE_FRONT_RIGHT</Item>
    </firstPersonDrivebyData>
    </Item>

    Even though the audioNameHash is right the game somehow thinks that the Embraer 190 is a fighter jet, so in the end, the plane had the wrong sound.

    I also did the same with the patchday12ng except for the handling.meta and vehicles.meta part cuz there is no common folder.
    In my opinion I did everything right but there are still these weird issues.


  • MODERATOR

    @nonebutMau

    So I finally had a chance to look into my setup in OIV. Sorry it took a bit.

    For the Miljet model... you need to replace the YFT & YTDs in Patchday1ng
    I believe that the associated metas go into the 64w/mppilot

    For the Luxor2... you need to replace the YFT & YTDs in Patchday12ng
    I believe that the associated metas go into the regular data in the update.rpf

    I hope this is correct and that you get it working on your end.


  • MODERATOR

    @DarthPungz I just tested the Miljet replacement in my game as described and it worked... I changed out my F-16c for a E-3 Sentry AWACs jet.



  • @DarthPungz Alright thanks. But I guess Luxor2 is not listed in the handling and vehicles meta inside the update rpf. But I'll have to take a look on that. I guess I might reinstall the needed locations.


  • MODERATOR

    @nonebutMau

    Is it possible that it may​use the same handling file as the Luxor? Maybe u edit it and see... If it does then that is a shame a s it is limiting our replace options...

    Does the luxor2 auto spawn? If so, where?



  • @DarthPungz It does auto spawn @LSIA. And no it's actually not using the same handling.meta and vehicles.meta as the standard Luxor. There are a handling.meta and vehicles.meta in mpluxe where Luxor2 is listed so I tried to edit this one as I would normally do it inside the update.rpf but with that, there are these issues.


  • MODERATOR

    @nonebutMau I will look again tomorrow. It is almost bed time here in Taipei. If you find it please post the location.



  • @DarthPungz Ok thanks. Sleep well.


Log in to reply
 

Looks like your connection to GTA5-Mods.com Forums was lost, please wait while we try to reconnect.