Jump to content
Age of History 3
  • 0
Kimseal

Oh, my God! Who can help me see why my case is not implemented? I'm about to collapse!

Question

id=讨龙之役结束
tltle=讨龙之役结束
desc=

image=通用事件.png

show_in_missions=false
mission_image=0.png
popUp=true
only_once=true

trigger_and
next_and
is_civ=KWN
next_and
province_is_occupied=6677
next_and
province_is_occupied=4169
next_and
province_is_occupied=9105
trigger_and_end

option_btn
name=败退海南岛
annex_by_civ_from_civ=GXC=KWN=6738;3099;4751;4502;3032;5002;2897;6693;3938;1449;9105;4002;5515;5909;3443;5609;5684;7659;246;4539;4169;1557;1129;6812;3942;6010;63;9887;4252;1012;6677;1675;6231;8559;7593;5213;9681;2622;4432;5551;4980;2596;9718;
move_capital=4746
add_truce=GXC=KWN
add_truce=LYH=KWN
add_truce=CJM=KWN
add_truce=MQY=KWN
ai=1000
option_end

Share this post


Link to post
Share on other sites

11 answers to this question

Recommended Posts

  • 0
2 hours ago, Neyoto Hiro said:

我猜是语言? “讨龙之役结束”“通用事件”至少试试英文吧?

 

No, I've tried to use English. It has nothing to do with language. It's normal to use Chinese for other events.

Share this post


Link to post
Share on other sites

  • 0

then maybe adding some description? Or maybe...
change this into...

On 1/6/2025 at 10:51 AM, Kimseal said:

trigger_and
next_and
is_civ=KWN
next_and
province_is_occupied=6677
next_and
province_is_occupied=4169
next_and
province_is_occupied=9105
trigger_and_end

trigger_and
next_and
is_civ=KWN
next_and
province_is_occupied=6677
province_is_occupied=4169
province_is_occupied=9105
trigger_and_end

Add description and try this method.

Share this post


Link to post
Share on other sites

  • 0
On 2025/1/7 at PM10点14分, Neyoto Hiro said:

那么也许可以添加一些描述?或者也许...
将其改为...

trigger_and
next_and
is_civ=KWN
next_and
province_is_occupied=6677
province_is_occupied =4169
province_is_occupied=9105
trigger_and_end

添加描述并尝试此方法。

Sadly, it still can't be triggered.

Share this post


Link to post
Share on other sites

  • 0
On 1/9/2025 at 3:30 AM, Kimseal said:

Sadly, it still can't be triggered.

CivTags in the game are lowercase, not all uppercase. This is case-sensitive in the game's code: .equals() is used instead of .equalsIgnoreCase():

public static final int getCivID(String tag) {
    try {
        for(int i = 1; i < getCivsSize(); ++i) {
            if (getCiv(i).getCivTag().equals(tag)) {
                return i;
            }
        }

        for(int i = 1; i < getCivsSize(); ++i) {
            if (getCiv(i).realTag.equals(tag)) {
                return i;
            }
        }
    } catch (Exception var2) {
    }

    return -1;
}
Edited by 11:59 Development Team

Share this post


Link to post
Share on other sites

  • 0
9 hours ago, 11:59 Development Team said:

CivTags in the game are lowercase, not all uppercase. This is case-sensitive in the game's code: .equals() is used instead of .equalsIgnoreCase():

public static final int getCivID(String tag) {
    try {
        for(int i = 1; i < getCivsSize(); ++i) {
            if (getCiv(i).getCivTag().equals(tag)) {
                return i;
            }
        }

        for(int i = 1; i < getCivsSize(); ++i) {
            if (getCiv(i).realTag.equals(tag)) {
                return i;
            }
        }
    } catch (Exception var2) {
    }

    return -1;
}

Actually, it is not. The tags I made are capitalized. In fact, many triggers in this game cannot be used

Share this post


Link to post
Share on other sites

  • 0
22 hours ago, Kimseal said:

Actually, it is not. The tags I made are capitalized. In fact, many triggers in this game cannot be used

Assuming these are custom uppercase tags, they should work, but none of the actual tags in basegame are. Anyway, it's important to note that if you are noticing no Events trigger - all Events have been removed from beta MP (and possibly other later game) versions of the build to my knowledge. So make sure you aren't running that version of the game.

Edited by 11:59 Development Team

Share this post


Link to post
Share on other sites

  • 0
3 hours ago, 11:59 Development Team said:

Assuming these are custom uppercase tags, they should work, but none of the actual tags in basegame are. Anyway, it's important to note that if you are noticing no Events trigger - all Events have been removed from beta MP (and possibly other later game) versions of the build to my knowledge. So make sure you aren't running that version of the game.

No, I am not running the multiplayer version, but the latest official version. I discovered a long time ago that some event triggers of this game cannot be used, but not all, such as the trigger of this event I wrote cannot be used. I think it should be a problem with this game, such as a problem with the code. My syntax should be correct, and other people around me also said that some triggers cannot be used.

Share this post


Link to post
Share on other sites

  • 0
32 minutes ago, Kimseal said:

No, I am not running the multiplayer version, but the latest official version. I discovered a long time ago that some event triggers of this game cannot be used, but not all, such as the trigger of this event I wrote cannot be used. I think it should be a problem with this game, such as a problem with the code. My syntax should be correct, and other people around me also said that some triggers cannot be used.

Note that Event Triggers break upon running multiple games in the same session as well.

Some of them can't be used, but I can tell you that these triggers work fine under ordinary circumstances - it's just that the provinces have to be occupied long enough for an event tick to roll over:

image.thumb.png.35330f03197679765bb7b60efed6030e.png

Edited by 11:59 Development Team

Share this post


Link to post
Share on other sites

  • 0
On 2025/2/19 at PM11点37分, 11:59 Development Team said:

请注意,在同一会话中运行多个游戏时事件触发器也会中断。

其中有些无法使用,但我可以告诉你,这些触发器在一般情况下可以正常工作 - 只是省份必须被占领足够长的时间才能使事件滴答滚动:

图像.缩略图.png.35330f03197679765bb7b60efed6030e.png

Really? How long does it take for the occupation to trigger the result? Or is there a way to change this?

Share this post


Link to post
Share on other sites

  • 0
9 hours ago, Kimseal said:

Really? How long does it take for the occupation to trigger the result? Or is there a way to change this?

it takes about one to two months for me on my end (it appears to be a monthly tick), but there are a few caveats:

  • Event Triggers don't seem to work if you have multiple games in the same session, so this must be the first game that session.
  • Event Triggers may not work if the trigger is true, then false, then true again over multiple monthly ticks.
  • Event Triggers don't work on the MP build because Events there are disabled.

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

       
    • 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?

       


       
    • 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!



       





       
    • 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.

       
×
×
  • 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