Jump to content
Age of History 3
  • 1
CzarnyJudasz

Problem with decisions and chain of events.

Question

My problem looks like this. I want to create an event that will be shown to the whole world, but this event is triggered by another event. In Germany, I created the Mussert wants asylum event and in this event there are two options. Give asylum 1 or not 2. If I choose to give 1 asylum, the event Mussert received asylum in Germany will appear, and if I choose not to give him asylum, the event Mussert has been arrested will appear. I have already done that. The problem is that I want the whole world to see that mussert was given asylum or arrested, but that the rest of the countries have different answers in the options. For example, Germany has at home in Musser he was given asylum "We can use him" and in Mussert he was arrested and he was told "Mussert is at the mercy of the Dutch". In the world picture in photo 4 it would be "the rat runs away to Germany" and in photo 5 "The German pawn falls". I did that too. The thing is that the events are only loaded for Germans. The events in photos 4-5 should load on the entire map. Regardless of which option the Germans choose, one of two events should appear on the map. He doesn't appear. Nothing appears. I don't understand what the problem is. The last loading event is in photo 2-3 in Germany. I have many other decisions with the same problem because I need an event selected by a country to appear on the entire map. Can someone help? nge1 is german tag . For germany variable is has_variable=mussert_accepted and has_variable=mussert_rejected, For whole map is variable=mussert_accepted_world and add_variable=mussert_rejected_world

4.jpg

1.jpg

2.jpg

3.jpg

5.jpg

Edited by CzarnyJudasz

Share this post


Link to post
Share on other sites

7 answers to this question

Recommended Posts

  • 1

It doesn't work beacase in the first event the value is added to the civ with tag 'spa'

And then in next event you are asking if the civ with tag 'ita' has value 'italian_demands_rejected' but this value was added to the civ that made the decision 'spa'.
The correct trigger is: Does the civ with the tag 'spa' has the variable italian_demands_rejected.


The solution is:
has_variable_civ=spa=italian_demands_rejected


Instead of:

has_variable=italian_demands_rejected

 

aaaa.png.b02f223049325242d88c7b527a9439c4.png

 

Share this post


Link to post
Share on other sites

  • 0

id=ger16
title=Anton Mussert asks for asylum
desc=
mission_desc=Description in the missions view! Hi!

image=72.png

show_in_missions=true
mission_image=2

only_once=true

trigger_and
next_and
is_civ=nge1
exact_day=25=3=1949
trigger_and_end

option_btn
name=Let Abwehr agents transport the poor guy here
add_variable=mussert_accepted
ai=100
option_end


option_btn
name=He totally fucked up. We don't want him
add_variable=mussert_rejected
ai=0
option_end

 

========================================================================================================================

id=world22
title=Anton Mussert receives asylum in Germany
desc=
mission_desc=Description in the missions view! Hi!

image=73.png

show_in_missions=true
mission_image=2

only_once=true

trigger_and
next_and
civ_is=nge1
exact_day=2=4=1949
has_variable=mussert_accepted
trigger_and_end

option_btn
name=It may still be useful
add_variable=mussert_accepted_world
ai=100
option_end

-=-=========================================================================================================================

id=world23
title=Anton Mussert captured!
desc=
mission_desc=Description in the missions view! Hi!

image=74.png

show_in_missions=true
mission_image=2

only_once=true

trigger_and
next_and
civ_is=nge1
exact_day=2=4=1949
has_variable=mussert_rejected
trigger_and_end

option_btn
name=Mussert is at the mercy of the Dutch
add_variable=mussert_rejected_world
ai=100
option_end

-------------------------------------------------------------------------------------------------------------------------------------------------------------

World events for whole map

 

id=world24
title=Anton Mussert receives asylum in Germany
desc=
mission_desc=Description in the missions view! Hi!

image=73.png

show_in_missions=true
mission_image=2

only_once=true

trigger_and
next_and_not
civ_is=nge1
next_and
exact_day=3=4=1949
next_and
has_variable=mussert_accepted_world
trigger_and_end

option_btn
name=The rat runs away into the hole
ai=1000
option_end

-------------------------------------------------------------------------------------------------------------------------------

 

id=world25
title=Anton Mussert captured!
desc=
mission_desc=Description in the missions view! Hi!

image=74.png

show_in_missions=true
mission_image=2

only_once=true

trigger_and
next_and_not
civ_is=nge1
next_and
exact_day=3=4=1949
next_and
has_variable=mussert_rejected_world
trigger_and_end

option_btn
name=The German pawn has fallen
ai=1000
option_end

 

