Log in to reply
 

Why does game crash after editing "peds.ymt"?



  • I was trying to change a ped's walkstyle, but game crashes during startup. I then used a backup of said file and the game starts normally. Any ideas how to prevent this?



  • @-EcLiPsE- which ped and what are the changes before and after. Show the code/text please.



  • @JohnFromGWN Hi, sorry for the late reply. Was busy with stuff.
    Here's the text: (before)
    <Item>
    <Name>A_F_Y_EastSA_02</Name>
    <PropsName>A_F_Y_EastSA_02_p</PropsName>
    <ClipDictionaryName>move_f@generic</ClipDictionaryName>
    <BlendShapeFileName>null</BlendShapeFileName>
    <ExpressionSetName>expr_set_ambient_female</ExpressionSetName>
    <ExpressionDictionaryName>null</ExpressionDictionaryName>
    <ExpressionName>null</ExpressionName>
    <Pedtype>CIVFEMALE</Pedtype>
    <MovementClipSet>MOVE_F@GENERIC</MovementClipSet>
    <MovementClipSets>
    <StrafeClipSet>MOVE_PED_STRAFING</StrafeClipSet>
    <MovementToStrafeClipSet>MOVE_PED_TO_STRAFE</MovementToStrafeClipSet>
    <InjuredStrafeClipSet>MOVE_STRAFE_INJURED</InjuredStrafeClipSet>
    <FullBodyDamageClipSet>DAM_KO</FullBodyDamageClipSet>
    <AdditiveDamageClipSet>DAM_AD</AdditiveDamageClipSet>
    <DefaultGestureClipSet>ANIM_GROUP_GESTURE_F_GENERIC</DefaultGestureClipSet>
    <FacialClipsetGroupName>facial_clipset_group_gen_female</FacialClipsetGroupName>
    <DefaultVisemeClipSet>ANIM_GROUP_VISEMES_F_LO</DefaultVisemeClipSet>
    <SidestepClipSet>CLIP_SET_ID_INVALID</SidestepClipSet>
    <PoseMatcherName>Male</PoseMatcherName>
    <PoseMatcherProneName>Male_prone</PoseMatcherProneName>
    <GetupSetHash>NMBS_SLOW_GETUPS</GetupSetHash>
    <CreatureMetadataName>ambientPed_upperWrinkles</CreatureMetadataName>
    <DecisionMakerName>default</DecisionMakerName>
    <MotionTaskDataSetName>STANDARD_PED</MotionTaskDataSetName>
    <DefaultTaskDataSetName>STANDARD_PED</DefaultTaskDataSetName>
    <PedCapsuleName>STANDARD_FEMALE</PedCapsuleName>
    <PedLayoutName/>
    <PedComponentSetName/>
    <PedComponentClothName/>
    <PedIKSettingsName/>
    <TaskDataName/>
    <IsStreamedGfx value="false"/>
    <AmbulanceShouldRespondTo value="true"/>
    <CanRideBikeWithNoHelmet value="false"/>
    <CanSpawnInCar value="true"/>
    <IsHeadBlendPed value="false"/>
    <bOnlyBulkyItemVariations value="false"/>
    <RelationshipGroup>CIVFEMALE</RelationshipGroup>
    <NavCapabilitiesName>STANDARD_PED</NavCapabilitiesName>
    <PerceptionInfo>DEFAULT_PERCEPTION</PerceptionInfo>
    <DefaultBrawlingStyle>BS_AI</DefaultBrawlingStyle>
    <DefaultUnarmedWeapon>WEAPON_UNARMED</DefaultUnarmedWeapon>
    <Personality>YoungAverageWeakWoman</Personality>
    <CombatInfo>default</CombatInfo>
    <VfxInfoName>VFXPEDINFO_HUMAN_GENERIC</VfxInfoName>
    <AmbientClipsForFlee>FLEE</AmbientClipsForFlee>
    <Radio1>RADIO_GENRE_MODERN_HIPHOP</Radio1>
    <Radio2>RADIO_GENRE_DANCE</Radio2>
    <FUpOffset value="0.00000000"/>
    <RUpOffset value="0.00000000"/>
    <FFrontOffset value="0.00000000"/>
    <RFrontOffset value="0.14700000"/>
    <MinActivationImpulse value="20.00000000"/>
    <Stubble value="0.00000000"/>
    <HDDist value="3.00000000"/>
    <TargetingThreatModifier value="1.00000000"/>
    <KilledPerceptionRangeModifer value="-1.00000000"/>
    <Sexiness>SF_HOT_PERSON</Sexiness>
    <Age value="0"/>
    <MaxPassengersInCar value="0"/>
    <ExternallyDrivenDOFs/>
    <PedVoiceGroup>FEMALE_YoungEASTSAGroup_R2PVG</PedVoiceGroup>
    <AnimalAudioObject/>
    <AbilityType>SAT_NONE</AbilityType>
    <ThermalBehaviour>TB_WARM</ThermalBehaviour>
    <SuperlodType>SLOD_HUMAN</SuperlodType>
    <ScenarioPopStreamingSlot>SCENARIO_POP_STREAMING_NORMAL</ScenarioPopStreamingSlot>
    <DefaultSpawningPreference>DSP_NORMAL</DefaultSpawningPreference>
    <DefaultRemoveRangeMultiplier value="1.00000000"/>
    <AllowCloseSpawning value="false"/>
    </Item>

    And here's the text (after)
    <Item>
    <Name>A_F_Y_EastSA_02</Name>
    <PropsName>A_F_Y_EastSA_02_p</PropsName>
    <ClipDictionaryName>move_f@generic</ClipDictionaryName>
    <BlendShapeFileName>null</BlendShapeFileName>
    <ExpressionSetName>expr_set_ambient_female</ExpressionSetName>
    <ExpressionDictionaryName>null</ExpressionDictionaryName>
    <ExpressionName>null</ExpressionName>
    <Pedtype>CIVFEMALE</Pedtype>
    <MovementClipSet>MOVE_F@SEXY@A</MovementClipSet>
    <MovementClipSets>
    <Item>MOVE_F@ARROGANT@A</Item>
    <Item>MOVE_F@SEXY@A</Item>
    </MovementClipSets>
    <StrafeClipSet>MOVE_PED_STRAFING</StrafeClipSet>
    <MovementToStrafeClipSet>MOVE_PED_TO_STRAFE</MovementToStrafeClipSet>
    <InjuredStrafeClipSet>MOVE_STRAFE_INJURED</InjuredStrafeClipSet>
    <FullBodyDamageClipSet>DAM_KO</FullBodyDamageClipSet>
    <AdditiveDamageClipSet>DAM_AD</AdditiveDamageClipSet>
    <DefaultGestureClipSet>ANIM_GROUP_GESTURE_F_GENERIC</DefaultGestureClipSet>
    <FacialClipsetGroupName>facial_clipset_group_gen_female</FacialClipsetGroupName>
    <DefaultVisemeClipSet>ANIM_GROUP_VISEMES_F_LO</DefaultVisemeClipSet>
    <SidestepClipSet>CLIP_SET_ID_INVALID</SidestepClipSet>
    <PoseMatcherName>Male</PoseMatcherName>
    <PoseMatcherProneName>Male_prone</PoseMatcherProneName>
    <GetupSetHash>NMBS_SLOW_GETUPS</GetupSetHash>
    <CreatureMetadataName>ambientPed_upperWrinkles</CreatureMetadataName>
    <DecisionMakerName>default</DecisionMakerName>
    <MotionTaskDataSetName>STANDARD_PED</MotionTaskDataSetName>
    <DefaultTaskDataSetName>STANDARD_PED</DefaultTaskDataSetName>
    <PedCapsuleName>STANDARD_FEMALE</PedCapsuleName>
    <PedLayoutName/>
    <PedComponentSetName/>
    <PedComponentClothName/>
    <PedIKSettingsName/>
    <TaskDataName/>
    <IsStreamedGfx value="false"/>
    <AmbulanceShouldRespondTo value="true"/>
    <CanRideBikeWithNoHelmet value="false"/>
    <CanSpawnInCar value="true"/>
    <IsHeadBlendPed value="false"/>
    <bOnlyBulkyItemVariations value="false"/>
    <RelationshipGroup>CIVFEMALE</RelationshipGroup>
    <NavCapabilitiesName>STANDARD_PED</NavCapabilitiesName>
    <PerceptionInfo>DEFAULT_PERCEPTION</PerceptionInfo>
    <DefaultBrawlingStyle>BS_AI</DefaultBrawlingStyle>
    <DefaultUnarmedWeapon>WEAPON_UNARMED</DefaultUnarmedWeapon>
    <Personality>YoungAverageWeakWoman</Personality>
    <CombatInfo>default</CombatInfo>
    <VfxInfoName>VFXPEDINFO_HUMAN_GENERIC</VfxInfoName>
    <AmbientClipsForFlee>FLEE</AmbientClipsForFlee>
    <Radio1>RADIO_GENRE_MODERN_HIPHOP</Radio1>
    <Radio2>RADIO_GENRE_DANCE</Radio2>
    <FUpOffset value="0.00000000"/>
    <RUpOffset value="0.00000000"/>
    <FFrontOffset value="0.00000000"/>
    <RFrontOffset value="0.14700000"/>
    <MinActivationImpulse value="20.00000000"/>
    <Stubble value="0.00000000"/>
    <HDDist value="3.00000000"/>
    <TargetingThreatModifier value="1.00000000"/>
    <KilledPerceptionRangeModifer value="-1.00000000"/>
    <Sexiness>SF_HOT_PERSON</Sexiness>
    <Age value="0"/>
    <MaxPassengersInCar value="0"/>
    <ExternallyDrivenDOFs/>
    <PedVoiceGroup>FEMALE_YoungEASTSAGroup_R2PVG</PedVoiceGroup>
    <AnimalAudioObject/>
    <AbilityType>SAT_NONE</AbilityType>
    <ThermalBehaviour>TB_WARM</ThermalBehaviour>
    <SuperlodType>SLOD_HUMAN</SuperlodType>
    <ScenarioPopStreamingSlot>SCENARIO_POP_STREAMING_NORMAL</ScenarioPopStreamingSlot>
    <DefaultSpawningPreference>DSP_NORMAL</DefaultSpawningPreference>
    <DefaultRemoveRangeMultiplier value="1.00000000"/>
    <AllowCloseSpawning value="false"/>
    </Item>

    The difference is the "MovementClipSets".



  • @-EcLiPsE-

    These are the differences, and I don't have an answer but this is what you might want to check:

    1. You have a close tag on the MovementClipSets, the original doesn't use one but it doesn't have the 2 items you added.
    2. The 2 items you added, are they possibly in conflict. And do you have the syntax rules?

    <Item>MOVE_F@ARROGANT@A</Item>
    <Item>MOVE_F@SEXY@A</Item>
    </MovementClipSets>



  • Usually OpenIV gives me a warning saying I made an error, it didn't when I saved the ymt. I'll check once more.
    And I did try to replace just the one movement set instead, but no dice.



  • @EcLiPsE

    I put this into 'peds.ymt' & the game loaded no problem :thumbsup:

        <Item>
          <Name>A_F_Y_EastSA_02</Name>
          <PropsName>A_F_Y_EastSA_02_p</PropsName>
          <ClipDictionaryName>move_f@generic</ClipDictionaryName>
          <BlendShapeFileName>null</BlendShapeFileName>
          <ExpressionSetName>expr_set_ambient_female</ExpressionSetName>
          <ExpressionDictionaryName>null</ExpressionDictionaryName>
          <ExpressionName>null</ExpressionName>
          <Pedtype>CIVFEMALE</Pedtype>
          <MovementClipSet>MOVE_F@SEXY@A</MovementClipSet>
          <MovementClipSets>
            <Item>MOVE_F@SEXY@A</Item> <!-- swapped order here... -->
            <Item>MOVE_F@ARROGANT@A</Item> <!-- ...to here (& vice versa) -->
          </MovementClipSets>
          <StrafeClipSet>MOVE_PED_STRAFING</StrafeClipSet>
          <MovementToStrafeClipSet>MOVE_PED_TO_STRAFE</MovementToStrafeClipSet>
          <InjuredStrafeClipSet>MOVE_STRAFE_INJURED</InjuredStrafeClipSet>
          <FullBodyDamageClipSet>DAM_KO</FullBodyDamageClipSet>
          <AdditiveDamageClipSet>DAM_AD</AdditiveDamageClipSet>
          <DefaultGestureClipSet>ANIM_GROUP_GESTURE_F_GENERIC</DefaultGestureClipSet>
          <FacialClipsetGroupName>facial_clipset_group_gen_female</FacialClipsetGroupName>
          <DefaultVisemeClipSet>ANIM_GROUP_VISEMES_F_LO</DefaultVisemeClipSet>
          <SidestepClipSet>CLIP_SET_ID_INVALID</SidestepClipSet>
          <PoseMatcherName>Male</PoseMatcherName>
          <PoseMatcherProneName>Male_prone</PoseMatcherProneName>
          <GetupSetHash>NMBS_SLOW_GETUPS</GetupSetHash>
          <CreatureMetadataName>ambientPed_upperWrinkles</CreatureMetadataName>
          <DecisionMakerName>default</DecisionMakerName>
          <MotionTaskDataSetName>STANDARD_PED</MotionTaskDataSetName>
          <DefaultTaskDataSetName>STANDARD_PED</DefaultTaskDataSetName>
          <PedCapsuleName>STANDARD_FEMALE</PedCapsuleName>
          <PedLayoutName/>
          <PedComponentSetName/>
          <PedComponentClothName/>
          <PedIKSettingsName/>
          <TaskDataName/>
          <IsStreamedGfx value="false"/>
          <AmbulanceShouldRespondTo value="true"/>
          <CanRideBikeWithNoHelmet value="false"/>
          <CanSpawnInCar value="true"/>
          <IsHeadBlendPed value="false"/>
          <bOnlyBulkyItemVariations value="false"/>
          <RelationshipGroup>CIVFEMALE</RelationshipGroup>
          <NavCapabilitiesName>STANDARD_PED</NavCapabilitiesName>
          <PerceptionInfo>DEFAULT_PERCEPTION</PerceptionInfo>
          <DefaultBrawlingStyle>BS_AI</DefaultBrawlingStyle>
          <DefaultUnarmedWeapon>WEAPON_UNARMED</DefaultUnarmedWeapon>
          <Personality>YoungAverageWeakWoman</Personality>
          <CombatInfo>default</CombatInfo>
          <VfxInfoName>VFXPEDINFO_HUMAN_GENERIC</VfxInfoName>
          <AmbientClipsForFlee>FLEE</AmbientClipsForFlee>
          <Radio1>RADIO_GENRE_MODERN_HIPHOP</Radio1>
          <Radio2>RADIO_GENRE_DANCE</Radio2>
          <FUpOffset value="0.00000000"/>
          <RUpOffset value="0.00000000"/>
          <FFrontOffset value="0.00000000"/>
          <RFrontOffset value="0.14700000"/>
          <MinActivationImpulse value="20.00000000"/>
          <Stubble value="0.00000000"/>
          <HDDist value="3.00000000"/>
          <TargetingThreatModifier value="1.00000000"/>
          <KilledPerceptionRangeModifer value="-1.00000000"/>
          <Sexiness>SF_HOT_PERSON</Sexiness>
          <Age value="0"/>
          <MaxPassengersInCar value="0"/>
          <ExternallyDrivenDOFs/>
          <PedVoiceGroup>FEMALE_YoungEASTSAGroup_R2PVG</PedVoiceGroup>
          <AnimalAudioObject/>
          <AbilityType>SAT_NONE</AbilityType>
          <ThermalBehaviour>TB_WARM</ThermalBehaviour>
          <SuperlodType>SLOD_HUMAN</SuperlodType>
          <ScenarioPopStreamingSlot>SCENARIO_POP_STREAMING_NORMAL</ScenarioPopStreamingSlot>
          <DefaultSpawningPreference>DSP_NORMAL</DefaultSpawningPreference>
          <DefaultRemoveRangeMultiplier value="1.00000000"/>
          <AllowCloseSpawning value="false"/>
        </Item>
    

    The only difference I can see is that I followed the vanilla examples & put the 'MOVE_F@SEXY@A' from the '<MovementClipSet>' line first in the '<MovementClipSets>' list. I'm not confident that's explicitly required, but it's the only difference between your example & mine. Copy & paste mine into your 'peds.ymt' & see what happens?

    If that doesn't work, try changing the way you edit 'peds.ymt'. For example, don't edit it within OpenIV, instead export it & edit it with an external text editor (or vice versa etc).

    I've found OpenIV to be occasionally funky when importing/saving '.ymt' files, so have moved to a process of decrypting the file once (either use OpenIV's 'Export to META/XML...' & then rename it to 'peds.ymt' or just copy all the data from within 'peds.ymt' in OpenIV into a blank '.txt' file & save & rename it to 'peds.ymt'), then just use drag & drop to move it in & out of OpenIV & edit with an external text editor. The '.ymt' will remain permanently decrypted from then on & act just like any other '.meta' etc file. I haven't had a single issue with editing any '.ymt' after implementing that policy, so possibly something to be aware of if you coninue to have (occasional) issues with '.ymt' files using the way you have been editing them etc.

    Username/Notifications:
    If you have any issues being notified of replies, it's the first dash symbol in your username. The site doesn't like it as a first character & removes the auto-generated hyperlink & thus the notification etc.

    Example:

    @EcLiPsE (works)

    @EcLiPsE- (works)

    @-EcLiPsE- (doesn't work)

    Here on the forum it's usually fine, as you'll get a 'person replyed to a thread you commented in' notification anyway, but if someone messages you on the main site (like in a mods comments section) you may not get that notification (unless they know & manually edit your username, although I think it works automatically sometimes). You can request a username change if it bugs you/main site message notifications are important to you etc. :thumbsup:



  • @a63nt-5m1th It worked! What I did was dragged "peds.ymt" to my desktop then exported it again via OpenIV. Copied and pasted all data from the exported file to the one I dropped to desktop. And dragged to OpenIV. Loaded the game and no crash! Thanks for helping me out on this!



  • @EcLiPsE
    No probs, glad it worked :slight_smile: :thumbsup:


Log in to reply
 

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