The RPG Maker Resource Kit

RMRK RPG Maker Creation => RPG Maker General => General Tutorials and Eventing => Topic started by: Kichiro on October 04, 2008, 08:18:14 PM

Title: Attack Radius
Post by: Kichiro on October 04, 2008, 08:18:14 PM
I need help on how I would go about creating something so the player can only attack enemies when they are close enough, is there a tutorial that would point me in the right direction?
Title: Re: Attack Radius
Post by: tSwitch on October 06, 2008, 02:59:18 PM
I'm not sure where this goes..seeing as it's not a script request, but...

What do you mean?  what kind of battle system?
can you be more specific?
Title: Re: Attack Radius
Post by: Kichiro on October 06, 2008, 03:57:56 PM
Quote from: NAMKCOR on October 06, 2008, 02:59:18 PM
I'm not sure where this goes..seeing as it's not a script request, but...

What do you mean?  what kind of battle system?
can you be more specific?

An Enemy has to be close enough to the player for the player to attack that enemy. I don't want the player to be too close to the enemy, or too far either.
Title: Re: Attack Radius
Post by: tSwitch on October 07, 2008, 12:03:00 AM
that's no more specific than your first post was.

Quote from: NAMKCOR on October 06, 2008, 02:59:18 PM
What do you mean?  what kind of battle system?
can you be more specific?
Title: Re: Attack Radius
Post by: Kichiro on October 07, 2008, 02:05:31 AM
Quote from: NAMKCOR on October 07, 2008, 12:03:00 AM
that's no more specific than your first post was.

Quote from: NAMKCOR on October 06, 2008, 02:59:18 PM
What do you mean?  what kind of battle system?
can you be more specific?

        Sorry, I'll try to explain it in more detail. When an enemy sees the player, the enemy try's to get close to attack the player. Obviously, if the player has a short range weapon, the player cannot attack the enemy from long distances. But, the enemy does not have to be face to face with the player for the player to attack them. There are a bunch of events around the player (this is the player's range) when an enemy steps into the range, a marker appears over the enemy's head, and their health and level is shown at the bottom right. (So you avoid really powerful enemies early on)


        In short, I need to know how to create a bunch of events that "move with the player" instead of following him, and ending up behind him.
          
Title: Re: Attack Radius
Post by: tSwitch on October 07, 2008, 02:26:45 AM
it sounds like you're wanting an ABS, and I know that BlizzABS, among others supports weapon ranges.

However, you'd need a plugin for that enemy HP thing.
it's generally not a good idea to put high level enemies in low level areas anyway.