Jump to content
    1. Welcome to GTAForums!

    1. GTANet.com

    1. GTA Online

      1. The Criminal Enterprises
      2. Updates
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Red Dead Online

      1. Blood Money
      2. Frontier Pursuits
      3. Find Lobbies & Outlaws
      4. Help & Support
    3. Crews

    1. Grand Theft Auto Series

      1. Bugs*
      2. St. Andrews Cathedral
    2. GTA VI

    3. GTA V

      1. Guides & Strategies
      2. Help & Support
    4. GTA IV

      1. The Lost and Damned
      2. The Ballad of Gay Tony
      3. Guides & Strategies
      4. Help & Support
    5. GTA San Andreas

      1. Classic GTA SA
      2. Guides & Strategies
      3. Help & Support
    6. GTA Vice City

      1. Classic GTA VC
      2. Guides & Strategies
      3. Help & Support
    7. GTA III

      1. Classic GTA III
      2. Guides & Strategies
      3. Help & Support
    8. Portable Games

      1. GTA Chinatown Wars
      2. GTA Vice City Stories
      3. GTA Liberty City Stories
    9. Top-Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    1. Red Dead Redemption 2

      1. PC
      2. Help & Support
    2. Red Dead Redemption

    1. GTA Mods

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Red Dead Mods

      1. Documentation
    3. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    4. Featured Mods

      1. Design Your Own Mission
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Rockstar Games

    2. Rockstar Collectors

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Movies & TV
      5. Music
      6. Sports
      7. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    1. Announcements

    2. Support

    3. Suggestions

*DO NOT* SHARE MEDIA OR LINKS TO LEAKED COPYRIGHTED MATERIAL. Discussion is allowed.

GTA 5 - how add new peds without replacing originals?


Zhora777
 Share

Recommended Posts

Hello everyone There are many mods for skin /peds that bring variety to the game. But all I could find was replacing the existing peds or adding a separate skin for myself.


It seems to me that it should be possible to add new peds without replacing the original ones, but so that the new peds appear together with the original ones on the streets. 

Has anyone encountered a solution to a similar problem?

Link to comment
Share on other sites

5 minutes ago, Zhora777 said:

It seems to me that it should be possible to add new peds without replacing the original ones, but so that the new peds appear together with the original ones on the streets. 

Has anyone encountered a solution to a similar problem?

 

Add them as addon peds and then add the model names to the popgroups.ymt file to make them spawn like other peds.

Link to comment
Share on other sites

Apparently I missed something, because I got a crash from the game during loading. I will write the algorithm of my actions, maybe there is a mistake in them.....

1. Installed a clean GTA.
2. Installed OpenIV, enabled ASI Loader in the settings + OpenIV.ASI. Created the MODS folder.
3. I found "popgroups.ymt" by searching, there were 3 of them, in two of them there were lines of interest to me. I chose to work with the file "popgroups.ymt" at the address "GTA5/update/update.rtf". Copied it to the MODS folder.
4. Then I started editing "popgroups.ymt" (in the MODS folder)

<flags>POPGROUP_SCENARIO POPGROUP_AMBIENT</flags>
    </Item>
    <Item>
      <Name>Pacific_Bluffs_StreetGeneral</Name>
      <models>
        <Item>
          <Name>a_f_m_tourist_01</Name>
          <Variations type="NULL"/>
        </Item>
        <Item>
          <Name>a_f_y_tourist_01</Name>
          <Variations type="NULL"/>
        </Item>
        <Item>
          <Name>a_f_y_tourist_02</Name>
          <Variations type="NULL"/>
        </Item>

        <Item>

          <Name>a_f_y_tourist_03</Name>
          <Variations type="NULL"/>
        </Item>

 

above I highlighted the lines that I added.

5. Next, I opened the file "mppatches.rpf" which I also copied to the MODS folder "GTA\mods\update\x64\dlcpacks\mppatchesng\dlc.rpf\x64\models\cdimages\mppatches.rpf" And added the files there: a_f_y_tourist_03.ydd + a_f_y_tourist_03.yft + a_f_y_tourist_03.ymt + a_f_y_tourist_03.ytd
6. Defragmented the archive and started the game. The game crashed. What was I doing wrong?

 

 

p.s.
When I deleted my part of the code and renamed the model "a_f_y_tourist_01", it was installed into the game without any problems, but with the replacement of the original file...

Edited by Zhora777
Link to comment
Share on other sites

2 hours ago, Zhora777 said:

5. Next, I opened the file "mppatches.rpf" which I also copied to the MODS folder "GTA\mods\update\x64\dlcpacks\mppatchesng\dlc.rpf\x64\models\cdimages\mppatches.rpf" And added the files there: a_f_y_tourist_03.ydd + a_f_y_tourist_03.yft + a_f_y_tourist_03.ymt + a_f_y_tourist_03.ytd
6. Defragmented the archive and started the game. The game crashed. What was I doing wrong?

 

Did you add any entries in peds.meta for the new ped?

 

It's probably easier to make your own addon pack for peds to be honest because you can see just the files that apply to the peds you are working with. They're a lot simpler than addon cars as well because peds don't need as many meta files as vehicles, you only need peds.meta.

Link to comment
Share on other sites

