Actually, all events are blocked by the BLOCK ROAD event in my demo. I just made it not obvious by minimizing the possibility that any pedestrian would be dumb enough to step onto that tile (except the player, who is unblocked because the event priority is set to below player). The pedestrians would be programmed to use the zebra crossing, with pedestrian traffic controlled the same way as the cars. Of course, only the player is free to jaywalk. I took a look at your game maps and I think it's okay if cars stopped some distance away from pedestrian crossings caused by you placing a hidden event there. Real roads are like that, after all. I think this is the simplest way to make the traffic work. Having gangsters jaywalking with the player is likely to cause a lot of unbelievable vehicle-npc accidents too.
To block only car events, I'd use a
collision checker plugin. Thus, when CAR collides with BLOCK ROAD, it would then check what color the traffic light is (by remotely accessing the traffic light's self switch), and decide whether to set BLOCK ROAD's movement route to THROUGH or not (also by remote control of BLOCK ROAD's self switches). After passing through, BLOCK ROAD would need to be reset till the next collision. It's definitely doable via common event, but I'm going to need some time to think it through, or write a quick plugin (sorry, I've only been using rmmv for a month, I'm not totally familiar with its base code yet).
For random traffic,
see here. I've realized that the inbuilt rmmv setlocation command is stupid and laggy when the common event is in charge, but that reddit post will show you how to simulate random traffic without appearing to. A common event can still be used to control the forward/reverse CAR self switch. That or you can hide cars with custom routes in an inaccessible corner of the map and spawn them on the roads at random.
By the way, could you show me the plugin that you previously used? Might be able to fix it or at least study it and write a new one. Coding is fun!
I saw your game and I must say, you're AMAZING. Beautiful lighting and atmosphere, reminiscent of gta chinatown and saints row. Please let me try a demo when you're ready! My own artistic skills died at stick figure level so I only get rtp tiles to play with, though my current personal goal is to reach skyrim-level AI for my npcs (hence the coding mania). My head is also packed with ideas on game mechanics.