![]() 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. |
|
Updated Jan 23 2005 Adding New Gametypes to Existing Maps.It is possible to add Team Attrition to maps that support Team Battle because both gametypes basically use the same objects, EG Dropzones. Like wise, Team Destruction and many others can also be added to maps because they too just require Dropzones. If you plan to add Capture and Hold to a map then its a different story, the map would need to contain the map objects Capture and Hold requires before hand. Having said that, if your adding custom versions of Capture and Hold to a map that does support Capture and Hold and uses exactly the same map objects then this work too. To add a new gametype to an existing map you need only edit a line in the NFM on the server. To do this follow these simple steps. 1) Make a new NFM (NFO or NFX works too) entry in your maps NFM file. 2) Create a folder in your Mechwarrior 4 Mercs folder to hold your scripts and drop your scripts in that folder. 3) Add or change the script line to point to that the script in that folder. If the map supports all the requires map objects the game needs then that gametype will be available to play and nobody but the server will need to have it installed since the scripts always run server side and NFMs are basically server files too. For example, Here is Modified Warzone CTF NFM. This map already supports Team Attrition but we will pretend it does not for now so i can show you the required changes to your NFM. Usually a script is packed into a map, however a map will use any script if you point your nfm's script line at a location where it can find a new script. I have marked the lines that have changed in Bold type so you can see what needs to be done. !include=Content\GameTypes.h !include=Content\GameTypes.h [info] [ruleset]
Pretty easy don't you think :) |