Submit Your Article


 
RPG Maker

Welcome Guest ( Log In | Register )


  Games Resources RPG Maker VX RPG Maker XP Scripts Tutorials Downloads

 
Reply to this topicStart new topic
> [SUB] Solo Skill, make an enemy attack only when alone in combat
Pharonix
post Aug 21 2011, 12:45 PM
Post #1


Eventer. Gamer. Writer.
Group Icon

Group: Revolutionary
Posts: 155
Type: Event Designer
RM Skill: Intermediate
Rev Points: 25




When I originally requested this a while back, I managed to complete it within a few hours, Also thanks to ALT_JACK.
But anyway, here is a submission for it.

Difficulty: Easy
Engine used: RPG Maker VX
Also works with: RPG MAKER 2k3, RPG Maker XP. (It may work, Don't have these engines.)
Summary: make an enemy attack only when alone in combat
Switches: 0
Variables:
Common events: 0
Minimul Knowledge of: Conditional Branches, Battle Control, Copy and Paste Skills, enemy troops, Enemies


This shows you how to make an enemy attack ONLY
when they are alone in combat.
by using a conditional loop for each enemy
besides the main enemy, to check for
incapacitation. You can then Transform the enemy
when they are alone, into another enemy
that can either look the same, or different,
YOUR choice and give the "second form" actual attacks
by leaving the skill box in the enemy database, you can
prevent an enemy from performing ANY action.


in the enemy troop page, create a troop consisting of the minions and the main enemy

in the event page (only needs one)
input,
In this example the Shades are minions while the Reaper is the boss.
CODE
conditional(2. Shade) is [Incapacitated] Inflicted
     conditional(3. Shade) is [Incapacitated] Inflicted
            conditional(4. Shade) is [Incapacitated] Inflicted
                   conditional(5. Shade) is [Incapacitated] Inflicted
                         Show battle animation: Entire Troop, [Darkness/Whole]
                          Enemy Transform: [1. Reaper] , Reaper.
                   else
                          Show battle animation: [1.Reaper], [Heal2]
                          Enemy Recover all: [1.Reaper].
               else
                    Show battle animation: [1.Reaper], [Heal2]
                     Enemy Recover all: [1.Reaper].
        else
          Show battle animation: [1.Reaper], [Heal2]
            Enemy Recover all: [1.Reaper].
else
Show battle animation: [1.Reaper], [Heal2]
Enemy Recover all: [1.Reaper].
Branch End


This is pretty much all you need, in the transform Reaper into Reaper - They are TWO SEPARATE enemies with the same name,
The second one is the one with the attacks.

NOTE: you will need a conditional branch for each minion you have, so if you have 7 minions and 1 main boss, then you need Conditional branches


DEMO:
http://www.mediafire.com/?hu06e550ww0mnc2


__________________________

CURRENT WORKS
DEMON BLADE - RPGVXA
SHINIGAMI - ~12 Pages - 3 chapters complete, 1 in progress.
---------------------------------
OTHER WORKS
INCANTA-corrupted.
INCANTA REDUX - RPGVX - On Hold
---------------------------------
LITERARY WORKS

Longer Works
ANGEL OF DEATH - Short Story ~ 4 Pages.
SHINIGAMI - ~12 Pages - 3 chapters complete, 1 in progress.
DEMON BLADE - Book/Novel?- 34 pages - On Hold.
FERAL - Short Story, Length: 6 pages], 2nd person Narrative. -R3 Writing Competition #2 - First-Place
DARKSPAWN - Book - 3 Pages On Hold
RELGEA CHRONICLE - Book - 118 pages
DRAKENGHOUL - book - 36 handwritten pages

Poems
I KNOW - Poem - 30 Lines

Song Lyrics
End of Days - Song- 44 Lines
Kids Killing Kids - Song - 94 Lines




-If you want this sig in another language, move to a country that speaks it.-

-Lv 13 Thread Killer




My R3 Writing Corner



My Wordpress


Relgea Chronicle

X-M-O Story Quoting.
QUOTE (X-M-O @ Jun 19 2012, 02:45 AM) *
QUOTE (Pharonix)
so what's going on in this thread?

QUOTE (kayden997)
Redd's back and the first thing he does is...

QUOTE (Pharonix)
pick my mom up in 15
...*sigh*

