How to use Yanfly Equipment Menu and Yami Equipment Learning together?

SergeX

Veteran
Veteran
Joined
Nov 25, 2012
Messages
64
Reaction score
14
First Language
Portuguese
Primarily Uses
Hello everybody

It may be a dumb question, but I'm not a specialist in RGSSx at all and despite all my attempts, I can't put two scripts working together: Yanfly Ace Equip Engine and Yami Equipment Learning.

If I use YEA Ace Equip Engine, the "Learning Scene" from Yamis script doesnt appear. If I remove the Yanfly script, the "Learning Scene" appears. I want to use the scripts together. Maybe adding a custom command on Ace Equip Engine? Problem is, I don't know what code to write as custom command for Equipment learning.

Hope I'm being clear here.

Can someone help me? I tried to see if Yami posted something about that. But since Symphoria is down, I didnt found anything.

Link to the scripts

Yanfly Ace Equip Engine

https://github.com/Archeia/YEARepo/blob/master/Gameplay/Ace_Equip_Engine.rb

Yami - Equipments Learning

https://github.com/suppayami/rmvxa-collection/blob/master/Equipments%20Learning.rb

Thanks already
 
Last edited by a moderator:

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,365
Reaction score
7,674
First Language
German
Primarily Uses
RMMV
Did you try to exchange the order of the scripts? Try to make whatever of the script was above the other take a slot below.


From your description one of the scripts overwrites a function instead of aliasing it, and in a lot of times that can be solved by changing the script order.


If that does not help, please provide links to the scripts you're using.
 

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Veteran
Joined
May 15, 2012
Messages
14,682
Reaction score
3,003
First Language
Tagalog
Primarily Uses
RMVXA
I've encountered that before and you'd need an edit to yanfly's equip menu script in order to do that effectively... 

On my old project, what I did was to add a button handler to the A button so that if I press it, the window for the skills of the equipment will appear (over the actor parameters window coz we have no more space).. sadly, I don't have the project file anymore AFAIK.

So to get others to help you, please put a link to the scripts.
 
Last edited by a moderator:

SergeX

Veteran
Veteran
Joined
Nov 25, 2012
Messages
64
Reaction score
14
First Language
Portuguese
Primarily Uses
Did you try to exchange the order of the scripts? Try to make whatever of the script was above the other take a slot below.

From your description one of the scripts overwrites a function instead of aliasing it, and in a lot of times that can be solved by changing the script order.

If that does not help, please provide links to the scripts you're using.
Tried here and no luck. Still the same thing. 

The link for the scripts:

Yanfly Ace Equip Engine

https://github.com/Archeia/YEARepo/blob/master/Gameplay/Ace_Equip_Engine.rb

Yami - Equipments Learning

https://github.com/suppayami/rmvxa-collection/blob/master/Equipments%20Learning.rb

Thanks for the help :)

I've encountered that before and you'd need an edit to yanfly's equip menu script in order to do that effectively... 

On my old project, what I did was to add a button handler to the A button so that if I press it, the window for the skills of the equipment will appear (over the actor parameters window coz we have no more space).. sadly, I don't have the project file anymore AFAIK.

So to get others to help you, please put a link to the scripts.
Yes, I was thinking that theres no more space to show the skills learning. I really suck at scripting so pull out such thing is impossible for me. Edited the first page with the links, hope someone can help :p

Thanks a lot :)
 

Prodigy 1216

Prodigious Member
Veteran
Joined
Dec 21, 2013
Messages
175
Reaction score
97
First Language
Malanglish
Primarily Uses
N/A
Is this called Necroposting? Well anyway, I found out how to make it compatible but still not figure out how to suit it with the Ace Equip Engine. Inside YSA Equipment learning script, on line 834 and 835, change the lines into this

@equip_learning_back#.hide
@equip_learning#.hide
However, this results the window to show in on the screen but located on top of the weapon stats.

EDIT: Found out a way to customize the script, replace line 816-817 with this

#--------------------------------------------------------------------------
# new method: create_equip_learning
#--------------------------------------------------------------------------
def create_equip_learning
wx = @item_window.width
wy = @item_window.y
ww = Graphics.width - @item_window.width
wh = @item_window.height
@equip_learning_back = Window_EquipLearningBack.new(wx, wy, ww, wh)
@equip_learning_back.viewport = @viewport
@equip_learning = Window_EquipLearning.new(wx, wy + 200, ww, wh - 24)
@equip_learning.viewport = @viewport
@equip_learning.help_window = @help_window
@equip_learning.actor = @actor
@item_window.equip_learning_window = @equip_learning
@slot_window.equip_learning_window = @equip_learning
#---
if $imported["YEA-AceEquipEngine"]
@equip_learning_back.hide
@equip_learning#.hide
end
end
 
Last edited by a moderator:

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

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
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'??

Forum statistics

Threads
105,862
Messages
1,017,045
Members
137,569
Latest member
Shtelsky
Top