End-user Setup

From TACWiki
Revision as of 12:09, 19 August 2008 by Adn1646 (Talk | contribs) (Started describing the configuration, unfinished)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Each Minigame has a variety of settings that can be configured individually.

Config

The Config.script file holds general settings. It can be opened with any general text editor, such as notepad.

Global

Util.Settings.SetResolution([horizontal],[vertical]);
  • Set the screen resolution this game will be played at, for example, Util.Settings.SetResolution(1024,768);
Util.Settings.FullScreen = [true/false];
  • Set whether the game window will be fullscreen, for example, Util.Settings.FullScreen = true;

Meteor Madness

MeteorMadness.Settings.SetScreenDimensions([Width], [Height], [Distance]);
  • For the dot coherence phase, the dots are based on the size of the visual display as it appears to the player. Width is the width of the display, in centimeters. Height is as height of the display, in centimeters. Distance is the distance between the display and the viewer's eyes, in centimeters. For example, MeteorMadness.Settings.SetScreenDimensions(8.5, 6.25, 24.0);
MeteorMadness.Settings.DotsPerSquareRadian = 10000.0;
  • Dot Density
MeteorMadness.Settings.DotDiameter = .01;
  • Dot Size
MeteorMadness.Settings.DotSpeed = 1.0;
  • Dot Speed
MeteorMadness.Settings.DotLifeSpan = 4 / 60.0;
  • How long each dot exists on the screen.
MeteorMadness.Settings.DotRefreshDelay = 1;
  • Delay between each dot test.
MeteorMadness.Settings.SetPhaseQueue(2, "IdentityTest, 1, Shooter, 3, DotTest, 140, Shooter, 3, DotTest, 140, Shooter, 3, DotTest, 140, Shooter, 1, Boss, 0");
  • The game phases for Meteor Madness.

Keyboard Configuration

Keyboard bindings are stored in a separate file, also specific to each minigame. It is stored as a list of in-game events, each followed by the action that triggers it.

Quit			Escape
  • Trigger the Quit event when Escape is pressed.
PlaceBuilding		Left			mouse
  • Trigger the PlaceBuilding event when the Left Mouse Button is pressed.
ZoomInStop		OemPlus			released
  • Trigger the ZoomInStop event when the Plus Key is released.