QUOTE (kayden997)
You know it's legit!

QUOTE (Pharonix)
Then again, I wrecked the last one...........

QUOTE (Tsutanai)
Oh ok you can have a pink frosted sprinkled doughnut

QUOTE (Pharonix)
I hate not having a car......
I miss my Alero...

QUOTE (Tsutanai)
you suck >:(


Go to the top of the page
 
+Quote Post
   
Alt_Jack
post Aug 21 2011, 03:25 PM
Post #2


Level 19
Group Icon

Group: Revolutionary
Posts: 377
Type: Event Designer
RM Skill: Skilled
Rev Points: 40




Oh boy, credit! laugh.gif That made my day.

Erm, ego aside, if you went into the enemies tab (not troops) and changed the attack condition to HP 1% ~ 99% for the Boss, they wouldn't attack, since the way you seem to have it set up is that it just heals them until the minions are dead (which is prevented by creating the "blank" boss). After the guys are dead, you'll have no choice but to attack the boss, who only attacks when the HP is lower than 99% of their total. Incidently, they'll get p1$$ed and attack you. Not sure if they'll stop if they heal themselves, though.

It's still pretty neat to have the boss change form/skills. thumbsup.gif

This post has been edited by Alt_Jack: Aug 21 2011, 03:32 PM


__________________________

the Alternate Jacks event demo
As well as all of my images in one place, free for use.
Most of my images will be there, since this site takes too long to approve stuff and VX.net has no bulk uploader.
Go to the top of the page
 
+Quote Post
   
Pharonix
post Aug 21 2011, 03:35 PM
Post #3


Eventer. Gamer. Writer.
Group Icon

Group: Revolutionary
Posts: 155
Type: Event Designer
RM Skill: Intermediate
Rev Points: 25




QUOTE (Alt_Jack @ Aug 21 2011, 03:25 PM) *
Actually, if you went into the enemies tab and changed the attack condition to HP 1% ~ 99% for the Boss, they wouldn't attack, since the way you've got it set up is that it just heals them until the minions are dead. After the guys are dead, you'll have no choice but to attack the boss, who only attacks when the HP is lower than 99% of their total.


Yeah, sorry Jack, This is also a part of a boss that is "Immortal"-ish until his minions are wiped out, thus forcing the player to focus on the fodder first.


__________________________

CURRENT WORKS
DEMON BLADE - RPGVXA
SHINIGAMI - ~12 Pages - 3 chapters complete, 1 in progress.
---------------------------------
OTHER WORKS
INCANTA-corrupted.
INCANTA REDUX - RPGVX - On Hold
---------------------------------
LITERARY WORKS

Longer Works
ANGEL OF DEATH - Short Story ~ 4 Pages.
SHINIGAMI - ~12 Pages - 3 chapters complete, 1 in progress.
DEMON BLADE - Book/Novel?- 34 pages - On Hold.
FERAL - Short Story, Length: 6 pages], 2nd person Narrative. -R3 Writing Competition #2 - First-Place
DARKSPAWN - Book - 3 Pages On Hold
RELGEA CHRONICLE - Book - 118 pages
DRAKENGHOUL - book - 36 handwritten pages

Poems
I KNOW - Poem - 30 Lines

Song Lyrics
End of Days - Song- 44 Lines
Kids Killing Kids - Song - 94 Lines




-If you want this sig in another language, move to a country that speaks it.-

-Lv 13 Thread Killer




My R3 Writing Corner



My Wordpress


Relgea Chronicle

X-M-O Story Quoting.
QUOTE (X-M-O @ Jun 19 2012, 02:45 AM) *
QUOTE (Pharonix)
so what's going on in this thread?

QUOTE (kayden997)
Redd's back and the first thing he does is...

QUOTE (Pharonix)
pick my mom up in 15
...*sigh*

QUOTE (kayden997)
You know it's legit!

QUOTE (Pharonix)
Then again, I wrecked the last one...........

QUOTE (Tsutanai)
Oh ok you can have a pink frosted sprinkled doughnut

QUOTE (Pharonix)
I hate not having a car......
I miss my Alero...

QUOTE (Tsutanai)
you suck >:(


Go to the top of the page
 
+Quote Post
   

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 19th May 2013 - 01:06 PM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker