Author Topic: Structures that should not be destroyed by default  (Read 185 times)

Online BadgerBadger

  • Hero Member
  • *****
  • Posts: 659
  • BadgerBadgerBadgerBadger
Structures that should not be destroyed by default
« on: 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"


Offline Draco18s

  • Resident Velociraptor
  • Core Member Mark IV
  • *****
  • Posts: 3,924
Re: Structures that should not be destroyed by default
« Reply #1 on: 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.

Online BadgerBadger

  • Hero Member
  • *****
  • Posts: 659
  • BadgerBadgerBadgerBadger
Re: Structures that should not be destroyed by default
« Reply #2 on: August 14, 2017, 08:56:42 AM »
Yeah, you are right. But hopefully another reminder can't hurt (and the fix is so easy)

Offline keith.lamothe

  • Arcen Games Staff
  • Administrator
  • Zenith Council Member Mark III
  • *****
  • Posts: 19,317
Re: Structures that should not be destroyed by default
« Reply #3 on: August 14, 2017, 07:17:28 PM »
Thanks for the reminder; for 0.509:

Quote
* 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).
Have ideas or bug reports for one of our games? Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!

Online BadgerBadger

  • Hero Member
  • *****
  • Posts: 659
  • BadgerBadgerBadgerBadger
Re: Structures that should not be destroyed by default
« Reply #4 on: 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 $