safely removing ace items

This forum is currently in read-only mode.
From the Asset Store
Pick Up Items Sound effects for your game, Take them for a ride right now and you will worry no more.
  • I know if you add an ace item in between two others on the ace table, and then load a cap made with the previous version of a plugin, it will mix up your actions.

    EDIT: forget what I said about physics. I fixed that. but still curious if it's possible to remove something from the ace table without breaking old caps

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • You could use "ADDCND_AT", "ADDACT_AT" and "ADDEXP_AT" defined in "\Common\CommonAceTable.hpp" instead of "ADDCND", "ADDACT" and "ADDEXP". That way you can manually assign an index to the ace.

    By default common aces are indexed 0-255, and any plugin defined aces start at 255. So the first plugin condition will be 255, also the first action will be 255.

  • You can't remove from the ACE table without breaking caps - this is a design flaw in 0.x that's been corrected in C2 (your ACE table can be in any order and you can mark obsolete ACEs as deprecated, so they still work in old projects but can't be chosen through the UI). R0J0's workaround is the best you can do. You shouldn't change it though, 0.x uses the ACE table indexes to reference everything.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)