Hello all,
I'm trying to wrap my head around how I can even make this type of battle system in MV.
Basically what I want to happen is
1. have a random encounter with an enemy named enemy or ene_y or _nemy etc
2. have the hero target the enemy and type enemy (or any answer I decide) on a keyboard on the screen.
3. If the spelling is correct the enemy is defeated else the enemy attacks.
I know very little javascript. Not sure if I can make this without opening up a text editor.
Thank you for your time and reading this far.
You can do that by event but it is like really complex.
First create the following :
- A hero (Heroe ID 20 by example)
- 6 Variable different. (Variable 1 to 6 for exemple)
- A monster ("Harpy"(Ennemy ID 10) and "Bloody Rabbit"(ID 11) for exemple)
- A skill (Capitalizer in the exemple)
- A state (Capitalized)
- An image for every Name (Image Harpy and ImageRabbit for exemple)
Okay now go to Troup
- Create a troup. Monster 1 will be "Harpy" , Monster 2 "Bloody Rabbit"
- On conditions of the troup "Turn 0"
Variable 1 = 10 ; Variable 2 = 11
Okay the Troup is done.
Now let's go to the state.
Name : Capitalized
Restriction : Can't move
Whitdrawl : End of Action , 1 to 1
Now let's go to the Skill.
Name : Capitalizer
Add state Capitalized : 100%
Common Event : Capitalizer
Now let's go to the Common Event
Check if Ennemy 1 is state : Capitalized [
If Variable 1 = 10 [
Show Image 1 "ImageHarpy"
Change Heroes Name : (16 letters)
If Heroes 20 Name is "Harpy[
Change Ennemy 1's HP - 9999999
Change ennemy state : Death
]
Delete Image 1
]
If Variable 1 = 11 [
Show Image 1 "ImageRabbit"
Change Heroes Name : (16 letters)
If Heroes 20 Name is "Bloody Rabbit"[
Change Ennemy 1's HP - 9999999
Change ennemy state : Death
]
Delete Image 1
]
]
]
Check if Ennemy 2 is state : Capitalized [
If Variable 2 = 10 [
Show Image 1 "ImageHarpy"
Change Heroes Name : (16 letters)
If Heroes 20 Name is "Harpy[
Change Ennemy 2's HP - 9999999
Change ennemy state : Death
]
Delete Image 1
]
If Variable 2 = 11 [
Show Image 1 "ImageRabbit"
Change Heroes Name : (16 letters)
If Heroes 20 Name is "Bloody Rabbit"[
Change Ennemy 2's HP - 9999999
Change ennemy state : Death
]
Delete Image 1
]
]
]
That's it. I think it should work (Not totaly sure, if you really want to try it out maybe I can try to make a demo)
Edit :
Oh and for the word you decide I don't have enought information about it...
Random words ? Happens when ? Randomnly Happens ? Special Skill ? Special Ennemy ?
To make randomly happens would mean in troup setting to add a random distribution of variable, it's possible ... it would do something like this :
- Create a Variable for the random encounter (Var7 here)
- Create a troup. Monster 1 will be "Bloody Rabbit" , Monster 2 "Bloody Rabbit" too
- On conditions of the troup "Turn 0"
Variable 7 = 0 to 10
If Variable 7 ≤ 9 [
Variable 1 = 11 ; Variable 2 = 11
]
If Variable 7 = 10
[
Variable 1 = 30 to 40
Variable 2 = 30 to 40
]
]
Okay the Troup is done.
Edit : Oh yeah I just forgot to add the image for the typing xP I add this