View Issue Details
|ID||Project||Category||Date Submitted||Last Update|
|0021028||AI War 2||[All Projects] Gameplay Idea||Apr 18, 2019 12:10 pm||May 13, 2019 11:34 am|
|Product Version||BETA 0.850 The Arrival of Fleets|
|Fixed in Version||BETA 0.859 Lobby Raid|
|Summary||0021028: the ability to say in XML "This unit invokes the following C# function every PerSecond for more complex Eyes|
|Description||From Badger originally. He also notes: This is super low priority. "Would be nice to have eventually, but not even necessary for 1.0"|
|Tags||No tags attached.|
||If we want to have Threat Eyes or Zombie Eyes or things like that, we need feature like this.|
||Actually, this already exists with the EntityRollupType.NeedsSpecialPerSecondLogic rollup and logic.|
After looking at what you mentioned, it wasn't a long process to add this. It's untested but should work.
* Like we have had description_appender_dll and description_appender_type for quite some time, we now also have per_second_custom_logic_dll and per_second_custom_logic_type.
** The former calls void AddToDescriptionBuffer( GameEntity_Squad RelatedEntityOrNull, GameEntityTypeData RelatedEntityTypeData, ArcenDoubleCharacterBuffer Buffer ) on a IGameEntityDescriptionAppender.
** The new one calls void RunEntitySpecialPerSecondLogic( GameEntity_Squad RelatedEntity, ArcenSimContext Context ) on a IGameEntityPerSecondSpecialLogic.
** This allows us to have all sorts of crazy AI watcher units, including AI Eyes or whatever else, that run some completely custom logic once per second. It's easy for modders to define, etc, etc.
|Apr 18, 2019 12:10 pm||x4000Bughunter||New Issue|
|Apr 18, 2019 12:10 pm||x4000Bughunter||Status||new => assigned|
|Apr 18, 2019 12:10 pm||x4000Bughunter||Assigned To||=> x4000Bughunter|
|Apr 18, 2019 12:10 pm||x4000Bughunter||Relationship added||child of 0021022|
|Apr 18, 2019 2:02 pm||BadgerBadger||Note Added: 0051142|
|May 12, 2019 8:07 pm||BadgerBadger||Note Added: 0051590|
|May 13, 2019 11:34 am||x4000Bughunter||Status||assigned => resolved|
|May 13, 2019 11:34 am||x4000Bughunter||Resolution||open => fixed|
|May 13, 2019 11:34 am||x4000Bughunter||Fixed in Version||=> BETA 0.859 Lobby Raid|
|May 13, 2019 11:34 am||x4000Bughunter||Note Added: 0051594|