Custom source player models


hobosphere
10-30-2005, 05:27 AM
Ok fellow gentlemen and interested onlookers, in this thread we will hopefully discover a way to have custom player models in this game called dod:source.

My mission - To add a cap like in 1.3 to the German sniper class in dod:source.

Status - So far i've compiled the model successfully with cap on. I can view it in model viewer and it looks rather cool.

Result - Cannot join servers due to consistency problems

Emotional state - Pissed off.

Solution - nfi.

What are the rules of consistency? The cap model is slightly larger than helmet but how does the game know it's broken the bounds of conformity!!


More information
The decompiled German sniper looks like this (not exact file names)

german_sniper.smd
lod1_german_sniper.smd
lod2_german_sniper.smd
lod3_german_sniper.smd
lod4_german_sniper.smd
lod5_german_sniper.smd

german_helmet.smd
lod1_german_helmet.smd
lod2_german_helmet.smd
lod3_german_helmet.smd
lod4_german_helmet.smd
lod5_german_helmet.smd

unknown_model.smd (i'm assuming for when the helmet falls off so it's just a head with hair)
lod1_unknown_model.smd
lod2_unknown_model.smd
lod3_unknown_model.smd
lod4_unknown_model.smd
lod5_unknown_model.smd

When i simply replace the german helmet.SMD with the cap and try to compile (so the cap falls off like a helmet) the compiler would give me an error relating to only allowing 1 $shadowlod. So then i added the cap to each german_sniper.smd and all the lod versions then commented out all the qc code referring to the helmet and unknown model. This successfully compiles, but when trying it in-game i get the aforementioned consistency errors in game.

If you have epiphany, a vision, if someone decides to travel into the wilderness to converse with the universe and discovers a solution please share it.

Trp. Jed
10-30-2005, 06:27 AM
Originally posted by hobosphere
What are the rules of consistency? The cap model is slightly larger than helmet but how does the game know it's broken the bounds of conformity!!



As far as I know the rules are the same as in CS:S. It was added in the August 10th CS:S update which states:

"Added validation of custom player model and weapon materials. Custom materials must be VertexLitGeneric with only $baseTexture and $bumpmap variables defined"

From what I've read on CS:S forums what it means is:

- No custom player model at all. Any alteration to the default results in a consistency/validation error and you cant join the server.

- Materials can only contain one base texture and a normal map, nothing else.

I don't know if there is a server variable as there was in DoD 1.3 that turns OFF consistency checking for player models. If so, you'll just have to find servers that set to off.


If you have epiphany, a vision, if someone decides to travel into the wilderness to converse with the universe and discovers a solution please share it.

No "epiphany" to it. Valve disabled custom player models to stop cheating. Same with their materials so people can't use combinations of different shader effects to make player models stand out more.

Now you know why I never bothered making my Brit Airborne models for Source :P

aTa
10-30-2005, 07:35 AM
Why don't we stop people from driving cars because people could be run over.

hobosphere
10-30-2005, 07:14 PM
damn

:angry:

thanks jed

hobosphere
10-30-2005, 07:45 PM
Yeah
http://img488.imageshack.us/img488/1279/ayhaha0tq.jpg

Makabi Gafera
10-30-2005, 11:52 PM
nice hat, what model is it?

iamnotabear
10-31-2005, 12:12 AM
What program do you guys use to view Source models? Jed's MV is only for the old engine.

hobosphere
10-31-2005, 12:54 AM
That's just the sniper model.

Use the source model view but set it up so it works with dod:S.
http://www.dayofdefeat.net/forums/showthread.php?s=&threadid=55943

Trp. Jed
10-31-2005, 06:08 AM
I did modify the Source HLMV and add a few bits and pieces that I needed but not as much as the last version. Don't think theres that much I've changed that warrants me releasing it though.

[INS]OpticalSnare
10-31-2005, 08:13 AM
I used to play the old dod right up untill source simply because i could change the models to better ones more ones that pleazed me. Another reason dod was kept going becaused people were still doing editing up until source new player models better models better origins etc. Now that weve been restricted to valves content were forced to play with their content weither we like it or not... Knowing that alot of servers do not allow the file con thing, were kinda screwed here.

dod:s needs all the help it can get with the amount of players currently playing and with this file con crap inst gonna help and is infact gonna to make things even worse. DoD:S is bleeding were trying our best to fix the holes but valve just keep making bigger ones.

Makabi Gafera
10-31-2005, 05:17 PM
Originally posted by hobosphere
That's just the sniper model.

no, I meant the model of the hat, silly. :p

iamnotabear
11-02-2005, 08:54 PM
So we can only do reskins?

Trp. Jed
11-03-2005, 06:47 AM
Read the 2nd post.

At preset, most server have the consistency check set. As a result, you can only used player models that have new skins containing a texture and bump map, nothing more.

No changes to the model and no use of the other Source shaders for the texture.

mahhag
11-06-2005, 05:25 PM
if you really want to use it you could host your own server with sv_consistency 0. Other than that, maybe try and find a server with consistency set at 0.

Day of Defeat Forum Archive created by Neil Jedrzejewski.

This in an partial archive of the old Day of Defeat forums orignally hosted by Valve Software LLC.
Material has been archived for the purpose of creating a knowledge base from messages posted between 2003 and 2008.