Posts: 28
Threads: 8
Joined: Oct 2019
11-23-2019, 08:52 AM
(This post was last modified: 11-25-2019, 04:29 AM by zlsl.)
Yes, first I can't lift my head.
I always feel lack of study and understanding.
Ths is part of the screen I was working on.
(There is no description extension in the original!)
I want to merge Kategoryzacja przedmiotów [XP] ( http://www.ultimateam.pl/viewtopic.php?t=9028) with a nice script made by kyonides ( https://www.save-point.org/thread-7588-post-50736.html).
(I hope kyonides doesn't feel bad at my request. I like both kyonides and Ayene's scripts.<3)
Don't worry about window size compatibility!
As you can see in the example image, I can handle basic scripts such as window size and movement.
,,,Too much dependence on friends. So sorry (ᵕ̣̣̣̣̣̣﹏ᵕ̣̣̣̣̣̣)
This is the last time. I won't bother my friends ever since.
But can you help me one last time?
Posts: 4,607
Threads: 543
Joined: Dec 2009
Some time ago I published KItem and KItem + KSkillShop... I don't know if any of them already includes what you're looking for. Right, it might not look exactly like the one on the screenshot above but customizing it isn't an issue here as far as I can see.
"For God has not destined us for wrath, but for obtaining salvation through our Lord Jesus Christ," 1 Thessalonians 5:9
Maranatha!
The Internet might be either your friend or enemy. It just depends on whether or not she has a bad hair day.
My Original Stories (available in English and Spanish)
List of Compiled Binary Executables I have published...
HiddenChest & Roole
Give me a free copy of your completed game if you include at least 3 of my scripts!
Just some scripts I've already published on the board...
KyoGemBoost XP VX & ACE, RandomEnkounters XP, KSkillShop XP, Kolloseum States XP, KEvents XP, KScenario XP & Gosu, KyoPrizeShop XP Mangostan, Kuests XP, KyoDiscounts XP VX, ACE & MV, KChest XP VX & ACE 2016, KTelePort XP, KSkillMax XP & VX & ACE, Gem Roulette XP VX & VX Ace, KRespawnPoint XP, VX & VX Ace, GiveAway XP VX & ACE, Klearance XP VX & ACE, KUnits XP VX, ACE & Gosu 2017, KLevel XP, KRumors XP & ACE, KMonsterPals XP VX & ACE, KStatsRefill XP VX & ACE, KLotto XP VX & ACE, KItemDesc XP & VX, KPocket XP & VX, OpenChest XP VX & ACE
Posts: 11,238
Threads: 649
Joined: May 2009
11-24-2019, 05:01 AM
(This post was last modified: 11-24-2019, 05:25 AM by DerVVulfman.)
You don't have a KItem script. You have a KItemRefill script, but no KItem. I looked. And I found a flaw in KItemDesc (see the thread).
zlsl? That's a nice script, but a bit limited. I would use element tagging ito separate the items into their categories instead of listing all of them in those arrays.
In Kategoryzacja przedmiotów by Ayene, the initialize and refresh methods of Window_Item are rewritten.
in KItemDesc by kyonides, the initialize and draw_item methods of Window_Item are rewritten. And Scene_Ttem's Main was rewritten with its own main_loop method added.
To use both, you WOULD need to have an initialize method for Window_Item that combines both.
SO.....
Place Kyo's script ABOVE Ayane's Category script. Then place this patch below both:
Code: #==============================================================================
# ** DerVV's Patch for KItemDesc and Kategoryzacja przedmiotów
# Uses code based on kyonides's and ayane's work
#==============================================================================
#==============================================================================
# ** Window_Item
#------------------------------------------------------------------------------
# This window displays items in possession on the item and battle screens.
#==============================================================================
class Window_Item < Window_Selectable
#--------------------------------------------------------------------------
# * Includables
#--------------------------------------------------------------------------
include AYE::ITEM_CAT
#--------------------------------------------------------------------------
# * Object Initialization
#--------------------------------------------------------------------------
def initialize
battle = $game_temp.in_battle
w = battle ? 640 : 320
super(0, 64, w, 352)
if battle
self.y = 64
self.height = 256
self.back_opacity = 160
else
super(0, 64, 640, 352)
end
@column_max = 2
unless $game_temp.in_battle
category(0)
self.active = false
end
refresh
self.index = 0
end
end
Up is down, left is right and sideways is straight ahead. - Cord "Circle of Iron", 1978 (written by Bruce Lee and James Coburn... really...)
Above are clickable links
Posts: 4,607
Threads: 543
Joined: Dec 2009
11-24-2019, 07:46 AM
(This post was last modified: 11-24-2019, 04:29 PM by kyonides.)
Actually I gotta say that the latest version of KItemDesc I published recently has overwritten Window_Item's refresh method to include some new feature we had been talking about lately...
EDIT
I wonder why the title changed to "menu categories and menu descriptions" in Korean...
"For God has not destined us for wrath, but for obtaining salvation through our Lord Jesus Christ," 1 Thessalonians 5:9
Maranatha!
The Internet might be either your friend or enemy. It just depends on whether or not she has a bad hair day.
My Original Stories (available in English and Spanish)
List of Compiled Binary Executables I have published...
HiddenChest & Roole
Give me a free copy of your completed game if you include at least 3 of my scripts!
Just some scripts I've already published on the board...
KyoGemBoost XP VX & ACE, RandomEnkounters XP, KSkillShop XP, Kolloseum States XP, KEvents XP, KScenario XP & Gosu, KyoPrizeShop XP Mangostan, Kuests XP, KyoDiscounts XP VX, ACE & MV, KChest XP VX & ACE 2016, KTelePort XP, KSkillMax XP & VX & ACE, Gem Roulette XP VX & VX Ace, KRespawnPoint XP, VX & VX Ace, GiveAway XP VX & ACE, Klearance XP VX & ACE, KUnits XP VX, ACE & Gosu 2017, KLevel XP, KRumors XP & ACE, KMonsterPals XP VX & ACE, KStatsRefill XP VX & ACE, KLotto XP VX & ACE, KItemDesc XP & VX, KPocket XP & VX, OpenChest XP VX & ACE
Posts: 28
Threads: 8
Joined: Oct 2019
11-25-2019, 04:23 AM
(This post was last modified: 11-25-2019, 04:29 AM by zlsl.)
(11-24-2019, 07:46 AM)교니 데스 Wrote: Actually I gotta say that the latest version of KItemDesc I published recently has overwritten Window_Item's refresh method to include some new feature we had been talking about lately...
EDIT
I wonder why the title changed to "menu categories and menu descriptions" in Korean...
What do you mean?
Your script is really cool. I'm impressed.
+ Oh, the title seems to be a mistake. I fixed it now.
I didn't know I made a mistake in the title by making Google Translator work all the time.
Posts: 28
Threads: 8
Joined: Oct 2019
(11-24-2019, 05:01 AM)DerVVulfman Wrote: You don't have a KItem script. You have a KItemRefill script, but no KItem. I looked. And I found a flaw in KItemDesc (see the thread).
zlsl? That's a nice script, but a bit limited. I would use element tagging ito separate the items into their categories instead of listing all of them in those arrays.
In Kategoryzacja przedmiotów by Ayene, the initialize and refresh methods of Window_Item are rewritten.
in KItemDesc by kyonides, the initialize and draw_item methods of Window_Item are rewritten. And Scene_Ttem's Main was rewritten with its own main_loop method added.
To use both, you WOULD need to have an initialize method for Window_Item that combines both.
SO.....
Place Kyo's script ABOVE Ayane's Category script. Then place this patch below both:
Code: #==============================================================================
# ** DerVV's Patch for KItemDesc and Kategoryzacja przedmiotów
# Uses code based on kyonides's and ayane's work
#==============================================================================
#==============================================================================
# ** Window_Item
#------------------------------------------------------------------------------
# This window displays items in possession on the item and battle screens.
#==============================================================================
class Window_Item < Window_Selectable
#--------------------------------------------------------------------------
# * Includables
#--------------------------------------------------------------------------
include AYE::ITEM_CAT
#--------------------------------------------------------------------------
# * Object Initialization
#--------------------------------------------------------------------------
def initialize
battle = $game_temp.in_battle
w = battle ? 640 : 320
super(0, 64, w, 352)
if battle
self.y = 64
self.height = 256
self.back_opacity = 160
else
super(0, 64, 640, 352)
end
@column_max = 2
unless $game_temp.in_battle
category(0)
self.active = false
end
refresh
self.index = 0
end
end
First of all, sorry for the slow response and thank you for your help!
I'm impressed by the magic.
I didn't want to bother my friend, but I want to talk about a bug he patched him.
First of all, the script works well without crashing!
However, if you press (Input :: B) to exit the menus and maps, the item window remains. Does typing '@ item_window.dispose' solve the problem?
I put 'dispose' in several places and the item window remains on the map.
Posts: 11,238
Threads: 649
Joined: May 2009
Hey, I'm a werewolf. We gotta deal with the preternatural daily.
And check the updated KItemDesc thread.
Up is down, left is right and sideways is straight ahead. - Cord "Circle of Iron", 1978 (written by Bruce Lee and James Coburn... really...)
Above are clickable links
Posts: 4,607
Threads: 543
Joined: Dec 2009
Yeah, I gotta admit I revisited my thread once again to finally implement what I had left out by mistake... or lack of sleep. Now it should be listing skills as well, but you gotta activate a switch first!
"For God has not destined us for wrath, but for obtaining salvation through our Lord Jesus Christ," 1 Thessalonians 5:9
Maranatha!
The Internet might be either your friend or enemy. It just depends on whether or not she has a bad hair day.
My Original Stories (available in English and Spanish)
List of Compiled Binary Executables I have published...
HiddenChest & Roole
Give me a free copy of your completed game if you include at least 3 of my scripts!
Just some scripts I've already published on the board...
KyoGemBoost XP VX & ACE, RandomEnkounters XP, KSkillShop XP, Kolloseum States XP, KEvents XP, KScenario XP & Gosu, KyoPrizeShop XP Mangostan, Kuests XP, KyoDiscounts XP VX, ACE & MV, KChest XP VX & ACE 2016, KTelePort XP, KSkillMax XP & VX & ACE, Gem Roulette XP VX & VX Ace, KRespawnPoint XP, VX & VX Ace, GiveAway XP VX & ACE, Klearance XP VX & ACE, KUnits XP VX, ACE & Gosu 2017, KLevel XP, KRumors XP & ACE, KMonsterPals XP VX & ACE, KStatsRefill XP VX & ACE, KLotto XP VX & ACE, KItemDesc XP & VX, KPocket XP & VX, OpenChest XP VX & ACE
|