Part4 put wall switch (DSA logic)

Summary

bulletHow to write a DSA program.
  1. Click "Edit DSA" to get entire list of DSA program entries.
  2. Edit "000" entry.
  3. Edit DSA program entry.
    Description is "Sample DSA1".
    S0 is "MTA".
bulletHow to import a DSA program to current level.
  1. Raise "Edit Level Information".
  2. Click "Edit DSA List" to get current DSA program entries you have imported.
  3. Replace "00" entry with "000 Sample DSA1".
bulletHow to place a DSA.
  1. Place an actuator object at wall.
    type of actuator is "Designer-Specified Actuator".
  2. For further setup:
    DSA type is "Sample DSA1".
    target of "Parameter A" points to the door's tile.
bulletHow to launch a DSA program. (Place a pushbutton. On activation, the pushbutton will launch the DSA.)
  1. Place an actuator object at wall.
    type of actuator is "Pushbutton".
  2. For further setup:
    graphic of actuator is "Green button(out)".
    actuator action is "Set".
    set actuator target to DSA's wall tile.

Screenshots are presented by CSBuild 1.79. CSBuild is written by Paul R. Stevens.

horizontal rule

Click DSA button from toolbar. "Edit DSA"

horizontal rule

Select one of DSA program from 256 DSA program entries.

1. Click "000".
2. Click "Edit Selected DSA".

horizontal rule

Edit the DSA program.

1. Fill the Description with "Sample DSA1". This is name of current editing DSA program.
2. Fill "S0" section with "MTA".
3. Click "OK".

horizontal rule

You'll see your DSA program "Sample DSA1."

Click "Exit" to close.

horizontal rule

Raise "Edit Level Information".

horizontal rule

Associate your DSA entry with current level.

Click "Edit DSA List" button.

horizontal rule

You see 32 empty entries. Each entry has pointer to a DSA program entry you edited previously.

1. Click "00"
2. Click "Replace Selected DSA".

horizontal rule

You'll see a full list of DSA program entries. Select one of them to import it into current level.

1. Click "000 Sample DSA1".
2. Click "OK".

horizontal rule

You'll see that your DSA program associated with current level.

Click "Exit" to close.

horizontal rule

then, click "OK" to close.

horizontal rule

Click the wall tile out of map. (to add an object)

Usually place DSA actuator at invisible place, because player doesn't have to watch that.

horizontal rule

Add an object at north of wall tile.

Click "New" at upper pane.

horizontal rule

Add an DSA actuator.

1. Select "Actuator" from type.
2. Select "Designer-Specified Actuator".
3. Click "OK".

horizontal rule

Asked to fill more about DSA actuator. Select DSA program and adjusst parameters.

1. Select "DSA Type" for "Sample DSA1".
2. Ensure "Target" checked at "Parameter A".
2. Click "Browse" at "Parameter A".

horizontal rule

Select a location.

Point the door, then click "OK".

horizontal rule

You'll see the location (level, column, row) is filled.

Click "OK".

horizontal rule

then, click "OK".

horizontal rule

Place a wall switch inner the room. The switch is to launch DSA.

Right-click the wall tile.

horizontal rule

Add an interactive object.

Click "New" at west pane.

horizontal rule

Add a pushbutton.

1. Click "Actuator" from Type.
2. Select "Pushbutton".
3. Click "OK".

horizontal rule

Further options are requested.

1. "Green button(out)" for wall graphic
2. "Set" for action
3. Click "Browse" at target

horizontal rule

Pushbutton launches the DSA. So, pushbutton's target points the DSA actuator.

1. Point the DSA wall tile.
2. Click "OK".

horizontal rule

Then, click "OK".

horizontal rule

Then, click "OK".