Prop Mods

From Automation Game Wiki
Revision as of 16:31, 21 November 2021 by Hannah (talk | contribs) (Created page with "Beginning with LCv4.2, Automation supports player-addable and player-customizable props to be placed and edited in the photoscene. A Prop can be placed by the player into the...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Beginning with LCv4.2, Automation supports player-addable and player-customizable props to be placed and edited in the photoscene.

A Prop can be placed by the player into the photoscene, and moved/scaled/rotated freely, and optionally may have its' own set of player-customizable UI options.

A Prop can be anything, from a traffic cone, to a mannequin, to a post-process effect that changes the way the camera sees the scene.

Overview

A prop consists of a collection of files:

  • A Prop blueprint
  • A Prop Preview file
  • A Prop Group file
  • A Prop Preview thumbnail
  • A Prop Group thumbnail
  • (Optionally) A Prop Widget blueprint

The Prop Blueprint is the actor which will be placed in the photoscene, and can be moved around and edited by the player.

The Prop Blueprint is spawned into the scene when the player selects a Prop Preview file.

The Prop Preview file contains a link to the Prop Blueprint, which it will spawn when the player selects it. The Prop Preview file also contains a link to a thumbnail image to display in the UI, as well as a link to the Prop Group under which this prop should be displayed.

The Prop Preview file may also optionally contain a reference to a prop widget blueprint, which will be added to the photoscene UI under the Selected Prop Settings menu.

The Prop Group also contains a thumbnail, which will be displayed when the player enters the prop group selection menu. when the player selects a Prop Group, all Prop Preview files that reference that group will be displayed to the player.

Workflow

  1. Create your prop, with all its optional functionality, inside a Blueprint whose parent class is Photoscene Prop Parent Class.
  2. (Optionally) Create a prop widget, with all its optional functionality, whose parent class is Photoscene Prop Parent Widget.
  3. Create a thumbnail texture for your prop.
  4. Create a PhotoScenePropPreview file, and fill it out with your prop blueprint, thumbnail, and optional widget.
  5. Fill out the remaining settings inside the prop preview file, including a Prop Group (if this prop is part of an existing group).
  6. If this prop is not part of an existing prop group, also create a prop group preview file, prop group thumbnail, and assign the newly created prop group to your prop preview file.