Main: Tutorials: Making a map for Rogue Spear











 

Tutorial - Making a map for Rogue Spear - Part 6




Text File Editing

Now, the map is done, the lighting is done, the binaries are done, and now the missions are half done. So, go to mod_name\missions. Inside, you should see file of the mission you just saved and a file named randomter.txt. Make a copy of your mission file. (Select, copy & paste)



Terrorist Hunt Mission

Now rename the first mission file 'mp_mymis_tht.tht' (mp means random terrorist hunt from custom menu, _mymis is the name of the mission, _tht is just to tell you it's a terrorist hunt, and .tht is to tell the game it's a random terrorist hunt)

Open mp_mymis_tht.tht with notepad. Scroll down until this part:


//---------------------------------------------------------
// MISSION DATA
//---------------------------------------------------------

"[Base on Game Type]"



Change the "[Base on Game Type]" to VicCondTHT.txt (without quotes)

Scroll down until this part:


//------------------------------------------------
//-- Start Teams Data ----------------------------
//------------------------------------------------


BeginTeams

// teams can be listed in any order - terrorists do not have to be before hostages


EndTeams

Open the file randomter.txt. Select all and copy. Paste the contents on randomter.txt into that section above (overwriting it)

Save, but don't exit. Scroll down until this part:


//-------------------------------------------------
//-- Adversarial Data ----------------------------
//-------------------------------------------------
1 // This is an adversarial mission?



Change the 1 to a 0 (meaning it is not). And delete everything after it. Make sure there is an Enter at the end of the file. Save the file and exit. This is all for the terrorist hunt mission. Now the multiplayer mission.


Multiplayer Mission

1. Rename the copy of the original mission file to 'mymis_mul.mis'. Open it using Notepad. Scroll down to:

//---------------------------------------------------------
//-- Single Player Insertion Zones ------------------------
//---------------------------------------------------------
1 // Number of Insertion Zones

32361.6 32817 33187.3
33294.4 32827 32397.3


Change the 1 to a 0 and delete the two lines of coordinates (the numbers). Save the file and exit.


More things

1. Just a few more things before testing the map. We will have to finish the terrorist hunt mission. The actual mission is complete, now we just have to give the special planning info like location, weather, data, time, etc.

Briefing

Go to mod_name\text\briefing\ and rename the file there to the name of your terrorist hunt mission file. So, if your mission file name is 'mp_mymis_tht.tht', name the briefing file 'mp_mymis_tht.brf'. Open the file using notepad.

The first four strings give the name of the mission, location, date, and time. Be sure NOT to use a space between any of the words. So, if your mission name is 'Red Cross', you will have to write 'Red_Cross' or 'Red-Cross' (etc).

The next part tells how many pictures to show when you click on the mission under custom mission and during planning. (these are the 'camera' pictures showing some of the map) I would use only 1 to lower the size of the mod, but you can use more. The actual pictures are located in mod_name\shell\briefing. Make sure that the picture is 216x162 pixels.

Skip the rest until you get to 'globe location', 'weather' and 'forecast'. These are the icons that will show up during planning. You can find all of the choices in Rogue Spear\data\shell\briefing\.

Save and Exit.

Splash Screen

This is actually done after you run the map because you need a screen shot of the map

The Splash screen is the screen that is seen when the map is loading (with the r6 logo spinning) and after a successful/failure mission. Because new maps are mainly used for MP games, we will only use one splash screen to serve the purpose for all of these 3 cases. Also, this will save a megabyte in the size of your mod because each splash screen is 600 KB.

A splash screen is usually a nice screen shot of your map. So go into the map, find a nice spot (you might want to type 'teamshadow' to become invisible from the tangos), get rid of the bottom status info by enlarging the screen with '+', and finally press the 'Print Screen' key on the keyboard. The screen shot will go into your Rogue Spear directory. Open it using Paint Shop Pro. Make sure that it is 640 x 480 pixels. Next save the file in mod_name\splash\ as an RSB. (you can use any name, like name_of_map.RSB).

Next go into mod_name\text\splash\. Open mymap.spl with notepad. Inside it should look like this:

//***SPLASH SCREEN ***

"mymap.bmp"
"mymap.bmp"
"mymap.bmp"


In the quotes, you put the filename of the splash screen you made previously. You use the same file for all 3 cases to lower the size of the mod (the first filename is the loading splash, then success splash, and then failure splash screen).

Now save and exit. Now rename the splash screen as the name of your map file. So if your map file name is my_map01.map, name the splash screen my_map01.spl. Now make a copy of the splash file and rename it as the name of your terrorist hunt mission file. So, if the name of the terrorist hunt mission file is 'mp_mymis_tht.tht' rename the splash file to 'mp_mymis_tht.spl'.

Wow, I'm finished... Right?

Well, yes the map will now run and everything should look normal, but there are a few more things to do after you are finished with the map. The first one would be to add a STP file that will store data about your textures. (look in the help file) This file will tell the game what kind of material the texture represents, so if it's metal and a bullet hits it, the game will know to make a spark affect or if it's wood, it will have chips of wood flying.

Then there is the ASS file that stores the environment sounds in your map. So if you are in a sewer, you can have a humming noise, or if outside, you can have wind and insects chirping.

Also, it would be nice to provide a plan for the terrorist hunt mission. You make one in the game, save it, go into RS\data\plan\, find your plan file and copy it to mod_name\plan\. I hope this will be in the future tutorials.

Running the Map

Start Urban Operations, go into Options->Mods and activate mod_name. Go back to the Main Menu and choose Custom Mission. Go into Terrorist Hunt and find the mission called Two Room. Make sure you make it a 1 or 2 terrorist hunt because it might crash. Start the mission and do all of the planning. When the map loads type 'teamshadow' and 'explore'. This will make you invisible and you will be able to walk around after you kill all the tangos.





Anyway, this should get you started in RS mapping. Good-Luck!




|