If you appreciate the work done within the wiki, please consider supporting The Cutting Room Floor on Patreon. Thanks for all your support!

Swypeout Battle Racing

From The Cutting Room Floor
Jump to navigation Jump to search

Title Screen

Swypeout Battle Racing

Developer: Spin Master
Publisher: Spin Master
Platform: Windows


GraphicsIcon.png This game has unused graphics.
MovieIcon.png This game has unused cinematics.
DebugIcon.png This game has debugging material.


NotesIcon.png This game has a notes page

Cactus 2.0!
This article has just been started and needs the article basics added.
Help us out and add them.
This cactus is UNDER CONSTRUCTION
This article is a work in progress.
...Well, all the articles here are, in a way. But this one moreso, and the article may contain incomplete information and editor's notes.
See, this is why game preservation is important.
This game is defunct.
Do note the game no longer works at all without modifications. This is most likely due to the game's servers being shut down. As a result, further official developments with the game are unlikely to happen.

SWYPEOUT!! The online battle racing game! How will you swype your opponents out? Oh, you can't as the game's servers were shut down on the 1st of January 2009...

This page is dedicated to documenting what is found on the dump of the game's installation disc that was updated to archive.org here. This disc actually contains an install-able version of the game, but it doesn't (officially) let you get past the update check thanks to the official swypeout.com website being down.

It's worth noting that the disc appears to contain a prototype version of sorts, with missing assets in places, however when the game was active, the updater executable would run and download the newest version of the game (a day one patch of sorts) when running the game for the first time after installation. Putting what Spin Master had at the time on the installation discs was most likely done to reduce the size of the update size.

Hmmm...
To do:
  • Convert this page to a prototype page if a newer version of Swypeout is dumped.
  • Do more digging! The game can be installed from the ISO.

Sub-Page

Miscellaneous tidbits that are interesting enough to point out here.
Notes

Unused Graphics

Hmmm...
To do:
Many of the .jpg files appear to be temporary, mockup, or used. Document them here.

Go Carma

A JPG file located at Swypeout Battle Racing\gameData\client\ui\mainMenuGui\background.jpg. This looks to be some sort of concept art for an older name for this game.

Swypeout-GoCarma.jpg

Unused Videos

Net Jet

A rather low resolution unused OGG video located at Swypeout Battle Racing\gameData\client\ui\Lesson Descriptions\video.ogg. It includes the logo of the Net Jet game system, and screenshots from its "Mission: Paintball" game.

Running the Game

The file located at Swypeout Battle Racing\main.cs controls how the game starts up, and contains this text:

function pushFront(%list, %token, %delim)
{
   if (%list !$= "")
      return %token @ %delim @ %list;
   return %token;
}

function pushBack(%list, %token, %delim)
{
   if (%list !$= "")
      return %list @ %delim @ %token;
   return %token;
}

function popFront(%list, %delim)
{
   return nextToken(%list, unused, %delim);
}

$modcount = 1;
$userMods = "common";// @ $defaultGame;

setModPaths($userMods);

nextToken($userMods, currentMod, ";");

function loadDir(%dir)
{
   setModPaths(pushback($userMods, %dir, ";"));
   exec(%dir @ "/main.cs");
}

function loadMods(%modPath)
{
   %modPath = nextToken(%modPath, token, ";");
   if (%modPath !$= "")
      loadMods(%modPath);

   if(exec(%token @ "/main.cs") != true){
      error("Error: Unable to find specified mod: " @ %token );
      $modcount--;
   }
}
loadMods($userMods);

exec( "gameData/client/defaults.cs" );
onStart();
initCanvas("Swypeout Battle Racing", true);
exec( "gameData/client/ui/versionErrorGui.gui" );
canvas.setContent( "VersionErrorGui" );
cursorOn();

Change line 21 to instead say this:

$userMods = "gameData";// @ $defaultGame;

and comment out lines 48, 49 and 50. After doing this, run the game and you'll instead see a sign in screen.

Debugging

Hmmm...
To do:
Write details on how to bind missing keybinds for movement, switching and firing weapons.

Debug Keybinds in config.cs

When running the game and reaching the sign in screen, when the game is closed, a config file will be created at Swypeout Battle Racing\gameData\client\config.cs, which the game uses to manage keybindings. Examining it shows some interesting debugging keybindings.

