How do I edit the instructions in the PSAP script?


Author
Message
mmarcotte_2422
mmarcotte_2422
Associate Member (68 reputation)Associate Member (68 reputation)Associate Member (68 reputation)Associate Member (68 reputation)Associate Member (68 reputation)Associate Member (68 reputation)Associate Member (68 reputation)Associate Member (68 reputation)Associate Member (68 reputation)
Group: Forum Members
Posts: 1, Visits: 2
How do I edit the instructions in the PSAP script? I see where to edit the finish screen but it doesn't offer any customization for the introduction. Please advise.

Melissa
Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 105K
The instructions are presented via images. There are various GIF files included with the script. To change the instructions, you have to either edit those GIFs or replace them with new ones.

Which set of GIFs is presented is determined by the device the script runs on, as you can see from the <include> elements:

**********************************************
The instruction slides used depend on
the type of device the game is played on
**********************************************

<include>
/ precondition = [
    !computer.touch
]
/ file = "PSAP_intro.iqx"
</include>

<include>
/ precondition = [
    computer.touch
]
/ file = "PSAP_intro_ios.iqx"
</include>

***********************************************************
these instructions will be run if the script is
run on a touchscreen
***********************************************************

<text touchscreenInstruct1>
/ items = ("General Note on Touchscreen Usage
 for this Task:")
/ fontstyle = ("Arial", 5%, true, false, false, false, 5, 1)
/ position = (50%, 20%)
/ size = (80%, 20%)
/ vjustify = center
</text>

<text touchscreenInstruct2>
/ items = ("All necessary response buttons/keys will be provided at the bottom of your screen.

For example, here you see the <SPACEBAR>.
Tap it to continue to read instructions.")
/ fontstyle = ("Arial", 3%, true, false, false, false, 5, 1)
/ position = (50%, 50%)
/ size = (70%, 30%)
/ vjustify = center
</text>

You'll want to examine / edit the two *.iqx files referenced in the <include> elements accordingly, i.e., PSAP_intro.iqx and PSAP_intro_ios.iqx.

In the main script, the instruction images are presented via standard <picture>, <trial> and <block> elements:

**************************************************************************************************************
**************************************************************************************************************
    INSTRUCTIONS
**************************************************************************************************************
**************************************************************************************************************

<picture instructions>
/items = instructions
/select = values.instruct_select
/position = (50%, 50%)
/size = (80%, 80%)
</picture>

<trial instructions>
/ontrialbegin = [values.instruct_select = values.instruct_select + 1]
/stimulusframes = [1 = instructions]
/validresponse = (48, 46)
/branch = [if (trial.instructions.response == 48 && values.instruct_select > 1) {values.instruct_select = values.instruct_select - 2; trial.instructions}]
/branch = [if (values.instruct_select < 7) trial.instructions]
</trial>

<block instructions>
/trials = [1 = touchscreenInstruct; 2 = instructions]
/recorddata = false
</block>

*****************************
General Helper Trial
*****************************

<trial touchscreenInstruct>
/ skip = [
    !computer.touch
]
/ stimulusframes = [1 = touchscreenInstruct1, touchscreenInstruct2]
/ validresponse = (57)
/ recorddata = false
</trial>

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search