Is there a way to make is so you can buy EXP using gold instead of fighting monsters directly? Similar to Dark Souls I guess. Also, when the player dies, is it possible to permanently make them lose half of their currently held gold (or any amount, I suppose would be fine). Lastly, is it possible to create an area where you cannot save? I'm not any good with scripting, so that's not an option sadly. Would be great if someone could help. 🙂 thankss
Buy EXP with Gold? And a couple other questions too
RPG Maker VXAce Support1. Just use an event to ask if you want to buy EXP. Let the player input how much EXP they want to buy (or how much gold they want to spend), and use a Control Variables to determine how much gold and how much EXP. Then a conditional branch to see if the player has enough gold, deduct the gold and add the EXP - use the Change EXP command.
2. Not unless you have a script to stop a gameover when the player dies. Otherwise they just reload their last save file and they're back to before the fight, with all of their gold.
3. I believe there is an event command (might be on tab 3) to disable save access. Just use that when you enter the area, and use it again (to turn save access back on) when you leave the area.
2. Not unless you have a script to stop a gameover when the player dies. Otherwise they just reload their last save file and they're back to before the fight, with all of their gold.
3. I believe there is an event command (might be on tab 3) to disable save access. Just use that when you enter the area, and use it again (to turn save access back on) when you leave the area.
They can just load even if you have the script for it, you'd need to overwrite savefiles to be able to prevent that. So it's pointless to try and create a mechanic to let players lose half of their gold upon death.
@Poryg I think what Shaz wanted to say is that you need to overwrite the save file if the player dies. That way loading it won't be possible (at least if the player doesn't put effort in it).
Another option for buying EXP that allows you to avoid recreating a shop with events is to create and sell items that when used, give the player experience and are then consumed. It's not quite as granular but is probably easier to make.
To add to @Shaz and others in regards to your second question; You may be able to bypass the gameover-go-to-load-screen-no-lose-of-gold conundrum by using the battle processing event commands. It will allow you to control what happens when the player loses the battle. For example, the player can choose to fight a boss and if they lose, the boss insults them with a text box and the player is left alive. Based on what you want, you could craft a custom 'death pseudo-game over' cut scene (instead of using the default game over event command), take half the player's gold away and then transfer the player to wherever you want them after they 'die'. So, the mechanic is possible with events, but unless there is incentive for a player to keep playing after the gold hit, the mechanic can/will most likely be 'save-scummed' around. Rogue Legacy has a similar death/gold lose mechanic that may be informative to look at.
Sorry, I'm not in front of my VX Ace computer today, so I am unable to give you a specific event command path. I'll see if I can cook up a screenshot for you by next Thursday/week.
Sorry, I'm not in front of my VX Ace computer today, so I am unable to give you a specific event command path. I'll see if I can cook up a screenshot for you by next Thursday/week.
Won't work, as once the player dies, the battle is over and no further troop events are run.
Although if it's a boss and you're using Battle Processing as an event command, you could check the "continue when lose" box which would bring you back to the map after losing a battle, and you could add your commands in there.
Player could still go back to an earlier save, though.
Although if it's a boss and you're using Battle Processing as an event command, you could check the "continue when lose" box which would bring you back to the map after losing a battle, and you could add your commands in there.
Player could still go back to an earlier save, though.
Here's a screenshot of the idea I had.
As @Shaz points out, this method only works if you event every enemy/troop encounter.
As @Shaz points out, this method only works if you event every enemy/troop encounter.
Making alternate conditions when the players dies should be possible using Events. I made a Dragon Quest style system before where I blocked the normal "Game Over" and instead brought the player back to the last Priest they saved at. Pretty sure I never needed scripts for it. I even cut the player's current money in half since that's what Dragon Quest does.
Making every battle initiated from the map to allow alternate loss conditions works, but I think you can make a parallel process to trigger whenever the party wipes. I made it ages ago so I'll have to fiddle around a bit to make it again.
I don't think it's a pointless system either because with everything combined it means the player is limited in where they can save, continue playing even if they die but lose money in the process, and have to erase all of their progress if they choose to save scum to keep their money. It's been working for Dragon Quest since the 80's and Dark Souls seems pretty popular. The catch that keeps players from reloading after death is that in both games you keep all levels and items you obtained so it's in the player's best interest to press on since each death essentially makes you stronger for the next run.
Making every battle initiated from the map to allow alternate loss conditions works, but I think you can make a parallel process to trigger whenever the party wipes. I made it ages ago so I'll have to fiddle around a bit to make it again.
I don't think it's a pointless system either because with everything combined it means the player is limited in where they can save, continue playing even if they die but lose money in the process, and have to erase all of their progress if they choose to save scum to keep their money. It's been working for Dragon Quest since the 80's and Dark Souls seems pretty popular. The catch that keeps players from reloading after death is that in both games you keep all levels and items you obtained so it's in the player's best interest to press on since each death essentially makes you stronger for the next run.
Original thread: https://forums.rpgmakerweb.com/threads/buy-exp-with-gold-and-a-couple-other-questions-too.78999/
