Check out Half-Life Re-imagined competition results!
Check out Skewing textures in Hammer, our newest tutorial!
Welcome, novandro150, our newest member!

logo

Site Stuff

Reference

Maps

Community

ShoutBOX

Poll

Feeling Blue

What's your favourite shade of blue?

Azure

16

Cobalt

32

Turquoise

10

Cyan

11

Royal

11

Teal

3

Onliners

21 mins

Solokiller

29 mins

Jessie

53 mins

23-down

55 mins

Tetsu0

1 hours

NineTnine

1 hours

Penguinboy

2 hours

Dimbeak

Affiliates

A gaming and technology blog by TWHL admins Penguinboy and Ant. A music blog by TWHL users Ant and Hugh.

I need help compiling a .MDL player mode

[1]

Forums > HL Engine Discussion

16 Mar 17, 10:39
By 789
avatar
Member
I'm trying to make a
multiplayer model for half-life but I can't get it to work!

*using milkeshape*
I decompiled the vanilla zombie player model

and opened up the: ZOM_Template_Biped1 model
and made sure to uncheck "rename bones"
then deleted the zombie mesh and imported my
mud golem model and used the joint tool
to automatically assign the verticies to the bones
then I saved the smd file
**using milkeshape**

and deleted the DM_BASE texture and put the Golem_au texture in. that my model uses.

Then I opened up the SMD again in milkshape to make sure everything was fine
and everything was present, and the model was textured.



I didn't generate a qc file sence the model allready had one and I did not want to clear the animation data

then I opened up Jed's Half-Life Model Viewer
with the mdldecompiler installed and studiomdl installed so
I could recompile the model
but when I went to compile
the window just poped up and closed rightaway
and nothing happened to the decompiled model's folder

and I tried decompiling a vanilla model and recompiling to make sure the program works and it does

I dont know what i'm doing wrong
I have retextured models before and just replacing the model and making sure the bones are assigned and it's textured
doesn't seam like it should be so complicated.
iv tried off and on throughout the year to get it to work
and recently I just learned how to UV map and started making textured 3D models and I
really want to use them in-game.
I can make texture wads, skyboxes, .WAV sounds, and use Hammer, but I can't model!
It's going to my birthday in a few days and me and my friends are going to have a LAN party
and I really want to have my custom player models for it!

Can someone please help me!

the files that i used are here:
https://drive.google.com/open?id=0B56NFU0U-
kixdFUzcThVbHhXVTA
16 Mar 17, 11:57
By abbadon
avatar
Member
Try this:

1.Open Milkshape
2.Import the reference.smd from which the skeleton will be used .
3.Delete the mesh and create/import yours, this time uncheck all options that pop up except the triangles part. Your model just only have to have one bone, the mistake is to create a whole skeleton for it and then try to mimpor it for being a replacement for an existing model of HL with its animations, as I said, MISTAKE!!!.
4.Delete the bone you use to create your reference.smd and assign vertices as normal.
5.Test the model in animation mode (try to pose it a bit to see if all verts are properly assigned).
6.Compile it WITHIN milkshape, this way you can see what is happening into the Viewport Caption (Activate it on the VIEW menu on the toolbar). If some error exist will be displayed there.

I“m sure your model will be compiled this way. This is the method I use to create new versions of my models. smile - :)
16 Mar 17, 14:13
By UrbaNebula
avatar
Entirely brush based
abbadon is correct here.

Also, just a side note. I hate the way HLDM works with player models. If you're using a custom made one, other players will only see it if they themselves have the model. Otherwise, they will see the orange HEV player model. Although, I guess it prevents people making an invisible/tiny model and cheating other players.
16 Mar 17, 16:43
By Shepard62700FR
avatar
Member
@Urby : you are correct. And sending the skin to the server is a no because 1) security 2) sending the MDL to the server and transmit it to all clients is bandwith expensive. Furthermore, data about the game is more important than a skin.
16 Mar 17, 18:46
By Bruce
avatar
Member
the server can however send custom models to all the players so if youre the admin you can make yourself invisible
16 Mar 17, 21:20
By abbadon
avatar
Member
if youre the admin you can make yourself invisible

But, the locked chasecam option in the observer menu will unmask him, right?
17 Mar 17, 00:06
By 789
avatar
Member
thank you abbadon
i'm still having a little bit trouble though
so I have decompiled vanilla deathmatch player model
and I import the .smd with reference in the name (and uncheck rename bones) and delete the mesh then I import my model with only the triangles option selected
and assign the vertices to the skeleton's bones
but if I delete the bones then the model can't be animated?
and when I go to compile QC file I get an error?
17 Mar 17, 05:54
By abbadon
avatar
Member
Once vertices are properly assigned the model should be fully animable. and, what's the error you receive?
17 Mar 17, 17:38
By 789
avatar
Member
Ok so in Milkshape 3D when I go to Tools -> half-life -> Compile QC file
I get the error:



