Streaming Jason Voorhees as a custom ped

I was hoping someone would be able to help with the issue I am facing:

I followed the tutorial to stream the custom ped, made the folder with the ped.meta file and made sure the ped name was correct in it.

However, when I am spawning the ped, it turns into a squid with broken legs for some odd reason.

client.lua

RegisterCommand("spawnjason", function(source)
    Jason()
end)

Jason = function()
	local hash = GetHashKey("mp_m_famdd_01")
	while not HasModelLoaded( hash ) do
		RequestModel( hash )
		Wait(20)
	end
	local pos =  GetEntityCoords(GetPlayerPed(-1))
	local ped =  CreatePed(4, hash, pos.x, pos.y, pos.z+1, 0.0, true, true)
	SetBlockingOfNonTemporaryEvents(ped, true)
	SetPedCombatAttributes(ped, 46, true)
	SetPedFleeAttributes(ped, 0, 0)
end

peds.meta

https://pastebin.com/0pMRjXQy

Made sure that the foldername inside the resource is also called mp_m_famdd_01

Resource used for Jason:

Where did I go wrong and how to fix it ?

Is there really no one who has a clue how to fix this ?

Seems no one really has an idea how to make this work, closing this thread

Did you also add the correct data files directive in your resource file? I used to stream custom peds myself, sometimes textures just break and thats how it is.

Data Files

PED_METADATA_FILE

My __resource.lua

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

files {
	'data/peds.meta',
}

data_file 'PED_METADATA_FILE' 'data/peds.meta'

My peds.meta file

<?xml version="1.0" encoding="UTF-8"?>
<CPedModelInfo__InitDataList>
    <residentTxd>comp_peds_generic</residentTxd>
    <residentAnims />
    <InitDatas>
        <Item>
            <Name>mp_m_famdd_01</Name>
            <PropsName>mp_m_famdd_01_p</PropsName>
            <ClipDictionaryName>move_m@generic</ClipDictionaryName>
            <BlendShapeFileName>null</BlendShapeFileName>
            <ExpressionSetName>expr_set_ambient_male</ExpressionSetName>
            <ExpressionDictionaryName>null</ExpressionDictionaryName>
            <ExpressionName>null</ExpressionName>
            <Pedtype>COP</Pedtype>
            <MovementClipSet>move_m@business@c</MovementClipSet>
            <StrafeClipSet>move_strafe@cop</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>
            <SidestepClipSet>CLIP_SET_ID_INVALID</SidestepClipSet>
            <PoseMatcherName>Male</PoseMatcherName>
            <PoseMatcherProneName>Male_prone</PoseMatcherProneName>
            <GetupSetHash>NMBS_SLOW_GETUPS</GetupSetHash>
            <CreatureMetadataName>null</CreatureMetadataName>
            <DecisionMakerName>COP</DecisionMakerName>
            <MotionTaskDataSetName>STANDARD_PED</MotionTaskDataSetName>
            <DefaultTaskDataSetName>STANDARD_PED</DefaultTaskDataSetName>
            <PedCapsuleName>STANDARD_MALE</PedCapsuleName>
            <IsStreamedGfx value="false" />
            <AmbulanceShouldRespondTo value="true" />
            <CanRideBikeWithNoHelmet value="false" />
            <CanSpawnInCar value="false" />
            <IsHeadBlendPed value="false" />
            <bOnlyBulkyItemVariations value="false" />
            <RelationshipGroup>COP</RelationshipGroup>
            <NavCapabilitiesName>STANDARD_PED</NavCapabilitiesName>
            <PerceptionInfo>DEFAULT_PERCEPTION</PerceptionInfo>
            <DefaultBrawlingStyle>BS_AI</DefaultBrawlingStyle>
            <DefaultUnarmedWeapon>WEAPON_UNARMED</DefaultUnarmedWeapon>
            <Personality>police</Personality>
            <CombatInfo>DEFAULT</CombatInfo>
            <VfxInfoName>VFXPEDINFO_HUMAN_GENERIC</VfxInfoName>
            <AmbientClipsForFlee>FLEE</AmbientClipsForFlee>
            <Radio1>RADIO_GENRE_CLASSIC_ROCK</Radio1>
            <Radio2>RADIO_GENRE_RIGHT_WING_TALK</Radio2>
            <FUpOffset value="0.000000" />
            <RUpOffset value="0.000000" />
            <FFrontOffset value="0.000000" />
            <RFrontOffset value="0.147000" />
            <MinActivationImpulse value="20.000000" />
            <Stubble value="0.000000" />
            <HDDist value="0.000000" />
            <TargetingThreatModifier value="1.000000" />
            <KilledPerceptionRangeModifer value="-1.000000" />
            <Age value="0" />
            <MaxPassengersInCar value="0" />
            <ExternallyDrivenDOFs />
            <PedVoiceGroup>S_M_Y_SHERIFF_01_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.000000" />
            <AllowCloseSpawning value="false" />
        </Item>
    </InitDatas>
    <multiTxdRelationships />
</CPedModelInfo__InitDataList>

And the files I grabbed from that link I posted earlier, renamed them to mp_m_famdd_01.ydd, mp_m_famdd_01.yft, mp_m_famdd_01.ymt and mp_m_famdd_01.ytd

Where did you get peds.meta file?

Try this one, I altered it for you: https://pastebin.com/gnN3FAzM

I got the peds.meta file from a topic here on the forum that pointed to a pastebin with that data

But he looks better then he did before, might have to go through all the files to see what’s missing on the body

You probably have to get the correct values for that ped and put them into the relevant sections in the metafile.

That is what the stream folder looks like

Maybe you could try replacing a ped instead? Or save yourself some headache and find another custom ped that works better with FiveM.