AIEND Posted May 24, 2022 Report Share Posted May 24, 2022 After adding arson to the soldiers, the soldiers are still occupying some buildings in vain that could have been easily destroyed by fire, I want to change this and let the soldiers destroy the buildings first. Quote Link to comment Share on other sites More sharing options...
Freagarach Posted May 24, 2022 Report Share Posted May 24, 2022 Attack.prototype.GetBestAttackAgainst Quote Link to comment Share on other sites More sharing options...
BreakfastBurrito_007 Posted May 24, 2022 Report Share Posted May 24, 2022 Another thing you can do is press "alt" or "option" if you have a mac, while clicking to attack. What this does is tell the soldiers to attack rather than capture the target. In multiplayer we like this option because there are times where it is faster to capture a building and times where it is faster to destroy it. Quote Link to comment Share on other sites More sharing options...
AIEND Posted May 24, 2022 Author Report Share Posted May 24, 2022 22 分钟前,BreakfastBurrito_007 说: 您可以做的另一件事是,如果您有 Mac,请按“alt”或“option”,同时单击进行攻击。 这样做是告诉士兵攻击而不是捕获目标。 在多人游戏中,我们喜欢这个选项,因为有时捕获建筑物更快,有时摧毁建筑物更快。 I don't have a MAC. 30 分钟前,回复说: Is this to be added to the soldier's template to take effect? Quote Link to comment Share on other sites More sharing options...
Player of 0AD Posted May 24, 2022 Report Share Posted May 24, 2022 You can also exploit the bug that "attack move, units only" lets the soldiers also destroy buildings if they are in formation. 1 Quote Link to comment Share on other sites More sharing options...
AIEND Posted May 24, 2022 Author Report Share Posted May 24, 2022 1小时前,0AD玩家说: 您还可以利用“攻击移动,仅限单位”的错误让士兵在编队时也可以摧毁建筑物。 ctrl+q? Quote Link to comment Share on other sites More sharing options...
BreakfastBurrito_007 Posted May 24, 2022 Report Share Posted May 24, 2022 translator must have failed there, sorry. "alt" would be used for everything but mac. I am not sure what it is on a chinese keyboard. Quote Link to comment Share on other sites More sharing options...
Stan` Posted May 24, 2022 Report Share Posted May 24, 2022 On mac it's the option key Quote Link to comment Share on other sites More sharing options...
AIEND Posted May 24, 2022 Author Report Share Posted May 24, 2022 1小时前,BreakfastBurrito_007 说: 翻译那里一定是失败了,对不起。 “alt”将用于除 mac 之外的所有内容。 我不确定它在中文键盘上是什么。 PRC generally uses an English keyboard. The main problem is that I have not seen this usage of the Alt key in the shortcut key description in the game. Quote Link to comment Share on other sites More sharing options...
alre Posted May 24, 2022 Report Share Posted May 24, 2022 isn't it ctrl, rather than alt? Quote Link to comment Share on other sites More sharing options...
AIEND Posted May 24, 2022 Author Report Share Posted May 24, 2022 2 分钟前,alre 说: 不是ctrl,而不是alt吗? If I press the ctrl key here, the soldiers will capture the building instead of destroying it by default. Quote Link to comment Share on other sites More sharing options...
sarcoma Posted May 24, 2022 Report Share Posted May 24, 2022 ctrl+q and ctrl+alt+q are the default attack move keys, maybe remap them to something easier 1 Quote Link to comment Share on other sites More sharing options...
AIEND Posted May 24, 2022 Author Report Share Posted May 24, 2022 6 minutes ago, sarcoma said: ctrl+q 和 ctrl+alt+q 是默认的攻击移动键,也许将它们重新映射到更容易的东西 The problem now is that the soldier's default attack mode is to capture, If I hold down the ctrl key and then click the ground with the mouse, the soldier will capture all the buildings along the way. I can only press ctrl and then click the building alone to let the soldier destroy it. I want to change the default attack method of the soldier on the building, and destroy it first. instead of capture. Quote Link to comment Share on other sites More sharing options...
Player of 0AD Posted May 24, 2022 Report Share Posted May 24, 2022 1 hour ago, sarcoma said: ctrl+q and ctrl+alt+q are the default attack move keys, maybe remap them to something easier Pretty sure they are ctrl+rightclick and ctrl+rightclick+q Its handy to switch them 1 Quote Link to comment Share on other sites More sharing options...
sarcoma Posted May 25, 2022 Report Share Posted May 25, 2022 https://trac.wildfiregames.com/wiki/HotKeysCtrl + Q + Right Click with unit(s) selected – Attack move, only units along the way are targeted Quote Link to comment Share on other sites More sharing options...
Lion.Kanzen Posted May 25, 2022 Report Share Posted May 25, 2022 14 hours ago, Freagarach said: Attack.prototype.GetBestAttackAgainst is that in simulation side? Quote Link to comment Share on other sites More sharing options...
hyperion Posted May 29, 2022 Report Share Posted May 29, 2022 @AIEND you have to change the javascript code, @Freagarach pointed out a starting point. All else in this thread you can safely ignore. You can check the diff contained in following download to get additional pointers: 2 Quote Link to comment Share on other sites More sharing options...
Lion.Kanzen Posted May 29, 2022 Report Share Posted May 29, 2022 35 minutes ago, hyperion said: @AIEND you have to change the javascript code, @Freagarach pointed out a starting point. All else in this thread you can safely ignore. You can check the diff contained in following download to get additional pointers: can't it be an additional function called from the interface? Like patrol or garrison? Quote Link to comment Share on other sites More sharing options...
Ceres Posted February 8, 2023 Report Share Posted February 8, 2023 On 29/05/2022 at 7:28 PM, Lion.Kanzen said: can't it be an additional function called from the interface? Like patrol or garrison? And automatic garrison after capture. 1 Quote Link to comment Share on other sites More sharing options...
Lion.Kanzen Posted February 11, 2023 Report Share Posted February 11, 2023 it is already solved for A27. 1 1 Quote Link to comment Share on other sites More sharing options...
BeTe Posted February 12, 2023 Report Share Posted February 12, 2023 Not sure if that's correct strategy, but I set Hotkey for myself to Ctrl + Right Click as most of times I want to clean units and then capture. Before that I noticed my units are dying while capturing garrisoned building while enemy shoot on them. x) IIRC, you can customize it in 0AD Options. Quote Link to comment Share on other sites More sharing options...
AIEND Posted February 12, 2023 Author Report Share Posted February 12, 2023 4 小时前,BeTe 说: 不确定这是否是正确的策略,但我将 热键 自己的 设置为Ctrl + 右键单击 ,因为大多数时候我想清理单位然后捕获。 在此之前,我注意到我的部队在占领驻守建筑时死亡,而敌人则向他们射击。 X) IIRC,您可以在 0AD 选项中自定义它。 Under the current attack method, if soldiers attack rather than capture buildings by default, they will only stab with spears, chop with swords, or throw arrows, javelins and stones on the walls in vain. And I don't want that, I plan to use mods to add specialized siege damage to soldiers, such as throwing torches. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.