I did it!... I don't understand how and I'm not sure if I did everything right, but it worked out. So what I did (it's all in the MODS folder):

1. I found "v_heist1.rpf", which was in "\Grand Theft Auto V\mods\update\x64\dlcpacks\mpheist\dlc.rpf\x64\levels\gta5\props\v_heist1.rpf", I opened it and threw 4 files there (xxx.ydd, xxx.yft, xxx.ymt, xxx.ytd)

2. Then I opened the file "peds.meta", which is located "\Grand Theft Auto V\mods\update\x64\dlcpacks\mpheist\dlc.rpf\common\data" and copied the top code sample from the list there, replacing only the name with my own, it turned out like this:

Spoiler

<Item>

      <Name>XXX</Name>

      <PropsName>null</PropsName>

      <ClipDictionaryName>[email protected]</ClipDictionaryName>

      <BlendShapeFileName>null</BlendShapeFileName>

      <ExpressionSetName>expr_set_ambient_female</ExpressionSetName>

      <ExpressionDictionaryName>null</ExpressionDictionaryName>

      <ExpressionName>null</ExpressionName>

      <Pedtype>CIVFEMALE</Pedtype>

      <MovementClipSet>[email protected]@a</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>

      <SidestepClipSet>CLIP_SET_ID_INVALID</SidestepClipSet>

      <PoseMatcherName>Male</PoseMatcherName>

      <PoseMatcherProneName>Male_prone</PoseMatcherProneName>

      <GetupSetHash>NMBS_SLOW_GETUPS</GetupSetHash>

      <CreatureMetadataName>null</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>FitnessFemale</Personality>

      <CombatInfo>DEFAULT</CombatInfo>

      <VfxInfoName>VFXPEDINFO_HUMAN_GENERIC</VfxInfoName>

      <AmbientClipsForFlee>FLEE</AmbientClipsForFlee>

      <Radio1>RADIO_GENRE_SURF</Radio1>

      <Radio2>RADIO_GENRE_REGGAE</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="3.000000" />

      <TargetingThreatModifier value="1.000000" />

      <KilledPerceptionRangeModifer value="-1.000000" />

      <Sexiness>SF_HOT_PERSON</Sexiness>

      <Age value="0" />

      <MaxPassengersInCar value="0" />

      <ExternallyDrivenDOFs />

      <PedVoiceGroup>SILENT_PVG</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>

         

3. Then I edited the file “popgroups.ymt” which is located at “\Grand Theft Auto V\mods\update\update.rpf\x64\levels\gta5". I added the following there:

 

      <flags>POPGROUP_SCENARIO POPGROUP_AMBIENT</flags>

    </Item>

    <Item>

      <Name>Del_Perro_StreetGeneral</Name>

      <models>

        <Item>

          <Name>a_f_m_tourist_01</Name>

          <Variations type="NULL"/>

        </Item>

        <Item>

          <Name>a_f_y_tourist_01</Name>

          <Variations type="NULL"/>

        </Item>

        <Item>

          <Name>a_f_y_tourist_02</Name>

          <Variations type="NULL"/>

        </Item>

        <Item>

          <Name>XXX</Name>

          <Variations type="NULL"/>

        </Item>

 

I did not choose the location "Del_Perro_StreetGeneral" by chance, I now have a save in the game there, and immediately after loading the game I began to run and look for my Ped.

Maybe I made a mistake somewhere, or forgot to add something. I'm not sure that I filled out "peds.meta" correctly, but I'm so happy with the result!

 

Can you suggest recommendations, what else can be improved? I think this can do everything in a separate archive like "v_heist 1.rpf", but I do not know how to do it....

Edited by Zhora777
Link to comment
Share on other sites

10 hours ago, Zhora777 said:

Can you suggest recommendations, what else can be improved? I think this can do everything in a separate archive like "v_heist 1.rpf", but I do not know how to do it....

 

This is a link to a barebones addon peds pack.


https://drive.google.com/file/d/1HLAm28BGGNJKjTEojRtrTU1cwhRoT2hR/view?usp=sharing

 

Make sure when you unzip it that you copy the file/folders as MyPeds\dlc.rpf and not MyPeds\MyPeds\dlc.rpf into your mods folder.

 

Put any models in x64\models\cdimages\newpeds.rpf

 

peds.meta is in common\data

 

Add a line to your dlclist.xml

 

<Item>dlcpacks:/mypeds/</Item>

 

And you should be good to go.

 

Edit the popgroups.ymt file in the location you have already used, that has to stay there.

 

I think that should be correct, I don't play the game now so I am relying on memory... but given my memory problems, it might not be 100% correct. But keeping any addon peds in that dlc will just keep things more organised than putting files into the normal game rpf files.

Link to comment
Share on other sites

Thank you very much! I will definitely try it now!

 

p.s. if someone comes across the same question as me, the following may be useful - in the code that I specified for "peds.meta" there is a line <PedVoiceGroup>SILENT_PVG</PedVoiceGroup> with this line, your ped will be silent. If you want to add a voice to him, change it in this line to another one.
I also warn you that XXX is just an example where you have to enter your name.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • 1 User Currently Viewing
    0 members, 0 Anonymous, 1 Guest

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.