https://perchance.org/mytestgen#edit In this generator, I have a suit list that consists of 5 areas: mask, cape, boots etc. The other two lists are "camera" and "actor". So, camera can zoom-in on a certain body part, and I need it to output only that section of clothing, leaving everything else out-of-frame. That I solved. But there's a third dimension to it. The third list is Actor, some characters cannot wear certain clothes because of their characteristics, for example, mermaid can't wear bottom clothes. Help me add that third dimension into the output line to filter it out properly, please.

you are viewing a single comment's thread
view the rest of the comments
[–] 3 points 1 year ago (1 child)

You can have each of the suits into a single list, then control that parent list. E.g.

Uniform
  https://user.uploads.dev/file/53321b33603b8f9f386fb870db73ad65.png
  [Top] ^[camera.includes("top") && actor != "dryad"]
  [Mid] ^[camera.includes("mid") && actor != "angel"]
  [Low] ^[camera.includes("low") && !["mermaid", "minotaur"].includes(actor)]
  [Rear] ^[camera.includes("rear") && actor != "angel"]
  [TopMidLow] ^[["top", "mid", "low"].some(a => camera.includes(a))]


Top
  batman mask ^[specificCostume == "batman"]
  ...

Mid
  batman suit with batman logo on the chest, batman gloves, batman belt ^[specificCostume == "batman"]
  ...
  • source
  • parent
  • hideshow 1 child comment
  • [–] [S] 1 point 1 year ago*

    Good idea but that would be a hell of a job to track all the pieces across different lists plus specification for each piece where it goes. Since I'm lazy I just did:

    Uniform
      https://user.uploads.dev/file/53321b33603b8f9f386fb870db73ad65.png
      top=batman mask
      mid=batman suit with batman logo on the chest, batman gloves, batman belt
      low=batman pants, batman boots
      rear=batman cape, mask straps on the back of the head
      noZoom=[this.top], [this.mid], [this.low], partially visible batman cape on the sides
    

    and then just call it like [Uniform[camera]]. I can easily filter out different actor specifications now.

  • source
  • parent