Conquest of Elysium 4

Conquest of Elysium 4

dustin1819 27 Nov, 2019 @ 10:56pm
Terrain that Spawns Independents
I am thinking of getting into modding CoE4 but first I've been trying to pull together information and figure out how the backend even works. The most recent wall I've run into is figuring out how the base game makes "spawning terrain". Such as Ancient Forests or, mostly, Myrmeke Hills. I was hoping there was a terrain modding function to accomplish that, similarly to how you can tag terrain as ownable, but that does not appear to be the case. Does the game manually go through and check each square using squareevent, or is there any sort of built in functionality around terrain that spawns independents?
< >
Showing 1-4 of 4 comments
Faith over Riches 28 Nov, 2019 @ 6:41am 
I believe you can use squareevent to specify a type of tile and chance of spawning a certain unit. Every turn, the game checks every square for squareevents.
Althaea 28 Nov, 2019 @ 6:49am 
The base game does not use anything like events to spawn units, AFAIK, but it's true that using events is the only way to emulate the process in a mod.
dustin1819 28 Nov, 2019 @ 9:01am 
Thanks for the replies, hopefully they add the ability to create or modify existing terrain's spawn effects but for now I''ll just accept that terrain will always spawn how it wants and that I can only layer on additional spawns through eventing.
dustin1819 28 Nov, 2019 @ 9:25am 
Actually, does anyone know if clearspec happens to prevent spawning?
< >
Showing 1-4 of 4 comments
Per page: 1530 50