Different scaling for a NPC than the PC

Started by BIG IR0N NUTZ, Tue 13/07/2010 19:30:32

Previous topic - Next topic

BIG IR0N NUTZ

I have it so that the PC walks into a room where the NPC is.  My PC is bigger than the NPC.  I have tried to scale them down by using the walkable area scaling, but that effects both of them.  How do I scale the NPC and still be able to scale it in different rooms, and keep his scaling completely seperate from my PC?

barefoot

#1
Hi

You need to set Manual Scaling in Room load of the room script of the room.

It will maintain throughout game unless you do another Manual Scale for it.
It will ignore walkable area scaling.

just change cEgo to name of your character and then set scale level, here it is 50:

Code: ags

cEgo.ManualScaling = true;
cEgo.Scaling = 50;


Scale level can be 5 to 200 (default is 100).

In the Manual under: Scaling property (character)

Unless you completely rescale the character in a paint program and re-import it.

Hope this helps

-barefoot-

I May Not Be Perfect but I Have A Big Heart ..

BIG IR0N NUTZ

Thanks so much for the help!  ;D Much apressiated (sorry can't spell)!!!!

SMF spam blocked by CleanTalk