The RPG Maker Resource Kit

RMRK RPG Maker Creation => VX => Topic started by: TempestXtreme on June 08, 2010, 10:05:35 AM

Title: Star Ocean 3 Encounter System (VX)
Post by: TempestXtreme on June 08, 2010, 10:05:35 AM
All right, I've started work on my first real game in VX (no title yet), and I was playing Chrono Trigger on the DS when I thought back to Star Ocean 3 on the PS2 and the encounter system that game used.

Of course, this system is very easy, but I feel it's incomplete. Just put events down that trigger battles, and afterwards erase said event.

However, I want to have the events reappear after a set amount of time, but I don't know how to do it. Is it script-based? It's the only thing keeping me from making this encounter system work properly.

Title: Re: Star Ocean 3 Encounter System (VX)
Post by: Mishka on June 08, 2010, 11:54:41 AM
I think it can be done with a timer or a set move route (in which the event waits, but you don't) where it turns the Self switch back off after a certain number of frames.
Title: Re: Star Ocean 3 Encounter System (VX)
Post by: TempestXtreme on June 08, 2010, 12:11:49 PM
I think it can be done with a timer or a set move route (in which the event waits, but you don't) where it turns the Self switch back off after a certain number of frames.

That didn't seem to work. Maybe the only way to respawn enemies is to leave an area and come back?

I'm including screencaps of the event I made. Maybe I'm doing something wrong?

Title: Re: Star Ocean 3 Encounter System (VX)
Post by: Mishka on June 08, 2010, 12:24:45 PM
Yeah, you have a third page that doesn't seem to do anything.

Whenever there's multiple event pages, it loads the page with the highest number whenever possible.
Title: Re: Star Ocean 3 Encounter System (VX)
Post by: TempestXtreme on June 08, 2010, 12:26:05 PM
I thought the third page was needed...guess not... I'll delete it and see what happens.

EDIT: Okay, no, it didn't work. I guess it's just not possible to respawn events on the map once they've been erased.
Title: Re: Star Ocean 3 Encounter System (VX)
Post by: Mishka on June 08, 2010, 12:38:46 PM
If you're still having trouble, just send me a demo again and I'll see what's up.
Title: Re: Star Ocean 3 Encounter System (VX)
Post by: TempestXtreme on June 08, 2010, 12:43:59 PM
Yeah, okay...here it is. As far as I can see, the only way to get enemies to 'respawn' when using this kind of encounter system is to leave the map and return.

Title: Re: Star Ocean 3 Encounter System (VX)
Post by: Mishka on June 08, 2010, 12:59:00 PM
It was a simple fix. Just make the second page a parallel process and adjust the wait time (60 frames = 1 second)
Title: Re: Star Ocean 3 Encounter System (VX)
Post by: TempestXtreme on June 08, 2010, 01:01:55 PM
Damn, you people are good. I guess I still have a long way to go :\

Thanks for the help, again. :)
Title: Re: Star Ocean 3 Encounter System (VX)
Post by: Mishka on June 08, 2010, 01:17:05 PM
No problem.

For the record, though, you might want to set the first page to "event touch", since a player could conceivably avoid confrontation by not pressing in the same direction that the monster is. Also, a monster won't be able to ambush a player without event touch, either.
Title: Re: Star Ocean 3 Encounter System (VX)
Post by: TempestXtreme on June 08, 2010, 01:34:43 PM
No problem.

For the record, though, you might want to set the first page to "event touch", since a player could conceivably avoid confrontation by not pressing in the same direction that the monster is. Also, a monster won't be able to ambush a player without event touch, either.

I'm aware of that, I just chose to be a dick and not change it ;) In Star Ocean 3 and Chrono Trigger, enemies CHASE you. I'd like to do that myself, really XD