The RPG Maker Resource Kit

RMRK RPG Maker Creation => RPG Maker General => General Tutorials and Eventing => Topic started by: Iceman_Freeze on January 15, 2008, 12:39:15 AM

Title: [RM2k3] NPC system
Post by: Iceman_Freeze on January 15, 2008, 12:39:15 AM
im wondering if someone could help me out with this...im trying to make an NPC system with kind of like in the Harvest Moon games (or just A Wonderful Life if anyone has played), what i mean is i want the npcs to come out of their houses at a certain time, walk around or to somewhere, and at a certain time walk back to their house, and yet still be able to talk and interact with them?...would this be possible? i tried using a system that some one else had, but it ended up not working... please help  :'(
Title: Re: [RM2k3] NPC system
Post by: Brady on January 15, 2008, 09:29:22 AM
Not quite the same as that, but you can set something similar: 
I have a npc i've set on a custom pattern to go from a building to a cafe, circle it and back again, wait then repeat.  Just do that in the 'define custom pattern' option and get used to learning how long one 'wait' command actually lasts.  You'll also need to know the map pretty well so you don't have the npc walking into walls.
Title: Re: [RM2k3] NPC system
Post by: Iceman_Freeze on January 15, 2008, 08:50:22 PM
but is there anyway i could make it still happen while you're inside? like i want to make a person say...get up at 9:00, walk around, do his daily tasks, then when the clock hits 10:00 pm, he starts walking back to his house from wherever his is?...but naturally, wouldnt walking in front/talking to them, or going inside ruin the whole cycle?? thats what i want to get around
Title: Re: [RM2k3] NPC system
Post by: Brady on January 17, 2008, 09:15:38 AM
Youu'd probably need to work a day/night cycle for that. (Plenty of tutoials for them around) and rig the event-characters accordingly to act at certain times.  When you talk to them, it shouldn't mess everything up if ou set everything to stop during messages, but the timers wuld be messed up if the hero just stood in their way and stopped them....although i'm not sure how they got around this in other games....
Title: Re: [RM2k3] NPC system
Post by: DarkMaster2101 on June 04, 2008, 07:49:41 AM
Quote from: Iceman_Freeze on January 15, 2008, 08:50:22 PM
but is there anyway i could make it still happen while you're inside? like i want to make a person say...get up at 9:00, walk around, do his daily tasks, then when the clock hits 10:00 pm, he starts walking back to his house from wherever his is?...but naturally, wouldnt walking in front/talking to them, or going inside ruin the whole cycle?? thats what i want to get around

A day/night cycle usually revolves around alarm events.  Look up alarms in the help file.  Set a switch for every hour that changes time and have characters respond to that.  It's a little tricky, but just plan it out and you should be fine.