AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Zombie Plague Mod (https://forums.alliedmods.net/forumdisplay.php?f=126)
-   -   [TUT][Modelling] How to make p_, w_ models + other stuff (https://forums.alliedmods.net/showthread.php?t=141025)

GAARA54 10-18-2010 17:51

[TUT][Modelling] How to make p_, w_ models + other stuff
 
10 Attachment(s)
[TUT] How to make p_, w_ models + other stuff

Credits:
Koshak - for his video tutorial how to change knife in v_knife model
GAARA54 - this tutorial

Cs 1.6 have 3 model's for weapon:
v_ - view model (you see this model in your hands)
p_ - player model (you see this model in other player hands)
w_ - world model (you see this model on a ground when you drop weapon)
How to make p_ and w_ model's for weapon when you have only v_ model ?
It very easy

look at an example of this v_ model:

http://forums.alliedmods.net/attachm...1&d=1187471749


Put v_ak47 in any folder
Open milkshape3d
Go to: Tools -> Half-Life -> Decompile Normal HL MDL File
Decompile our v_ak47 model

Then go to:
File -> Import -> Half-Life SMD

What we see ?

http://forums.alliedmods.net/attachm...1&d=1287436734

We see many animations and 3 reference:
lhand.smd - left hand
rhand.smd - right hand
f_ak47_template.smd - (reference of ak-47) it what we need

Import f_ak47_template.smd
IMPORTANT: put tick only on TRIANGLES

then put standart cs 1.6 w_ak47 model in any folder
decompile: Tools -> Half-Life -> Decompile Normal HL MDL File

and import w_ak47.smd (reference of w_ model ak-47)
IMPORTANT: put tick on triangles and skeleton


What we see ?

http://forums.alliedmods.net/attachm...1&d=1287437117


we see 2 ak-47 (standart and our colored model)

Use Select button to select colored ak-47:

http://forums.alliedmods.net/attachm...1&d=1287437234

Then use 2 button: Rotate and Move
apply exactly our colored ak-47 on standart ak-47

Then use Scale button to change the size of our colored ak-47

http://forums.alliedmods.net/attachm...1&d=1287437436

Change X Y Z size of model and press "Scale"

What we see ?

http://forums.alliedmods.net/attachm...1&d=1287437521

Our AK-47 is exactly like the standart AK-47 and is suitable in size, very good

What do next ?
Go to "Groups" select standart ak-47 meshes and press "Delete" on keybord

http://forums.alliedmods.net/attachm...1&d=1287438717

Go to "Joints" select joint Line02 then select with mouse meshes of colored ak-47 and press "Assign"

http://forums.alliedmods.net/attachm...1&d=1287437829


Go to File -> Export -> Half-Life SMD
and export smd there when we decompile standart ak-47 w_ model
Export for example as 1.smd

open w_ak47.qc in decompile folder of standart ak-47 w_ model

and change:
Code:

$bodygroup studio
{
studio "w_ak47"
}

to:

Code:

$bodygroup studio
{
studio "1"
}

Copy all textures from folder where we decompile colored v_ak47, to folder where we decompile standart w_ak47

Go to Tools -> Half-Life -> Compile QC File
Compile w_ak47.qc

open w_ak47.mdl with HLMV

what we see ?

http://forums.alliedmods.net/attachm...1&d=1287438231


WOW!
we maded w_ak47 colored model from v_ak47

just as well made p_ model, exactly you can change the knife in hand in a model of a v_knife and a lot more we can attach anything to the body of the player model ...

Try to do it

Colored v_ ak-47 in attachment

GAARA54 10-18-2010 17:52

Re: [TUT] How to make p_, w_ models + other stuff
 
1 Attachment(s)
lol, not enough room for all images)

Arkshine 10-18-2010 17:58

Re: [TUT] How to make p_, w_ models + other stuff
 
Nice, I always wanted to know how to do that, it sounds pretty easy indeed. :p

And what about about non-standard weapon ?

GAARA54 10-18-2010 18:51

Re: [TUT] How to make p_, w_ models + other stuff
 
Quote:

And what about about non-standard weapon ?
You mean like [ZP] Extra Item Grenade Launcher ?

if yes... if i'm not mistaken [ZP] Extra Item Grenade Launcher using events from ak_47
so for this extra item we must make models on skeleton of ak_47

Arkshine 10-18-2010 19:23

Re: [TUT][Modelling] How to make p_, w_ models + other stuff
 
You have plenty of weapons from CS or HL which don't look like the "normal" CS weapons, my question is how you do for them ? It should have another way to make such view with non-standard weapons.

makiza 10-18-2010 19:54

Re: [TUT][Modelling] How to make p_, w_ models + other stuff
 
Quote:

Originally Posted by Arkshine (Post 1328880)
You have plenty of weapons from CS or HL which don't look like the "normal" CS weapons, my question is how you do for them ? It should have another way to make such view with non-standard weapons.

well this can be useful when a model is causing consistency errors in a server, you can do this or just put mp_consistency 0 in the server.

Notes:
-when you are rigging a P_model almost all P_references use the "line03" bone, although it can be "sg552" or any other, usually the last bone is the one you need
Once done delete the default p model reference.

-you not need necesarilly put the reference as "1.smd" and edit the .QC file!
just overwrite the original reference and just add the textures.

!Morte 10-18-2010 20:03

Re: [TUT][Modelling] How to make p_, w_ models + other stuff
 
This is easy, but a lot of people don't know how can do a p_ and a w_ models.

Nice tutorial. :)

abdul-rehman 10-19-2010 05:36

Re: [TUT][Modelling] How to make p_, w_ models + other stuff
 
NIcely Done GJ
here's your gift :crab:

ollegicch 10-19-2010 05:41

Re: [TUT][Modelling] How to make p_, w_ models + other stuff
 
GJ!)

GAARA54 10-19-2010 08:58

Re: [TUT][Modelling] How to make p_, w_ models + other stuff
 
Thanks :wink: i think it useful tutorial


All times are GMT -4. The time now is 00:46.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.