Can you use ent_create and spawn it scaled down?

Posted By: JoeMama

Can you use ent_create and spawn it scaled down? - 07/21/06 19:56

See topic plz. I have made the ent_create work fine but it creates the model at the original size instead of the scaled size that the game will be set to. How do I do this? Do I just put scale=.50 after the ent_create code?
Posted By: Claus_N

Re: Can you use ent_create and spawn it scaled down? - 07/21/06 20:00

You need to do it like this:
Code:
you = ent_create("blablabla.mdl",nullvector,null);

if(you)
{
vec_scale(you.scale_x,0.5);
}


Posted By: JoeMama

Re: Can you use ent_create and spawn it scaled down? - 07/21/06 20:18

Thanks, it works perfectly.
Posted By: Aaron

Re: Can you use ent_create and spawn it scaled down? - 07/21/06 20:53

Hi I got a question about ent create , well how would I morph or change a 3d model making look like it's burning for example if an enemy walks or get's pushed into the fire I want to show the skin getting burned by turing it red then showing the muscles underneath after a period of time, Would I use this calling for it or will it be the morph call entmorph???
Posted By: Claus_N

Re: Can you use ent_create and spawn it scaled down? - 07/21/06 21:14

To change the skin, use entity.skin, to switch model, yeah, then use ent_morph
© 2024 lite-C Forums