soundrts-1.4.2.8

14 views
Skip to first unread message

修君

unread,
May 29, 2026, 1:06:30 AM (12 days ago) May 29
to soundRTSChat
1.4.2.8
Optimized with Cython, resulting in a slight performance improvement.
Added a new neutral computer faction. Zhong Lifang will not attack anyone unless attacked first.
How to set it up:
For example, in a map, use:
computer_only 0 0 neutral followed by various units and buildings.
If the neutral keyword is present, the computer will be neutral; if neutral is not added, it will be hostile.
Added support for setting fixed spawn points for players. For details, please refer to mapmaking.rst.

player_start
............

"player_start" 将第 N 名玩家(从 1 开始,与 ``trigger playerN`` 对应)固定在游戏开始时的某个特定格子。第 N 个加入大厅的客户端将始终在那里出生,无论 ``random_starts`` 如何设置。有两种写法:

简单式 —— "player_start N <格子>" 只更换出生格,保留该位置已有的资源 / 单位列表::

    player_start 1 a1
    player_start 2 c1
    player_start 3 e1

完整式 —— "player_start N <资源...> <格子> <单位...>" 像 ``player`` 行那样一并定义资源、出生格和单位,并把它们固定给第 N 名玩家::

    player_start 1 5 10 a1 townhall peasant

上面这行等价于把 ``player 5 10 a1 townhall peasant`` 固定成第 1 个加入的玩家。单位写法与 ``starting_units`` 一致(支持倍率数字,例如 ``townhall 5 peasant``)。

注意:

- ``<格子>`` 可以是 ``a1`` / ``1,1`` / 已注册的 ``square_name`` 别名。
- 两种写法可以在同一张地图中混用。
- 未被 ``player_start`` 行覆盖的玩家保持原有行为
  (从剩余的 ``starting_squares`` 中随机或顺序选取)。
- 对于简单式,如果覆盖的格子不属于 ``starting_squares``,引擎会
  在那里用全局的 ``starting_units`` / ``starting_resources``\ (或匹配的
  ``player`` 行,如果存在)注入一个隐式的出生位。完整式则直接用该行重建整个出生位。
- 即使没有人以该玩家编号加入,被固定的位置也会为该编号保留:
  其他客户端不会被传送到那里。

The English documentation in doc/en/ has also been updated.

game:

lucia greco

unread,
May 29, 2026, 1:46:59 AM (12 days ago) May 29
to soundr...@googlegroups.com
I'm really liking these improvements you're making. However, if I look at the new campaign you've created, I can't get past the first chapter because when I reach $3, 000 gold and 600 wood, I don't know how to get the cart if there's a special thing I need to do or is this just a bug

lucy Greco
http://accessaces.com
follow me on   social media @accessaces

--
You received this message because you are subscribed to the Google Groups "soundRTSChat" group.
To unsubscribe from this group and stop receiving emails from it, send an email to soundrtschat...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/soundrtschat/783b4b07-05ee-4322-bdab-bc1e983c8732n%40googlegroups.com.

修君

unread,
May 29, 2026, 2:20:29 AM (12 days ago) May 29
to soundRTSChat
You need to build a workshop and then train him, rather than construct him directly.

修君

unread,
May 29, 2026, 3:02:03 AM (12 days ago) May 29
to soundRTSChat
Reply all
Reply to author
Forward
0 new messages