From shield to Footwear

Tanarex

Scrub
Veteran
Joined
Sep 14, 2014
Messages
468
Reaction score
306
First Language
English
Primarily Uses
RMVXA
I'm trying to change the word shield to footwear. Since I don't have shields in my game and I want them to be able to wear shoes for different reasons. Using Terms in the database doesn't actually work.
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
Works fine for me.


What scripts do you have?  If it's not working, it's probably because you've got a script that's overriding the default behaviour.


Note - changing the term in the database doesn't change what you see in the editor - only what you see when you play the game (in the Equip screen).  On the Actors tab, it'll still be called Shield.
 
Last edited by a moderator:

Tanarex

Scrub
Veteran
Joined
Sep 14, 2014
Messages
468
Reaction score
306
First Language
English
Primarily Uses
RMVXA
I'd have to switch all headgear to shields and body to headgear. That works. It's just a giant pain. I thought maybe I could just change the word in script.Without crashing my game.
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,365
Reaction score
7,674
First Language
German
Primarily Uses
RMMV
Perhaps you should explain in more detail of what you're trying to do - because the word "shield" doesn't exist anywhere in the script, the entire engine references the database terms and there you can change it simply like shaz said above.
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
Changing the word Shield to Footwear in the Terms tab of the database makes it appear as Footwear everywhere you can see it in the game (I can only think of the Equip screen offhand).  It does not change the order - Footwear will come straight under the weapon.  If you want to change the order, you'd need to do a bit more work (but still only changing names).  You should not have to switch all headgear to shields and all body to headgear.  If you are doing that, there's something wrong.


You never answered my question about what scripts you're using.


Perhaps you should show some screenshots of what happens when you change the word (screenshots from playing the game, not from the editor), and indicate what you think should happen so we can get an understanding of what the problem is, because when I change the word, there is no problem.
 

Tanarex

Scrub
Veteran
Joined
Sep 14, 2014
Messages
468
Reaction score
306
First Language
English
Primarily Uses
RMVXA
The scripts aren't a issue. It works. It just that I already have made a bunch of weapons and armor and I'd have to change them all individually. Which is confusing. I have weapon,headgear,armor,footwear and accessories. I was just hoping to change the words in the database to make it easier.

Capture.PNG
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
Yeah, you originally just said you want to change the name, which IS easy.  But now you're saying you want to change the order in which they're shown, so you've renamed Shield to Headgear, Headgear to Armor, Armor to Footwear, and now you've got to go through and change the armor type of all your armors so they show up in the right slot.  This means when you use events to change equipment, you're going to have to remember that Body is Foot, Head is Body, and Shield is Head in your event commands.  A lot of work, and a lot of ongoing confusion.


Wouldn't it just be easier to modify the Equip screen script to change the order in which the slots are drawn on the screen?
 
Last edited by a moderator:

Tanarex

Scrub
Veteran
Joined
Sep 14, 2014
Messages
468
Reaction score
306
First Language
English
Primarily Uses
RMVXA
Well, I looked at it and thought it looked out of order.Weapon then shoes? Modifying the script was what I was hoping to do. I just have no clue how.
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
Post in Script Requests (or report your post and ask a mod to move it), asking for the equip screen to show slots in the following order: 0, 2, 3, 1, 4 instead of 0, 1, 2, 3, 4


I'm sure it's an easy mod to make, and I'd do it for you if I had the time.  I believe it's a case of modifying Window_EquipSlot's draw_item method, using index to refer to an array that contains a list of slot ids in the order you want them to appear, rather than using index to refer to the slot id directly.  It might require changes to a couple of the other methods in that class, and maybe some changes in Scene_Equip as well.
 

Tanarex

Scrub
Veteran
Joined
Sep 14, 2014
Messages
468
Reaction score
306
First Language
English
Primarily Uses
RMVXA
nope.can;t get ace engine to work right either.Only shows four slots now.screw it. I'll just have shoes as accessories.
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
wow, you give up easily!  I gave you a much easier workaround and said exactly where in the scripts changes would need to be made.  All it needs is for you to actually ask for someone to do it for you.
 

Tanarex

Scrub
Veteran
Joined
Sep 14, 2014
Messages
468
Reaction score
306
First Language
English
Primarily Uses
RMVXA
OK. I've posted it in script requests. Where I'm sure someone will tell me I posted it in the wrong place. Using Ace Equip Engine and your advice I was able to do it. Thanks. Now I just have to get tactic orge battle psp crafting sysyem to work.
 
Last edited by a moderator:

Silenity

Veteran
Veteran
Joined
Dec 17, 2013
Messages
677
Reaction score
271
First Language
English
Primarily Uses
RMMV
So cynical lol. 


Shaz said post it in script request then that's probably where it goes.
 

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

Latest Threads

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,859
Messages
1,017,030
Members
137,566
Latest member
Fl0shVS
Top