Sidebar

Не работает модель игрока в CSS. Помогите, плиз!

SuhariGG

КМС по КСМ
Feb 28, 2010
1,369
33
6
0
Не работает модель игрока в CSS. Помогите, плиз!

Декомпилировал модель (через студио компилер) - поправил название - скомпилировал обратно (опять через студио компилер). Запускаю КСС, загружаю карту и ВНЕЗАПНО он мне выдает это:

Server is enforcing consistency for this file:
models\player\t_leet.mdl

В чем проблема? Что ему тут не нравится?!!!
 

SuhariGG

КМС по КСМ
Feb 28, 2010
1,369
33
6
0
Дана модель ct_urban
Её декомпилю и переименовываю в t_leet. Пути вроде есть только в *.qc. Значит больше никаких названий править и не надо.

В консоли ещё выдает это:
Model models\player\t_leet.mdl exceeds mins (-28.0 -8.3 -8.0 vs. -13.0 -13.0 -10.0)
Model models\player\t_leet.mdl exceeds maxs (27.3 13.0 75.7 vs. 13.0 13.0 75.0)


ЛОГ КОМПИЛЯЦИИ

SMD MODEL C:\CSS/stalker.smd
SMD MODEL C:\CSS/ragdoll.smd
SMD MODEL C:\CSS/phymodel.smd
Processing jointed collision model
ValveBiped.Bip01_Pelvis (156 verts) volume: 1432.58
ValveBiped.Bip01_Spine2 (228 verts) volume: 2923.01
ValveBiped.Bip01_Head1 (522 verts) volume: 521.32
ValveBiped.Bip01_R_UpperArm (162 verts) volume: 392.91
ValveBiped.Bip01_R_Forearm (168 verts) volume: 156.25
ValveBiped.Bip01_R_Hand ( 84 verts) volume: 94.49
ValveBiped.Bip01_L_UpperArm (156 verts) volume: 394.97
ValveBiped.Bip01_L_Forearm (168 verts) volume: 156.25
ValveBiped.Bip01_L_Hand ( 84 verts) volume: 100.71
ValveBiped.Bip01_R_Thigh (162 verts) volume: 785.98
ValveBiped.Bip01_R_Calf (156 verts) volume: 532.99
ValveBiped.Bip01_R_Foot ( 60 verts) volume: 218.35
ValveBiped.Bip01_L_Thigh (162 verts) volume: 769.31
ValveBiped.Bip01_L_Calf (156 verts) volume: 530.81
ValveBiped.Bip01_L_Foot ( 60 verts) volume: 220.82
Collision model completed.
---------------------
writing C:\Program Files\Counter-Strike Source\cstrike\models/player\t_leet.mdl:
bones 10960 bytes (39)
animations 1876 bytes (1 anims) (24 frames) [0:00]
sequences 372 bytes (1 seq)
ik/pose 724 bytes
eyeballs 0 bytes (0 eyeballs)
flexes 0 bytes (0 flexes)
textures 72 bytes
keyvalues 0 bytes
Collision model volume 9230.75 in^3
collision 0 bytes
total 15456
---------------------
writing C:\Program Files\Counter-Strike Source\cstrike\models/player\t_leet.vvd:
vertices 463104 bytes (9648 vertices)
tangents 154368 bytes (9648 vertices)
total 617536 bytes
---------------------
Generating optimized mesh "C:\Program Files\Counter-Strike Source\cstrike\models/player\t_leet.sw.vtx":
body parts: 8 bytes
models: 20 bytes
model LODs: 12 bytes
meshes: 9 bytes
strip groups: 25 bytes
strips: 27 bytes
verts: 86832 bytes
indices: 55416 bytes
bone changes: 8 bytes
everything: 142381 bytes
---------------------
Generating optimized mesh "C:\Program Files\Counter-Strike Source\cstrike\models/player\t_leet.dx80.vtx":
body parts: 8 bytes
models: 20 bytes
model LODs: 12 bytes
meshes: 9 bytes
strip groups: 25 bytes
strips: 81 bytes
verts: 88650 bytes
indices: 55416 bytes
bone changes: 392 bytes
everything: 144637 bytes
---------------------
Generating optimized mesh "C:\Program Files\Counter-Strike Source\cstrike\models/player\t_leet.dx90.vtx":
body parts: 8 bytes
models: 20 bytes
model LODs: 12 bytes
meshes: 9 bytes
strip groups: 25 bytes
strips: 27 bytes
verts: 86832 bytes
indices: 55416 bytes
bone changes: 288 bytes
everything: 142661 bytes

Number of Faces 828

Completed "C:\CSS\mdldecompiler.qc"

StudioMDL Thread complete
 

Attachments

Last edited:

kogemyaka

New member
May 5, 2008
1,465
2 SuhariGG: там ещё есть:

Code:
$model "Studio" "stalker.smd"

Этот smd есть?

Code:
$includemodel "player/cs_player_shared.mdl"
$includemodel "player/ak_anims_ct.mdl"

Эти модели как бы включаются в создаваемую модель. Они должны быть расположены по этому пути в папке с игрой.

Code:
$collisionjoints "phymodel.smd"

Эта тоже должна быть.
 

SuhariGG

КМС по КСМ
Feb 28, 2010
1,369
33
6
0
$includemodel "player/cs_player_shared.mdl"
$includemodel "player/ak_anims_ct.mdl"

Они лежат по стандарту в нужной папки. Их не трогал вообще. Перезалил архив - все файлы, которые после декомпиляции вышли. (уже правленные)


Секундочку, секундочку: В папке player два файла:
ak_anims_ct и ak_anims_t
Модель я декомпилировал Контровскую, собираю обратно терроровскую.
ak_anims_ct оставляем в *.qc или все таки прописываем ak_anims_t?
 
Last edited:

SuhariGG

КМС по КСМ
Feb 28, 2010
1,369
33
6
0
2 Z-O-M-B-I-E: дык все дело в том, что пока они были за контров - они работали. А когда я их перекомпилирую за терроров - они не работают. ((((
 

Game Server

CSM TV

Page QR Code

QR Code

Donate Campaign

Total amount
$0.00
Goal
$25.00

Latest profile posts

TestUser wrote on TRUP@C's profile.
Master?
TestUser wrote on TRUP@C's profile.
Hello Father

Members online

No members online now.

Discord