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

Members Online

»
0 Active | 265 Guests
Online:

LATEST FORUM THREADS

»
New BF2 Mod
BF2 General

Tutorials

»
CoD4 Mapping
ratings:
Awful Rating
Poor Rating
Average Rating
Good Rating
Excellent Rating
How to create a MINIMAP for Multiplayer
Versions: You must be logged in to view history.
Lots of people seem to be having issues with this, and to get it to work, most people had to convert their multiplayer maps, into a singleplayer map to get the minimap / console commands to work. Thanks ColPhilBilko.

This is not the case, as I have found a loop hole to get this to work. On you're compile tools check the box that says "Enable Developer Script"..... So you should have three checked..... Enable Cheats, Enable Developer and Enable Developer Script.

In Radiant, place two script_origin entities with a targetname value of "minimap_corner". These must be at opposite corners of a square which represents the playable area of your map. Keep in mind that the square won't necessarily be aligned to the X and Y axes; it will be aligned to North, which is set by northyaw in your worldspawn. (northyaw 90 in most cases)

Then proceed to save you're map, and then compile it.

Then run you're map, through the TOOLS by clicking "RUN SELECTED MAP"

PLEASE NOTE THAT DURING THESE NEXT STEPS YOU WILL MOST LIKELY GET A SCRIPT ERROR, WHEN THIS POPS UP HIT ENTER TO GET BACK INTO THE GAME. IT MAY OCCUR NON-STOP. HOWEVER THIS IS EASY STILL TO GET WHAT YOU NEED. CONSOLE COMMANDS WILL STILL WORK EVEN WITH THIS ANNOYING ERROR POP UP.

#1) Spawn into the game as a player.
#2) Open Console "~"
#3) Type into the console " /set scr_minimap_height 10000 " Hit ENTER ( any less a number will bend the view and the player marker on the map will not match when you are in game"
#4) Type into the console " /exec minimap "

Hey look it did not error this time, saying it is missing files or can not find scripts to execute ;)

Now if you are staring at the error screen I mentioned above, then hit enter and you will see the minimap view with a white box around it, and the words "THIS WAY UP" Make sure you rotate by using the mouse until that text is at the top of the screen, and that the lines are straight (no jagged angled edges) and also make sure you move the mouse so it is looking straight down"

Screen capture the image using the print screen option or other screen capture software. Open that image into you're favorite editing software, and CROP the image JUST INSIDE THE WHITE LINES. Resize it to 512x512 and then save it as a 24 BIT TGA file.

Now move that newly created file into the following directory .../[root]/texture_assets ([root] is you're COD 4 install directory) If you do not have this folder, create it.

Use the above folder ALWAYS to convert you're textures into usable iwi's.

Add the asset to your map's fast file (.csv) adding this line: material,compass_map_yourmapname

In your map's script file, insert the following line of code: mapsmp_compass::setupMiniMap("compass_map_yourmapname");

To convert it into an iwi, in the tools, click the applications tab, then click LAUNCH ASSET MANAGER.

Once it loads, OPEN the following file: " [root]/source_data/ levels.gdt"

Once it is open use the below image as a reference image.

tutorialpic1_1128

Click MATERIAL in the scrollable window, Then click NEW ENTRY, a little window will pop up, type in: compass_map_mp_yourmapname

Under COLOR MAP point it to you're TGA file in the texture_assets folder.

Then match the settings in the image I linked, (minus the changes you did.) Click PC CONVERT from the menu and choose CONVERT THIS ASSET ONLY.

If you have done all that I mentioned, you're new material will be converted into a iwi.

Almost there :) Load up the tools again and UNCHECK, the ENABLE DEVELOPER SCRIPT. (so you can play test the map without that annoying error)

Update you're ZONE FILE by adding the compass line, which should be in the left window pane. Simply cut and paste that line into the right windows pane. Then click SAVE.

Then highlight the map, and RUN SELECTED MAP.

Voila. You now have a fully working minimap :)

I hope this helps....

- Col. Phil Bilko (aka: CDN Merc Bilko)

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

»