UPLOAD, SHARE, PRESERVE MUGEN FOR ETERNITY!

Results 1 to 4 of 4

Thread: Resizing character causes facial animations to break?

  1. #1
    Join Date
    Mar 2020
    Location
    Posts
    2
    Uploads
    0
    Comments
    4

    Default Resizing character causes facial animations to break?

    This is my first time posting to a Forum of any kind, so excuse any mistakes I make or anything like that.
    Recently I've been building a Mugen roster and I've been resizing sprites by editing the cns file to get a semi-consistent look across my characters. But I ran into an issue with Z2 Android 18. Her scale was set to 1 by default, I lowered it to 0.8 so she wouldn't look too large next to my other characters but as a result her facial animations broke. I can't seem to find anything in the cns files to edit the size of these sprites specifically (they seem to be different from her main character sprite), what am I missing?

    I'd post images but I'm not really able to do that until I at least have 10 posts it seems.



  2. #2
    Join Date
    Sep 2017
    Location
    Posts
    632
    Uploads
    8
    Comments
    10

    Default Re: Resizing character causes facial animations to break?

    Try using localcoord. It's a lot more reliable and breaks less stuff than CNS scaling. Still, it might not work completely on this...

    Default is localcoord = 320,240. The y value doesn't do anything, unfortunately. Means we can do less math, though. Hopefully, I can remember how that works!

    So, if you want the character to be 80% size. So uhh...
    n * .80 = 320
    320 / .80 = 400


    Code:
    [Info]
    name		= "example man" 
    displayname	= "example man"
    author		= "example man's author"
    mugenversion	= 1.0
    versiondate	= 03,03,2020
    pal.defaults	= 1,2,3,4,5,6,7,8,9,10,11
    localcoord = 400,lol

  3. #3
    Join Date
    Mar 2020
    Location
    Posts
    2
    Uploads
    0
    Comments
    4

    Default Re: Resizing character causes facial animations to break?

    Quote Originally Posted by NotAGoodName View Post
    Try using localcoord. It's a lot more reliable and breaks less stuff than CNS scaling. Still, it might not work completely on this...

    Default is localcoord = 320,240. The y value doesn't do anything, unfortunately. Means we can do less math, though. Hopefully, I can remember how that works!

    So, if you want the character to be 80% size. So uhh...
    n * .80 = 320
    320 / .80 = 400


    Code:
    [Info]
    name		= "example man" 
    displayname	= "example man"
    author		= "example man's author"
    mugenversion	= 1.0
    versiondate	= 03,03,2020
    pal.defaults	= 1,2,3,4,5,6,7,8,9,10,11
    localcoord = 400,lol
    I'll try this out and experiment a bit, where do you edit the localcoord values at? The cns file?

  4. #4
    Join Date
    Sep 2017
    Location
    Posts
    632
    Uploads
    8
    Comments
    10

    Default Re: Resizing character causes facial animations to break?

    In the DEF file. Just add the line under pal.defaults (assuming it isn't already there).

Similar Threads

  1. How do i make character interactions and/or animations?
    By ZeitxD in forum MUGEN Configuration Help
    Replies: 2
    Last Post: Nov 17, 2019, 06:07
  2. A question about patching/fixing character's animations
    By AGenericDude in forum Website Feedback and Support
    Replies: 2
    Last Post: Oct 31, 2019, 05:10
  3. Resizing characters without resizing effects(background)
    By Mrak52 in forum MUGEN Configuration Help
    Replies: 1
    Last Post: May 25, 2019, 15:54
  4. Resizing the Character's Sprites
    By TheHazardousDude in forum MUGEN Development Help
    Replies: 6
    Last Post: Apr 23, 2018, 21:45
  5. What do i edit to make animations appear behind the character sprites?
    By Deathylorden in forum MUGEN Configuration Help
    Replies: 2
    Last Post: Mar 18, 2017, 11:26

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •