Black Cat Forums   Alien Swarm - Steampowered Forums
Alien Swarm 2K4 - ThieveryUT
Black Cat Games - TTLG Forums

Go Back   Black Cat Forums > The Archives > Archived Public Forums > Forge of Shadows

Notices

 
 
Thread Tools
Old 20th May 2008, 04:35 AM   #1
immortius
Member
 
immortius's Avatar
 
Registered: Jan 2003
Location: NX128EZ061 - The main planet
Posts: 3,117
Mapper's Guide - Sketch Map

A sketch map in Nightblade is a top down map which displays the location of players and other useful information. Nightblade has support for multiple pages of sketch maps, and multiple maps per map page. For instance: if your map has a four storey tower you can have a sketch of each storey of the tower on the one texture, and players will be displayed in the section of the tower they are in.

Getting the Map Ingame

1. Generally, to start the sketch map you will want to take a screenshot of the map from the top-down perspective, to use as a guide when creating the sketch map. You may rotate the sketch map image relative to the level if you wish, but keep track of how much you rotate it and in which direction.





2. Now that you've finished your masterpiece you need to import it into the game. Firstly, the final image needs to have sides that are a power of 2 (i.e. 512, or 1024). You may need to extend the image size to get this to work - this is fine, just make sure you leave the actual map in the top-right corner.



Open up the UT3 Editor, then open the Generic browser and select "Import..." from the file menu. Specify your map's file name as the Package so that the sketch map will be stored within the map. Also set the LODGroup of the texture to TEXTUREGROUP_UI (if you forget to do this now you can edit the texture's properties later).



3. The settings for sketch maps are contained in the NbMapInfo section the World Properties. Within the NbMapInfo section is a property called IngameMapSettings. Add a new element to this for your sketchmap. Set the MapTexture property to your map's texture, and the TextureSize property to the size of your map within the texture (if you had to extend the texture size to reach dimensions that were a power of two, this is how you get rid of the excess). The Team property determines which team can see the map - 0 for Thieves, 1 for Guards and 255 for both.
This is enough to get your map to display ingame when toggle map is pressed.



Setting up the Map to Display Players

In the properties for the sketch map is a MapArea list. Each map area describes settings for a single map section on the sketch map - in this case I only have one, so I will add a single MapArea element. In the four storey tower example above I would define a MapArea for each storey.

The first property, MapVolume, allows you to specify a NbMapVolume that players have to be within to show on the map. This is useful for cases where you have different maps for different storeys and don't want players to appear who are on different storeys. MapVolume is optional however, and is not necessary if your map covers the entire level.

For the next four properties you need to select two prominent map features that are shared between your map area and the level. These features should be as far apart as possible and towards the top-left and bottom-right of the area in the level. Specify the pixel location of these points on the sketch map texture in the PixelLocationTopLeft and PixelLocationBottomRight properties, and the level coordinates in the WorldLocationTopLeft and WorldLocationBottomRight properties. Working out the pixel locations will depend on your image software, but the world locations can be discovered by hovering your mouse over the point in the Top-down viewport and reading the Mouse: (X, Y, Z) coordinates from the UT3 editor status bar down the bottom of the editor (ignoring the Z value).

The final two properties allow you to deal with the relative rotation of the sketch map compared to the world. If you map is not rotated or is rotated 180, you don't need to change anything. If your map has been rotated 90 either direction simply check the SwapXYAxis option. If your map has been rotated at some other angle fill in the MapAngle, with a positive number if rotated anti-clockwise and a negative number if rotated clockwise.



The sketch map will now display the location of players.

__________________
Immortius' Forge
immortius is offline  
Old 20th May 2008, 04:53 AM   #2
FatRatHead
Member
 
FatRatHead's Avatar
 
Registered: Sep 2004
Posts: 961
 Quote:
The sketch map will now display the location of players.
Have you reconsidered this? It has a considerable use in certain matches. I'm not saying it's bad, nonetheless I'd like to know whether or not have you really thought about its possible effects and impacts on gameplay.

For instance, it makes it easier to locate a friend in need. It also makes people camp with their eyes on map watching for placed ai movement ... adding you an extrasensual way of detecting thieves.
FatRatHead is offline  
Old 20th May 2008, 05:17 AM   #3
immortius
Member
 
immortius's Avatar
 
Registered: Jan 2003
Location: NX128EZ061 - The main planet
Posts: 3,117
Well, to start with it is obviously useful and harmless to show the location of the player themself, which is what is meant by that sentence, but I realise you're not concerned about that.

I expect there will be less AI presence in Nightblade - with guards rarely dying they won't need such a huge pool of them to respawn into. That being said we may well end up removing AI from the display, they do clutter things up quite a bit. I don't think seeing team mate locations is bad though, as it should aid teamwork - you can see area X and Y is covered, so you go defend Z instead, or what not.

We may display the location of other things on the map as well, to aid in guards understanding the layout of their defences, or perhaps let thieves note certain things as well.
__________________
Immortius' Forge
immortius is offline  
Old 20th May 2008, 05:24 AM   #4
FatRatHead
Member
 
FatRatHead's Avatar
 
Registered: Sep 2004
Posts: 961
Fair enough. Will thieves be able to somehow steal or obtain a guard version of map? Pick pocket maybe? I understand how silly it may sound, but I couldn't resist popping this in.
FatRatHead is offline  
Old 20th May 2008, 08:33 AM   #5
TafferBoy
Member
 
TafferBoy's Avatar
 
Registered: Mar 2003
Location: Canberra Australia
Posts: 2,225
Seems needlessly elaborate :\

Seeing team-mates on map seems perfectly fine. Was in TUT. Only really useful in pub where all you get is:
FatRatHead whispers Thief Here! (Rooves)

Once you have voice comms then using the map is redundant except for finding AI - who will be scare in NB by design.
TafferBoy is offline  
 

Tags
guide, mapping, nightblade, tutorial


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mapper's Guide - Getting Started immortius Forge of Shadows 11 1st Sep 2008 03:45 PM
Mapper's Guide - Loot immortius Forge of Shadows 2 10th May 2008 08:54 AM
Mapper's Guide - Doors immortius Forge of Shadows 1 7th Apr 2008 01:21 AM
Looking for a Sketch Artist Johnathan Alien Swarm 2K4 Discussion 4 9th Mar 2005 01:15 AM


All times are GMT -5. The time now is 08:35 AM.


Powered by vBulletin®
Copyright ©2000 - 2017, vBulletin Solutions, Inc.