Hi all
I think that a lot of people know that a lot of models which converted from other games to CS 1.6 have a lot of polygons and it can make lags on server
Here i will tell to you how to fix it
To see how many polygons have model open model with
Jed's Half Life Model Viewer and in inset you will see inset
"Model Display", in right you will see writed
"Drawn Polys NUMBER"
For example we have model of
w_model of ak47
Decompile her in
MilkShape3D: Tools -> Kratisto's Half Life MDL Decompiler,set checkmark on all
Than
import meshes
How to find them ?
Open .qc file and see:
//reference mesh(es)
$body "studio" "w_ak47"
We need to
import what after "//reference mesh(es)"
In this case it is
"w_ak47.smd"
File -> Import -> Half-Life SMD
Set all checkmark, but
don't set checkmark "Rename bones"
In this way we load all meshes and bones
Now we need to see which bones attached to which meshes because in future we need to attach meshes to bones anew
Go to
"Joints"
We see one bone:
"Line02"
Press
"SelAssigned" and we see which meshes attached to this bone
After you press button in
2D Views you will
see red meshes, initially they are white
Remember which mesh attached to which bones (Bones can be a lot and goup of meshes too)
Go to
Tools -> DirectX Mesh Tools
We see
slider, pull him to left and see that quantity of polygons are reduce and see number of polygons in down
We need to reduce polygons, but we need make it so that model will not have a holes, so see carefully on model in the window
After you reduce polygons push the diskette (after folder)
So we save model and reduce polygons in them
Again
import w_ak47.smd
File -> Import -> Half-Life SMD
Why we need do this ? Because model now don't have a skeleton
Set checkmark only on skeleton
Because we saw which meshes attached to which bones, so we need to attached them again
Select bone "Line02",
select our meshes of ak47 and push
"assign" (To select meshes go to "Model" -> "Select" -> "Vertex" and stifle button "Shift" to attach a lot of meshes)
In this way we reduce polygons and attached meshes to needed bones
Go to
File -> Export -> Half-Life SMD save file with the same name closing old file and compile model:
Tools -> Half-Life -> Compile QC file
Enjoy
Sometimes polygons don't reduce, and i don't know how to fix this bug
It is all
This tutorial on Russian language: vk.com/topic-121563302_34241696
My group with my and Koshak tutorials about MilkShape3D: vk.com/milkshape3d
My profile in VK.com: vk.com/uliutenkopaul
__________________