Log in to reply
 

trying to apply vehicles.meta flag but it didn't apply in the game



  • shorturl.at/ejEK9
    im trying to modify that car so its armored
    i added the following flags in the vehicles.meta file
    FLAG_HAS_BULLET_RESISTANT_GLASS FLAG_HAS_INCREASED_RAMMING_FORCE FLAG_HAS_CAPPED_EXPLOSION_DAMAGE
    when i log on to the game shooted the cars windshield and nothing happened the glass is still weak and the flag does nothing
    can anyone help me?
    here is the vehicles meta of this car that i edited
    <CVehicleModelInfo__InitDataList>
    <residentTxd>vehshare</residentTxd>
    <residentAnims />
    <InitDatas>
    <Item>
    <modelName>w140</modelName>
    <txdName>w140</txdName>
    <handlingId>W140</handlingId>
    <gameName>W140</gameName>
    <vehicleMakeName>Mercedes-Benz w140 AMG</vehicleMakeName>
    <expressionDictName>null</expressionDictName>
    <expressionName>null</expressionName>
    <animConvRoofDictName>null</animConvRoofDictName>
    <animConvRoofName>null</animConvRoofName>
    <animConvRoofWindowsAffected />
    <ptfxAssetName>null</ptfxAssetName>
    <audioNameHash>PRIMO</audioNameHash>
    <layout>LAYOUT_STD_HIGHWINDOW</layout>
    <coverBoundOffsets>SCHAFTER_COVER_OFFSET_INFO</coverBoundOffsets>
    <explosionInfo>EXPLOSION_INFO_DEFAULT</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</povCameraName>
    <FirstPersonDriveByIKOffset x="0.000000" y="-0.050000" z="-0.040000" />
    <FirstPersonDriveByUnarmedIKOffset x="0.000000" y="-0.025000" z="0.000000" />
    <FirstPersonProjectileDriveByIKOffset x="0.055000" y="-0.080000" z="0.000000" />
    <FirstPersonProjectileDriveByPassengerIKOffset x="-0.055000" y="-0.080000" z="0.000000" />
    <FirstPersonProjectileDriveByRearLeftIKOffset x="0.000000" y="0.020000" z="0.000000" />
    <FirstPersonProjectileDriveByRearRightIKOffset x="0.000000" y="0.020000" z="0.000000" />
    <FirstPersonDriveByLeftPassengerIKOffset x="0.000000" y="0.000000" z="0.000000" />
    <FirstPersonDriveByRightPassengerIKOffset x="0.000000" y="-0.050000" z="-0.030000" />
    <FirstPersonDriveByRightRearPassengerIKOffset x="0.000000" y="0.000000" z="0.000000" />
    <FirstPersonDriveByLeftPassengerUnarmedIKOffset x="0.000000" y="-0.025000" z="0.000000" />
    <FirstPersonDriveByRightPassengerUnarmedIKOffset x="0.000000" y="-0.040000" z="0.000000" />
    <FirstPersonMobilePhoneOffset x="0.138000" y="0.233000" z="0.546000" />
    <FirstPersonPassengerMobilePhoneOffset x="0.135000" y="0.135000" z="0.435000" />
    <FirstPersonMobilePhoneSeatIKOffset>
    <Item>
    <Offset x="0.136000" y="0.126000" z="0.445000" />
    <SeatIndex value="2" />
    </Item>
    <Item>
    <Offset x="0.136000" y="0.126000" z="0.445000" />
    <SeatIndex value="3" />
    </Item>
    </FirstPersonMobilePhoneSeatIKOffset>
    <PovCameraOffset x="0.000000" y="-0.275000" z="0.640000" />
    <PovCameraVerticalAdjustmentForRollCage value="0.000000" />
    <PovPassengerCameraOffset x="0.000000" y="0.000000" z="-0.030000" />
    <PovRearPassengerCameraOffset x="0.000000" y="0.010000" z="-0.030000" />
    <vfxInfoName>VFXVEHICLEINFO_CAR_GENERIC</vfxInfoName>
    <shouldUseCinematicViewMode value="true" />
    <shouldCameraTransitionOnClimbUpDown value="false" />
    <shouldCameraIgnoreExiting value="false" />
    <AllowPretendOccupants value="true" />
    <AllowJoyriding value="true" />
    <AllowSundayDriving value="true" />
    <AllowBodyColorMapping value="true" />
    <wheelScale value="0.275200" />
    <wheelScaleRear value="0.275200" />
    <dirtLevelMin value="0.000000" />
    <dirtLevelMax value="0.550000" />
    <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">
    450.000000
    460.000000
    470.000000
    480.000000
    500.000000
    500.000000
    </lodDistances>
    <minSeatHeight value="0.83" />
    <identicalModelSpawnDistance value="20" />
    <maxNumOfSameColor value="10" />
    <defaultBodyHealth value="1000.000000" />
    <pretendOccupantsScale value="1.000000" />
    <visibleSpawnDistScale value="1.000000" />
    <trackerPathWidth value="2.000000" />
    <weaponForceMult value="1.000000" />
    <frequency value="80" />
    <swankness>SWANKNESS_3</swankness>
    <maxNum value="20" />
    <flags>FLAG_PARKING_SENSORS FLAG_RICH_CAR FLAG_SPORTS FLAG_HAS_INTERIOR_EXTRAS FLAG_HAS_BULLET_RESISTANT_GLASS FLAG_HAS_INCREASED_RAMMING_FORCE FLAG_HAS_CAPPED_EXPLOSION_DAMAGE</flags>
    <type>VEHICLE_TYPE_CAR</type>
    <plateType>VPT_FRONT_AND_BACK_PLATES</plateType>
    <dashboardType>VDT_TAILGATER</dashboardType>
    <vehicleClass>VC_SEDAN</vehicleClass>
    <wheelType>VWT_SPORT</wheelType>
    <trailers />
    <additionalTrailers />
    <drivers />
    <extraIncludes />
    <doorsWithCollisionWhenClosed />
    <driveableDoors />
    <bumpersNeedToCollideWithMap value="false" />
    <needsRopeTexture value="false" />
    <requiredExtras />
    <rewards />
    <cinematicPartCamera>
    <Item>WHEEL_FRONT_RIGHT_CAMERA</Item>
    <Item>WHEEL_FRONT_LEFT_CAMERA</Item>
    <Item>WHEEL_REAR_RIGHT_CAMERA</Item>
    <Item>WHEEL_REAR_LEFT_CAMERA</Item>
    </cinematicPartCamera>
    <NmBraceOverrideSet />
    <buoyancySphereOffset x="0.000000" y="0.000000" z="0.000000" />
    <buoyancySphereSizeScale value="1.000000" />
    <pOverrideRagdollThreshold type="NULL" />
    <firstPersonDrivebyData>
    <Item>STD_W140_FRONT_LEFT</Item>
    <Item>STD_W140_FRONT_RIGHT</Item>
    <Item>STD_W140_REAR_LEFT</Item>
    <Item>STD_W140_REAR_RIGHT</Item>
    </firstPersonDrivebyData>
    </Item>
    </InitDatas>

    <txdRelationships>
    <Item>
    <parent>vehicles_schaf_interior</parent>
    <child>w140</child>
    </Item>
    </txdRelationships>

    </CVehicleModelInfo__InitDataList>



  • @hayden9262go
    For bulletproof glass, the vehicle also needs to be edited in some way in ZModeler3.
    Note:
    To edit someone else's model in ZM3, it also needs to be supplied by the original mod author as an unlocked model. If the model is locked, you'll have to contact the original mod author & either, see if they would be willing to add bulletproof glass, or supply you with an unlocked version of the model so you can edit it yourself in ZM3. Also, ZM3 is subscription based, you'll need to pay a monthly fee to use it.



  • aw man didn't know that you also have to edit it in zmodeler 3,thanks for the answer


Log in to reply
 

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