Right now, while it's still fairly early in the project, I am trying to educate myself on good eventing practices to maximize game performance. I really don't want to get 6 moths or a year down the road and have to redo half of the game. Unfortunately I can't make a lot of sense out of the console to tell where problem areas are.
Are you using any lighting systems?
Yeah, I have been using Terrax but I am currently thinking to switching to Nova Lighting.
If you disable all plugins, are you still having the same issue?
I am trying to isolate which plugin might be causing the issue, one of them doesn't like having the activation event set to erase itself, it seems.
Some of the plugins have events that seem strange but they were like that in the demo so I don't question them. For example, I use Galv's Layer plugin and the event to "fade out" an overlay or layer has activate and de-activate self switch A all through it... yet there is no self switch A page in the event. So I just assumed that self switches could be used in mysterious ways that I don't understand yet, lol.
This is one of those "if you give a man a fish he can eat for a day" things. I could ask a million questions about how to set up different events but I figure that won't be necessary if I get a grasp of how the basics work (learn to fish myself, heh).
So...
1) My first assumption is that parallel events are the devil. By that I mean, that they can cause slow down if you have dozens or hundreds of badly constructed events running in your game.
The REALITY of this? a) I have no idea just how many parallel events can be running before it causes slowdown. b) To some degree it depends on your PC. I work on a high end PC and thats the reason I am concerned, I don't want to find out later low end systems fold in half when my game loads.
Some of the dynamics in my project will have to use parallel events (I assume), like Galv's crazy layer-fade-event-that-I-wish-just-used-a-simple-plugin-command:
Spoiler: Galv's Layer Fade
And my system of torches and lanterns that run on timers then extinguish themselves, There are two parts of the total system that use parallel events and I couldn't seem to find a way around it.
Spoiler: Torch and lantern event
2) Here is an example of what I surmise is a "healthy" autorun event used to activate (and keep activated) a Tool Ring plugin on a particular map. I would like this to be made into a common event (that does NOT keep running again and again when its not necessary) but I haven't tried yet.
Spoiler: Tool Ring activation event
I know the tool ring SHOULD stay activated until I use a command to turn it off but I just figured it would be a nice safeguard against potential bugs later down the road to have essential tools set to regulate themselves.
Which brings a couple of questions to mind:
--> How do self switches work in common events?
--> Can I use the erase command in common events?
--> Once a parallel or autorun event with a "self switch A on" command flips over to its self switch A page... it does NOT change back, ever, right? It runs once and thats it?
Ultimately, what I am trying to accomplish is to eliminate some of the parallel events used in changing weather/seasons/tile sets/etc when the Mog Hunter Time System switches to a new season. I figure that would be best done by making them autorun events that reset (by erasing themselves).
If you have made it all the way to the bottom of this rediculous post I owe you a coffee. PM me your paypal. =)
Edit: I guess its not so rediculous when everything is tucked away in spoilers...