人物PED也就是模型添加式很简单的但还是有人不会所以我出一期教程然后就是服务器直接可以用的音效替换服务端画质还没研究出来所以以后再说
1.我先去5Mods随便下一个模型先 这是正常的PED的模型文件跟车辆一样YTD和YDD和YTF
2.我们需要一个模板例如
3.把模型文件放进stream里然后进入ped.meta编辑
将Name改成模型名称我这里是belle所以我改belle然后将文件夹也改成对应名字其实什么都行然后放到资源文件夹里然后start 添加式PED的名字就行
然后这是__resource.lua
resource_manifest_version '77731fab-63ca-442c-a67b-abc70f28dfa5'
files {
'*.meta',
}
data_file 'PED_METADATA_FILE' '*.meta'
peds.meta
<?xml version="1.0" encoding="UTF-8"?>
<CPedModelInfo__InitDataList>
<InitDatas>
<Item>
<Name>belle</Name>
<ClipDictionaryName>move_f@generic</ClipDictionaryName>
<ExpressionSetName>expr_set_ambient_female</ExpressionSetName>
<Pedtype>CIVFEMALE</Pedtype>
<MovementClipSet>move_f@generic</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_F_GENERIC</DefaultGestureClipSet>
<FacialClipsetGroupName>facial_clipset_group_gen_female</FacialClipsetGroupName>
<DefaultVisemeClipSet>ANIM_GROUP_VISEMES_F_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_FEMALE</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>
1.我先去5Mods随便下一个模型先 这是正常的PED的模型文件跟车辆一样YTD和YDD和YTF
2.我们需要一个模板例如
3.把模型文件放进stream里然后进入ped.meta编辑
将Name改成模型名称我这里是belle所以我改belle然后将文件夹也改成对应名字其实什么都行然后放到资源文件夹里然后start 添加式PED的名字就行
然后这是__resource.lua
resource_manifest_version '77731fab-63ca-442c-a67b-abc70f28dfa5'
files {
'*.meta',
}
data_file 'PED_METADATA_FILE' '*.meta'
peds.meta
<?xml version="1.0" encoding="UTF-8"?>
<CPedModelInfo__InitDataList>
<InitDatas>
<Item>
<Name>belle</Name>
<ClipDictionaryName>move_f@generic</ClipDictionaryName>
<ExpressionSetName>expr_set_ambient_female</ExpressionSetName>
<Pedtype>CIVFEMALE</Pedtype>
<MovementClipSet>move_f@generic</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_F_GENERIC</DefaultGestureClipSet>
<FacialClipsetGroupName>facial_clipset_group_gen_female</FacialClipsetGroupName>
<DefaultVisemeClipSet>ANIM_GROUP_VISEMES_F_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_FEMALE</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>