World events not working. I put is no nge1 (germany) because i don't want to germany to see again this same events. But anyway map don't see that event, no germany and no other countries. I have many other chain of events created but I have the same problem as here and I'm stuck.If I remove the country is not nge1, Germany will see the last 2 events but the world still not

 
Edited by CzarnyJudasz

Share this post


Link to post
Share on other sites

  • 0

Age of History 3/mods/"My mod name"/map/Earth3/scenarios/'My mod name again"/events/common

29 minutes ago, Łukasz Jakowski said:

Where are you placing these files?

 

Share this post


Link to post
Share on other sites

  • 0
3 hours ago, CzarnyJudasz said:

Age of History 3/mods/"My mod name"/map/Earth3/scenarios/'My mod name again"/events/common

Try to put the world events in the "events\global\" folder.

Share this post


Link to post
Share on other sites

  • 0

@Iceman 

I did it there but when I did that everything stopped working. The commands with add variable/has variable do not work at all in my mod, for example:

 

id=spa1
title=Italy demands control of the Balerian Islands!
desc=T
mission_desc=Description in the missions view! Hi!

image=87.png

show_in_missions=true
mission_image=2

only_once=true

trigger_and
next_and
is_civ=spa
trigger_and_end

option_btn
name=I agree, it's not worth the war
add_variable=italian_demands_accepted
ai=0
option_end

option_btn
name=We will never agree to this!
add_variable=italian_demands_rejected
ai=100
option_end

 

 

id=ita.9 
title=The Spanish government reject our demands!
desc=Madrid rejected our demands for the Baler Islands.Franco has no intention of risking being recognized by the UN as our ally.What should we do now?
mission_desc=Description in the missions view! Hi!

image=89.png

show_in_missions=true
mission_image=2

only_once=true

trigger_and
next_and
is_civ=ita
next_and
has_variable=italian_demands_rejected
next_and
exact_day=30=1=1949
trigger_and_end

option_btn
name=Threaten them with Regia Marina!
ai=0
option_end

option_btn
name=Let's start negotiations and reach a deal
ai=100
option_end

spa1 appears only because it has a run event, but when it had a variable trigger before, it no longer appeared. Ita9 is not working, idk why, other events the same problem

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.




  • Our picks

    • Age of History 3 - October 23rd, 2024 - Official release date
      Age of History 3 - Official release date

       

      Steam: October 23rd, 2024

      Android: When it's ready

      iOS: When it's ready

      Epic: When it's ready

       
      • 0 replies
    • Campaign: Small Scenarios
      In this topic, share your ideas for Campaign scenarios.

      These scenarios focus on a small part of the map, with the rest designated as wasteland.

       

      For example, a scenario of the Reconquista in 1054, where gameplay takes place only on the Iberian Peninsula.

      What are your ideas for small historical scenarios?

       


       
      • 105 replies
    • Events - Common events for every civilization in the game
      Hi,
      in this topic, I am interested in your ideas for events that can happen for every Civilization in the game.
      I'm also interested in Missions for every Civilization.

      Here is some example, have more than 10k army, have more than 5000 gold, build 10 buildings, recruit an Advisor, increase tax efficiency 20 times, be largest  producer of some resource in the world, unlock 5 Civilization legacies etc.
      • 196 replies
    • First preview of the Alpha version of Age of History 3
      First preview of the Alpha version of Age of History 3, YouTube.
      Release date: When it's ready 😛 Subscribe for more!



       





       
      • 204 replies
    • Land units - Ideas AoH3
      AoH3 will have different types of land units.

      In this topic we will write ideas for new land units. 

       

      So the AoH 3 will have new battle system.


      Representation of the battlefield in the game.


      Land units will be grouped into 3 types. Each unit will have a different recruitment cost, attack, defense, movement speed and upkeep.

      Groups determine the placement of units on the battlefield.


       

      Each unit can be unlocked by researching technology and then upgraded.

       

      Here is the current list of units with upgrades:

      First line:

      Warrior -> Light Footmen -> Heavy Infantry -> Infantry -> Line Infantry -> Modern Infantry

      Hoplites -> Spearmen -> Pikeman -> Elite Pikeman -> Musketeer -> Riflemen -> Mechanized Infantry -> Modern Mechanized Infantry

      First line side:

      Horseman -> Elite Horseman -> Cavalry -> Tank -> Modern Tank

      Second line:

      Archer -> Bowmen -> Crossbowman -> Elite Crossbowman

      Canon -> Field Cannon -> Artillery -> Modern Artillery

      Early Airplane -> Airplane -> Modern Airplane

       

      This is a very early version, so maybe something should be changed?

      Or maybe an idea for a new type of unit with upgrades? I'm waiting for your suggestions.

       
      • 227 replies
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Age of History Games