// Torque Input Map File
if (isObject(MoveMap)) MoveMap.delete();
new ActionMap(MoveMap);
MoveMap.bindCmd(keyboard, "escape", "", "escapeFromGame();");
MoveMap.bind(keyboard, "f2", showPlayerList);
MoveMap.bind(keyboard, "f5", toggleParticleEditor);
MoveMap.bindCmd(keyboard, "r", "commandToServer(\'resetCar\');", "");
MoveMap.bind(keyboard, "e", toggleZoom);
MoveMap.bind(keyboard, "z", toggleFreeLook);
MoveMap.bind(keyboard, "tab", toggleFirstPerson);
MoveMap.bind(keyboard, "alt c", toggleCamera);
MoveMap.bind(keyboard, "u", toggleMessageHud);
MoveMap.bind(keyboard, "pageup", pageMessageHudUp);
MoveMap.bind(keyboard, "pagedown", pageMessageHudDown);
MoveMap.bind(keyboard, "p", resizeMessageHud);
MoveMap.bind(keyboard, "f3", startRecordingDemo);
MoveMap.bind(keyboard, "f4", stopRecordingDemo);
MoveMap.bind(keyboard, "f8", dropCameraAtPlayer);
MoveMap.bindCmd(keyboard, "f7", "commandToServer(\'dropPlayerAtCamera\');", "");
MoveMap.bind(keyboard, "ctrl o", bringUpOptions);
MoveMap.bindCmd(keyboard, "g", "commandToServer(\'AddCar\');", "");
MoveMap.bindCmd(keyboard, "n", "NetGraph::toggleNetGraph();", "");
MoveMap.bindCmd(keyboard, "ctrl m", "Canvas.setContent(startMissionGui);", "");
MoveMap.bindCmd(keyboard, "f", "commandToServer(\'flipCar\');", "");
MoveMap.bindCmd(keyboard, "ctrl r", "commandToServer(\'rechargeItems\');", "");
MoveMap.bind(mouse0, "xaxis", yaw);
MoveMap.bind(mouse0, "yaxis", pitch);
Hmmm...
To do:
Format these images in a better way.

escapeFromGame()

Shows a prompt to disconnect from the server. If accepted, you are brought to the main menu.

Swypeout-DisconnectServer.png

showPlayerList

Shows a player list on the right hand side of the screen.

Swypeout-DebugOverlays.png

resetCar

Sends a command to the server to reset your car back onto the track. This resets all velocity.

toggleZoom

Doesn't seem to do anything, even when using the free cam (see details below).

toggleFreeLook

Also doesn't seem to do anything, even when using the free cam (see details below).

toggleFirstPerson

Toggles the camera between the default "chase" camera and "on the hood" camera.

toggleCamera

Changes the camera to a free camera, with the following controls.

  • WASD or arrow keys: Move camera
  • E: Move the camera upwards
  • C: Move the camera downwards
  • Hold Space Bar: Move the camera faster
  • Move the mouse: Turns the camera
  • F8: Resets the camera position to the hood of your car.
  • Alt+C: Toggles the camera back to "chase" mode.

toggleMessageHud

Pops up a chat text box you can type in. The GLOBAL channel is selected. Press Enter on your keyboard to 'send' a message. Chat Messages do not appear to be logged anywhere.

This may be a default feature of the Torque engine, as Swypeout instead only allowed players to select from a range of different phrases to send.

pageMessageHudUp

When waiting in a multiplayer game lobby, this scrolls up the chat log at the bottom of the screen.

Swypeout-Lobby.png

pageMessageHudDown

When waiting in a multiplayer game lobby, this scrolls down the chat log at the bottom of the screen.

resizeMessageHud

Doesn't seem to do anything inside or outside of the multiplayer lobby, however this may be because the chat box in the lobby is focused automatically.

startRecordingDemo

Starts recording a 'demo'.

stopRecordingDemo

Stops recoring a 'demo'. A file with the extension of .rec is saved to Swypeout Battle Racing\gameData\recordings\demoxxx.rec, xxx starting at 000 and incrementing by 1 for each recording.

dropCameraAtPlayer

When using the free camera, this resets the camera position to the hood of your car.

dropPlayerAtCamera

This doesn't seem to do anything no matter what. The name implies that it would drop the player's car at the current camera position.

bringUpOptions

Brings up a window that has Graphics options, Audio options, and Controls options.

Graphics Options Audio Options Controls Options
Swypeout-GraphicsSettings.png Swypeout-AudioSettings.png Swypeout-ControlSettings.png

AddCar

Commands the server to spawn a clone of your car that spawns in the air right in front of you. Spawned cars sit idle, and can be hit by your own car & weapons.

