View Issue Details
ID | Project | Category | Date Submitted | Last Update | |
---|---|---|---|---|---|
0021028 | AI War 2 | Gameplay Idea | Apr 18, 2019 12:10 pm | May 13, 2019 11:34 am | |
Reporter | Chris_McElligottPark | Assigned To | Chris_McElligottPark | ||
Status | resolved | Resolution | fixed | ||
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. | ||||
child of | 0021022 | resolved | Chris_McElligottPark | Various fleet-related ideas (parent). |
|
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. |
|
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. |
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 |