GTA V character (Player, NPC) modding

GTA:V Modding with ZModeler3 discussion.

Moderator: madga182

Re: GTA V character (Player, NPC) modding

Postby Oleg » Fri May 26, 2017 10:03 pm

i still think it relates to game wetness simulation that I don't know much of. the only idea on this is an import/export of original player model shows no problem with this issue, assuming, this is not a bug or missing feature of an exporter, rather than something is not set up properly on a model/geometry.
User avatar
Oleg
Site Admin
 
Posts: 7578
Joined: Fri Feb 06, 2004 3:54 am

Re: GTA V character (Player, NPC) modding

Postby jeffrey9090 » Sat May 27, 2017 6:35 am

This are the properties of the mesh. It looks normal to me.
Attachments
Capture.PNG
jeffrey9090
Beginner
 
Posts: 137
Joined: Sat Oct 31, 2015 3:52 pm

Re: GTA V character (Player, NPC) modding

Postby jeffrey9090 » Sat May 27, 2017 6:51 am

The odd thing is that I deselected everything in formats and enabled them once more(which includes the Max Rig Bones and Uv Channels) and it seems to work better somehow. The shinyness still occurs, but just at some perspectives and angles of the game. It seems to enable itself at some points and if the model moves to a different position, or angle, the shinyness goes away. Odd...
jeffrey9090
Beginner
 
Posts: 137
Joined: Sat Oct 31, 2015 3:52 pm

Re: GTA V character (Player, NPC) modding

Postby jeffrey9090 » Sat May 27, 2017 7:55 am

The odd thing is that the shading bug will never appear on npc models, nomatter what time I wait.
jeffrey9090
Beginner
 
Posts: 137
Joined: Sat Oct 31, 2015 3:52 pm

Re: GTA V character (Player, NPC) modding

Postby jeffrey9090 » Sat May 27, 2017 10:03 am

Nevermind. It still has the bug.
jeffrey9090
Beginner
 
Posts: 137
Joined: Sat Oct 31, 2015 3:52 pm

Re: GTA V character (Player, NPC) modding

Postby Infinitras » Sun May 28, 2017 4:00 am

Hey Guys!

A few days ago i started to convert a Model to GTA V with Zmod3 with the Tutorial from Quechus13.
But everytime i want to spawn the Ped ingame the game Crashes.
I started from Scratch the third time and all i got is a crash ^^

So i decided to ask the Community for helping me out and hopefully somone could explain me what i did wrong.

Here are the Files for Zmodeler3:

https://mega.nz/#!mEwihAxa!-EU0Jvh1oKLqjiUD8gxXwAkGKQQ3uObA1dJ9KEz_D1U

Image

Maybe somone of you can help me :) Pls send me a message if you can help.

Thanks to everyone whos gonna try it! ^_^

Greetings,
Infinitras
Infinitras
 
Posts: 2
Joined: Tue Aug 11, 2015 7:50 am

Re: GTA V character (Player, NPC) modding

Postby Secret888Girl » Fri Jun 16, 2017 4:00 am

Hi all.
I want to replace the model in GTA 5.
Do everything in this video: https://www.youtube.com/watch?v=86LyaL4qi3c

But in the game the model is inaccurate, and while walking or running behind to stretch the texture.
Please tell me how to fix it.
Attachments
Screenshot_4.png
how to fix it???
User avatar
Secret888Girl
 
Posts: 4
Joined: Fri Jun 16, 2017 3:48 am

Re: GTA V character (Player, NPC) modding

Postby Oleg » Fri Jun 16, 2017 4:11 am

looks like vertices you point to are weighted by a wrong bone. The video you specify has a small fragment of weight fixing @4:00, when some bone's influence is manually painted. The very first step would be to use Rigging\Normalize tool, it might fix some artifacts but not most of shown; also show a screenshot of original model and your model on the same view (so their size could be visually compared). Keep in mind "weight copy" tool is very raw solution and can produce good result when original and replacement meshes are very-very alike and matching in default pose. when model mismatch, copying weight with no manual tweaking will give bare result.
User avatar
Oleg
Site Admin
 
Posts: 7578
Joined: Fri Feb 06, 2004 3:54 am

Re: GTA V character (Player, NPC) modding

Postby Secret888Girl » Fri Jun 16, 2017 7:26 am

