Login x
User Name:
Password:
Social Links Facebook Twitter YouTube Steam RSS News Feeds

Members Online

»
0 Active | 59 Guests
Online:

LATEST FORUM THREADS

»
CoD: Battle Royale
CoD+UO Map + Mod Releases
Damaged .pk3's
CoD Mapping
heli to attack ai
CoD4 SP Mapping

Tutorials

»
CoD4 Mapping
ratings:
Awful Rating
Poor Rating
Average Rating
Good Rating
Excellent Rating
How to make a Minimap.
Versions: You must be logged in to view history.

kmabigtime gives you another way to create a minimap

This tut is based from combining others & the pic at wiki..

1. In radiant, add 2 mimimap prefabs..When in top veiw of 2d window, place 1 prefab in the lower lefthand side & 1 in the upper right hand side of the playable area of your map. Place these high enough not to interfere with your map & below the sky box..(I placed both of mine just below the skybox)..Compile map as mormal..

2.From compiler, make sure you have these three boxes checked: enable developer, enable cheats, & enable developer script. Then run selected map, enter game, open console "~", & type in: /set scr_minimap_height 10000, hit enter & type: /exec minimap..You should be in minimap view with a white box that says this side up (dont move, unless for some reason this side up, is not up) make sure that it is up & u are looking stright down..

3. Take your picture & exit game..

4. In photoshop, open your pic, crop the pic just inside the white lines, resize it to 512x512 then SAVE AS, compass_map_mp_mapname.tga 24bit (to save as a tga, u must change the "format", not just put .tga after the name) & SAVE IN: cod/raw/materials folder..

5. Open up asset manager (assman) and go to file, then open, then Source_Data, then click on Levels.gdt"

6. Locate material in the box under the entry buttons, click: material then click: new entry, in the entry box, type in: compass_map_mp_mapname & click ok..Now you should see this screen:

If u cant read it , then:
Here
Match all the settings in the pic, for the colormap u want to click "..." & point to your tga in the raw/materials folder..
Then you want to click: file, SAVE AS: comapss_map_mp_mapname & SAVE IN: cod/texture_assets folder (if u do not have a texture_assets folder already, create one & place it in your cod folder).Now your gdt should be saved in cod/texture_assets. Now from the assman, u want to leave all the settings as they were, colormap still pointing same & Click pc convert, current asset only (make sure it converts with no errors before continuing)..

Before you go any further, check to make sure all the correct files were created in the correct places...
A: compass_map_mp_mapname.tga is in raw/materials
B: compass_map_mp_mapname.file should have been created in the raw/materials folder also.
C: compass_map_mp_mapname.iwi should have been created in raw/images folder.
D: compass_map_mp_mapname.gdt is in cod/texture_assets folder.
If everything looks good, then continue.

7. Create a folder named images on your desktop, place a COPY of the compass_map_mp_mapname.iwi into this folder.
Zip this folder, DO NOT USE RAR, click the zip & name it mp_mapname.iwd..

8. Place this iwd into a mod folder(custommaps).

9. add these lines to your mapname.gsc:
mapsmp_compass::setupMiniMap("compass_map_mp_mapname");
setdvar("compassmaxrange","2000");
Add this line to your cvs (update zone file):
material,compass_map_mp_mapname

Open compiler, uncheck: enable developers script & check: enable custom command line opt., type in: +set fs_game mods/custommaps. (the mod folder that u placed the iwd must match the mod folder that u type in).

Compile, update zone file, build fast files, run selected map, & there ya go..

Also to zoom your minimap, change the number at the end of this line in your mapname.gsc:
setdvar("compassmaxrange","2000");
The higher the number, the higher the mini (zoom out)
The lower the number, the lower the mini (zoom in)

kmabigtime "aka" [aSu]BigTime! (asuclan.com)

Latest Syndicated News

»
Codutility.com up and runn...
Nice, and there still using the logo and template for the screenshots, which...
Codutility.com up and runn...
dundy writes...Quote:Call of Duty modding and mapping is barly alive only a ...
Codutility.com up and runn...
Mystic writes...Quote:It seems to me the like the site is completely dead? ...
Codutility.com up and runn...
It seems to me the like the site is completely dead?

Partners & Friends

»