Attempting to make an encounter system similar to wild arms 3 (Please let me know if this is in the wrong forum)

Iavasechui

Villager
Member
Joined
Feb 20, 2018
Messages
19
Reaction score
17
First Language
English
Primarily Uses
RMMV
It was almost working before but now I am getting frustrated so thought I'd ask for help -_-; I am using visustella plugins in my project to call a common event when walking in a specific region.

◆Control Variables:#0004 Random Battles 1 += Random 1..2
◆If:Random Battles 1 ≥ 40
◆Show Balloon Icon:Player, Exclamation
◆Set Movement Route:Player
: :◇Direction Fix ON
◆Plugin Command:VisuMZ_1_EventsMoveCore, Player Movement: Control
: :Enable? = false
◆If:Evade Energy > 0
◆Control Timer:Start, 0 min 5 sec
◆If:Timer ≥ 0 min 1 sec
◆If:Button [Shift] is being pressed
◆Control Variables:#0003 Evade Energy -= 1
◆Control Variables:#0004 Random Battles 1 = 0
◆Control Timer:Stop
◆Plugin Command:VisuMZ_1_EventsMoveCore, Player Movement: Control
: :Enable? = true
◆Set Movement Route:Player
: :◇Direction Fix OFF

:Else
◆If:Button [OK] is being pressed
◆Plugin Command:VisuMZ_1_EventsMoveCore, Player Movement: Control
: :Enable? = true
◆Set Movement Route:Player
: :◇Direction Fix OFF
◆Battle Processing:Random Cave Mobs
:If Win
◆If:Evade Energy < 10
◆Control Variables:#0003 Evade Energy += 1

:End
◆Control Variables:#0004 Random Battles 1 = 0

:If Escape
◆Control Variables:#0004 Random Battles 1 = 0

:End
◆Control Timer:Stop

:End

:End

:End

:Else
◆Plugin Command:VisuMZ_1_EventsMoveCore, Player Movement: Control
: :Enable? = true
◆Set Movement Route:Player
: :◇Direction Fix OFF
◆Battle Processing:Random Cave Mobs
:If Win
◆If:Evade Energy < 10
◆Control Variables:#0003 Evade Energy += 1

:End
◆Control Variables:#0004 Random Battles 1 = 0

:If Escape
◆Control Variables:#0004 Random Battles 1 = 0

:End

:End

:End
 

Kupotepo

Fantasy realist/Advocatus Diaboli
Veteran
Joined
Jul 5, 2017
Messages
1,908
Reaction score
1,981
First Language
Thai
Primarily Uses
RMMV
Welcome to this forum. It is a correct place; I know because you use VisuStella which create MZ plugins.
Please adding more contexts of wild arms 3 encounter system in order for the members who didn't play wild arm 3 to help you with the logic sequence of events.
 

Iavasechui

Villager
Member
Joined
Feb 20, 2018
Messages
19
Reaction score
17
First Language
English
Primarily Uses
RMMV
Oh right sorry ^_^; So in Wild Arms 3 when you are about to get into combat an exclamation point appears above your head, if you hit confirm you should get a preemptive attack on the encounter, if you hit cancel (can we seperate that from the menu, I set it to shift for now since cancel just pulls up the menu) you evade the battle and lose a point from a meter. If you win a combat the meter goes back up, if the meter reaches 0 then you cannot evade and the battle will happen with a higher chance of sneak attack. And if you fail to strike or evade when the icon vanishes you will automatically go into the battle.
 

Kupotepo

Fantasy realist/Advocatus Diaboli
Veteran
Joined
Jul 5, 2017
Messages
1,908
Reaction score
1,981
First Language
Thai
Primarily Uses
RMMV
ok, now we get the details of the system Next, @lavasechui, you would like the menu to separate from the hit or the skip choices, correct? Do you want something like show choices commands?
 

Iavasechui

