[HELP] Invisible Custom PED

Hi everyone, I have a problem with Custom PEDs. I think I stream them correctly but they are invisible in game! what could it depend on? Has anyone ever had this happen and managed to resolve it?

Immagine

In the image a screenshot of how the directory is structured. The peds.meta file contains this:

<?xml version="1.0" encoding="UTF-8"?>
<CPedModelInfo__InitDataList>
   <InitDatas>
   <Item>
         <Name>elgigante</Name>
         <ClipDictionaryName>move_m@generic</ClipDictionaryName>
         <ExpressionSetName>expr_set_ambient_male</ExpressionSetName>
         <Pedtype>CIVMALE</Pedtype>
         <MovementClipSet>move_m@business@c</MovementClipSet>
         <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_M_GENERIC</DefaultGestureClipSet>
         <FacialClipsetGroupName>facial_clipset_group_gen_male</FacialClipsetGroupName>
         <DefaultVisemeClipSet>ANIM_GROUP_VISEMES_M_LO</DefaultVisemeClipSet>
         <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_MALE</PedCapsuleName>
         <RelationshipGroup>CIVMALE</RelationshipGroup>
         <NavCapabilitiesName>STANDARD_PED</NavCapabilitiesName>
         <PerceptionInfo>DEFAULT_PERCEPTION</PerceptionInfo>
         <DefaultBrawlingStyle>BS_AI</DefaultBrawlingStyle>
         <DefaultUnarmedWeapon>WEAPON_UNARMED</DefaultUnarmedWeapon>
         <Personality>SERVICEMALES</Personality>
         <CombatInfo>DEFAULT</CombatInfo>
         <VfxInfoName>VFXPEDINFO_HUMAN_GENERIC</VfxInfoName>
         <AmbientClipsForFlee>FLEE</AmbientClipsForFlee>
         <AbilityType>SAT_NONE</AbilityType>
         <ThermalBehaviour>TB_WARM</ThermalBehaviour>
         <SuperlodType>SLOD_HUMAN</SuperlodType>
         <ScenarioPopStreamingSlot>SCENARIO_POP_STREAMING_NORMAL</ScenarioPopStreamingSlot>
         <DefaultSpawningPreference>DSP_NORMAL</DefaultSpawningPreference>
         <IsStreamedGfx value="true" />
      </Item>
   </InitDatas>
</CPedModelInfo__InitDataList>

while here the contents of the __resource.lua file (I also tried to replace it with the fxmanifest.lua file without success! The PEDs are invisible anyway)

resource_manifest_version '77731fab-63ca-442c-a67b-abc70f28dfa5'

files {
'peds.meta'
}

data_file 'PED_METADATA_FILE' 'peds.meta'

Did you make the ped? If not, could you proivde a download link for the ped?

ilgigante.zip (1.2 MB)

Sure! Here’s the PED!

Seems to work fine for me?
The only difference between my peds.meta and yours is the <IsStreamedGfx value="false" /> line which is set to true in yours, so maybe that could be it.

fxmanifest.lua

fx_version "cerulean"
games {"gta5"}

files {
	"peds.meta"
}

data_file "PED_METADATA_FILE" "peds.meta"

peds.meta

<?xml version="1.0" encoding="UTF-8"?>
<CPedModelInfo__InitDataList>
   <InitDatas>
	  <Item>
         <Name>elgigante</Name>
         <ClipDictionaryName>move_m@generic</ClipDictionaryName>
         <ExpressionSetName>expr_set_ambient_male</ExpressionSetName>
         <Pedtype>CIVMALE</Pedtype>
         <MovementClipSet>move_m@business@c</MovementClipSet>
         <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_M_GENERIC</DefaultGestureClipSet>
         <FacialClipsetGroupName>facial_clipset_group_gen_male</FacialClipsetGroupName>
         <DefaultVisemeClipSet>ANIM_GROUP_VISEMES_M_LO</DefaultVisemeClipSet>
         <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_MALE</PedCapsuleName>
         <RelationshipGroup>CIVMALE</RelationshipGroup>
         <NavCapabilitiesName>STANDARD_PED</NavCapabilitiesName>
         <PerceptionInfo>DEFAULT_PERCEPTION</PerceptionInfo>
         <DefaultBrawlingStyle>BS_AI</DefaultBrawlingStyle>
         <DefaultUnarmedWeapon>WEAPON_UNARMED</DefaultUnarmedWeapon>
         <Personality>SERVICEMALES</Personality>
         <CombatInfo>DEFAULT</CombatInfo>
         <VfxInfoName>VFXPEDINFO_HUMAN_GENERIC</VfxInfoName>
         <AmbientClipsForFlee>FLEE</AmbientClipsForFlee>
         <AbilityType>SAT_NONE</AbilityType>
         <ThermalBehaviour>TB_WARM</ThermalBehaviour>
         <SuperlodType>SLOD_HUMAN</SuperlodType>
         <ScenarioPopStreamingSlot>SCENARIO_POP_STREAMING_NORMAL</ScenarioPopStreamingSlot>
         <DefaultSpawningPreference>DSP_NORMAL</DefaultSpawningPreference>
         <IsStreamedGfx value="false" />
      </Item>
   </InitDatas>
</CPedModelInfo__InitDataList>

the other difference is the fxmanifest.lua file instead of __resource.lua!!! Problem solved thank you very much!

1 Like