Thank You Oleg.
I realized that the problem is due to wrong model.
I understand that the weight can be adjusted, but I did not get, trying for more than 6 hours add correctly this model but it does not work.
The maximum that managed to achieve, I sent in the screenshots.
If I will send you this model in z3d format you can adjust the hands so they appear correctly in the game?
Please help
Attachments
Screenshot_1.png
Screenshot_2.png
User avatar
Secret888Girl
 
Posts: 4
Joined: Fri Jun 16, 2017 3:48 am

Re: GTA V character (Player, NPC) modding

Postby Oleg » Sat Jun 17, 2017 10:45 pm

you should skim other bones to find the one that affects the most on the left upper arm (you will see left upper arm being highlighted in red color); then use that bone as current and manually paint influence of this bone on the upper arm. this will reduce (probably to zero) influence of any other bone on the upper arm (different influence of two or more bones gives this problematic effect in game). Also (or alternatively), on an upper screenshot, "current bone" is something like upper torso, as the upper part of the torso has full influence - at the same time I see on upper arms influence varies from zero to small (deep blue) and to average (green and lime). In particular, torso bone should have absolutely no influence on upper arms. to reduce an influence of this bone on arm, you can use Paint tool with CTRL key held down. Thus, when you locate some bone that has a wrong area of affection (torso affects arms) you can still use paint influence tool to get rid of this unintended affection. This way might be quicker for fixing.

Note, when you use weight copy tool at first place, you are allowed to move and scale your own model (or original model) to place both as matching to each other as possible,. for example, you can stretch torso or arms on original model so they match size of torso and arms on your model; scaling and rotating is ok, place "Pivot helper" (deep magenta color X-cross that you can drag with mouse cursor) as the originating point for scale/rotation and toggle "Pivot" button in the bottom of ZM window. When models are adjusted so the joints (bend points) are matching fine, you can copy weights.

Then pass bones from to to bottom using "Next bone" / "Previous bone" buttons in toolbox to see whether bones affection are correct and no unintended influence is seen.

The model you work with does not look very complicated and should not take much time to fix manually. You can use Select + Display\Hide tools to hide properly-wighted vertices while working with the rest of geometry; display\Show will unhide hidden geometry later.
User avatar
Oleg
Site Admin
 
Posts: 7578
Joined: Fri Feb 06, 2004 3:54 am

Re: GTA V character (Player, NPC) modding

Postby Secret888Girl » Sun Jun 18, 2017 4:29 pm

Thanks for the tip, your advice really helped :D

Please tell me Oleg.
In Your program you can distribute the weight of the model using only one color. For example, to paint only the blue, yellow or green?
Because it is very uncomfortable to paint with all the colors at once, because they are with each other constantly overlap and intermingle.
User avatar
Secret888Girl
 
Posts: 4
Joined: Fri Jun 16, 2017 3:48 am

Re: GTA V character (Player, NPC) modding

Postby lld123 » Tue Jun 20, 2017 8:18 am

@Secret888Girl: i had the same problem with you, have you fixed it, i also have problem with weighting with non-human model and animal model.
@Oleg: would you please help me rigging bone and weighting with non-human and animal model, my friend ! Srr for my bad English !
lld123
 
Posts: 1
Joined: Tue May 30, 2017 6:20 am

Re: GTA V character (Player, NPC) modding

Postby Oleg » Wed Jun 21, 2017 4:37 am

you paint influence and color you see shows the strength of influence where red = full influence (vertex will follow bone identically), green, lime, orange are mid-power influence (vertex will follow bone in some degree, but will follow other bone(s) that have influence on it), blue and cyan are low-power influence (vertex is mostly affected by some other bone but will follow current bone too in very minor way).

So, colors are "overlapping" as some mesh vertices are affected by several bones at a time. For example, forearm will have red color on most of mesh associated with forearm bone, but coming closer to bends and joints, red color will fade to orange -> green -> blue meaning "another bone starts affecting here".
User avatar
Oleg
Site Admin
 
Posts: 7578
Joined: Fri Feb 06, 2004 3:54 am

Re: GTA V character (Player, NPC) modding

Postby Secret888Girl » Wed Jun 21, 2017 4:39 pm

Hi Oleg.
I export it to GTA 5 my map from another game, but the character passes through the texture of this map.
Please tell me how to make walls for this map, to make the character not passed through.
Attachments
Screenshot_1.png
User avatar
Secret888Girl
 
Posts: 4
Joined: Fri Jun 16, 2017 3:48 am

Re: GTA V character (Player, NPC) modding

