Quantcast

Jump to content

» «
Photo

GTA IV ped tutorial :)

2 replies to this topic
AlphaWolF_J
  • AlphaWolF_J

    Rat

  • Members
  • Joined: 27 Sep 2011

#1

Posted 04 November 2011 - 11:04 PM

Right im going to offer up some of the experience ive had modding PEDS as it also took me some serious time to get my head around it with a lot of trial & error, and some things ive just had to learn for myself. Yet i keep hearing others struggling with this concept so im willing to tell what ive learned BUT! before you even start STOP!! reading any further
if you haven't already read and understood this tutorial http://www.gtaforums...pic=481411&st=0 because if it wasn't for this i wouldn't know jack sh*t! as i was a total GTA IV modding & 3ds MAX noob so if i can do this they you can too!.

Right PED'S
there are 2 types of peds the common PED & the story type PED.
The story type ped is basically either a clone of the player model or the ones you see in cutscenes they both have compleatly sepatra meshes just like your player model probely because they need to be of a higher quality as they get seen up close more and need to stand up to scrutiny. Either way some have very basic parts (EG) johnny a single mesh for each body part! & some have multiple parts like Tony because they have the ability to change outfits & each multiple of the same mesh is an different item of clothing, Rigging for these is very simple and is where i belive you should start!. check out the johnny ped pic for my idea of simple.
user posted image

Like i said its simple its basically the same way you rig your player model and if you have already have done that its a straight cut a paste method because those meshes are already aligned to fit the story ped perfectly. But what you have to watch out for is the ones with the multiple items of clothing be sure to remember that only those meshes that the game calls to load for that scenario will show up so you can get away with only rigging the _000_ range of files as they are the default ones notice how the head & hands are also in that range. but if you do it like that & that ped is called in a cutscene where he should be wearing one of the other types like _001_ they that just wont show up at all or could cause an issue maybe? But like i said if that ped is just following you around as a bodyguard then the default _000_ files will be just fine.Infact you could even rigg differant clothes to the other number ranges for costume changes.
The short version is that most of the time all of the parts to compleate that outfit/costume are in the same number range. see TONY below.
user posted image

COMMON PEDS'S
This is where it can get confusing belive me ive been there!
Almost all common ped types are lower in number of meshes & have some parts joined that will make a noob scratch there head wondering what to do about that EG: the feet & lower are now one mesh, the head & hands are attacthed.
For the lower its not an issue you simply have to attatch your imported models feet to the legs before you import that model in to the 3ds max scene or you original had one like that you previously divided for the player rigging so you still have a copy of it like that.


Head & hands being attatched is not an issue really one thing ive never done or never will is rigg the hands what is the point in that! hands are hands & no matter how good you are @ it you will never get it as good as the ones in game at holding guns and stuff.

This is what i do!
Import the ped model you want to change and deleate everything apart from the attatched _000_ head n hands then import your custom head in to the scene and attatch it to the head in the same way as you learned in going gods tut, great! now you have a custom head with identical hands attatched just like the ped has, and those hands should rig perfectly as they will be perfectly allinged to the bones envelope's like the ones yor going to replace. So save that file as your new head n hands template.
user posted image
The real problem ive found with common peds is they have more than 1 of the same part just like the tony ped some may be differant clothes some will be differant heads!! ,thats all because these peds are randomly genorated as you drive around and to stop everyone looking like a clone they have differant heads . the problem ive found here is as you never know which head or costume the game engine will call to load & say for exsample you want to change to police models to something fixed then you will have to rig every single head and outfit with the same custom stuff you want or it could be just a randomized mess of parts. I would recomend doing this by attatching it to a part then instantly hiding it so it dose not get confusing or messed up after and you know what part your working on.

you may also notice that there are some low poly meshes these can be identified as ending with _med NOT _high! I belive thes get called to load either on low setting or as the ped is further in the draw distance it switched to the low poly model to save resorses ive seen the helmet on the swat model reapeaar as he was further away because i didnt bother with them, rig em to if in doudt.
user posted image.

Now here comes the fun part !
After your all done rigging everything and you have set all your texture ID;S to 1 on each mesh by going editeble mesh , poly CTRL+A to highlight it all red then set ID TO 1.
then done your material stuff and set each of them ID'S also to 1
it should be time to export the model and if all goes well import it with OPEN IV replacing the original PED wdd then ALSO OPENING THE WTD texture file of the ped and with Edit mode on replace every single texture in it with your custom ped textures to the parts where its needed.
time to test:)))))


One thing i will say before you even do a thing if you want to avoid any silly export errors because i also used to get the gemoerty & dev model rubbish error's, the trick is dont mess with any of that as i find most of it was from importing stuff in to the rigging project dirty AKA not clean in other words your custom mesh you imported had exess rubbish attatched to it like previous dev model, skeleton info basically anything , so before you import that part Make sure you hit that hightlited button to to pen the list selecte everything thats not your mesh ( the circle object!)
and hit the deleate key until all thats in it i that single circle icon , then its good to import to any rigginf project without fear.
user posted image
GOOD LUCK & A PREY THIS HELPS BECAUSE my fingers are now hurting wink.gif
user posted image
user posted image

AlphaWolF_J
  • AlphaWolF_J

    Rat

  • Members
  • Joined: 27 Sep 2011

#2

Posted 07 November 2011 - 11:53 AM

there is a new state trooper in town lol first time ive ever had to rig the hands or it would not have looked right as the arms are quite slim so had to keep models own ones intact.But it worked ok as most ped hands are not as complex as the players ones. This was prob the best rig ive ever done that was near perfect first time apart from me creating a Normal and specular texture and some very small kinks ive yet to start fixing like un-rigging the face bones its a massive sucsess. user posted image.

Burnout3d I would be surprised if the encoded them strippers different as they would have never expected any of these models to be extracted with gims and such, try again maybe you just missed a step IT happens!
do you ever touch the uvw mapping as i never had a successful model load after i did but im a total noob @ it so prob dont know what im doing really.
unless your after removing the mesh bits all you really need to do is a new TEXture and belive me its a cake walk as ive started changing road textures myself to fit with my mod.

boblester122
  • boblester122

    Mod Genius

  • Members
  • Joined: 04 Dec 2010

#3

Posted 19 August 2013 - 09:29 AM

i just wanna ask something. well, actually, I am having problems regarding on PED rigging.
my rig is "good", clean, and has fixed materials (i already turned the material number to 1).
but it crash my game when i am trying to spawn it.
i can make PLAYER rigs based on goin-god's tutorial. i did the same method of rigging on peds like you said.
i could send you my 3ds max 2012 MAX file or the ODR file if you want to consult it.
thank you for your effort making this topic. it will help the other modders.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users