Dynamic Event Creation. Is it possible?

JOked

Villager
Member
Joined
Jul 2, 2015
Messages
8
Reaction score
0
First Language
Russian/Latvian
Primarily Uses
Hello!

I'm trying to wrap my head around RGSS3 and one of the things I've been interested is a dynamic event creation mechanic. The basic idea that I had was to make two scripts or, ideally, one that could create a map on the go and place enemies on the newly created map.

Is such a thing possible and if it is, then what are some pointers to look into to start working on such a mechanic?

Thank you in advance!
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,366
Reaction score
7,676
First Language
German
Primarily Uses
RMMV
Yes - Tsukihime already has an event wrapper script that gives the framework for creating events by scripting. Search it on her blog.


However, that is not easy to use - most people usually only clone existing events from a master map instead of creating events from scratch.


Cloning events is enough for all cases I've heard of so far, Tsukihime's script isn't used in any game that I've heard from.
 

JOked

Villager
Member
Joined
Jul 2, 2015
Messages
8
Reaction score
0
First Language
Russian/Latvian
Primarily Uses
Yes, that is exactly what I've been looking for.

Well, apart from just using it, I'm also interested in the logic of how it works, so as to learn a bit more about RGSS3.

Thank you!
 

JOked

Villager
Member
Joined
Jul 2, 2015
Messages
8
Reaction score
0
First Language
Russian/Latvian
Primarily Uses
If you prefer to clone events from another maps... You may prefer to use molegato's event transmutter:
I'm still a little unsure as to what event cloning from a map is, but I'll check that out as well. Thanks.

This will allow you to clone without scripting.
Well, I'm a tad bit more used to reading scripts rather than navigating UI's.
 

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Veteran
Joined
May 15, 2012
Messages
14,682
Reaction score
3,003
First Language
Tagalog
Primarily Uses
RMVXA
It means copying an already existing event from a map.
 

JOked

Villager
Member
Joined
Jul 2, 2015
Messages
8
Reaction score
0
First Language
Russian/Latvian
Primarily Uses
I see, thanks.
 

Kai Monkey

Veteran
Veteran
Joined
Apr 3, 2012
Messages
166
Reaction score
119
First Language
RGSS3
Primarily Uses
The technique I like to use is to clone an event from a template map, as mentioned, and then make modifications to that event in the code.

For example once commission I had lately had be creating events dynamically for each actor in the database. So for every actor I cloned the event, and had the script replaced the character graphic with the correct character graphic, any examples of the placeholder face graphic with the correct graphic and added the line me = $game_actor[iD HERE] to the start of any script calls in the event. 
 

JOked

Villager
Member
Joined
Jul 2, 2015
Messages
8
Reaction score
0
First Language
Russian/Latvian
Primarily Uses
The technique I like to use is to clone an event from a template map, as mentioned, and then make modifications to that event in the code.
Yeah, after taking a few looks at the different scripts suggested, I kinda started to think that it would probably be the better option.

Again, thank you all for your suggestions!
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

People3_5 and People3_8 added!

so hopefully tomorrow i get to go home from the hospital i've been here for 5 days already and it's driving me mad. I miss my family like crazy but at least I get to use my own toiletries and my own clothes. My mom is coming to visit soon i can't wait to see her cause i miss her the most. :kaojoy:
Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.

Forum statistics

Threads
105,868
Messages
1,017,081
Members
137,582
Latest member
Spartacraft
Top