Skip to content

Commit

Permalink
showroom_09: tables and more work
Browse files Browse the repository at this point in the history
  • Loading branch information
steel89ita committed Jul 5, 2024
1 parent 970b169 commit b5d0fb9
Showing 1 changed file with 29 additions and 36 deletions.
65 changes: 29 additions & 36 deletions docs/showrooms/st_showroom_09_stage.mdx
Original file line number Diff line number Diff line change
@@ -1,57 +1,50 @@
---
sidebar_label: Showroom 09 - The Stage
---
{/* Components */}
import StCodeBlock from '@site/src/components/StCodeBlock'
import ColorPalette from '@site/src/components/ColorPalette'
import ExtAvailableColors from '!!raw-loader!@site/src/configs/available_colors.ini';
import PropsTable from '@site/src/components/PropsTable'

{/* Ext Config INI parts */}
import ExtObjectsControl from '!!raw-loader!@site/src/configs/st_09_ext_objects.ini';
import ExtLightsControl from '!!raw-loader!@site/src/configs/st_09_ext_lights.ini';

# Showroom 09: The Stage

## Show / Hide Objects

:::warning

After changing these values, you need to **restart your game**.

:::
{/* Documentation Partials */}
import ShowroomObjects from '../_partials/_showroom_objects_control.mdx';
import ShowroomLights from '../_partials/_showroom_lights_control.mdx';

export const objectProperties = [
{ name: 'Water', desc: 'Animated Water Surface', vals: '$ON - $OFF' },
{ name: 'CameraSet', desc: 'Camera Set with lights', vals: '$ON - $OFF' },
{ name: 'Christmas', desc: 'Christmas presents', vals: '$ON - $OFF' },
{ name: 'TopLight', desc: 'Top Light (Available in Layout #1 only)', vals: '$ON - $OFF' },
]

export const lightProperties = [
{ name: 'Color', desc: 'Color of the light', vals: 'Any from the Palette' },
{ name: 'LightIntensity', desc: 'Brightness of the light', vals: 'from 0.0 to 1.0' },
{ name: 'MaterialIntensity', desc: 'Emissive of the material', vals: 'from 0.0 to 1.0' },
{ name: 'Range', desc: 'Range of the light', vals: 'from 1 to ~' },
{ name: 'Condition', desc: 'When the light is ON', vals: 'OFF | ALWAYS_ON | NIGHT_SMOOTH | FLARE_FLICKERING | STROBE' }
]

<StCodeBlock title={'ext_config.ini'} language={'ini'} >
{ExtObjectsControl}
</StCodeBlock>

**Water ( $ON | $OFF )** - Animated Water Surface

**CameraSet ( $ON | $OFF )** - Camera Set with lights

**Christmas ( $ON | $OFF )** - Christmas presents

**TopLight ( $ON | $OFF )** - Top Light (Available in Layout #1 only)
# Showroom 09: The Stage

This showroom lets you play a dynamic animated video in the scene displays.

## Change Light Colors and Properties
## Change Video

<StCodeBlock title={'ext_config.ini'} language={'ini'} >
{ExtLightsControl}
</StCodeBlock>
<StCodeBlock title="config.json" language="json"> </StCodeBlock>

<ShowroomObjects iniContent={ExtObjectsControl} properties={objectProperties} />
___

## Available Colors
<ShowroomLights iniContent={ExtLightsControl} properties={lightProperties} />

<StCodeBlock title={'ext_config.ini'} language={'ini'} >

```ini
[DEFAULTS]
DESCRIPTION = Color Values, don't change - Use them below for light colors
# DONT' CHANGE THESE VALUES! USE THEM BELOW
```

{ExtAvailableColors}
</StCodeBlock>

<ColorPalette rawColors={ExtAvailableColors} ></ColorPalette>



Expand Down

0 comments on commit b5d0fb9

Please sign in to comment.