Wednesday, June 15, 2016

A second party member, more control over help text.

Done. You can now recruit another save file's character into your game.



Sadly, right now, it only works for a single other protagonist. No parties of more than two right now. I need to think about the best way to handle party management. How will you remove party members? How will you "Update" party members if you want to use the most recent version of your friend's character? There are still some logistical challenges to solve.



Also, I ended up learning a lot about the CommandWindow source code and the debugging tools bundled with RPGMaker MV as I solved a different problem. It was important that you could not swap out the equipment on "guest" characters, because otherwise, you could recruit a friends character, take all his stuff, dismiss him, then have your friend "update" his save file (refreshing his stuff) and you could rob him again for essentially infinite items. To prevent this, I made it so you could not alter the equipment of guest characters. Problem is, it was hard for the player to realize this; there was just an annoying "Buzz" sound when they tried with no other feedback. To solve this, I dove into the code and figured out how to replace the "updateHelpWindow" function on the equip command window to give each command a sentence of help text. And if you are in the equip screen of a non-party member...



...It'll let you know in nice shiny text why precisely you get a buzzing sound every time you try to mess with the guest's equipment.

No comments:

Post a Comment