Postby Oleg » Thu Jun 22, 2017 9:33 pm

map collision is not yet editable via ZModeler. Map object requires YBN file (static boundary). Technically, YBN files and associated YDR model can be done in 3DSMax and exported with GIMS EVO package straight into OpenIV.
User avatar
Oleg
Site Admin
 
Posts: 7578
Joined: Fri Feb 06, 2004 3:54 am

Re: GTA V character (Player, NPC) modding

Postby jeffrey9090 » Fri Jun 30, 2017 4:52 pm

I figured out why my peds have an overall shinyness... I seem to have forgot to paint all of the other channels the correct color, other than rgb primary and secondary. Sorry for the trouble.
jeffrey9090
Beginner
 
Posts: 137
Joined: Sat Oct 31, 2015 3:52 pm

Re: GTA V character (Player, NPC) modding

Postby King Shady » Thu Jul 27, 2017 10:35 am

Can some one help me out ?
I have a hole in the model.
On the model is all ok.
Maybe Velding? but i dont know how it works in Zmodeler.
Image
King Shady
 
Posts: 1
Joined: Thu Jul 27, 2017 10:12 am

Re: GTA V character (Player, NPC) modding

Postby Oleg » Thu Jul 27, 2017 11:32 pm

bones weight is inaccurate across sharp edge on a mesh. make sure to update ZModeler and then use Rigging\influence\smooth tool on the neck. You should skim bones one by one by setting the current bone on torso and moving to "next" bone with "next bone button". once you see a bone influence is not smooth (color gradient interrupts sharply at open edge), smooth wight there with smooth tool.

note, the smooth tool was updated in 3.1.5 and can smooth across sharp edges. using this tool in older version will not give any result on this particular situation.

welding vertices could corrupt uv-mapping, as vertices are generally all welded where possible and not welded on some seams where uv-mapping differs on neighbor polygons.

P.S. before you smooth weight, it is recommended to select and hide the most of unnecessary geometry vertices to avoid inaccurate or unintended paint/smooth effect on the rest of geometry.
User avatar
Oleg
Site Admin
 
Posts: 7578
Joined: Fri Feb 06, 2004 3:54 am

Re: GTA V character (Player, NPC) modding

Postby Gta5KoRn » Wed Aug 02, 2017 11:41 am

tried ped convertion for the first time and got holes too. the colors between head and neck are different: http://imgur.com/a/f4qBd
so my questions are: how can i paint that red parts to blue?
how can i select the whole bones to see the colors of the full model?
is there a good way to edit skeleton so it fits my model. because it has longer or shorter body parts as the original V model
User avatar
Gta5KoRn
Beginner
 
Posts: 143
Joined: Mon Aug 17, 2015 1:13 am

Re: GTA V character (Player, NPC) modding

Postby Oleg » Wed Aug 02, 2017 11:19 pm

you can't select all bones to see affection, you can see affection of one bone at a time. and this affection should not have sharp edges across model, otherwise it will break model in game. In particular, when you pick some head or neck bone, the color fading across head and torso model should be smooth. you can use "weight influence smooth" tool to smooth weight within one model. if the problem relates to connection between head and torso models, you can attach head to torso to smooth weights; then detach it back. Once you smooth weights on one bone, check other bones too, so it has smooth influence effect paint across the mesh too. smooth it too if needed.
User avatar
Oleg
Site Admin
 
Posts: 7578
Joined: Fri Feb 06, 2004 3:54 am

Re: GTA V character (Player, NPC) modding

Postby Gta5KoRn » Thu Aug 03, 2017 3:23 am

ok will try it. another question: will it make sense to remodel stock V ped to proportions of my custom model to copy the rigging of it, so it is more exact?

and what about another question: is there a good way to edit skeleton so it fits my model. because it has longer or shorter body parts as the original V model
User avatar
Gta5KoRn
Beginner
 
Posts: 143
Joined: Mon Aug 17, 2015 1:13 am

Re: GTA V character (Player, NPC) modding

Postby Oleg » Sun Aug 06, 2017 5:24 am

yes, you can refine original model so the copy weight will give better result;
you can refine original skeleton using this video: https://www.youtube.com/watch?v=ANR70u1LhdI
User avatar
Oleg
Site Admin
 
Posts: 7578
Joined: Fri Feb 06, 2004 3:54 am

Previous

Return to Grand Theft Auto V

Who is online

Users browsing this forum: No registered users and 5 guests