[BTS] Creating Specific Event/Event Trigger

civofthedead1979

Chieftain
Joined
May 11, 2017
Messages
36
I want to create an Invasion event on my mod. I want specific units from a Barbarian style Civ to appear on specific tiles triggered when I enter a specific Era and/or year in the game.

I want to recreate both the Andal invasion, and then the Rhoynar invasion in my GOT mod. I will set them to be at War with my First Men Civ Cities for when they invade from the Diplomacy screen in World Builder.

There are already events in the game where Barbarians will appear from nowhere to attack. I just need to know if it can be set from where they can attack, and how i do it.

i have no idea about python programming, so if its something i can copy and paste from the game, that would be terrific.
 
There's a really simple mod by The_J that lets you spawn units on a specific tile in scenarios, but it's tied to gameturn, not tech level. That said it probably wouldn't be a stretch to tie it to discovering a tech.
 
There's a really simple mod by The_J that lets you spawn units on a specific tile in scenarios, but it's tied to gameturn, not tech level. That said it probably wouldn't be a stretch to tie it to discovering a tech.

Thanks Great Lord of Pie, it took me a while, but i figured out how to make it work. If its not basic XML, and i don't have instructions telling me exactly what to do, to the minutest detail, i'm completely lost.
 
The mod component functions as i want it to, unfortunately the game keeps crashing, the last crash happened mid game out of nowhere, the 2 times before that, when i tried to go into World Builder. Every time the dump file says

The thread tried to read from or write to a virtual address for which it does not have the appropriate access.

But it cant be a coincidence that this is happening after loading the mod component, before, no issues whatsoever.
Has anyone else had this after adding a mod to their game?
 
The mod component functions as i want it to, unfortunately the game keeps crashing, the last crash happened mid game out of nowhere, the 2 times before that, when i tried to go into World Builder. Every time the dump file says

The thread tried to read from or write to a virtual address for which it does not have the appropriate access.

But it cant be a coincidence that this is happening after loading the mod component, before, no issues whatsoever.
Has anyone else had this after adding a mod to their game?
Unfortunately I can't help you, I know next to nothing about python. But when you figure out the component, I'd love to see the code and use it in my mod.

Also, where do you find the dump file? I'd love to have some more information to track down the source of crashes I experience.
 
Unfortunately I can't help you, I know next to nothing about python. But when you figure out the component, I'd love to see the code and use it in my mod.

Also, where do you find the dump file? I'd love to have some more information to track down the source of crashes I experience.

I checked window updates, uninstalled the game, reinstalled, then tried again. I probably did something i thought was insignificant first time round. But when i reinstalled it all again, and added the component, it worked. It has crashed once when i tried to go back to the main menu. But other than that, its fine.

you have to download specific software to see the dmp files. i downloaded visual studios from microsoft to see the dump reports.
 
Back
Top Bottom