ACF-3 icon indicating copy to clipboard operation
ACF-3 copied to clipboard

[SUGGESTION] Global ACF entity table enhancements

Open Alexandre425 opened this issue 3 years ago • 0 comments

Again, followup on a discord discussion

Base idea is the following:

  • Player indexed table with each of the player's contraptions
  • Each contraption has a table of ACF entities belonging to it

The format could me something like:

  • Global table
    • Player A
      • Contraption 1
        • ACF entity 1
        • ACF entity 2
        • ACF entity 3
      • Contraption 2
        • ACF entity 1
        • ACF entity 2
    • Player B
      • Contraption 1
        • ACF entity 1

What this could be used for:

  • Radars would loop over the contraptions, better performance
  • Good framework to implement spalling of all types
    • After penetrating a layer of armor, the table is indexed with the armor's owner. A list of ACF entities is returned (could be entities in the contraption, or all the player's entities)
    • Traces are run to each of the entities if they are within the spalling cone

CFrame already exists, and my suggestion is it's built upon and integrated from the start into ACF. I think ACF could benefit from CFrame becoming more specialized.

Alexandre425 avatar May 06 '21 20:05 Alexandre425