Yanfly Engine Ace - Buffs and Debuffs

Status
Not open for further replies.

CrazyCrab

Veteran
Veteran
Joined
Mar 5, 2014
Messages
950
Reaction score
403
First Language
Polish
Hi everyone,

as someone completely new to scripting there is a big chance Im overseeing something, but I just cant fix the buff and debuffs in the engine. Whenever it is applied there is always a 0 and a bracket afterwards... Ive removed the bracket but I don't know how to make it only show the buff / debuff, with nothing else.

Thanks in advance!

The engine: http://yanflychannel.wordpress.com/rmvxa/battle-scripts/ace-battle-engine/

The problem: 



All I did was copy - pasting the engine and other than this it works perfectly.

(Screenshot : The player used a skill that gives a buff to ATK )
 
Last edited by a moderator:

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
I've moved this thread to RGSSx Script Support. Please be sure to post your threads in the correct forum next time. Thank you.


Please post a link to the page where you got the script so others can look at it without having to search.


Also a screenshot showing how you've got it set up, and one showing the issue, will be helpful.
 

CrazyCrab

Veteran
Veteran
Joined
Mar 5, 2014
Messages
950
Reaction score
403
First Language
Polish
Oh, sorry about that. Still new to the forums.
 

CrazyCrab

Veteran
Veteran
Joined
Mar 5, 2014
Messages
950
Reaction score
403
First Language
Polish
Hmm, still getting the bug.

Any other ideas? I can't figure it out.
 

Lars Ulrika

I punch Therefore I am Harvest the land Taking the
Veteran
Joined
Nov 7, 2012
Messages
1,363
Reaction score
405
First Language
French
Primarily Uses
N/A
Well, thanks to you I realised I was experiencing the same trouble. Here is the way I fixed it : 

# This is the default font used for the popups. Adjust them accordingly # or even add new ones. DEFAULT = ["VL Gothic", "Verdana", "Arial", "Courier"] IMPACT = ["Impact"] #Pokeymon : here is the new font I added. # The following are the various rules that govern the individual popup # types that will appear. Adjust them accordingly. Here is a list of what # each category does. # Zoom1 The zoom the popup starts at. Values over 2.0 may cause lag. # Zoom2 The zoom the popup goes to. Values over 2.0 may cause lag. # Sz The font size used for the popup text. # Bold Applying bold for the popup text. # Italic Applying italic for the popup text. # Red The red value of the popup text. # Grn The green value of the popup text. # Blu The blue value of the popup text. # Font The font used for the popup text. POPUP_RULES ={ # Type => [ Zoom1, Zoom2, Sz, Bold, Italic, Red, Grn, Blu, Font] "DEFAULT" => [ 2.0, 1.0, 24, true, false, 255, 255, 255, DEFAULT], "CRITICAL" => [ 2.0, 1.0, 24, true, true, 255, 80, 80, DEFAULT], "HP_DMG" => [ 2.0, 1.0, 36, true, false, 255, 255, 255, DEFAULT], "HP_HEAL" => [ 2.0, 1.0, 36, true, false, 130, 250, 130, DEFAULT], "MP_DMG" => [ 2.0, 1.0, 36, true, false, 220, 180, 255, DEFAULT], "MP_HEAL" => [ 2.0, 1.0, 36, true, false, 160, 230, 255, DEFAULT], "TP_DMG" => [ 2.0, 1.0, 36, true, false, 242, 108, 78, DEFAULT], "TP_HEAL" => [ 2.0, 1.0, 36, true, false, 251, 175, 92, DEFAULT], "ADDSTATE" => [ 2.0, 1.0, 24, true, false, 240, 100, 100, DEFAULT], "REMSTATE" => [ 2.0, 1.0, 24, true, false, 125, 170, 225, DEFAULT], "DURSTATE" => [ 2.0, 1.0, 24, true, false, 255, 240, 150, DEFAULT], "DRAIN" => [ 2.0, 1.0, 36, true, false, 250, 190, 255, DEFAULT], "POSITIVE" => [ 2.0, 1.0, 24, true, false, 110, 210, 245, DEFAULT], "NEGATIVE" => [ 2.0, 1.0, 24, true, false, 245, 155, 195, DEFAULT], "WEAK_ELE" => [ 0.5, 1.0, 24, true, false, 240, 110, 80, DEFAULT], "IMMU_ELE" => [ 0.5, 1.0, 24, true, false, 185, 235, 255, DEFAULT], "REST_ELE" => [ 0.5, 1.0, 24, true, false, 145, 230, 180, DEFAULT], "ABSB_ELE" => [ 0.5, 1.0, 24, true, false, 250, 190, 255, DEFAULT], "BUFF" => [ 2.0, 1.0, 24, true, false, 255, 240, 100, IMPACT], "DEBUFF" => [ 2.0, 1.0, 24, true, false, 160, 130, 200, IMPACT],#Pokeymon : look at "BUFF" and "DEBUFF" , I changed the DEFAULT font set by "IMPACT". Somehow it works with this font but not with some others and I can't figure out why but at least, it works! I added comments in the code to explain you what I did. Strangely there are fonts that work and others that don't and I don't know why. Please read also Yanfly's explanation carefully , it explains how to customize the whole thing and it's pretty simple :)
 
Last edited by a moderator:

Archeia

Level 99 Demi-fiend
Developer
Joined
Mar 1, 2012
Messages
15,141
Reaction score
15,473
First Language
Filipino
Primarily Uses
RMMZ
Just retype ATK and other stuff in the script. It should disappear.

There's an invisible Junk symbol there caused by JP RPG Maker.
 
Last edited by a moderator:

CrazyCrab

Veteran
Veteran
Joined
Mar 5, 2014
Messages
950
Reaction score
403
First Language
Polish
Just retype ATK and other stuff in the script. It should disappear.

There's an invisible Junk symbol there caused by JP RPG Maker.
Sorry, I dont quite understand.

What stuff? 

@ Pokeymon Thanks, it does get better but Im still left with a square...
 

CrazyCrab

Veteran
Veteran
Joined
Mar 5, 2014
Messages
950
Reaction score
403
First Language
Polish
Bumb, been a couple of days and Im still stuck...
 

Archeia

Level 99 Demi-fiend
Developer
Joined
Mar 1, 2012
Messages
15,141
Reaction score
15,473
First Language
Filipino
Primarily Uses
RMMZ
Go to line 312 and 313 and look for these:

      :add_buff   => "%s{",      # Appears when a positive buff is applied.      :add_debuff => "%s|",      # Appears when a negative buff is applied.Just retype %s but don't add { or |. There's an invisible letter between %s{ that you can't see unless you can see Japanese text.
 
Last edited by a moderator:

CrazyCrab

Veteran
Veteran
Joined
Mar 5, 2014
Messages
950
Reaction score
403
First Language
Polish
Go to line 312 and 313 and look for these:

      :add_buff   => "%s{",      # Appears when a positive buff is applied.      :add_debuff => "%s|",      # Appears when a negative buff is applied.Just retype %s but don't add { or |. There's an invisible letter between %s{ that you can't see unless you can see Japanese text.
Awesome, thank you  :)
 
Status
Not open for further replies.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??
Yay, now back in action Happy Christmas time, coming back!






Back in action to develop the indie game that has been long overdue... Final Fallacy. A game that keeps on giving! The development never ends as the developer thinks to be the smart cookie by coming back and beginning by saying... "Oh bother, this indie game has been long overdue..." How could one resist such? No-one c

Forum statistics

Threads
105,857
Messages
1,017,018
Members
137,563
Latest member
MinyakaAeon
Top