SuperAPI AI Directory

genre-stealth

Design & creation

View repository

Updated 10-31 12:25

About this skill

Genre: Stealth

Shadows are gameplay. Noise materials. Vertical infiltration routes.

Recipe

Shadows are gameplay: lit pools vs dark zones at 1:8 or higher ratio, 2-3 m vertical routes, cover at 1.2 m.

  1. Block out concealment with blockout.py: tall walls (box 4 x 0.3 x 2.5 m, blocks sight) and low cover (box 2 x 0.6 x 1.0 m, crouch) in a line or grid layout with 3-4 m spacing for patrol routes.
  2. Dark base with light_rig.py preset horror_practical (small pools of light in darkness = guard-visible zones; a rig replaces its own previous lights, so use one preset).
  3. Concealment materials with pbr_material.py (dark base_color [0.03, 0.03, 0.04], roughness 0.9) on hiding spots; noisy floors with roughness 0.4.
  4. Dress with scatter_props.py (count 8) for cover.
  5. Camera camera_rig.py: lens_mm 35, elevation_deg 40. Grade comp_grade.py preset noir.
import runpy
skills = "<skills_dir>"  # parent folder of this skill (the plugin's skills/ directory)
target = "SM_Asset"      # object to style / dress
r = {}
r["walls"] = runpy.run_path(f"{skills}/environment-artist/scripts/blockout.py", init_globals={"ARGS": {"group": "Stealth", "pieces": [{"kind": "box", "size": [4.0, 0.3, 2.5]}, {"kind": "box", "size": [2.0, 0.6, 1.0]}], "layout": {"pattern": "grid", "count": 6, "spacing": 4.0, "center": [10, 10]}}})["result"]
r["pools"] = runpy.run_path(f"{skills}/lighting/scripts/light_rig.py", init_globals={"ARGS": {"preset": "horror_practical", "target": target}})["result"]
r["hide"] = runpy.run_path(f"{skills}/materials/scripts/pbr_material.py", init_globals={"ARGS": {"name": "MAT_Concealment", "base_color": [0.03, 0.03, 0.04], "roughness": 0.9, "objects": [target]}})["result"]
r["props"] = runpy.run_path(f"{skills}/set-dressing/scripts/scatter_props.py", init_globals={"ARGS": {"target": target, "count": 8}})["result"]
r["cam"] = runpy.run_path(f"{skills}/camera-cinematography/scripts/camera_rig.py", init_globals={"ARGS": {"name": "CAM_Stealth", "target": target, "lens_mm": 35, "elevation_deg": 40}})["result"]
r["grade"] = runpy.run_path(f"{skills}/compositing/scripts/comp_grade.py", init_globals={"ARGS": {"preset": "noir"}})["result"]
result = r
Item Value
Cover height 1.2 m (crouch)
Vent / crawl 0.6-0.8 m
Ledge to grab 2.5-3 m
Guard sight cone 10-15 m, 90 deg
Lit pool radius 2-4 m