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

Offline BadgerBadger

  • Arcen Volunteer
  • Hero Member Mark III
  • *****
  • Posts: 1,229
  • 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 V
  • *****
  • Posts: 4,251
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.

Offline BadgerBadger

  • Arcen Volunteer
  • Hero Member Mark III
  • *****
  • Posts: 1,229
  • 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
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 19,505
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!

Offline BadgerBadger

  • Arcen Volunteer
  • Hero Member Mark III
  • *****
  • Posts: 1,229
  • 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 $

 

SMF spam blocked by CleanTalk