Age of History 3

Age of History 3

Zbyt mało ocen
Create event with Event Generator
Autorzy: Sandwich3010 i 1 innych współtwórców
Welcome to the easy-to-use Event Generator for Age of History 3! This tool will help you create and customize events for your game, as well as translate them into any language.
   
Przyznaj nagrodę
Ulubione
Ulubione
Usuń z ulubionych
Intro
Recently, we released an event generator for Age of History 3 on GitHub: https://github.com/IlyaSalRCA/AoH_Event_Generator. Let’s take a detailed look at how to use it to create an event for your mod!
Title
Everything starts with the event’s title section. Required fields are marked with an asterisk. For image ID fields, enter the name of the image from the images and imagesMissions folders without any extensions. If desired, you can set the generator window to stay on top of all other windows. Here, you can also select the generator’s language — creating your own translation is covered on the GitHub page.

Let’s create a recurring event for the Che Guevara Brigade to raid the Fourth Reich. Accordingly, we’ll set the following parameters:
  • Event ID: M_CHE_RAID
  • Title: M_CHE_RAID.t
  • Description: M_CHE_RAID.d
  • Image ID: 4
  • Event thumbnail ID: 0
  • Event triggers automatically
  • Event appears as a pop-up window
Triggers
Next, we’ll select the event’s triggers. In this case, we only need to create one trigger group with several sub-triggers using the logical operator AND. Here’s what we’ll need:
  • is_civ = mtro (Che Guevara Brigade)
  • exist = mrei_f (Reich with Nazi ideology)
  • random_chance = 5 (5%)
  • civ_government_is = 15 (Guevarism)
When selecting a trigger (or an outcome), hovering over the parameter field will display a tooltip with a description of the trigger and an example parameter. The generator includes all possible triggers and outcomes!






Outcomes
Now, let’s define one outcome. We’ll name the button fight_facist_btn and set the AI’s selection chance to 100%. The outcome will include two bonuses:
  • gold = 25 (mtro receives 25 gold)
  • run_event = M_CHE_RAID_REICH (an event with this ID will trigger the next day)


After this, the event can be created. The generator will check that all required fields are filled, that triggers and outcomes are added, and will then create the event in the designated location. By default, the generator is installed in the Documents folder.
Event Translation
The generator also allows you to immediately translate the event into any language. The Preview tab shows how the event will look in-game. To translate, fill in the Title and Description fields and add at least one outcome with a name. At the top, there’s a field for entering language initials (you can leave it blank for English).





The translation itself is entered directly into the event window fields. The generator will then verify the correctness of the input and create a translation file (or append to it if it already exists).
Generated Files
Below are the directories and files that were created. By default, the generator is located in the Documents folder.





After finishing work with the generator, you’ll need to copy the event file, the filename in list_*.txt, and the lines from the translation files into your mod.





Event in the Game
Here’s how the event looks in-game:





Thus, we’ve explored the functionality of the AoH 3 Event Generator. You can download it on GitHub: https://github.com/IlyaSalRCA/AoH_Event_Generator

Good luck!