Villager
Member
Joined
Feb 20, 2018
Messages
19
Reaction score
17
First Language
English
Primarily Uses
RMMV
Well I wanted it more like a reaction click where you see the icon then press to fight or escape but I might have to use show text instead since I'm not sure what to do at this point... (also is there a way to hide the timer?)

Edit: I have to go to work soon, so might not be able to reply back promptly for a while.
 
Last edited:

Kupotepo

Fantasy realist/Advocatus Diaboli
Veteran
Joined
Jul 5, 2017
Messages
1,908
Reaction score
1,981
First Language
Thai
Primarily Uses
RMMV
Maybe try this new plugin:
 

Iavasechui

Villager
Member
Joined
Feb 20, 2018
Messages
19
Reaction score
17
First Language
English
Primarily Uses
RMMV
Almost have it working now... did a loop to check for the button presses, also switching from is pressed to triggered

Edit: Got it!! I added Eli Timer and now it looks like this and works pretty much how I want it. XD just wish I could actually hide the timer itself...
◆Control Variables:#0004 Random Battles 1 += Random 1..2
◆If:Random Battles 1 ≥ 40
◆If:Evade Energy > 0
◆Show Balloon Icon:Player, Exclamation
◆Plugin Command:EliMZ_Timer, Resume
◆Plugin Command:EliMZ_Timer, Start / Add / Remove - Timer
: :Minutes = 0
: :Seconds = 1.5
◆Loop
◆If:Timer ≤ 0 min 0 sec
◆Plugin Command:EliMZ_Timer, Pause
◆Plugin Command:EliMZ_Timer, Start / Add / Remove - Timer
: :Minutes = 0
: :Seconds = 0
◆Battle Processing:Same as Random Encounters
:If Win
◆Control Variables:#0004 Random Battles 1 = 0
◆If:Evade Energy < 10
◆Control Variables:#0003 Evade Energy += 1

:End

:If Escape
◆Control Variables:#0004 Random Battles 1 = 0

:End
◆Break Loop

:End
◆If:Button [OK] is being triggered
◆Control Variables:#0005 Timer = $gameTimer.seconds()
◆Plugin Command:EliMZ_Timer, Pause
◆Plugin Command:EliMZ_Timer, Start / Add / Remove - Timer
: :Minutes = 0
: :Seconds = -\v[5]
◆Battle Processing:Same as Random Encounters
:If Win
◆Control Variables:#0004 Random Battles 1 = 0
◆If:Evade Energy < 10
◆Control Variables:#0003 Evade Energy += 1

:End

:If Escape
◆Control Variables:#0004 Random Battles 1 = 0

:End
◆Break Loop

:End
◆If:Button [Cancel] is being triggered
◆Control Variables:#0005 Timer = $gameTimer.seconds()
◆Plugin Command:EliMZ_Timer, Pause
◆Plugin Command:EliMZ_Timer, Start / Add / Remove - Timer
: :Minutes = 0
: :Seconds = -\v[5]
◆Control Variables:#0003 Evade Energy -= 1
◆Control Variables:#0004 Random Battles 1 = 0
◆Break Loop

:End

:Repeat Above

:Else
◆Show Balloon Icon:Player, Exclamation (Wait)
◆Battle Processing:Same as Random Encounters
:If Win
◆Control Variables:#0004 Random Battles 1 = 0
◆If:Evade Energy < 10
◆Control Variables:#0003 Evade Energy += 1

:End

:If Escape

:End

:End

:End
 
Last edited:

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

Latest Threads

Latest Posts

Latest Profile Posts

Is there anyone need help with anything except art and music?
is Gotcha Gotcha Games Inc. = KADOKAWA CORPORATION? I haven't found this topic yet, Want to know for credits on my game. Thanks.
If you get everything you want, when you want it, it kills your creativity. If you never get anything you want, you're forced to be creative with what you have.
Old chiptune loops free for use.
I think I've got my hero designs pretty much finialised ( still got some tweaks. ) In the end it'll be the four outfit colour variants with four different skintones.

Forum statistics

Threads
104,299
Messages
1,005,376
Members
135,818
Latest member
Hennet91
Top