Resources

[TUT]Getting Player Models InGame

Re: [TUT]Getting Player Models InGame

Postby Shilo » 18 Nov 2009 22:38

I had that happen if there was something in the qc file that it didn't like or it couldn't find a file that it needed. Try using GUI Studio MDL because that should tell you where it's erroring out.

http://www.wunderboy.org/apps/guistudiomdl2.php
User avatar
Shilo
Smoker
Smoker
 
Posts: 140
Joined: 07 Jun 2009 15:59
Location: Toronto, Ontario, Canada
Title: Legal Assassin
Steam ID: Shilo_Wallace
Favourite Survivor: Zoey
 

Re: [TUT]Getting Player Models InGame

Postby iiaann » 19 Nov 2009 17:07

Thank you, I'll try that.
User avatar
iiaann
28 Posts later
28 Posts later
 
Posts: 31
Joined: 15 Nov 2009 19:32
Steam ID: haircomb

Re: [TUT]Getting Player Models InGame

Postby Th3ProphetMan » 23 Nov 2009 20:16

Hope i find time to test this :) nice tutorial.

This should be stikied :)
Th3ProphetMan
Infected
Infected
 
Posts: 18
Joined: 21 Oct 2009 04:04

Re: [TUT]Getting Player Models InGame

Postby bloocobalt » 28 Nov 2009 20:57

