Back to Mechstorm.

Mechstorm's Complete Map Making Tutorial or MCM for Short. Covering Mechwarrior4, Mechwarrior4:BK and Mechwarrior4:Mercs. If you have any questions feel free to drop by our Mechstorm Editor/Scripting help Forum after you have registered on our forums.

Back to MCM Menu

Back to chapter List

Installing and using Scripts.

As we draw to the end of this tutorial the using Step 1, Step 2 system is no longer needed. Instead we will simply go right into an explanation of installing and using scripts.

Installing All scripts

Assuming your map is called bigmap, then any script you want to use must be installed into the following directory

mechwarrior4\content\Missions\bigmap\Scripts

All scripts placed in that folder will then be available from all object properties windows as described in the AI Brain file section and also from the gametypes window in mission properties. Since we have covered the installation of Brain files already in the AI Brain file section but only briefly covered the gametypes. I will explain how to install new games and use them.

Installing and Using custom gamestypes.

All custom gametypes require you to add extra objects to your map. This is not hard and the objects tend to be navpoints which can be found in the resource windows misc section. The script, if written properly, will contain a full list of items you need to add, right at the top of the script. You will simply need to get the names right when placing them on your map.

To use a custom gametype you must have it installed in your scripts folder, as I have explained above. Once you have done this you need to go to mission properties in the editor and click on Supported Gametypes. You will see a list of gametypes available to you. The left hand window are the ones already installed on your map. The right hand window are the ones you can add to your map. You can only add the same gametype once.

What we are concerned with here is the custom gametypes. Now the custom gametypes are very hard to spot. The Devteam hide them under the name CUSTOM which I am sure you notice does not stand out as a logical place for CUSTOM scripts at all. Talk about confusing.....GRIN. Okay enough of the jokes. What you need to do is select a custom gametype that best describes the gametype you will be adding. Custom undefined is a catch all category for those that don't fall into any other custom gametype category. Unfortunately, you can only add one script to it so if you have several scripts that dont fall under any other custom name on the list you're stuck. You will just have to use one that doesn't fit your gametypes description very well instead.

Now select the custom gametype option you want to use. Be warned, some don't work. So if your gametype doesn't appear, you know why. I use Team king of the hill and custom undefined. These both work.

Once your gametype is listed in the left hand window, select it and click on select script. You will see a list of scripts you can use. Pick one and move it to the left hand window and then click on. select the gametype again, then select the number of teams you want to use for that gametype. Most of my scripts support 2 teams, except Circle of Equals.

You have just have to click on ok to close the supported gametypes window and then close the mission properties window. Now save your map and when you go to load it from your server, look for the custom name you chose that best fits your gametype from the gametype list. Your new gametype will appear on the map list as a playable gametype.

From then on, you use it normally.