/* * DebugConfig.script * Authors: * Copyright (c) 2007-2008 Cornell University This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ // Maritime Defender Settings // Specify the dot density as the number of dots within a circular patch of screen space with // a diameter of one sqaure radian or square degree of visual angle as it appears to the user. MaritimeDefender.Settings.DotsPerSquareRadian = 4000.0; //MaritimeDefender.Settings.DotsPerSquareDegree = 1500.0; // Specify the dot density as the number of dots within a circular patch of screen space with // a diameter of one radian or degree of visual angle as it appears to the user. //MaritimeDefender.Settings.DotsPerRadian = 200.0; //MaritimeDefender.Settings.DotsPerDegree = 150.0; // Override the above settings, specifying exactly the number of dots that should be drawn on // the screen. This setting is optional. //MaritimeDefender.Settings.NumberDots = 150.0; // Affects the average size of the coherence dots in terms of radians. MaritimeDefender.Settings.DotDiameter = System.Math.PI / 1028; // Affects how fast the coherence dots appear to move across the screen in terms of radians // per second. MaritimeDefender.Settings.DotSpeed = System.Math.PI / 32; // How long each dot exists on the screen. 4 / 60.0 reflects 4 frames on a 60 hertz display. MaritimeDefender.Settings.DotLifeSpan = 4 / 60.0; // Additional Delay in seconds between each dot test. MaritimeDefender.Settings.DotRefreshDelay = 1.0; // A random amount of jitter between 0 and [value] seconds will added to the DotRefreshDelay // so that the time between two successive coherence trials is not constant. The default is // 0.15 of a second, or 150 milliseconds. MaritimeDefender.Settings.DotRefreshDelayJitter = 0.15; // The duration of time in seconds immediately after a trial with no response in which late // responses can be excepted. MaritimeDefender.Settings.DotResponseWait = 1.0; // The game phases for Maritime Defender. A list of pairs, a name and a value. Currently, // the Game must start with an IdentityTest phase. The Shooter value is how many wormholes // must be opened and ships identified in order to move on to the next Phase. The DotTest // value is how many dot trials will take place during that phase, where a trial may be a // motion of dots, or an absence of motion. MaritimeDefender.Settings.SetPhaseQueue(2, "IdentityTest, 1, Shooter, 25, DotTest, 30, Shooter, 25, DotTest, 30, Shooter, 25, DotTest, 30, Shooter, 25, DotTest, 30, Shooter, 25, Boss, 0"); // The average duration of a dot test trial in seconds. MaritimeDefender.Settings.DotTrialLength = 2.0; // The amount of length between 0 and this value to be added to the dot trial length MaritimeDefender.Settings.DotTrialJitter = .25; // Whether NonCoherentTrials should be included. If false, there will be coherent motion // to the left or right for every trial. MaritimeDefender.Settings.HaveNonCoherentTrials = false; // Decrease this value to implement a more gradually sloping sigmoid // psychometric function with a wide pseudo-linear central interval; // increase it to implement a more sharply sloping psychometric function // that behaves more like a step function. A value of 25 captures between // the sigmoid's inflexion points about 15% of the full (0 to 100%) interval // of motion coherence values; this is a typical slope. The psychometric // function is defined as 1/(1+e^-scale*(coherence - threshold)), where // 'coherence' and 'threshold' are in the interval [-1, 1] and 'scale' is // the following setting: MaritimeDefender.Settings.PsychophysicalSigmoidScale = 25.0; // If the dot trial coherence is above this percentage, actively incorrect // responses will not be counted against the player. MaritimeDefender.Settings.DotTrialIncorrectIgnoreThreshold = 100.0;