Skip to content
View in the app

A better way to browse. Learn more.

LCPDFR.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Swapping ped heads

Featured Replies

So I got this ped model that I want for the SWAT slot. But I want to keep the SWAT heads as they would fit, but I don't know how to change the head on the skin I downloaded to be the SWAT head. What's the easiest way to do so? :) 

 

1589373698_CaptainPeanut1943LARGEYTBANNER.png.79104fe73ec3398e24c87496b2cebca8.png

  • Replies 37
  • Views 7.4k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

You want to take a look at the tutorial available on LCPDFR:

https://www.lcpdfr.com/page/tutorials/index.action/_/player-ped-modification-tutorials/combining-ped-meshes-how-to-mix-and-match-clothes-for-a-ped-r4

 

All you really need is notepad and OpenIV. All you need to do is change the "head" meshes with the vanilla ones. You'll get used to it.

  • Author

You want to take a look at the tutorial available on LCPDFR:

https://www.lcpdfr.com/page/tutorials/index.action/_/player-ped-modification-tutorials/combining-ped-meshes-how-to-mix-and-match-clothes-for-a-ped-r4

 

All you really need is notepad and OpenIV. All you need to do is change the "head" meshes with the vanilla ones. You'll get used to it.

So I got the head moddel added, but for some reason the skin doesn't work? I've tried renaming it, but it's just pink? 

 

1589373698_CaptainPeanut1943LARGEYTBANNER.png.79104fe73ec3398e24c87496b2cebca8.png

So I got the head moddel added, but for some reason the skin doesn't work? I've tried renaming it, but it's just pink? 

 Under "Shaders 2" of the entry in notepad, have you made the texture names both correct for each head? For example, the black head will have "head_diff_000_a_bla" written there (Or whatever the texture is called). Try that.

  • Author

 Under "Shaders 2" of the entry in notepad, have you made the texture names both correct for each head? For example, the black head will have "head_diff_000_a_bla" written there (Or whatever the texture is called). Try that.

I get what you mean, but either I'm not doing it correctly or it just doesnt work. Don't know what to edit. Also the texture is called head_diff_000_a_bla. Here is the line i copied (original m_y_swat) and pasted into the mesh for the ped skin:

 

 

 

gtaDrawable head_000_u
{
shadinggroup
{
Shaders 2
{
gta_ped.sps head_diff_000_a_UNI head_normal_000 35.00000000 0.20000000 1.00000000;0.00000000;0.00000000 head_spec_000 1.00000000
gta_default.sps head_diff_000_a_UNI
}
}
skel
{
skel m_y_swatm_y_swat.skel
}
lodgroup
{
high 1 m_y_swathead_000_u_high.mesh 0 9999.00000000
med 1 m_y_swathead_000_u_med.mesh 0 9999.00000000
low none 9999.00000000
vlow none 9999.00000000
center -0.00211000 0.02600300 0.13527500
AABBMin -0.60171400 -0.07030900 -0.17783100
AABBMax 0.59790100 0.16044700 0.80799300
radius 0.67349100
}
}

 

1589373698_CaptainPeanut1943LARGEYTBANNER.png.79104fe73ec3398e24c87496b2cebca8.png

 

I get what you mean, but either I'm not doing it correctly or it just doesnt work. Don't know what to edit. Also the texture is called head_diff_000_a_bla. Here is the line i copied (original m_y_swat) and pasted into the mesh for the ped skin:

 

 

 

gtaDrawable head_000_u
{
shadinggroup
{
Shaders 2
{
gta_ped.sps head_diff_000_a_UNI head_normal_000 35.00000000 0.20000000 1.00000000;0.00000000;0.00000000 head_spec_000 1.00000000
gta_default.sps head_diff_000_a_UNI
}
}
skel
{
skel m_y_swatm_y_swat.skel
}
lodgroup
{
high 1 m_y_swathead_000_u_high.mesh 0 9999.00000000
med 1 m_y_swathead_000_u_med.mesh 0 9999.00000000
low none 9999.00000000
vlow none 9999.00000000
center -0.00211000 0.02600300 0.13527500
AABBMin -0.60171400 -0.07030900 -0.17783100
AABBMax 0.59790100 0.16044700 0.80799300
radius 0.67349100
}
}

 

 

Can you post the link to the model? I'll have a quick look at it at it to see what you're seeing.

Edited by Shekure

  • Author

 Just before, can I ask if you replaced the actual mesh files from the download with the ones from vanilla? Just need to clarify.

I believe I did. The correct shape for the head shows up if I view the ped with OpenIV, but it's pink and doesn't have textures. 

 

1589373698_CaptainPeanut1943LARGEYTBANNER.png.79104fe73ec3398e24c87496b2cebca8.png

OK, I have managed to get the model redone. It is attached.

 

Here is the process I followed:

 

1. Make a copy of vanilla files AND the textures and extract them to open formats. Do the same for the mod. rename the mod files "m_y_swat". Make sure the vanilla and mod files are in SEPARATE folders to prevent confusion.

 

2. Open the mod's .odd file (The notepad one) and the vanilla one (Make sure you know which is which).

 

3. Copy and paste the "head" lines from the vanilla file to the mod one.

 

4. Import the vanilla .MESH files from the vanilla "m_y_swat" folder to the mod one.

 

