News:

MFG's Character of the Month: October 2026 Nominations

Main Menu

Resizing issues

Started by SoulGrenade, January 04, 2011, 10:09:19 PM

Previous topic - Next topic

SoulGrenade

I easily discovered how to resize a character using the x and y:
[size]
xscale = 1
yscale = 1
but the issue is projectiles.
Now I KNOW you guys have dealt with this.  I can fire a shot, and I'll be screwed because it will come out the guy's knee.

It's not just height obviously, it will start imbetween his legs.
Is there a way to edit this without modifying each and every attack?

leandro1412

#1
you have to apply resize to projectiles too...

eg


[State 0, Projectile]
type = Projectile
trigger1 = !Time
ProjID = 1000
projanim = 1050
projscale = Const(size.xscale),Const(size.yscale)


projscale = Const(size.xscale),Const(size.yscale)

now your projectile use player scale.

about position, mmm i have to check if that use the correct or equivalent offset... maybe not  :S




Edit:

interesting... i resize a doublesize my character XD and the projectil shows well....



here u have a giant rugal XD with giant projectile XD and i just edit the xscale and yscale and edit all stuff of my character, except the system explods and some targetbinds... i think that could be a mugen issue... i don't know :P
[

Nice userbars no? :P Make click & Download something nice for your Mugen!!!
________________________________

SoulGrenade

#2
Quote from: leandro1412 on January 04, 2011, 11:21:03 PM
you have to apply resize to projectiles too...

eg


[State 0, Projectile]
type = Projectile
trigger1 = !Time
ProjID = 1000
projanim = 1050
projscale = Const(size.xscale),Const(size.yscale)


projscale = Const(size.xscale),Const(size.yscale)

now your projectile use player scale.

about position, mmm i have to check if that use the correct or equivalent offset... maybe not  :S




Edit:

interesting... i resize a doublesize my character XD and the projectil shows well....

Thank you so much man!
Obviously you've found this, so can you tell me where to paste this?  I tried a few places and is seems to just crash the game.

leandro1412

emmmm like this example... put in your projectile sctrl...

but i say after... that is unnecessary, because when you edit the x and y scale lines in your character that affects all helpers and projectiles... well in my case thats happens...
[

Nice userbars no? :P Make click & Download something nice for your Mugen!!!
________________________________