I replaced Rochelle with a custom player I named "Keith", Ellis' best friend, but his right hand is messed up. Is there any way to fix this?
Zoom in (real dimensions: 1680 x 1050)Image
Zoom in (real dimensions: 1680 x 1050)Image
:(

(Click on the pics to go see them fully)
User avatar
bloocobalt
L4DMods Newbie
L4DMods Newbie
 
Posts: 2
Joined: 28 Nov 2009 20:52

Re: [TUT]Getting Player Models InGame

Postby Shilo » 28 Nov 2009 22:29

That is really odd.. does it do that in the model viewer as well?
Turn on the skeleton view for the animation that messes up and see what the wrist bones are doing, if they look fine, then it's something wrong with the rigging probably.
User avatar
Shilo
Smoker
Smoker
 
Posts: 140
Joined: 07 Jun 2009 15:59
Location: Toronto, Ontario, Canada
Title: Legal Assassin
Steam ID: Shilo_Wallace
Favourite Survivor: Zoey
 

Re: [TUT]Getting Player Models InGame

Postby bloocobalt » 28 Nov 2009 22:59

In model viewer, the default pose is fine. But when I use the anims, the hand twists.

Oh, can you add me and go on steam? I think it would be great if we could instant message.
Here is my steam:
http://steamcommunity.com/profiles/76561197980878020
User avatar
bloocobalt
L4DMods Newbie
L4DMods Newbie
 
Posts: 2
Joined: 28 Nov 2009 20:52

Re: [TUT]Getting Player Models InGame

Postby Savage » 29 Nov 2009 09:11

OMG IT'S KEITH!!! :D You, sir, are cool! You should show this to Valve hehe xD
Image
User avatar
Savage
Moderator
Moderator
 
Posts: 1250
Joined: 15 Dec 2008 14:41
Location: Sweden
Title: TK-421
Steam ID: MyGiftToYou

Re: [TUT]Getting Player Models InGame

Postby Shilo » 30 Nov 2009 18:08

bloocobalt wrote:Oh, can you add me and go on steam?


I rarely use steam, only xfire, msn and aim.

Can you send me the mdl, vtx, phy and vvd so I can check it out?
User avatar
Shilo
Smoker
Smoker
 
Posts: 140
Joined: 07 Jun 2009 15:59
Location: Toronto, Ontario, Canada
Title: Legal Assassin
Steam ID: Shilo_Wallace
Favourite Survivor: Zoey
 

Re: [TUT]Getting Player Models InGame

Postby WastedMeerkat » 30 Nov 2009 19:06

You will need to make a voice pack and upload this sometime...
User avatar
WastedMeerkat
Infected
Infected
 
Posts: 15
Joined: 13 Jul 2009 01:42

Re: [TUT]Getting Player Models InGame

Postby Hunterbrute » 30 Nov 2009 21:37

That Keith model and a few icons for him was uploaded but I dont have the links right now.
Image

User avatar
Hunterbrute
Administrator
Administrator
 
Posts: 1913
Joined: 21 Nov 2008 03:53
Location: Earth
Title: Forum Overlord
Steam ID: hunterbrute
XBL: Hunterbrute

Re: [TUT]Getting Player Models InGame

Postby iiaann » 27 Dec 2009 13:46

Whenever I attempt to apply materials in 3DS Max, they are always bad quality, and apply to the whole model rather than just one part (IE: Zoey's jacket, it applies to her whole body, head, hair, face, everything.) Is there any way to fix this?
User avatar
iiaann
28 Posts later
28 Posts later
 
Posts: 31
Joined: 15 Nov 2009 19:32
Steam ID: haircomb

Re: [TUT]Getting Player Models InGame

Postby Shilo » 28 Dec 2009 03:50

Textures won't show up as the best quality in any of the viewports, you have to render to see it better.

As to the application of textures, if your model has separate pieces, then select only the ones you want. If you are talking about ones you exported from the game, they use multi/sub-object textures.

Open the textures window, where it says Standard, click that and choose Multi/Sub-Object, then set them as you want/need them. Apply the whole thing to your model and change the order of materials to suit how the textures are set up on the model.

You can find out that more easily by selecting the model, going to editable mesh/poly (whichever it is), go to the polygon selection, and scroll down till you find the material ID part. Put a number in the Select ID area and select so you can see what number is what part of the model. Part 2 uses texture 2 from the multi/sub-object list.
User avatar
Shilo
Smoker
Smoker
 
Posts: 140
Joined: 07 Jun 2009 15:59
Location: Toronto, Ontario, Canada
Title: Legal Assassin
Steam ID: Shilo_Wallace
Favourite Survivor: Zoey
 

Re: [TUT]Getting Player Models InGame

Postby iiaann » 02 Jan 2010 21:45

http://i46.tinypic.com/2r3l650.jpg

>_>. What is this. The window closes so quickly when I open studiomdl.exe this is the best screenshot I could get... Please help >_>. gameinfo.txt is in the proper directory and everything D:
User avatar
iiaann
28 Posts later
28 Posts later
 
Posts: 31
Joined: 15 Nov 2009 19:32
Steam ID: haircomb

Re: [TUT]Getting Player Models InGame

Postby Shilo » 03 Jan 2010 02:40

From what I can read off that, it gives you instructions on how to fix it.

1. Read http://www.valve-erc.com/srcsdk/faq.html#NoGameDir
2. Run vconfig to specify which game you're working on.
3. Add -game <path> on the command line where <path> is the directory that gameinfo.txt is in.



There is a thread on the issue here as well :
http://www.interlopers.net/forum/viewtopic.php?p=335095
User avatar
Shilo
Smoker
Smoker
 
Posts: 140
Joined: 07 Jun 2009 15:59
Location: Toronto, Ontario, Canada
Title: Legal Assassin
Steam ID: Shilo_Wallace
Favourite Survivor: Zoey
 

Re: [TUT]Getting Player Models InGame

Postby iiaann » 03 Jan 2010 18:32

Shilo wrote:From what I can read off that, it gives you instructions on how to fix it.

1. Read http://www.valve-erc.com/srcsdk/faq.html#NoGameDir
2. Run vconfig to specify which game you're working on.
3. Add -game <path> on the command line where <path> is the directory that gameinfo.txt is in.



There is a thread on the issue here as well :
http://www.interlopers.net/forum/viewtopic.php?p=335095


I ran vconfig and it just said "Error". Just Error. That is all.
User avatar
iiaann
28 Posts later
28 Posts later
 
Posts: 31
Joined: 15 Nov 2009 19:32
Steam ID: haircomb

Re: [TUT]Getting Player Models InGame

Postby Shilo » 03 Jan 2010 19:23

Try getting GUIStudioMDL from here : http://www.wunderboy.org/apps/guistudiomdl2.php
And try compiling using that instead. You need the manually set the game up in there so that might have a better chance to work for you.

When you start it up, in the area called "Target Mod or GameInfo Path", hit the Add button and browse to your l4d gameinfo.txt. SDK version should be set to Episode 1 I believe. Then just hit File, load your qc file and hopefully that will work. If it doesn't, check the output to see where it went wrong.
User avatar
Shilo
Smoker
Smoker
 
Posts: 140
Joined: 07 Jun 2009 15:59
Location: Toronto, Ontario, Canada
Title: Legal Assassin
Steam ID: Shilo_Wallace
Favourite Survivor: Zoey
 

Re: [TUT]Getting Player Models InGame

Postby iiaann » 03 Jan 2010 23:09

Shilo wrote:Try getting GUIStudioMDL from here : http://www.wunderboy.org/apps/guistudiomdl2.php
And try compiling using that instead. You need the manually set the game up in there so that might have a better chance to work for you.

When you start it up, in the area called "Target Mod or GameInfo Path", hit the Add button and browse to your l4d gameinfo.txt. SDK version should be set to Episode 1 I believe. Then just hit File, load your qc file and hopefully that will work. If it doesn't, check the output to see where it went wrong.


I've tried both. In GUI Studio, it claims that gameinfo.txt is missing, which it is not... It basically says the items required are not in the folder I directed it to, but they are...
User avatar
iiaann
28 Posts later
28 Posts later
 
Posts: 31
Joined: 15 Nov 2009 19:32
Steam ID: haircomb

Re: [TUT]Getting Player Models InGame

Postby Shilo » 04 Jan 2010 20:21

Well.. go and open up the gameinfo.txt with notepad and see what is in there. Maybe there is missing info in it. Put in on here and we will see.
User avatar
Shilo
Smoker
Smoker
 
Posts: 140
Joined: 07 Jun 2009 15:59
Location: Toronto, Ontario, Canada
Title: Legal Assassin
Steam ID: Shilo_Wallace
Favourite Survivor: Zoey
 

Re: [TUT]Getting Player Models InGame

Postby yuv912 » 14 Jan 2010 11:30

Hey
I'm always getting the "Unable to load model" error when decompiling.
Well I really don't have any idea how to fix that.

Maybe you guys have any any ideas. I did everything right as it's explained it the tutorial...
User avatar
yuv912
Infected
Infected
 
Posts: 15
Joined: 20 Nov 2008 13:36
Location: USA
Steam ID: yuv912

Re: [TUT]Getting Player Models InGame

Postby nm0518 » 14 Jan 2010 12:47

nice program
User avatar
nm0518
Boomer
Boomer
 
Posts: 84
Joined: 10 Jan 2010 04:50
Location: Hungary
Favourite Survivor: Francis
 

Re: [TUT]Getting Player Models InGame

Postby traggey » 14 Jan 2010 15:00

Program? What are you talking about, this is no program. Stop digging into old threads posting worthless comments lad.
Image

User avatar
traggey
Administrator
Administrator
 
Posts: 770
Joined: 26 Jun 2009 17:43
Location: Tragtopia
Title: God
Steam ID: Traggey
XBL: Traggey
Favourite Survivor: Bill
 

Re: [TUT]Getting Player Models InGame

Postby Shilo » 16 Jan 2010 23:12

yuv912 wrote:Hey
I'm always getting the "Unable to load model" error when decompiling.
Well I really don't have any idea how to fix that.

Maybe you guys have any any ideas. I did everything right as it's explained it the tutorial...


Hmm.. you have to make sure that you rename the vtx... are you doing this part?

Code: Select all
Make TWO copies of the vtx file and rename the endings to .dx90.vtx and .dx80.vtx (for example, survivor_namvet.dx90.vtx and survivor_namvet.dx80.vtx).


You need to have the vvd, mdl, phy, dx90.vtx and dx80.vtx files for the decompiler to be able to open the model.

If this still doesn't work, what version of the mdldecompiler to you have, are you modifying the mdl file as stated in my tutorial?
User avatar
Shilo
Smoker
Smoker
 
Posts: 140
Joined: 07 Jun 2009 15:59
Location: Toronto, Ontario, Canada
Title: Legal Assassin
Steam ID: Shilo_Wallace
Favourite Survivor: Zoey
 

Re: [TUT]Getting Player Models InGame

Postby yuv912 » 18 Jan 2010 08:20

Hey thx I solved the problem. I used a simple text editor instead of an hex editor to modify the .mdl which messed it up.
User avatar
yuv912
Infected
Infected
 
Posts: 15
Joined: 20 Nov 2008 13:36
Location: USA
Steam ID: yuv912

Re: [TUT]Getting Player Models InGame

Postby inquire » 30 Jan 2010 15:13

I'm having an odd problem. I'm able to get mdldecompiler to load the IDST, changed file but soon after having loaded it, the program freezes and the model is not decompiled. I'm trying this on the Ellis model in l4d2 with version 0.5 of mdldecompiler. Any ideas why it would tell me it loaded the model, then crash?
User avatar
inquire
L4DMods Newbie
L4DMods Newbie
 
Posts: 2
Joined: 30 Jan 2010 14:52

Re: [TUT]Getting Player Models InGame

Postby Shilo » 02 Feb 2010 03:34

You need to use mdldecompiler v. 0.41 as 0.5 crashes mid-way each time.
http://www.chaosincarnate.net/cannonfodder/download.php?id=mdldecompiler.041.rar

Loading the model is not the same as decompiling it. Loading just means that it found all the files that it needed (I believe) but then when it accesses the files, they are in a slightly different format from what it was expecting, so it crashes. It works fine with 0.4.1 though.
User avatar
Shilo
Smoker
Smoker
 
Posts: 140
Joined: 07 Jun 2009 15:59
Location: Toronto, Ontario, Canada
Title: Legal Assassin
Steam ID: Shilo_Wallace
Favourite Survivor: Zoey
 

Re: [TUT]Getting Player Models InGame

Postby inquire » 04 Feb 2010 21:31

Ah, thanks. I will try it out this weekend!
User avatar
inquire
L4DMods Newbie
L4DMods Newbie
 
Posts: 2
Joined: 30 Jan 2010 14:52

Re: [TUT]Getting Player Models InGame

Postby Master Vezon » 18 Feb 2010 08:56

Do you think I'd be able to have Left 4 Dead use (http://www.garrysmod.org/downloads/?a=view&id=75839) this instead of Zoey?
My target animation is 82x125, but ingame, it's very low-res due to the automatic 'inflation' to 256x256. Any suggestions?
User avatar
Master Vezon
Smoker
Smoker
 
Posts: 102
Joined: 06 Feb 2010 13:18
Location: DON'T YOU KNOW ANYTHING ABOUT SCIENCE?!
Steam ID: ValeDecem
Favourite Survivor: Zoey
 

Re: [TUT]Getting Player Models InGame

Postby Shilo » 18 Feb 2010 23:08

You would have to rig it up to Zoey's skeleton and recompile it for L4D but yes, it would work.
User avatar
Shilo
Smoker
Smoker
 
Posts: 140
Joined: 07 Jun 2009 15:59
Location: Toronto, Ontario, Canada
Title: Legal Assassin
Steam ID: Shilo_Wallace
Favourite Survivor: Zoey
 

Re: [TUT]Getting Player Models InGame

Postby Master Vezon » 19 Feb 2010 08:27

Ooh boy.
Sounds like an awful lotta work for someone who can't even skin things, but thanks very much anyway. ;)
My target animation is 82x125, but ingame, it's very low-res due to the automatic 'inflation' to 256x256. Any suggestions?
User avatar
Master Vezon
Smoker
Smoker
 
Posts: 102
Joined: 06 Feb 2010 13:18
Location: DON'T YOU KNOW ANYTHING ABOUT SCIENCE?!
Steam ID: ValeDecem
Favourite Survivor: Zoey
 

Re: [TUT]Getting Player Models InGame

Postby Nahka » 01 Mar 2010 09:04

Hello!

I'm making a Rochelle replacement and I have a small problem. All animations work, model shows up in single and multiplayer, third person mod works fine. Only spectating her in third person doesn't work. The camera starts at 100 meters above the map, and when I zoom in, I can view her about two meters above her. I can't change the angle, it's like the camera is stuck above her head and can only look around. Any idea what could be wrong?
Nahka
L4DMods Newbie
L4DMods Newbie
 
Posts: 12
Joined: 18 Jul 2009 07:44
Steam ID: Nahkamestari

PreviousNext

Return to Resources

Who is online

Users browsing this forum: MSNbot Media, Shilo and 1 guest

In total there are 3 users online :: 2 registered, 0 hidden and 1 guest (based on users active over the past 60 minutes)
Most users ever online was 1910 on 05 Oct 2009 11:28

Users browsing this forum: MSNbot Media, Shilo and 1 guest