Arcen Games

General Category => AI War II => Private Alpha Discussion => : BadgerBadger August 13, 2017, 11:30:21 PM

: Structures that should not be destroyed by default
: BadgerBadger August 13, 2017, 11:30:21 PM
Right now a fleet with "Pursue: On" will destroy a number of structures that I don't think should be destroyed except by deliberate request of the player. These are basically "AI Progress reducers and things you will want to hack." It's very frustrating being unable to easily destroy the defenses of a planet with a DesignTemplateServer without trusting your own units to not kill the thing you want to hack....

Here are the structures:
DesignTemplateServer
SuperTerminal
DataCenter
Coprocessor
EMP/Lightning/Nuclear warhead silo

I think these structures should have the following XML field set: player_units_do_not_attack_unless_taking_planet="true"

: Re: Structures that should not be destroyed by default
: Draco18s August 14, 2017, 01:09:41 AM
I've mentioned the design servers before. Lets see...

Ah. Here.  https://forums.arcengames.com/private-alpha-discussion/hacking-and-other-feedback/

Keith noted that it was an issue.
: Re: Structures that should not be destroyed by default
: BadgerBadger August 14, 2017, 08:56:42 AM
Yeah, you are right. But hopefully another reminder can't hurt (and the fix is so easy)
: Re: Structures that should not be destroyed by default
: keith.lamothe August 14, 2017, 07:17:28 PM
Thanks for the reminder; for 0.509:

* Replaced player_units_do_not_attack_unless_taking_planet (which took true, defaulted to false) with target_type_for_player, which takes:
** AutotargetAlways
*** Default behavior.
** AutotargetIfTakingPlanet
*** What "true" used to mean for the old flag.
** NeverAutotargetButAllowManualTarget
*** Like "true" on the old flag, but does not even autotarget when the planet is marked for taking (can still right-click to attack).
**** This is now set on AIP reducers like the Data Center.
** NeverTarget
*** Your units will never ever aim at this target.
**** This is now set for missile silos and design backups, since those are of no value to you unless you hack them (and hacking them destroys them).
: Re: Structures that should not be destroyed by default
: BadgerBadger August 14, 2017, 08:33:31 PM
Are those settings in the XML? I don't see them anywhere

(20:33:02) desktop:~/AIWar2/GameData/Configuration $ grep -Ri target_type *
(20:33:08) desktop:~/AIWar2/GameData/Configuration $