in tools -> hal-life
is generate QC for making a QC file and
and compile QC file for editing it to include the
changes in your model?
and if you generate QC instead that ruins your model's animation data?
17 Mar 17, 17:41
By 789
avatar
Member
ZOM_Template_Biped1 was the name of the SMD that I made changes to
17 Mar 17, 17:44
By 789
avatar
Member
oh you mean assign the vertices so they know what bones to be attached too
then you can delete the bones when you save and compile
because the mesh will still have the name of the bone that it goes with when its paired with an animation?
17 Mar 17, 22:31
By abbadon
avatar
Member
Quote:
and if you generate QC instead that ruins your model's animation data?


No. Open your model and then you must generate a new qc file with your model's name, this way the qc file will include the path for all its textures, then copy-paste all the animation lines, don't use the origin and textures of the model of which you took the skeleton.

If you assign the vertexes of your model to the right bone, once you compile it it will perform all the animations as if they were done for it. The process is like this.

1.Import reference.smd of the decompiled HL model. Delete all faces and vertex.
2.Import your reference.smd, it only need a single bone. Once imported, delete that bone if you import the mesh along with the bone.
3.Assign vertex and test when finished. Use another copy of the original HL model and check where its vertexes are assigned in case of doubt. Now it is time to generate the qc file.
4.Once done export your reference model into the very folder from where you took the HL's reference smd, replace it if necessary, but warning!! it sometimes has another name, like your "ZOM_template_Biped1", if so change the name into the qc file.
5.Compile normally. It must work.
6.If textures are misaligned, use the texture alignment tool inside milkshape.

If all that does not work, well... Oh, c'mon!, It must work!! Headcrab Basher - :crowbar:
18 Mar 17, 00:06
By 789
avatar
Member
Thank You! so much it worked!


i'm going to become a forum regular just so I can help other users the way you helped me
18 Mar 17, 00:08
By 789
avatar
Member
I'm going to go check off model in Half-Life 1 Engine Skills: in my settings

I'm really good at modeling and texturing if you ever need a model just pm me
18 Mar 17, 01:12
By Tetsu0
avatar
Tet Soo Oh
It's a shame i came into this forum too late unhappy - :(
glad you got it working.

If you ever want to model using Blender, let me know
18 Mar 17, 01:47
By 789
avatar
Member


and Thank you tetsu0 I'v already been using blender for UV mapping and modeling and i'm pretty familiar with it.
18 Mar 17, 02:27
By 789
avatar
Member
I'm going to try making a model with colors you can change in game
your UV map has to use certain colors right? and have the name DM_BASE?
18 Mar 17, 05:26
By 789
avatar
Member
I made a ghost
18 Mar 17, 15:35
By abbadon
avatar
Member
Quote:
I'm really good at modeling and texturing if you ever need a model just pm me


Thanks!, the same I say. wink-wink - ;)

For ghost models try additive for the main body's texture. I did made semi transparent parts of some of my models checking that flag on HLMViewer.
18 Mar 17, 17:51
By 789
avatar
Member
Thank you I will try doing that to the ghost

---I made a mantis----
18 Mar 17, 20:12
By abbadon
avatar
Member
yuck!
18 Mar 17, 22:35
By zeeba-G
avatar
3D
Hahahahaha!
19 Mar 17, 19:53
By 789
avatar
Member
BANANAMAN!
19 Mar 17, 20:58
By Bruce
avatar
Member
lol good work, the ghost looks straight out of runescape
20 Mar 17, 05:50
By abbadon
avatar
Member
Omg. yuck again!, Headcrab Basher - :crowbar:
20 Mar 17, 07:05
By 789
avatar
Member
zombie!


I got a good work flow going:

sculptris -> Wings3D -> gimp -> milkshape 3D -> Jed's Model compiler
20 Mar 17, 10:23
By abbadon
avatar
Member
Once you make "pop" thereĀ“s no stop...
21 Mar 17, 04:04
By 789
avatar
Member
There is no stop....

zomg chips in a tube
21 Mar 17, 10:08
By Ghost129er
avatar
Member
Look what you've done. I hope that you're all proud of yourselves.
22 Mar 17, 05:52
By 789
avatar
Member
I'm so proud of my self! I just had the most epic LAN ever

23 Mar 17, 23:01
By abbadon
avatar
Member
Haha!!, wow, cool!!, triple yuck!!
[1]

Forums > HL Engine Discussion

Login to Reply

You must be logged in to reply.