halflife icon indicating copy to clipboard operation
halflife copied to clipboard

Model resizing

Open Xalus opened this issue 13 years ago • 1 comments

Its possible to resize Sprites (with a scale) but not with models, and I think this is a must.

Much more possible if we could resize models, less models for players to download becuase they can use the same model, but then in different sizes.

Will make new stuff possible for scripters!

Xalus avatar Feb 09 '13 16:02 Xalus

Model rendering is handled by client.dll (or at least part of it is). You can add model scaling in CStudioModelRenderer::StudioSetupBones The if and contained for loop at https://github.com/tschumann/basis/blob/78b04de75d0a8d273beb12269be2678e998915fc/cl_dll/mod/ModStudioModelRenderer.cpp#L235 will do it.

tschumann avatar Nov 13 '18 11:11 tschumann