UPLOAD, SHARE, PRESERVE MUGEN FOR ETERNITY!
a missing category? request it here.

Results 1 to 6 of 6
  1. #1
    Join Date
    Dec 2019
    Location
    Posts
    5
    Uploads
    0
    Comments
    8

    Default Need help modifying CVS2 lifebars.

    To be more specific, the one by Drex.

    I don't want to take all the time to implement the custom portraits needed for these lifebars, so I want to alter it so it uses the default portraits most lifebars use.

    I'm using the 320x240 version in Winmugen. (I'm using an old build my friend made years ago.)

  2. #2
    Join Date
    Dec 2019
    Location
    Posts
    5
    Uploads
    0
    Comments
    8

    Default Re: Need help modifying CVS2 lifebars.

    Bumping this. In case it was unclear what I meant, I want to recode the CVS2 lifebars so they use the default portraits instead of the custom ones it normally uses, but I don't know much about coding, so I'm not sure how.

  3. #3
    Join Date
    Jul 2018
    Location
    Posts
    1,051
    Uploads
    4010
    Comments
    3397

    Default Re: Need help modifying CVS2 lifebars.

    In the fight.def under [Face], set all face.spr values to 9000,0 (group 9000, index 0; this is the default value that Mugen uses for small portraits)

    e.g.
    Code:
    [Face]
    ;Player 1
    p1.pos    = 238,68
    p1.face.spr = 9000,0
    p1.face.scale = 0.5,0.5
    p1.face.layerno = 2
    p1.face.facing = 1
    p1.face.offset = 0,0
    
    ;Player 2
    p2.pos    = 398,68
    p2.face.spr = 9000,0
    p2.face.scale = 0.5,0.5
    p2.face.layerno = 2
    p2.face.facing = -1
    p2.face.offset = 0,0

    [Banner by kater15]

  4. #4
    Join Date
    Dec 2019
    Location
    Posts
    5
    Uploads
    0
    Comments
    8

    Default Re: Need help modifying CVS2 lifebars.

    Awesome, thanks, I'll try this later!

    - - - Updated - - -

    Alright, I tried it and it works, but they appear very small, so I'll have to adjust them at some point.

  5. #5
    Join Date
    Mar 2020
    Location
    Age
    21
    Posts
    10
    Uploads
    0
    Comments
    0

    Default Re: Need help modifying CVS2 lifebars.

    Thank you, i need this to <3

  6. #6
    Join Date
    Dec 2019
    Location
    Posts
    5
    Uploads
    0
    Comments
    8

    Default Re: Need help modifying CVS2 lifebars.

    Forgot to post an update earlier, but I did fix the size of the portraits. Just set p1/p2.face.scale to 1, and it should look good. As for the smaller Simultaneous/Turns mode portraits, set the scaling to 0.5. Hope this helps somebody.

Similar Threads

  1. CvS2 Iroha and CvS2 Mina in the works!
    By extra97 in forum WIP News
    Replies: 11
    Last Post: Dec 29, 2019, 20:56
  2. EX Mode Modifying Madness
    By Mr_Mist in forum MUGEN Configuration Help
    Replies: 0
    Last Post: Nov 26, 2019, 01:11
  3. Cvs2 lifebars!!!
    By GunManLou1 in forum MUGEN Configuration Help
    Replies: 3
    Last Post: Nov 18, 2019, 11:25
  4. Cvs2 lifebars!!!
    By GunManLou1 in forum General MUGEN discussions
    Replies: 2
    Last Post: Nov 18, 2019, 05:49
  5. Modifying hits a super does
    By combofreak in forum MUGEN Development Help
    Replies: 0
    Last Post: Aug 12, 2018, 18:20

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
  •