The creators of Pawn Tactics believe in you being able to customize the game how you like it. Therefore, the map maker has been created. However, it is quite unstable and since this is game is only in a beta, it is prone to errors.
Since the map maker\editor hasn't been incorporated into Pawn Tactics yet, you will have to download it from: http://www.pawnstudios.com/PT_MapEditor.zip. After it has finished downloading, you will have to un-zip it (extract the files). Once that has been done, you will need to start it by opening up a file named "PT_MapEditor.exe".
Now when you open it, it will start to load. You will know when it has finished loading when you see a display of green grass rather than a black screen.
- The minimum dimensions for a map are 20 x 15. If you set the dimensions lower, the map editor will crash.
- The map testing page (do not use) may either
- Display Pawn Tactics instead of an area where you paste a map code (and flicker)
- or freeze
Creating your map
First of all, the map with load with the dimensions 40 x 30 but you can change that if you want (try to keep it under 100x 100 but above 20 x 15). In addition, it also loads with the "field" tileset but you can change that in the bottom left-hand corner to any of the following three options:
- "field" (Has 114 tiles including the flag holders seen in "Capture the flag" games)
- "desert" (Really has only one tile; incomplete)
- "city" (Not too many choices compared to the "field" tile set)
You may "paint" your map from the Tile Editor menu. As you can see there are three subsections which contain attributes that tiles can have (shown below).
- Tile (T): Changing the number of this will change the tile. (Refer to the "List of Tiles" section for more information)
- Rotation (R): Rotates the tile clockwise (can either be set to 0, 1, 2, or 3)
- Friction: Slows down a player when they move over the tile (1: Player moves at 100% speed; 0.5: Player moves at 50% speed; 0: Player cannot move over the tile)
- Collidable: If this is set to 1, then a player can not walk past this tile. If it is set at 0, then a player can walk past this tile.
- Hit Area: Changes which area of the tile prevents a player from moving (can be set from 0-12).
- Height: Allows you to set how tall a tile is (the game will not function properly if this is set past 100 or below -100). For reference the player's height is 20 (so a tile that is >20 allows the player to shoot "past" it).
- Slope (S): The steepness of your slope (a.k.a height). Change this value from 0 to make the tile a sloped tile (can be set from -100 to 100).
- Slope Dir (D): The direction of the slope (can be set from 0-3).
- Spawn: Makes the tile a spawn tile (can be set from -1 to 5; -1 = No Spawn, 0 = Team 1, 1 = Team 2, etc…)
- Over Tile: Puts a pattern over the tile (//refer to "Overlay Tiles" for more information; glitched at the moment; -1 = no over tile //)
- Flip Horizontal: Flips a tile horizontally.
- Flip Vertical: Flips a tile vertically.
- Special: Special tiles can serve a number of functions.
- 0 = Not special
- 1-6 = Flag Tile
- 7 = Assault Victory Tile
- 8-39 = Assault Capture-able Tile (Even #'s = Capture Tile, Odd #'s = Spawn Tiles).
Getting your map hosted
Note: Before submitting your map, use the map tester to determine if you need to change anything.
- Open your map with the map editor
- On the bottom, you will notice a "Save/Load Map" box. Click on the "Save" button.
- Copy all the code that was generated into the box.
- Log onto the forums
- In another tab\window, open this: http://pawnstudios.com/forum/viewtopic.php?f=7&t=301
- Click on "Post Reply" and paste your map code into the editor
- Click on the Submit button
- You are done!
List of Tiles
Instead of guessing a bunch of different numbers to get a tile, just follow the following easy steps to get the tile you need.
- Go to the folder where you extracted your files.
- Go into a folder named "lib".
- You will see three folders, one per tile set. Please open the appropriate folder.
- You will then see a bunch of images as thumbnails. You will also see the images numbered in a uniform way.
- For example, you will see something like "24_2.jpg" or "24_2". In these instructions, we will be using "24_2" as our guide.
- 24_2 means "Tile Number 24, Rotation 2". However, you can just ignore the rotation.
- If you like tile number 24 and want to use it, you can go to the map editor, find "Tile (T)" and type in "24".
- Just click on the place(s) on the map where you want to place your tile.
On the "field" tile set and the field tile set only, you may choose to have one of four patterns "laid over" a tile you want. However, the "over tile" field is glitched! No worries! There is another way you can have a pattern laid over your tile:
- Click inside the box next to "Tile (T)".
- Press the letter O until you finally get the pattern you want (can be no pattern at all).
- Place this tile wherever you want!
- Here is an example (left: regular tile; right: tile with an over tile)!