Posts: 4,592
Threads: 536
Joined: Dec 2009
That's mainly because the data file where all the info found in $data_actors is stored there and it's pretty much unchangeable. I guess new methods should be created in the Game_Actor class, but I'm not sure if that would ever work. Perhaps it does under some circumstances redefining equip_fix?(equip_type) method would somehow overcome such obstacle.
Let's give it a try...
Code: class Game_Actor
alias kyon_more_armors_fixed_gm_actor_setup setup
alias kyon_more_armors_fixed_gm_actor_equip_fix equip_fix?
def setup(actor_id)
kyon_more_armors_fixed_gm_actor_setup(actor_id)
@armor5_fix = false
@armor6_fix = false
@armor7_fix = false
@armor8_fix = false
@armor9_fix = false
@armor10_fix = false
@armor11_fix = false
end
def equip_fix?(equip_type)
if equip_type < 5
return kyon_more_armors_fixed_gm_actor_equip_fix(equip_type)
end
case equip_type
when 5 then @armor5_fix
when 6 then @armor6_fix
when 7 then @armor7_fix
when 8 then @armor8_fix
when 9 then @armor9_fix
when 10 then @armor10_fix
when 11 then @armor11_fix
end
end
def fix_armor(equip_type)
case equip_type
when 5 then @armor5_fix = true
when 6 then @armor6_fix = true
when 7 then @armor7_fix = true
when 8 then @armor8_fix = true
when 9 then @armor9_fix = true
when 10 then @armor10_fix = true
when 11 then @armor11_fix = true
end
end
end
Then via script call you'd need to fix any of them by typing...
$game_actor s[Actor's ID].fix_armor(Index)
Replace Actor's ID with the corresponding Index found in the Actors database and do the same with Index depending on which equipment or accessory you'd need to fix. Valid indexes would be anything between 5 and 11 inclusive.
"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: 448
Threads: 18
Joined: Sep 2015
I still get this NoMethodError error.
Posts: 4,592
Threads: 536
Joined: Dec 2009
Sorry, it was $game_actors[Actor's ID].fix_armor(Index) so the missing s in actors caused the error message.
"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: 448
Threads: 18
Joined: Sep 2015
That's awesome.
Thank you alot!
I just had to add the weapon and the 4 other armor slots into the script because the old fix-command doesn't work anymore.^^
Posts: 4,592
Threads: 536
Joined: Dec 2009
Well, I fixed the equip_type method I posted so that won't be necessary ever again.
"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,193
Threads: 649
Joined: May 2009
Oh, when will I get done on these requests and get back to mah own projects? SOON I hope.
The Lycan ABS is the heart of my own game, and I so want to include STRAFING so you can hold a key down and move side-to-side. I already worked out a better line of sight for enemy diagonal attacks, so anyone thinking that they're in the clear by attacking enemies diagonally will find life sucks. And I haven't forgotten weapon area ranges... just haven't had time to figure out area-of-effects for Lycan as yet. So to those who inquired about those.... I haven't forgotten at all.
And ReGaL? Oh, I sure want to get back to it. I need to 'finish' cleaning up the default RUBY scripts in the package before integrating a bit more stuff. After that.... well, it's more work and studying.
But right now, .... ROFL, I can't believe I am nearly done with a DDR system. Hahah... I gotta laugh. Not sure anyone made one for RMXP evah. Who knew? Patching and editing things you're familiar with like editing a long-existing menu is easy. Going into the unknown makes one trepidatious and uncertain.
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,592
Threads: 536
Joined: Dec 2009
By the way, DerV, I would like to get ReGaL's shop script to see if I can port my KyoDiscounts script there as well.
DerVVulfman Wrote:The scripts themselves have a different set of methods... different structure, though a good number of methods and classes have the same name.
Classes, yeah, but not methods, some have similar names thus making them incompatible by default while others were replaced completely. VX Ace and MV have similarities, but one uses RGSS3 while the other Javascript. Besides MV is a bit harder to handle if speaking about accessing some stuff like scene or window or SceneManager or DataManager stuff than VX Ace. In MV I haven't seen plugins handling several flags mainly because they prefer to pass values as arguments, besides Array and Hash (alias HashMaps or associative Arrays) "classes" suck in Javascript for sure.
In MV I've seen idiots passing the party's gold value as an argument about 3 times in a row! Oh come on, people! Was it that hard just to call $gameParty.gold() or something like that? Why do you need to access a gold window value just to get that stuff that's already available somewhere else?
The plugin command feature looks promising and all, but it's horrible by default. Once you crafted a plugin to be accessed by a plugin command, you can't access all that stuff therein from anywhere else! That's why I hated what they did with their kind of default Enemy Book plugin. Unless you plan to prevent the player from accessing stuff in any other way, make sure you don't even recall there's a plugin command feature at all!! There are cases where I do understand why people wouldn't need to get anything via several means, but it shouldn't be a rule to follow strictly like some people think!
"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: 494
Threads: 9
Joined: Sep 2013
Does anybody know a program to convert RM2K/2K3 assets to RMXP? The ones I've tried (Resource Wizard and 2KXP converter included in the Phylomortis download pack) have issues regarding water auto tilesets i.e the first doesn't converted them properly and the ones converted by the the later aren't animated.
Posts: 797
Threads: 24
Joined: Feb 2010
How about this one? https://rpgmaker.net/forums/topics/18710/
I know I have one on my other external harddrive that works okay, but I can't get at that at the moment.
- Also, am I the only one who can see a faceset for a character and get's the urge to make a game/story around it?
Friendship is born at that moment when one person says to another: "What! You, too? Thought I was the only one." (C.S. Lewis)
For the time you're laughing, there's nothing wrong in the world. (Colin Mochrie)
If it's funny, make sure people laugh. If it's not funny, make it funny (unless it's actually really serious). (silvercheers)
Please don't spell my name "Yamina-chan". It's all small. Thank you =D
Posts: 494
Threads: 9
Joined: Sep 2013
It works perfectly, a thousand thanks yamina-chan.
Man, it even fixed the weird transparency problem this particular chipset had.
|