Newage Mugen

A Mugen community that specializes in stage, screenpack creation, and graphics.

You are not connected. Please login or register

Life bar portrait help [solved]

View previous topic View next topic Go down  Message [Page 1 of 1]

1 Life bar portrait help [solved] on Tue Dec 20, 2011 6:50 pm

xX-Nero-Xx

avatar


Well i decided to change my life bars around and i have some portraits that i want to use but when i put them in they are bigger then the life bars even though i know the image fits in the port slot is their a way to decrease the size in mugen of the portraits.

Edit here is a screenshot of what im talking about it suppose to fit in that black section under the health bar as you can see in the life bar on the right



Last edited by xX-Nero-Xx on Wed Dec 21, 2011 8:24 am; edited 1 time in total

http://neroarchives.webs.com/

2 Re: Life bar portrait help [solved] on Tue Dec 20, 2011 9:38 pm

jeanbureau

avatar


you have to go in the DEF file of the lifebar and find the variable that controls the size of portrait and reduce it by 2.


I don't know how your DEF looks like but here is an example of DISSIDIA lifebars:

;================================================
;- Single Face -
;================================================
[Face]
;--------------Player 1
p1.pos = 0,20
p1.bg.spr = 50,0
p1.face.spr = 9000,10
p1.face.facing = 1
p1.face.offset = 0,0
p1.face.scale = .25,.25
p1.face.layerno = 2

;--------------Player 2
p2.pos = 1280,20
p2.bg.spr = 50,0
p2.bg.facing = -1
p2.face.spr = 9000,10
p2.face.facing = -1
p2.face.offset = 0,0
p2.face.scale = .25,.25
p2.face.layerno = 2

;================================================
;- Simul Face -
;================================================
[Simul Face]
;--------------Player 1
p1.pos = 0,0
p1.face.spr = 9000,10
p1.face.facing = 1
p1.face.offset = 0,0
p1.face.scale = .25,.25
p1.face.layerno = 1

;--------------Player 2
p2.pos = 1280,0
p2.bg.facing = -1
p2.face.spr = 9000,10
p2.face.facing = -1
p2.face.offset = 0,0
p2.face.scale = .25,.25
p2.face.layerno = 1

;-----------Player 3
p3.pos = 4,0
p3.face.spr = 9000,0
p3.face.scale = .4,.4
p3.face.facing = 1
p3.face.offset = 218,4
p3.face.layerno = 1
;-----------Player 4
p4.pos = 1232,0
p4.face.spr = 9000,0
p4.face.scale = .4,.4
p4.face.facing = -1
p4.face.offset = -170,2
p4.face.layerno = 1


You will have to change the value more than once as Mugen can have up to 4 characters. Or you may have to do it twice only. It depends of you lifebars.


_______________________________________________
MY STAGES ARE NOW HOSTED AT TRINITY MUGEN :)
GET ALL MY CURRENT STAGES COLLECTION HERE :
(MP3's are not ALL included for now sorry - only some of them)


http://www.trinitymugen.net/forum/index.php?action=tpmod;dl=cat294

3 Re: Life bar portrait help [solved] on Wed Dec 21, 2011 12:11 am

GRAYFOX

avatar


Jean said it right you will have to play around with the val's, 1.0 is crazy like that. Now you can try this and see what happens. I believe it should work for them, the small snippet came from my ghost in the shell for 1.0 mugen. study

p1.face.scale = 0.25,0.25

4 Re: Life bar portrait help [solved] on Wed Dec 21, 2011 8:23 am

xX-Nero-Xx

avatar


Oh i see in my coding i had p1.bg.scale = .25,.25 not p1.face.scale = .25,.25 so i added it in and it fixed my problem Thanks Jeanbureau and Grayfox

Preview

http://neroarchives.webs.com/

5 Re: Life bar portrait help [solved] on Wed Dec 21, 2011 9:54 am

jeanbureau

avatar


curious to know how you got these waterfalls if they are animated


_______________________________________________
MY STAGES ARE NOW HOSTED AT TRINITY MUGEN :)
GET ALL MY CURRENT STAGES COLLECTION HERE :
(MP3's are not ALL included for now sorry - only some of them)


http://www.trinitymugen.net/forum/index.php?action=tpmod;dl=cat294

6 Re: Life bar portrait help [solved] on Wed Dec 21, 2011 12:17 pm

xX-Nero-Xx

avatar


Im still trying to figure how im animate the waterfall because i know P.I effects is not what i want to use but that stage suppose had been a bioshock stage that i wanted to do.

http://neroarchives.webs.com/

7 Re: Life bar portrait help [solved] on Wed Dec 21, 2011 10:56 pm

jeanbureau

avatar


Try nature illusion studio.


_______________________________________________
MY STAGES ARE NOW HOSTED AT TRINITY MUGEN :)
GET ALL MY CURRENT STAGES COLLECTION HERE :
(MP3's are not ALL included for now sorry - only some of them)


http://www.trinitymugen.net/forum/index.php?action=tpmod;dl=cat294

View previous topic View next topic Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum