soundrts-1.4.2.5

5 views
Skip to first unread message

修君

unread,
May 15, 2026, 8:24:29 PM (12 days ago) May 15
to soundRTSChat
1.4.2.5
Added a new can_advance field specifically for phase, separate from can_research. For example, you can now write can_advance feudal_age on a townhall instead of can_research feudal_age.
The status/info panel now also shows phases that can be advanced to via can_advance.
Added display of the default starting phase at the beginning of the game.
For example, in Age of Empires, the starting phase is the Dark Age, which can be defined like this:
def dark_age
class phase
cost 0 0
time_cost 0
Then define the next age:
def feudal_age
class phase
cost 10 15
time_cost 130
phase bonus mdg 1 hp_max 5 cost -2 0 time_cost -5
units_auto_upgrade 0
Then you can assign can_advance to a building:
def townhall
class building
can_advance feudal_age
When you add this field, the system will detect that this building can advance the phase, so the game will display the default phase at the start, which is dark_age. You can press V on the townhall or the corresponding building to check it.
Added a new hide_locked_commands field, which controls whether commands that do not yet meet their requirements are hidden. For example, if the barracks does not exist, the option to upgrade the townhall to keep will be hidden.
You can define it in rules.txt like this:
def parameters
hide_locked_commands 1
A value of 1 means hidden. The default is 0, meaning commands are not hidden.

1.4.2.4
New Class: phase
Added the phase class, a feature inspired by the age advancement system in Age of Empires. Players can now progress through the game by upgrading their "Phase" instead of upgrading their base. You can define bonuses gained upon advancement and specify whether units should automatically upgrade to the next phase. The keywords are as follows:
phase_targets soldier;
You can also specify building, unit, or specific unit names like footman knight. This keyword defines which units benefit after upgrading to the Feudal Age. If this field is left empty, all classes will benefit.
phase bonus dmg 1 hp_max 5 cost -2 0 time_cost -5;
This keyword defines the bonuses/buffs gained after the phase upgrade.
units_auto_upgrade 0;
If set to 1, units from the previous age will automatically upgrade to their counterparts in the next age upon advancement.
Improved Dynamic Alliance Mechanism
Refined the dynamic alliance system so that the cooldown for each alliance request is now independent rather than shared.

game:

Reply all
Reply to author
Forward
0 new messages