Call of Duty 4: Minimap Stock Like: Difference between revisions

From COD Modding & Mapping Wiki
Jump to navigation Jump to search
(New page: Image:Nutshell.png Advanced tutorial using '''Adobe Photoshop''' to create Minimap Images just like in COD4 Stock maps. == Visual reference == *download the [http://developer.nvidia....)
 
mNo edit summary
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Image:Nutshell.png]] Advanced tutorial using '''Adobe Photoshop''' to create Minimap Images just like in COD4 Stock maps.
{{Warning_advanced}}
{{Note|Advanced tutorial using '''Adobe Photoshop''' to create Minimap Images just like in CoD4 stock maps.}}


== Visual reference ==
== Visual reference ==


*download the [http://developer.nvidia.com/object/photoshop_dds_plugins.html Nvidia dds Photoshop Plugin] and install it
*Download the [http://developer.nvidia.com/object/photoshop_dds_plugins.html Nvidia DDS Photoshop Plugin] and install it
*get a stock minimap out of an IWD, compass_mp_*.iwi
*Get a stock minimap out of an IWD: <code>compass_map_mp_MAPNAME.iwi</code> (most can be found in iw_01.iwd)
*convert it to dds using iwi2dds or [http://diegologic.net/CoD/XmodelExporter.htm iwi_x_dds]
*Convert it to DDS using iwi2dds or [http://diegologic.net/CoD/XmodelExporter.htm IWI_x_DDS]
*load it in photoshop and have a look at the channels. RGB = color, Alpha = transparency.
*Load it in Photoshop and have a look at the channels. RGB = color, Alpha = transparency.
*use the stock minimap to look up and pick the Infinity Ward colors
*Use the stock minimap you just extracted to look up and pick the Infinity Ward colors




== Prepare your minimap image ==
== Prepare your minimap image ==


*load your minimap screenshot and crop it (if not already)
*How to take the top-view image: [[Call of Duty 4: Minimap|Minimap]] & [[Call of Duty 4: transparent Minimap|Transparent Minimap]]
*adjust the colors (turn saturation down)
*Load your minimap screenshot and crop it (if not already)
*Adjust the screenshot colors by turning '''saturation down''', you may leave a slight touch of color




== Outlines ==
== Outlines ==


*use the shape tool to draw lines:
*Use the shape tool to draw lines: {{Box|Color: #bedfe7<br>Thickness: 6 px}}


color: #bedfe7
*You may turn on the arrow feature, width & length set to minimum and concavity all the way up<br><br>[[Image:Photoshop-Line-Tool-Settings.png]]<br><br>
thickness: 6 px
*When finished outlining, reduce the line shapes to a single layer ('''Merge Layers'''). This will rasterize them automatically. {{Key|Shift+Click}} on the layer names to select multiple layers)<br><br>[[Image:Photoshop-Layers-Blending-and-Merge.png]]<br><br>
 
*Use the '''Blending Options''' to create a glow effect ('''Outer Glow''', looks best if you use a custom gradient with slate blue - dark green - lightgreen)<br><br>[[Image:CoD4_-_Minimap_Outline_Gradient.png]]<br><br>
*you may turn on the arrow feature, width & length set to a minimum and roundness all the way up
*Add a '''Drop Shadow''' and adjust the parameters, suggestion: {{Box|Angle: 129°<br>Distance: 4 px<br>Overfill: 16%<br>Size: 6 px<br>Contour: first curve in the second row (looks like a sinus growth)<br><br>Set blend mode and opcacity to whatever looks good for the whole composition.}}<br>[[Image:Photoshop-Drop-Shadow-Layer-Style.png]]
*when finished outlining, reduce the line shapes to a single layer (this will rasterize and merge them)
*use the fill options to create the glow effect (outer glow, looks best if you use a custom gradient with slate blue - dark green - lightgreen)
*add a drop shadow and adjust the parameters, suggestion:
 
angle: 129°
distance: 4 px
overfill: 16%
size: 6 px
contour: first curve in the second row (looks like a sinus growth)




== Inaccessable areas ==
== Inaccessable areas ==


*you can use the polygon-lasso-tool to create selections for inaccessable areas (like buildings)
*You can use the Polygon-Lasso tool to create selections for inaccessable areas (like buildings)
*fill it with a cyan-darkgreen (or any color and "overwrite" it using an overlay color in the fill options)
*Fill it with a cyan-darkgreen (or any color and "overwrite" it later using an overlay color in the fill options)
*turn the layer opacity down and go thru the blending modes to find a good looking one
*Turn the layer opacity down and go thru the Blending Modes to find a good looking one




== (non)playable area ==
== (Non)playable area ==


*use the lasso tool to select the playable area. smooth the selection and add feather (10-20 px i guess)
*Use the Lasso tool to select the playable area. Smooth the selection and add feather (something like 10-20 px)<br><br>[[Image:Photoshop-Select-Modify.png]]<br><br>
*click the vector mask button for a smooth transition from opaque (playable area) to transparent (non-playable area)
*Click the layer mask button for a smooth transition from opaque (playable area) to transparent (non-playable area)<br><br>[[Image:Photoshop-Layers-Create-Mask.png]]<br><br>
*create a new layer underneath the feathered minimap and fill it with color: #4d4d4d
*Create a new layer underneath the feathered minimap and fill it with color: '''#4D4D4D'''




== Alpha channel ==
== Alpha channel ==


*go to the channels window, add new (Alpha 1)
*Go to the channels window, add new (Alpha 1)<br><br>[[Image:Photoshop-Channels-Create-Alpha.png]]<br><br>
*fill it with color: #464646
*Fill it with color: '''#464646'''
*create a gradient from #595959 (non-playable area) to #acacac (playable area) in the shape of the outer outline
*Create a gradient from '''#595959''' (non-playable area) to '''#ACACAC''' (playable area) in the shape of the outer outline
*this is a bit tricky, you can create a lasso selection, fill, contract, fill etc.
*This is a bit tricky, but there are several ways to do this. Here are few recommendations:
**or use the brush tool and paint with hardness set to 0% (smooth border)
**You can create a Lasso selection, then fill, contract, fill, contract etc.
*hold Ctrl and click on the thumbnail of the outline layer to create a selection
**or use the brush tool and paint with hardness set to 0% (smooth border).
*you might have to contract it by 1-2 px
**You can also do this gradient on seperate layers using RGB channels instead of Alpha. It will allow you to use Blending Options and so on. The Inner Glow effect works pretty good if you use a color gradient and adjust the size, choke and range. When finished merge the layers you created, select all (refers to active layer only), cut, go to Alpha channel and paste.
*go back to the channel window and select the alpha channel
*Hold {{Key|Ctrl}} and click on the thumbnail of the outline layer to create a selection
*fill the selection with white (#f9f9f9); you don't have to use the color bucket, but hit the delete key while having the background color set to white
*You might have to contract it by 1-2 px
*Go back to the Channel window and select the Alpha channel
*Fill the selection with white ('''#F9F9F9''');<br>you don't have to use the color bucket, but hit the {{Key|Delete}} key while having the background color set to white/the color you want




== What it looks like ==
== What it looks like ==
Minimap example of the stock map "Bog" (mp_bog)


RGB View<br><br>
RGB View<br><br>
Line 72: Line 70:




ALPHA+RGB View (transparency in 50% red)<br><br>
ALPHA+RGB View (red = transparency)<br><br>
[[Image:compass_map_mp_bog_alpha_red.png|500px]]
[[Image:compass_map_mp_bog_alpha_red.png|500px]]


Line 84: Line 82:




''By CodemanX''
''By CoDEmanX''
 
[[Category:Call of Duty 4]]
[[Category:Minimap]]

Latest revision as of 21:05, 28 July 2009

Advanced tutorial using Adobe Photoshop to create Minimap Images just like in CoD4 stock maps.

Visual reference

  • Download the Nvidia DDS Photoshop Plugin and install it
  • Get a stock minimap out of an IWD: compass_map_mp_MAPNAME.iwi (most can be found in iw_01.iwd)
  • Convert it to DDS using iwi2dds or IWI_x_DDS
  • Load it in Photoshop and have a look at the channels. RGB = color, Alpha = transparency.
  • Use the stock minimap you just extracted to look up and pick the Infinity Ward colors


Prepare your minimap image

  • How to take the top-view image: Minimap & Transparent Minimap
  • Load your minimap screenshot and crop it (if not already)
  • Adjust the screenshot colors by turning saturation down, you may leave a slight touch of color


Outlines

  • Use the shape tool to draw lines:
    Color: #bedfe7
    Thickness: 6 px
  • You may turn on the arrow feature, width & length set to minimum and concavity all the way up



  • When finished outlining, reduce the line shapes to a single layer (Merge Layers). This will rasterize them automatically. [Shift+Click] on the layer names to select multiple layers)



  • Use the Blending Options to create a glow effect (Outer Glow, looks best if you use a custom gradient with slate blue - dark green - lightgreen)



  • Add a Drop Shadow and adjust the parameters, suggestion:
    Angle: 129°
    Distance: 4 px
    Overfill: 16%
    Size: 6 px
    Contour: first curve in the second row (looks like a sinus growth)

    Set blend mode and opcacity to whatever looks good for the whole composition.


Inaccessable areas

  • You can use the Polygon-Lasso tool to create selections for inaccessable areas (like buildings)
  • Fill it with a cyan-darkgreen (or any color and "overwrite" it later using an overlay color in the fill options)
  • Turn the layer opacity down and go thru the Blending Modes to find a good looking one


(Non)playable area

  • Use the Lasso tool to select the playable area. Smooth the selection and add feather (something like 10-20 px)



  • Click the layer mask button for a smooth transition from opaque (playable area) to transparent (non-playable area)



  • Create a new layer underneath the feathered minimap and fill it with color: #4D4D4D


Alpha channel

  • Go to the channels window, add new (Alpha 1)



  • Fill it with color: #464646
  • Create a gradient from #595959 (non-playable area) to #ACACAC (playable area) in the shape of the outer outline
  • This is a bit tricky, but there are several ways to do this. Here are few recommendations:
    • You can create a Lasso selection, then fill, contract, fill, contract etc.
    • or use the brush tool and paint with hardness set to 0% (smooth border).
    • You can also do this gradient on seperate layers using RGB channels instead of Alpha. It will allow you to use Blending Options and so on. The Inner Glow effect works pretty good if you use a color gradient and adjust the size, choke and range. When finished merge the layers you created, select all (refers to active layer only), cut, go to Alpha channel and paste.
  • Hold [Ctrl] and click on the thumbnail of the outline layer to create a selection
  • You might have to contract it by 1-2 px
  • Go back to the Channel window and select the Alpha channel
  • Fill the selection with white (#F9F9F9);
    you don't have to use the color bucket, but hit the [Delete] key while having the background color set to white/the color you want


What it looks like

Minimap example of the stock map "Bog" (mp_bog)


RGB View


ALPHA View


ALPHA+RGB View (red = transparency)


Closer look at the cyan lines with green glow and black drop shadow


Picking the base line color


By CoDEmanX