General
Legends Website
Tutorial & Skiing
Legends FAQs
Player Configuration
Legends Teams List
How to Host
Server List Backup

Add-Ons
New Maps
New Skins
New Voices
Player Scripts
Server Scripts & Mods

Modding
Legends Mapping Guide
Legends Scripting Guide
Creating Team Skins
Creating Voice Packs

Gameplay Guide
Legends Guide

Linux
Installation Instructions
Installer Script
Package Creator Scripts
Legends Distro Status

Map clean up

There are several lines that should be removed from a map before releasing it to the public. Most of these lines are refreshed by the server, so they just take up space in the file, while others can cause console error spam and possibly crash the server. To do this, you will need to open your .mis file with a text editor.

First up, I shall go through the more common lines that need to be removed:

  • holder
  • isHome
  • lastDamagedBy
  • occupant
  • originalPosition
  • power
  • powerCount
  • previousHolder
  • resetThread
  • skinTag
  • state
  • station
  • target
  • team
  • thread
  • Trigger
  • WayPoint

Most of those will be found in StaticShape, Item and Turret, but can be found elsewhere so keep an eye out for them.

Once you've removed those lines, then you need to remove anything that is unused. These tend to be the following:

  • AudioProfile
  • MissionMarker (within the FlagMarker datablock)
  • Turret (within the DeployableTurretPlaced datablock)
  • Trigger
  • InventoryFavorites
  • StaticShape (within the BeaconPlaced datablock)
  • StaticShape (within the DeployedStation datablock)

If you need an idea of what a clean mis file is supposed to look like, check out one of the default maps in missions.unf.

 
mapping/mission/cleanup.txt · Last modified: 2008/07/03 16:09 (external edit)