[Request] Use Gold to "Buy" Stats

Hey ^^


I have a small request for a script,


I have see similar script like this one but none of them met my necessities (they were too complexed basically, and added too many functions i didn't want);


If you know the "Souls" saga videogames (Dark Souls, Demon Souls, Blooborne...), this is similar (but not identical) to the level up concept in those games,


I know there are some script that simulate that system, but like I said, they have some functionalities I don't need;


Here's my request exactly (this should be easy to understand even if you don't know Dark Souls games)


what i need is basically a simple window in which all the stats are listed:


Max HP    


Max MP    


ATK


DEF


M.ATK


M.DEF


SPD


LUCK


each one of them showing the current value.


For each stats you can spend gold (not exp) to "level up" one of these stats, and when you do, a variable (let's say variable 11 for example, the script should let me chose whatever variable i prefer) gets a +1;


The script should also let me configure (can't tell in advance because i would need to test to see if it's balanced) for each "level up", how many points the actor gets in that stats


(it would be a good idea if a popup window would show something like:


            STAT


CURRENT -> NEW


before confirming or canceling)


Another small window, on top of the "Stats" window, should also display:

  • An Icon of my chosing, followed by current gold;
  • An Icon of my chosing, followed by the value of Variable 11;
  • An Icon of my chosing, followed by the ammount of gold that will be required the next time you level up a stat.



Also, the formula to decide how much gold you need per level-up is Fixed Value (to be configured into the script itself) * Variable 11


regardless of which stats you are rising.


What else? Oh yeah, it's only needed for the actor who is currently in front of the party (as this is going to be like a 1 hero game)


Possible Addons?


To be honest, the script above it's already a lot, i will be happy if I can just have something like that, but if possible here is some other addons that might make this script even better; specifically i could use to ability to alter some  x-param or s-param or other stats when upgrading a stat:


ATK -> Hit%


DEF -> Max HP (a lesser value compared to leveling up MHP difectly)


M.ATK -> Max MP (again, a lesser value compared to leveling up MMP directly)


M.DEF -> Rec%


SPD -> Evade %


LUCK -> Crit %


and that's it i guess, in case these addon is made, the confirmation window should also show these changes here.


Finally, it's not much I'm no good at all with graph, but here is a simple representation of how it should look like


pre_1462821582__senza_titolo-1.png



the small window on top is the Gold + Variable + Goold Needed window, wile the other window is the one containing stats.


oh, the script should be called via Call_Script, there is no need to add a menu command, since it will be accessed via a NPC who takes care of leveling up


Sorry for the long post, thanks in advance to anyone who will look into it 🙂


ps: while i do need the script for my game specifically, i don't request it to be an exclusive, so if anyone makes it and wants to make it public, by all means go ahead; the game is non-commercial.
There is something that won't work exactly like this, but already exists:


Use a common event shop script.


Basically you would purchase a "common event" with gold in that shop, and then the preassigned common event gets executed. And that common event could check or change anything youwant.


It won't have a screen displaying the stats however.
Can't you just make an item that you purchase and when you use it will give you the stat ?
There is something that won't work exactly like this, but already exists:


Use a common event shop script.


Basically you would purchase a "common event" with gold in that shop, and then the preassigned common event gets executed. And that common event could check or change anything youwant.


It won't have a screen displaying the stats however.



that wouldn't work  🙁


Mainly because the common event (i guess, correct me if I'm wrong) would be executed after the shop, therefore the ammount of gold required for each level-up would not be updated in real time, for example, if I had 200G and each update is 100G, I could "buy" two updates before the price increases, instead what I need to happen is that as soon as you buy the first update the price for upgrading EVERYthing else increases immediately, so the player cannot "cheat" and spend less gold then required.


Plus using the shop window would be lame, and without visual represenatation of stats change it would be hard for the player to understand exactly what's going on.


Basically what i need is something like that:


Dark_Souls_%28PC%29_17.jpg



(consider only the first column, the one with the elegant frame around)


I'm aware that there is already a script called Dark Souls System which is based off this game, however like I said it doesn't fit my needs, because of too many "useless" functions (in lack of better term, no disrespect to the owner of that script, i just don't need all the other functionalities), what i'm looking for is a script that imitates this level up system but still staying close to the rpg maker stats system (and most important, that uses gold instead of exp, because I have some other uses for exp in my game)
You mean something like this?

http://yanfly.moe/2015/11/25/tips-tricks-stat-upgrades/


If so you'll need some plugins working together, not so hard to be done.
You mean something like this?

http://yanfly.moe/2015/11/25/tips-tricks-stat-upgrades/


If so you'll need some plugins working together, not so hard to be done.



yeah, it's almost similar to what i need, unfortunately i won't have any plugin working together since i'm on RM VXA, non MV 😛 😛 😛 😛


but yes, jokes aside, that's pretty close to what i'm looking for, the only difference is that I don't need a party selection window since I only have one chracter, and I need to use gold instead of JP, and for each upgrade I buy the cost for the next one needs to increase. All and All i could benefit a smaller, more compact window since the whole game graphic is pretty minimalistic
Didn't even noticed, i'm sorry.

Here, it's all yours.
https://yanflychannel.wordpress.com/rmvxa/gameplay-scripts/learn-skill-engine/
Didn't even noticed, i'm sorry.
 



nevermind 😛


thanks for the script 🙂 i have to see if i can get it to work with Atk, Defense etc 'tho; but even if I don't, it would solve my other problem, which is learning some "passive" skills like the ability to wear heavy armor and stuff like that
just bumping this to say that i no longer need this, i have solved things differently.


big thanks to Kovak and Andar for the support 🙂
Was by  accident, thrust me k3k

Original thread: https://forums.rpgmakerweb.com/threads/request-use-gold-to-buy-stats.61660/