Droid order similar to scout?

For porting of the campaign to javascript discussions
Post Reply
User avatar
Berserk Cyborg
Code contributor
Code contributor
Posts: 938
Joined: 26 Sep 2016, 19:56

Droid order similar to scout?

Post by Berserk Cyborg »

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.
Per
Warzone 2100 Team Member
Warzone 2100 Team Member
Posts: 3780
Joined: 03 Aug 2006, 19:39

Re: Droid order similar to scout?

Post by Per »

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.
User avatar
NoQ
Special
Special
Posts: 6226
Joined: 24 Dec 2009, 11:35
Location: /var/zone

Re: Droid order similar to scout?

Post by NoQ »

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?
Post Reply