is there a way to make a state that raises how much currency player makes after kill

Evil

Newbie
Veteran
Joined
Jul 15, 2013
Messages
143
Reaction score
4
First Language
english
Primarily Uses
ok I am trying to find away to make a state that last for 5 mins and causes the player to gain more currency per monster kill 

until the time runs out 

I'm not sure if this should go in scripting support or if there is a way to do it without having to have a script
 

Tai_MT

Veteran
Veteran
Joined
May 1, 2013
Messages
5,472
Reaction score
4,859
First Language
English
Primarily Uses
RMMV
It would be tricky to set up what you're asking.  It is possible to set up "Double Gold" as a state, but setting it for five minutes might require some eventing.  Maybe make a common event that relies on a variable being activated?  Once that event activates, it adds the state to all party members that would double the gold.  Then, you have the event count-down five minutes.  After five minutes, have the event remove the state from everyone and reset the variable to the "off" position.

At least... that's how I'd do it.
 

Tsukihime

Veteran
Veteran
Joined
Jun 30, 2012
Messages
8,564
Reaction score
3,846
First Language
English
How are you keeping track of time?


What kind of battle system are you using?


There are a lot of things to consider.
 
Last edited by a moderator:

flipwon

Veteran
Veteran
Joined
May 11, 2013
Messages
59
Reaction score
0
First Language
English
Primarily Uses
Shaz's timer has worked wonders for events/common events I've been timing..

If you set an event to a switch, use a skill to call the common event and set the timer to shut the switch off, this seems very plausible..

I'm not sure how you would script the double gold, but that's what the smart guys are for ;)

You can run this by Shaz but the lazy way to do this would be set an event in the corner of your map

I'm also 100% positive there is a better way to do this without having to have a parallel process running in each map but alas;

 

parallel process, empty page

 

page 2 goldswitch# = on

 

script call double gold script.

 

script call shaz timer  $game_timer.set_timer(5, goldswitch#, false)

 

set script to call common event that turns that switch on

 

 

 

something like that?
 
Last edited by a moderator:

Evil

Newbie
Veteran
Joined
Jul 15, 2013
Messages
143
Reaction score
4
First Language
english
Primarily Uses
where can i find this double gold script and Is there a better way then making it five mins because that part in negotiable I just want it too run for a bit then stop.

heres why I'm making a skill called hawaiian gold bud in which the char produces a gold dust cloud causing them to earn more gold from kills and or battle
 

Berylstone

Veteran
Veteran
Joined
Jun 3, 2013
Messages
642
Reaction score
62
First Language
English
Primarily Uses
where can i find this double gold script and Is there a better way then making it five mins because that part in negotiable I just want it too run for a bit then stop.

heres why I'm making a skill called hawaiian gold bud in which the char produces a gold dust cloud causing them to earn more gold from kills and or battle
I'm not sure what kind of battle system you are using.  If you are using the default one you could write a conditional branch at the end of your battles to see if the State is inflicted and double the gold from there.  And if you are open to how you control the length of the state, you could base it off the number of battle turns instead of the number of minutes. You would just need to add to a variable at the end of each turn so you could keep track of when to remove it.
 

Tai_MT

Veteran
Veteran
Joined
May 1, 2013
Messages
5,472
Reaction score
4,859
First Language
English
Primarily Uses
RMMV
Um, there's actually a bit in the status conditions section of the Database.  Ha ha.  Am I the only one who looked through all the features to see what they were all about?

Open your database.

Click the "States" tab.

Create a new state titled "Double Gold".

Go over to "Features".

Right click and open it up to add a new feature.

Click the "Other" tab.

Click the "Party Ability" dot.

Scroll down to "Gold Double" in the list, should be second one from the bottom.

Now, go into common events.  Set an event so that when a switch or variable is triggered, it inflicts this new status upon your party.

After you're done with that, you need to set up some variables to create a timer.  http://blog.rpgmakerweb.com/tutorials/tracking-time-in-common-events/  This is the web address I was given when I couldn't figure out how to make a timer last more than 99 minutes and needed it to last 5 hours instead.

After you have your timer set up and running (which only starts running if your variable or switch is the conditional and is activated), create a conditional branch that basically says "once timer reaches x number, reset variable/switch and remove state".
 
Last edited by a moderator:

Evil

Newbie
Veteran
Joined
Jul 15, 2013
Messages
143
Reaction score
4
First Language
english
Primarily Uses
I just noticed something in the states tab I may be able to time it by steps instead of minutes but I want it to last a decent amount and am not sure how many steps would be a good amount to set it to end by
 

Tai_MT

Veteran
Veteran
Joined
May 1, 2013
Messages
5,472
Reaction score
4,859
First Language
English
Primarily Uses
RMMV
I just noticed something in the states tab I may be able to time it by steps instead of minutes but I want it to last a decent amount and am not sure how many steps would be a good amount to set it to end by
That's completely subjective.  It's up to you to decide how many steps you want it to last.  Up to you to figure out how many is "fair" for your game.  None of us can really help you with that.
 

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

Latest Threads

Latest Posts

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,865
Messages
1,017,059
Members
137,575
Latest member
akekaphol101
Top