Torque Tutorials - The Mission

What We Want to Do

***UPDATE***
Just looking at the mission file. Make a backup of the mission files. Rename the .mis file. The name of the .mis file will be what is displayed as the server. Then within the .mis file itself you can do the additional mods. Make sure to delete any other .mis files in the folder.

Customize the screen that allows the user to choose the mission and the initial name displayed. So instead of “James Test FPS Game”, we will change it to something else and instead of “Fresh Meat” we can use a generic name like “Visitor”. When you start the game, you will see the main menu screen. You can then click on the Start Game button. You will see the following dialog box:

Start Game Dialog box

To change “James Test FPS Game”, you need to open up the mission file. In my files it is located in
C:\JamesFPSTest_original\starter.fps\data\missions\JamesTest.mis

The first few lines show you where you can change the name in the missions.mis file. Here’s a screen capture:

Mission_file

And that’s it for that. You also see the next line where is says:

desc0 = "This is a test game using a sample Torque player. You will see this orc running around and if someone else is connected you'll see them too!";

Below is what you see after you’ve entered your name and selected a mission. This is the screen that the user will see when the datablocks are loading. Here is a screen capture of what that looks like:

Datablock loading screen

The next part is to change “Fresh Meat” to another text value. This is the name that the player will be identified with when playing the game. For the sake of clarity, I’ve included the file name and relative location to the starter.fps directory. Not very imaginative I know, but fairly clear. Besides, my sieve brain needs all the help it can get. Below you see the line where you need to change the name. If you look a bit, you will see the location at the top of the TextPad window:

torque_client_prefs_cs

Once you’ve done the revisions, start up Torque once again. Torque will automatically compile the .cs files it finds into the binary format filename.cs.dso. Below you can see the results of our tinkering:

New default player name and new mission name

Leave a Reply

You must be logged in to post a comment.