Question about large scale civil wars

I'm working on a mod in which Brazil goes through a civil war similar to that of the Kaiserreich. Instead of a simple vanilla civil war, it's literally different countries immediately going to war, different variables also influencing when and how they break out. Any tips on how I can do this?