| Author |
Topic: prefab/minimap_corner.map |
| k00lbr33ze |
 |
General Member Since: Jun 17, 2009 Posts: 121 Last: Dec 13, 2011 [view latest posts] |
|
|
|
|
| odilasa1 |
 |
General Member Since: Nov 7, 2010 Posts: 66 Last: Dec 24, 2011 [view latest posts] |
|
|
 |
|
Category: CoD4 MP Mapping Posted: Wednesday, Aug. 31, 2011 06:12 pm |
 |
Hey k00lbr33ze, (long story short) unfortunately this command will not work in MP: /set scr_minimap_height 10000
So if you have the AWE mod I believe this will get you up to speed. Just run the mod from the commandline (with dev options ticked) in your editor, then when in-game...
First: /exec minimap
This will remove all unnecessary graphics, then enter: /set scr_minimap_height 10000
Also the underlined variable is just a suggested height.
Now if you don't have the mod, you have to save (in radiant) your map as SP. Next you should remove all MP player entities. Then re-compile your map. Run it from the editor (with dev options ticked)...then these two again...
/exec minimap
/set scr_minimap_height 10000
I assume you know how to do the rest so good luck.
|
 |
|
|
| k00lbr33ze |
 |
General Member Since: Jun 17, 2009 Posts: 121 Last: Dec 13, 2011 [view latest posts] |
|
|
|
Category: CoD4 MP Mapping Posted: Thursday, Sep. 1, 2011 03:56 pm |
 |
odilasa1 writes...Quote: First: /exec minimap
This will remove all unnecessary graphics, then enter: /set scr_minimap_height 10000
Also the underlined variable is just a suggested height.
Now if you don't have the mod, you have to save (in radiant) your map as SP. Next you should remove all MP player entities. Then re-compile your map. Run it from the editor (with dev options ticked)...then these two again...
/exec minimap
/set scr_minimap_height 10000
I assume you know how to do the rest so good luck.
Thanks for the reply odilasa1,
Not to sound ungrateful, but, I've done what you have suggested before posting because I was able to create a minimap. However, the map has since changed a wee bit since I made the 1st one & I would like to update it.
To be on the safe side, I did delete ALL multi-player elements on the map & saved it as SP. I then recompiled & tried to create the minimap as you described, but somehow, still nothing.
Is it possible something with the prefab got corrupted?
Or the script for targetname minimap_corner get corrupted since I tried to manually to create a script_origin
with that attribute?
Do I REALLY need to install the AWE mod to get the minimap to work properly?
Again thanks for helping! |
 |
|
|
| Tally |
General Member Since: Apr 21, 2005 Posts: 819 Last: Oct 26, 2012 [view latest posts] |
|
|
|
|
| k00lbr33ze |
 |
General Member Since: Jun 17, 2009 Posts: 121 Last: Dec 13, 2011 [view latest posts] |
|
|
|
Category: CoD4 MP Mapping Posted: Thursday, Sep. 1, 2011 05:57 pm |
 |
Tally writes...Quote: All of the developer dvars to create a minimp are multiplayer ones - they wont work in SP.
Why on earth you are re-compiling your MP as a SP map, and then trying to make the minimap itself I don't know. Do it the proper way - as a MP map. Otherwise you're be there till the cows come home trying to get it to work.
Tally, when I try to run /exec minimap & /set scr_minimap_height under mp, I get the following errors:
Unknown cmd cg_drawversion
Unknown cmd cg_drawhud
Unknown cmd r_lodscale |
 |
|
|
| Tally |
General Member Since: Apr 21, 2005 Posts: 819 Last: Oct 26, 2012 [view latest posts] |
|
|
|
Category: CoD4 MP Mapping Posted: Thursday, Sep. 1, 2011 07:59 pm |
 |
k00lbr33ze writes...Quote: Tally writes...Quote: All of the developer dvars to create a minimp are multiplayer ones - they wont work in SP.
Why on earth you are re-compiling your MP as a SP map, and then trying to make the minimap itself I don't know. Do it the proper way - as a MP map. Otherwise you're be there till the cows come home trying to get it to work.
Tally, when I try to run /exec minimap & /set scr_minimap_height under mp, I get the following errors:
Unknown cmd cg_drawversion
Unknown cmd cg_drawhud
Unknown cmd r_lodscale
That means you are not in developer mode.
You say you have developer enabled? Well, you also need developer_script set to 1.
You do NOT need cheats enabled, as making a minimap doesn't require any cheat settings, so you don't have to check that.
Also, if you put a check next to use custom command line, then you need to actually use a custom command line. So, if you don't have one, then UNCHECK it.
Most people find that trying to make a minimap while running their map from launcher ends up with problems. What you should ideally do is get your map ready to run in the usermaps folder (i.e. take the zone file out of the zone folder and put it in a folder named after your map in the usermaps folder). Then, use a mod folder to run the map. You don't have to actually use a mod, but it would help, so at the very least use the custommaps mod and folder to run your map. Then, you will find that it is easier to get developer mode working. Just create a shortcut with all the developer settings in it. If you don't know how to do this, just google it for directions.
edited on Sep. 1, 2011 03:59 pm by Tally |
 |
