Charas-Project

  • Home
  • Help
  • Search
  • Calendar
  • Login
  • Register
*
Please login or register.

Login with username, password and session length
 

News:

New forum theme up and running!



  • Charas-Project »
  • Game Creation »
  • Requests »
  • RPG Maker Programming »
  • Need Help With NPC Enemies
« previous next »
  • Print
Pages: [1]

Author Topic: Need Help With NPC Enemies  (Read 2451 times)

Offline Zeck27

  • Lord of Cheese
  • Initiate
  • *
  • Posts: 16
Need Help With NPC Enemies
« on: January 28, 2008, 05:01:47 PM »
Ok so, in my game, i want monsters to be walking around randomly, and when you touch them, they start combat. So i was wondering if there is a way to delete events after they are finished? Like for example so the monster that had just been defeated is no longer there? Any ideas?
Logged


Play that funky music, white boy!

Offline DragonBlaze

  • A Wild DB Appeared!
  • Royal
  • *
  • Posts: 3,329
(No subject)
« Reply #1 on: January 28, 2008, 06:54:09 PM »
There are differant ways to do it.

No matter what, you're gonna want to make an event with some sort of movement pattern. Set the trigger condition to 'collision with hero'.

In the event commans, start your battle.

AFTER the battle command, you can do one of two things.

If you want the monster to disapear BUT come back the next time you go on the map, then you just use the 'erase event' command.

If you want the monster to be gone for good, turn a switch on. Then make a new page on the event, this page should have a blank graphic (or dead monster graphic). Also, its event layery should be set to 'below hero'. In the preconditions panel, select the box for switch, and select the switch you turned on.

What this will do is have a monster on the map moving around. When you touch it or when it touches you, it'll start a battle. After the battle is over, the event will be gone. If you did the first of the two options, it'll come back when you come back on the map, if you do the second of the two, it'll be gone forever.
Logged
Hell Yeah! Just recovered all my old rm2k/3 games from my 10 year old, broken laptop hard drive that had been formatted and had a new OS installed on it. Oh, and I did all of this from my phone. WIN

Offline Moosetroop11

  • Sage
  • *
  • Posts: 7,398
(No subject)
« Reply #2 on: January 28, 2008, 07:52:50 PM »
So basically, you should use the 'erase event' thing if you're just replacing random battles with visible monsters, because otherwise there's a limit to how much the player can train up their characters which is frustrating.

But if it's a boss or some event related monster, then use switches, yeah.
Logged
Maaaaaaaaaaaaaaaaaaaaaaaaaaan I missed this place.

Quote from: drenrin2120
Maaaaaaaaaaaaaaaaaaan I missed you.

Quote from: fruckert
Maaaaaaaaaaaaaaan I missed that welcome.

Offline lonewolf

  • lonewolf
  • Leader
  • *
  • Posts: 2,049
  • from the Kiowa apache tribe
go here
« Reply #3 on: January 28, 2008, 10:04:50 PM »
get this and if you have the skills copy it from this game
im work on this skill


Games » RM2k(3) » Curse of Silence by Kamau
not there any more so i have to see how he made the skills for this

http://www.rpg-palace.com/downloads/details.php?id=96

hope it helps you
and admins sorry to post the link to a rpg site
i hope we get some noobs here
to help out  but its the only way too help the game make ask for the help


 :Plight: wolfyrivers aka lonewolf lonewolf2005
Logged
A real friend is one who walks in when the rest of the world walks out

Offline DragonBlaze

  • A Wild DB Appeared!
  • Royal
  • *
  • Posts: 3,329
(No subject)
« Reply #4 on: January 28, 2008, 10:12:02 PM »
I'll allow the link because its an example and not a real advertisement. If an admin doesn't like it, they can remove it.
Logged
Hell Yeah! Just recovered all my old rm2k/3 games from my 10 year old, broken laptop hard drive that had been formatted and had a new OS installed on it. Oh, and I did all of this from my phone. WIN

Offline Zeck27

  • Lord of Cheese
  • Initiate
  • *
  • Posts: 16
Thanks
« Reply #5 on: January 29, 2008, 10:15:01 AM »
Thanks for this guys, most help i've ever got on a site before :D
Logged


Play that funky music, white boy!

Offline Moosetroop11

  • Sage
  • *
  • Posts: 7,398
(No subject)
« Reply #6 on: January 29, 2008, 01:51:39 PM »
We're a pretty friendly lot. Sometimes spriting requests are ignored, but if it's just a coding problem then ask away, it generally doesn't take long to explain something.
Logged
Maaaaaaaaaaaaaaaaaaaaaaaaaaan I missed this place.

Quote from: drenrin2120
Maaaaaaaaaaaaaaaaaaan I missed you.

Quote from: fruckert
Maaaaaaaaaaaaaaan I missed that welcome.

  • Print
Pages: [1]
« previous next »
  • Charas-Project »
  • Game Creation »
  • Requests »
  • RPG Maker Programming »
  • Need Help With NPC Enemies
 

  • SMF 2.0.10 | SMF © 2015, Simple Machines
  • XHTML
  • 2O11
  • RSS
  • WAP2
  • Simple Machines Forum