Newagemugen
Newagemugen
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Newagemugen

We're The Best At What We Do - Runnin' The Mugen Underground Since 2010. Underground M.U.G.E.N community specializing in advanced Quality Mugen content, Fanart, Graphics, Fighting Games & more.

You are not connected. Please login or register

Life bar portrait help [solved]

3 posters

Go down  Message [Page 1 of 1]

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

xX-Nero-Xx (Retired)

xX-Nero-Xx (Retired)

Life bar portrait help [solved] 49240809213_a0332873ca_o
Talk Of The Town (Wood)
Recieved 5 or more likes from other Members
★★Dark Master Of Fists★★
Newagemugen Member for over 10 Years
The Greatest Showman (Platinum)
Created 40 or more Unique Topics
Super Soldier (Silver)
Obtained The Highest Tier 2 Warrior Class Rank

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

Life bar portrait help [solved] Life_b10



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

http://neroarchives.webs.com/

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

jeanbureau

jeanbureau

Life bar portrait help [solved] 32795826767_bd9bc92b05_o
★★Dark Master Of Fists★★
Newagemugen Member for over 10 Years
Heaven's Door (Silver)
Created 20 or more Unique Topics
Super Soldier (Silver)
Obtained The Highest Tier 2 Warrior Class Rank

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

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

GRAYFOX

GRAYFOX

Life bar portrait help [solved] OjtZ7W5
★★Thousand Dragon★★
Posted over 1000 Messages
★★Pot Of Prosperity★★
Commissioned/Donated to support Newagemugen
★★Dark Master Of Fists★★
Newagemugen Member for over 10 Years
Kindred Spirit (Gold)
Liked 30 Forum posts
Heaven's Door (Silver)
Created 20 or more Unique Topics
卍♆★Divine Overseer★♆卍
Verified Senior Forum support/assistant/curator
Apple Of The Eye (Platinum)
Recieved 60 or more likes from other Members
Lord Of War (Gold)
Obtained The Highest Tier 3 Warlord Class Rank

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

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

xX-Nero-Xx (Retired)

xX-Nero-Xx (Retired)

Life bar portrait help [solved] 49240809213_a0332873ca_o
Talk Of The Town (Wood)
Recieved 5 or more likes from other Members
★★Dark Master Of Fists★★
Newagemugen Member for over 10 Years
The Greatest Showman (Platinum)
Created 40 or more Unique Topics
Super Soldier (Silver)
Obtained The Highest Tier 2 Warrior Class Rank

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
Life bar portrait help [solved] Mugen011

http://neroarchives.webs.com/

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

jeanbureau

jeanbureau

Life bar portrait help [solved] 32795826767_bd9bc92b05_o
★★Dark Master Of Fists★★
Newagemugen Member for over 10 Years
Heaven's Door (Silver)
Created 20 or more Unique Topics
Super Soldier (Silver)
Obtained The Highest Tier 2 Warrior Class Rank

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

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

xX-Nero-Xx (Retired)

xX-Nero-Xx (Retired)

Life bar portrait help [solved] 49240809213_a0332873ca_o
Talk Of The Town (Wood)
Recieved 5 or more likes from other Members
★★Dark Master Of Fists★★
Newagemugen Member for over 10 Years
The Greatest Showman (Platinum)
Created 40 or more Unique Topics
Super Soldier (Silver)
Obtained The Highest Tier 2 Warrior Class Rank

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.


________________________________________________________________________________________________________________________________________________________________________
In July 2021 I retired from Teh Mugenz
http://neroarchives.webs.com/

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

jeanbureau

jeanbureau

Life bar portrait help [solved] 32795826767_bd9bc92b05_o
★★Dark Master Of Fists★★
Newagemugen Member for over 10 Years
Heaven's Door (Silver)
Created 20 or more Unique Topics
Super Soldier (Silver)
Obtained The Highest Tier 2 Warrior Class Rank

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

Back to top  Message [Page 1 of 1]

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