model scaling


(apa) #1

Hi,

does any1 know how one could rescale weaponmodels in the source?
I searched around in cg_weapons and cg_ents and managed to rescale other models but not weapons.

I tried sumptin like this in CG_AddPlayerWeapon/cg_weapons.c

VectorScale( gun.axis[0], 2 , gun.axis[0]);
VectorScale( gun.axis[1], 2 , gun.axis[1]);
VectorScale( gun.axis[2], 2 , gun.axis[2]);

but it didnt work.

-thx


(apa) #2

anyone?


(jamez) #3

vectorscale has nothing to do with model sizes, it is simply scaling the size of the vector and axis is the angle its on

how exactly did u scale other models?


(apa) #4

hi,

same thing just did it in cg_ents.c

VectorScale( ent.axis[i], 2 , ent.axis[i]);


(jamez) #5

i was wrong then, sorry not sure what it is now


(apa) #6

bump


(-VoiD-) #7

Try setting the nonNormalizedAxis on the refent to true.


(Mastah(ful)_P) #8

you could always just change the model size in max…