Skip to content

Pack Making JSON GUI Text

SnailPerson edited this page Apr 27, 2026 · 5 revisions

GUI Text Objects are used to make text appear on screen instead of physically in the world. See example below:

edwffewf.mov
Code Example
"guiTextObjects": [
  		{
    "pos": [0, -24, 0],
    "rot": [0, 0, 0],
    "scale": 1.0,
    "renderPosition": 0,
    "defaultText": "Starter",
    "color": "FFFFFF",
    "fadeInTime": 4,
    "fadeOutTime": 4,
    "animations": [
      {
        "animationType": "visibility",
        "variable": "engines_running",
        "clampMin": 0.0,
        "clampMax": 0.0
      },
      {
        "animationType": "visibility",
        "variable": "collision_11_player_cursor_hovered",
        "clampMin": 1.0,
        "clampMax": 1.0
      }
    ]
  },
  {
    "pos": [0, -24, 0],
    "rot": [0, 0, 0],
    "scale": 1.0,
    "renderPosition": 0,
    "defaultText": "Spotlight Switch",
    "color": "FFFFFF",
    "fadeInTime": 10,
    "fadeOutTime": 10,
    "animations": [
      {
        "animationType": "visibility",
        "variable": "collision_13_player_cursor_hovered",
        "clampMin": 1.0,
        "clampMax": 1.0
      }
    ]
  }
]

Clone this wiki locally