|
|
| odilasa1 |
 |
General Member Since: Nov 7, 2010 Posts: 66 Last: Dec 24, 2011 [view latest posts] |
|
|
 |
|
Category: CoD4 MP Mapping Posted: Friday, Sep. 2, 2011 01:19 am |
 |
|
 |
|
|
| Sevenz |
 |
General Member Since: Apr 24, 2006 Posts: 2390 Last: May 10, 2013 [view latest posts] |
|
|
|
Category: CoD4 MP Mapping Posted: Friday, Sep. 2, 2011 08:14 am |
 |
Posting this here just in case google clears its web cache:
Tally:
Quote: It has become well known that taking a screenshot for your map's minimap is not working in MP.
Mad_Massey - IW Dev - advised to make a SP version of your map in order to do this:
IW forums
There is, in fact, no need to do this.
1. Use AWE4 mod, as it has the problem code commented out (setSat).
When
creating my ranking feature, I had to comment out all that crap as it
was spamming console with error messages. It is now a happy coincidence
that this is the exact same code causing minimap screenshots not to
work.
This does not work with any other mod other than AWE4.
No other mod has adjusted the code that causes the problem with taking a minimap screenshot ingame. Not even modwarfare.
2. Set up AWE4 in the normal way, and have a compiled, working version of your map in the 'usermaps' directory.
4. Have this as your commmand line to AWE4:
QUOTE C:\Program Files\Activision\Call of Duty 4 - Modern Warfare\
iw3mp.exe + set fs_game mods/my_awe4 +set thereisacow 1 +set developer 1 +set developer_script 1 +exec mp-server.cfg + set sv_punkbuster 0 +map_rotate
5. Set your rotation up to only have your map, and pick war or dm as the gametype.
6. Start up your MP AWE4 server, and spawn ingame.
7. Drop down console and type:
/ scr_minimap_height 10000 <----- should be same value as setdvar("compassmaxrange","1000") in your level GSC
Press enter
8. You will jump automatically to the minimap screenshot position. There is no need to type
/exec minimap
9. You will get a screenshot similar to this:
10. Follow the basic procedures for converting your screenshot into an IWI and materials file from this IW Wiki tutorial:
IW Wiki: Creating a custom minimap image
11. Once you've created your minimap, and its all showing up in game, if it seems slightly out of line, adjust:
setdvar("compassmaxrange","1000") <---- adjust value
12. You will not get the minimap working in PAUSE game (when you hit escape). This is a known issue with IW and they are releasing the requisite image in order to get it working in a future (next?) patch. |
 |
|
|
| Tally |
General Member Since: Apr 21, 2005 Posts: 819 Last: Oct 26, 2012 [view latest posts] |
|
|
|
|
| Tally |
General Member Since: Apr 21, 2005 Posts: 819 Last: Oct 26, 2012 [view latest posts] |
|
|
|
Category: CoD4 MP Mapping Posted: Friday, Sep. 2, 2011 09:39 am |
 |
I did some digging around at likely problems with making a minimap, and I found 2 very important ones -
1. DON'T USE MODWARFARE!! If you use any mod based on modwarfare, you can't get scr_minimap_height to execute.
2. Also, TURN OFF PUNKBUSTER. It seems to nerf the process as well.
I did this video to demo making a minimap:
NOTES:
1. I did not use a mod at all. Only the folder.
2. This is my command line:
Quote: cd C:\Program Files (x86)\Activision\Call of Duty 4 - Modern Warfare\
iw3mp.exe +set fs_game mods/test3 +set developer 1 +set developer_script 1 +devmap mp_carentan +set g_gametype war +set sv_punkbuster 0
As you can see, no need for cheats enabled, but you do need devmap. It wont work with just developer and developer_script enabled.
3. The map is obviously a stock one (Chinatown), but I tried it with 3 custom maps and got it to work just as well with them.
4. When taking a screenshot once you're in the air at the minimap height, you can either use F12, or better - drop down console and type:
/screenshot
That will give you a .TGA file. The quality of a .TGA file is much greater than with a JPG, and it will give you a better finish. |
 |
|
|
|
|
mp_TempleCall of Duty: Mods: Multiplayer (624.12Kb)
|