ValveSoftware / halflife

Half-Life 1 engine based games
Other
3.66k stars 616 forks source link

[CS 1.6] About view models. #2502

Open someoneCalm opened 5 years ago

someoneCalm commented 5 years ago

"Textures on hands in view models can be changed like in CSO with .tga files" or "View model's skin can be changed on server-side with pev_skin" - it will be very useful to servermakers. Can it be done?

CS-PRO1 commented 5 years ago

I don't believe it's possible with the old Goldsrc .mdl system which heavily depends on textures that are either compiled with the model in 1 .mdl file, or having external textures (textures only without meshes) .mdl files with _T.mdl extension.

But that you mentioned that CS:O has the feature gives some hope, but the code was heavily modified by Nexon back then..

SamVanheer commented 5 years ago

Model rendering code exists in both the engine and game code, and this will likely require an interface change to work, so existing games and mods could break.

There is probably a lot of mod code that assumes models work like they do now as well, suddenly having external texture files loaded from somewhere else could result in unexpected behavior.

zm7up commented 5 years ago

me too find about it talk, i think it's possible

someoneCalm commented 5 years ago

I didn't find it.

regener commented 4 years ago

I just wanted to request the same. Changing skin for viewmodels would be really useful.