Anyone know how to set custom classes for peds?
-
How do I define a class for a certain ped with custompeds? (example: [classname])
<LoadOuts>
<Item>
<Name>[CLASSNAME]</Name>
<Items>
<Item type="CLoadOutWeapon">
<WeaponName>WEAPON_UNARMED</WeaponName>
<Ammo value="0" />
<Flags />
<ComponentNames />
</Item>
</Items>
</Item>
-
@DarkXSeries7 If I understand you correctly, you created a Custom Loadout and want some of your peds use this spesific Loadout right?
If so, it can be assigned to those peds through pedpersonality.ymt .
- Create a new Personality.
- Assign your custom Loadout.
- Then in the peds.ymt/meta file that has the info for your ped, give them to this Personality.