4. Save and close.

 

5. Import the updated mod file through open formats.

 

6. Import ALL textures related to the heads of the swat officers you saved earlier. Delete the old head textures.

 

7. Check the model in Open IV.

 

If you encounter any problems or are unsure, reply and I'll try to help!

Edited by Shekure

  • Author

OK, I have managed to get the model redone. It is attached.

 

Here is the process I followed:

 

1. Make a copy of vanilla files AND the textures and extract them to open formats. Do the same for the mod. rename the mod files "m_y_swat". Make sure the vanilla and mod files are in SEPARATE folders to prevent confusion.

 

2. Open the mod's .odd file (The notepad one) and the vanilla one (Make sure you know which is which).

 

3. Copy and paste the "head" lines from the vanilla file to the mod one.

 

4. Import the vanilla .MESH files from the vanilla "m_y_swat" folder to the mod one.

 

4. Save and close.

 

5. Import the updated mod file through open formats.

 

6. Import ALL textures related to the heads of the swat officers you saved earlier. Delete the old head textures.

 

7. Check the model in Open IV.

 

If you encounter any problems or are unsure, reply and I'll try to help!

When you say copy the vanilla files AND "textures and extract them to open formats." Do you mean that the texture files should be extracted as open formats or just copied?

When you say copy the vanilla files AND "textures and extract them to open formats." Do you mean that the texture files should be extracted as open formats or just copied?

Also, should I edit anything in this line?
 
 
gtaDrawable head_000_u
{
shadinggroup
{
Shaders 2
{
gta_ped.sps head_diff_000_a_blaUNI head_normal_000_a_bla 35.00000000 0.20000000 1.00000000;0.00000000;0.00000000 head_spec_000_a_bla 1.00000000
gta_default.sps head_diff_000_a_blaUNI
}
}

 

1589373698_CaptainPeanut1943LARGEYTBANNER.png.79104fe73ec3398e24c87496b2cebca8.png

 

When you say copy the vanilla files AND "textures and extract them to open formats." Do you mean that the texture files should be extracted as open formats or just copied?

Also, should I edit anything in this line?
 
 
gtaDrawable head_000_u
{
shadinggroup
{
Shaders 2
{
gta_ped.sps head_diff_000_a_blaUNI head_normal_000_a_bla 35.00000000 0.20000000 1.00000000;0.00000000;0.00000000 head_spec_000_a_bla 1.00000000
gta_default.sps head_diff_000_a_blaUNI
}
}

 

 

I mean extract the texture files normally. Just extract the .wdd to openFormats. Should have cleared that up. Yes, you need to remove either "UNI" or "bla". The two are entirely different textures.

Edited by Shekure

  • Author

I mean extract the texture files normally. Just extract the .wdd to openFormats. Should have cleared that up. Yes, you need to remove either "UNI" or "bla". The two are entirely different textures.

For some reason it now says "Fatal error: File "m_y_swat.skel" not found? I did ecactly what I did before.

 

1589373698_CaptainPeanut1943LARGEYTBANNER.png.79104fe73ec3398e24c87496b2cebca8.png

For some reason it now says "Fatal error: File "m_y_swat.skel" not found? I did ecactly what I did before.

 Check the file you modified and make sure that all instances of the head lines with ".skel" are "m_y_swat.skel" and spelled correctly.

Edited by Shekure

  • Author

 Check the file you modified and make sure that all instances of ".skel" or "m_y_swat.skel" and spelled correctly.

I have to go for about an hour, but i'll be back. I might need some more help. If you aren't online anymore today, can you possibly be tomorrow? I would really apreciate it! 

 

1589373698_CaptainPeanut1943LARGEYTBANNER.png.79104fe73ec3398e24c87496b2cebca8.png

I have to go for about an hour, but i'll be back. I might need some more help. If you aren't online anymore today, can you possibly be tomorrow? I would really apreciate it! 

 It's OK. Don't worry.

  • Author

 It's OK. Don't worry.

I don't know what's going on. Now I can't even get the head onto the model. Can you tell me what the files you edited was called? I undertand what I need to do, it's just actually doing it that's difficult. 

 

1589373698_CaptainPeanut1943LARGEYTBANNER.png.79104fe73ec3398e24c87496b2cebca8.png

I don't know what's going on. Now I can't even get the head onto the model. Can you tell me what the files you edited was called? I undertand what I need to do, it's just actually doing it that's difficult. 

 Ok, here is one of the entries that I have:

 
gtaDrawable head_000_u
{
shadinggroup
{
Shaders 2
{
gta_ped.sps head_diff_000_a_UNI head_normal_000 35.00000000 0.20000000 1.00000000;0.00000000;0.00000000 head_spec_000 1.00000000
gta_default.sps head_diff_000_a_UNI
}
}
skel
{
skel m_y_swatm_y_swat.skel
}
lodgroup
{
high 1 m_y_swathead_000_u_high.mesh 0 9999.00000000
med 1 m_y_swathead_000_u_med.mesh 0 9999.00000000
low none 9999.00000000
vlow none 9999.00000000
center -0.00211000 0.02600300 0.13527500
AABBMin -0.60171400 -0.07030900 -0.17783100
AABBMax 0.59790100 0.16044700 0.80799300
radius 0.67349100
}
}

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.