toggleNetGraph()

Shows a graph at the top right of the screen that shows networking stats.

startMissionGui

Shows a window that displays a list of playable "missions", shows a text box to enter a player name, and a tickbox to "Host Multiplayer". Select a mission then click "Launch Mission!" to load it. See the "List of available missions" section below for more information on each mission.

Ticking Host Multiplayer always seems to cause the game to crash.

Swypeout-MissionSelect.png

flipCar

Sends a command to the server to flip the car, which does little more than increase the current height of the car a tad.

rechargeItems

Gives you 999 ammo for every weapon in the game.

Debug Keybinds provided by Torque

The Torque engine provides its own keybindings for debug functions.

  • F7: Toggles wireframe mode when a mission is loaded.
  • Grave: Opens an internal console window which you can run commands in.

List of available missions

  • Garage New: Tries to load the garage, but after the loading screen crashes with the oh-so-common "Key is null." error message.
  • Lesson 1: Loads the mission used for Lesson 1 for your Driver's License, which takes place on Nitro Heights. This is used to teach basic controls and driving. Drive to the end of the road and you'll be teleported to another section of the track. Reach the end of this section to complete the lesson and crash with a "Key is null." error message.
  • Lesson 2: Loads the mission used for Lesson 2 for your Driver's License, which takes place on Nitro Heights. This is used to teach how to fire weapons, with impassable targets on the road that are destroyed by firing the Spin Master weapon at them. Reach the end of the track to complete the lesson and crash with a "Key is null." error message.
  • Lesson 3: Loads the mission used for Lesson 3 for your Driver's License, which takes place on Nitro Heights. There's nothing here, but the descriptions for this lesson found at Swypeout Battle Racing\gameData\client\ui\Lesson Descriptions\Lesson\ explain that you'd first be avoiding mines on the road, then using shield defensive items to block missiles. Cross the finish line to complete the lesson and crash with a "Key is null." error message.
  • Lesson 5: Loads the mission used for Lesson 3 for your Driver's License, which takes place on Nitro Heights. It's similar to mission 2 where you have to shoot targets with the Spin Master. Complete a lap of the track to complete the lesson and crash with a "Key is null." error message.
  • Nitro Heights Track 1: Loads up Track 1 of Nitro Heights and puts you in a multplayer game lobby. After 30 seconds, the race is supposed to start, but crashes with a "Key is null." error message.
  • Nitro Heights Track 1: This is repeated for whatever reason. Loads up Track 1 of Nitro Heights and puts you in a multplayer game lobby, except the camera is not focused on your car. After 30 seconds, the race is supposed to start, but crashes with a "Key is null." error message.
  • Nitro Heights Track 2: Loads up Track 2 of Nitro Heights and puts you in a multplayer game lobby, except the camera is not focused on your car. After 30 seconds, the race is supposed to start, but crashes with a "Key is null." error message.
  • Nitro Heights Track 3: Loads up Track 3 of Nitro Heights and puts you in a multplayer game lobby, except the camera is not focused on your car. After 30 seconds, the race is supposed to start, but crashes with a "Key is null." error message.
  • Nitro Heights Track 4: Loads up Track 4 of Nitro Heights and puts you in a multplayer game lobby, except the camera is not focused on your car. After 30 seconds, the race is supposed to start, but crashes with a "Key is null." error message.
  • Volcano Island Track 1: Loads up Track 1 of Volcano Island and puts you in a multplayer game lobby, except the camera is not focused on your car. After 30 seconds, the race is supposed to start, but crashes with a "Key is null." error message.
  • Volcano Island Track 2: Loads up Track 2 of Volcano Island and puts you in a multplayer game lobby, except the camera is not focused on your car. After 30 seconds, the race is supposed to start, but crashes with a "Key is null." error message.
  • Volcano Island Track 3: Loads up Track 3 of Volcano Island and puts you in a multplayer game lobby, except the camera is not focused on your car. After 30 seconds, the race is supposed to start, but crashes with a "Key is null." error message.
  • Volcano Island Track 4: Loads up Track 4 of Volcano Island and puts you in a multplayer game lobby, except the camera is not focused on your car. After 30 seconds, the race is supposed to start, but crashes with a "Key is null." error message.
  • Volcano Island: This loads up Volcano Island except none of the blockers that are used to create tracks are active, which means you can drive wherever you want. The multiplayer lobby does not load here, so a crash does not occur and you are free to drive around.