Elemental Modding: Part 2 – New Factions
During the early betas of Elemental, we let users creation their own factions during the game setup. But over time, we kept getting more and more good ideas on how to make this more sophisticated that it became impractical to foist such a complex system onto the player (the UI would just get crazy).
Moreover, having to UI drive faction creation was resulting in factions that were more or less the same. So we moved this into the area of modding.
Let’s create a new faction. I’m going to create a new file called Froglers.xml and put it into my units directory in documents\my games\elemental
Inside I’m putting this file:
<Description>This amphibious race hops on all fours.</Description>
<!-- Race Stuff -->
Now, if you pop this in it’ll crash. That’s because we have to define some things first:
Without those 4 things defined, the game won’t know what to do with this faction. It is in these 4 things that we ultimately make what is special and unique.
I also cheated in terms of the 3D modeling. I used Skaths as my units. Skaths kind of look like frogs in the game so I figured…
We’ll need to define what Frogs are as a race. And we’ll need to come up with a technology tree for them.