View Issue Details

IDProjectCategoryLast Update
0021028AI War 2Gameplay IdeaMay 13, 2019 11:34 am
ReporterChris_McElligottPark Assigned ToChris_McElligottPark  
Status resolvedResolutionfixed 
Product VersionBETA 0.850 The Arrival of Fleets 
Fixed in VersionBETA 0.859 Lobby Raid 
Summary0021028: the ability to say in XML "This unit invokes the following C# function every PerSecond for more complex Eyes
DescriptionFrom Badger originally. He also notes: This is super low priority. "Would be nice to have eventually, but not even necessary for 1.0"
TagsNo tags attached.

Relationships

child of 0021022 resolvedChris_McElligottPark Various fleet-related ideas (parent). 

Activities

BadgerBadger

Apr 18, 2019 2:02 pm

manager   ~0051142

If we want to have Threat Eyes or Zombie Eyes or things like that, we need feature like this.

BadgerBadger

May 12, 2019 8:07 pm

manager   ~0051590

Actually, this already exists with the EntityRollupType.NeedsSpecialPerSecondLogic rollup and logic.

Chris_McElligottPark

May 13, 2019 11:34 am

administrator   ~0051594

Thanks!

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.

Issue History

Date Modified Username Field Change
Apr 18, 2019 12:10 pm Chris_McElligottPark New Issue
Apr 18, 2019 12:10 pm Chris_McElligottPark Status new => assigned
Apr 18, 2019 12:10 pm Chris_McElligottPark Assigned To => Chris_McElligottPark
Apr 18, 2019 12:10 pm Chris_McElligottPark 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 Chris_McElligottPark Status assigned => resolved
May 13, 2019 11:34 am Chris_McElligottPark Resolution open => fixed
May 13, 2019 11:34 am Chris_McElligottPark Fixed in Version => BETA 0.859 Lobby Raid
May 13, 2019 11:34 am Chris_McElligottPark Note Added: 0051594