Feature #15038

XEH for XEH-incompatible addons (units/vehicles etc)

Added by Sickboy almost 5 years ago. Updated almost 5 years ago.

Status:Closed Start date:11/10/2010
Priority:High Due date:
Assignee:Sickboy % Done:

100%

Category:XEH
Target version:v0.7.1
Component: Affected Version:
Close Reason:

Description

This is possible although with a catch, we will have to use addEventhandler, this means the XEH's will be removed if anyone uses the removeAllEventhandlers scripting command on the object,
this is not the case with the config based eventhandlers.

It also means additional (looped) processing.

It will fail completely if there is not a single XEH compatible object on the map,
you can remedy that by placing the SLX_XEH_Logic module, but perhaps we can improve on that somehow.

Associated revisions

Revision cf471bb6
Added by Sickboy almost 5 years ago

~ ADDED: XEH support for addons that do not support XEH out of the box. refs #15038

Revision cf471bb6
Added by Sickboy almost 5 years ago

~ ADDED: XEH support for addons that do not support XEH out of the box. refs #15038

Revision 19e9714e
Added by Sickboy almost 5 years ago

~ CHANGED: XEH Config eventhandlers (internal) simplified. Opens some better debug-abilities as well as easier to verify if a class is XEH enabled. refs #15038

Revision 19e9714e
Added by Sickboy almost 5 years ago

~ CHANGED: XEH Config eventhandlers (internal) simplified. Opens some better debug-abilities as well as easier to verify if a class is XEH enabled. refs #15038

Revision 77de2ea2
Added by Sickboy almost 5 years ago

~ IMPROVED: XEH Support for XEH-incompatible addons. closes #15038.

Revision 77de2ea2
Added by Sickboy almost 5 years ago

~ IMPROVED: XEH Support for XEH-incompatible addons. closes #15038.

Revision f18bbbb4
Added by Sickboy almost 5 years ago

~ ADDED: SLX_XEH_Logic (Module); (Backup) initialization for XEH; useful when all objects in the mission are not XEH compatible. refs #15038

Revision f18bbbb4
Added by Sickboy almost 5 years ago

~ ADDED: SLX_XEH_Logic (Module); (Backup) initialization for XEH; useful when all objects in the mission are not XEH compatible. refs #15038

Revision 76d330d2
Added by Sickboy almost 5 years ago

CHANGED: Added class caching. refs #15038

Revision 76d330d2
Added by Sickboy almost 5 years ago

CHANGED: Added class caching. refs #15038

Revision 5a796534
Added by Sickboy almost 5 years ago

FIXED: Cache type not obj. refs #15038

Revision 5a796534
Added by Sickboy almost 5 years ago

FIXED: Cache type not obj. refs #15038

Revision 032a9cd6
Added by Sickboy almost 5 years ago

FIXED: Broken addition when event didn't exist at all. refs #15038

Revision 032a9cd6
Added by Sickboy almost 5 years ago

FIXED: Broken addition when event didn't exist at all. refs #15038

Revision b6194e95
Added by Sickboy almost 5 years ago

FIXED: Cache hits were not tagged processed. refs #15038

Revision b6194e95
Added by Sickboy almost 5 years ago

FIXED: Cache hits were not tagged processed. refs #15038

Revision 9d0f141b
Added by Sickboy almost 5 years ago

ADDED: Exclude classes (+cache)

CHANGED: loop time. refs #15038

Revision 9d0f141b
Added by Sickboy almost 5 years ago

ADDED: Exclude classes (+cache)

CHANGED: loop time. refs #15038

History

Updated by Sickboy almost 5 years ago

  • % Done changed from 0 to 30

If you'd like to follow progress, check the script source

Updated by Sickboy almost 5 years ago

  • File cba_extended_eventhandlers.pbo added
  • Target version changed from Future to v0.7.1
  • % Done changed from 30 to 50

Please find Beta of CBA_Extended_EventHandlers.pbo attached, please test it with XEH incompatible addons and confirm workings.

Updated by Sickboy almost 5 years ago

  • Status changed from In progress to Resolved
  • % Done changed from 50 to 100

Updated by Sickboy almost 5 years ago

  • File deleted (cba_extended_eventhandlers.pbo)

Updated by Sickboy almost 5 years ago

  • File cba_extended_eventhandlers.pbo added

Attached latest testing version; results are looking pretty good!
Also includes SLX_XEH_Logic module that can be placed in missions in case no XEH compatible objects are in it at all.

Updated by Sickboy almost 5 years ago

  • File deleted (cba_extended_eventhandlers.pbo)

Updated by Sickboy almost 5 years ago

  • File extended_eventhandlers.pbo added

Updated by Sickboy almost 5 years ago

  • File deleted (extended_eventhandlers.pbo)

Updated by Sickboy almost 5 years ago

  • File extended_eventhandlers.pbo added

Latest version incl optimizations, caching etc.

Updated by Sickboy almost 5 years ago

  • File deleted (extended_eventhandlers.pbo)

Updated by Sickboy almost 5 years ago

Signed fix @ #15023

Updated by Sickboy almost 5 years ago

  • Status changed from Resolved to Closed

Available in the latest dev-update on six-updater.
Hopefully soon followed by an official 0.7.1 release.

Also available in: Atom PDF