Droid order similar to scout?

For porting of the campaign to javascript discussions

Droid order similar to scout?

Postby Berserk Cyborg » 08 Aug 2017, 00:14

Is there an order that acts like DORDER_SCOUT with the additional capability to attack anything nearby that the droid happens to discover along its path? Currently the scout order does not make droids attack walls and tank traps which are rather popular in the campaign.
User avatar
Berserk Cyborg
Code contributor
Code contributor
 
Posts: 340
Joined: 26 Sep 2016, 19:56

Re: Droid order similar to scout?

Postby Per » 09 Aug 2017, 20:10

It is a bit odd, because the targeting code explicitly says that AI droids in campaign should not attack walls, but they should do so in multiplayer. See src/ai.cpp line 659.

I have no idea why that exception exists. It has been there since the very beginning. Feel free to remove it - you know best what is good for campaign at this point.
Per
Warzone 2100 Team Member
Warzone 2100 Team Member
 
Posts: 3649
Joined: 03 Aug 2006, 19:39

Re: Droid order similar to scout?

Postby NoQ » 09 Aug 2017, 20:19

Probably for that beta level when you intercept an enemy commander who takes an hour to cross a tiny map from one corner to another, getting stuck in the buildings?
User avatar
NoQ
Special
Special
 
Posts: 6099
Joined: 24 Dec 2009, 11:35
Location: /var/zone


Return to Campaign