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

Members Online

»
0 Active | 9 Guests
Online:

LATEST FORUM THREADS

»
warfare
CoD4 Map + Mod Releases
Voting menu on maps
CoD+UO General
Hauling 911
CoDBO3 General

Forums

»

Welcome to the MODSonline.com forums. Looking for Frequently Asked Questions? Check out our FAQs section or search it out using the SEARCH link below. If you are new here, you may want to check out our rules and this great user's guide to the forums and the website.
For more mapping and modding information, see our Wiki: MODSonWiki.com

Jump To:
Forum: All Forums : Call of Duty 4
Category: CoD4 MP Mapping
CoD 4 mapping and level design for multiplayer.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword, playername, novemberdobby
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked
Page
Next Page
subscribe
Author Topic: prefab/minimap_corner.map
k00lbr33ze
General Member
Since: Jun 17, 2009
Posts: 121
Last: Dec 13, 2011
[view latest posts]
Level 4
Category: CoD4 MP Mapping
Posted: Tuesday, Aug. 30, 2011 06:44 pm
Hi guys,

I'm a bit confused as to why I am unable to get my overhead view to make a minimap.

I originally used the prefab/minimap_corner.map on opposite corners, within the lightGrid & set it up for single player to take a screen capture.

I have Enable Developer, Enable Cheat, Enable Developer & Use custom Command Line Options all checked.

Once I run through the steps to make a map & run it- I then type in the console: '/set scr_minimap_height 10000' then '/exec minimap'.

When nothing happened, I made 2 script origins with targetname minimap_corner placed on opposite corners of the map thinking the prefab may somehow have gotten corrupted.

This method still did not work. Can someone please help me out as to what I could be doing wrong?

much obliged

edited on Aug. 30, 2011 05:34 pm by k00lbr33ze
changed title
Share |
odilasa1
General Member
Since: Nov 7, 2010
Posts: 66
Last: Dec 24, 2011
[view latest posts]
Level 3
Im a fan of MODSonair
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.[thumbs_up]

Share |
k00lbr33ze
General Member
Since: Jun 17, 2009
Posts: 121
Last: Dec 13, 2011
[view latest posts]
Level 4
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.[thumbs_up]



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!
Share |
Tally
General Member
Since: Apr 21, 2005
Posts: 819
Last: Oct 26, 2012
[view latest posts]
Level 7
Category: CoD4 MP Mapping
Posted: Thursday, Sep. 1, 2011 05:09 pm
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.
Share |
k00lbr33ze
General Member
Since: Jun 17, 2009
Posts: 121
Last: Dec 13, 2011
[view latest posts]
Level 4
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
Share |
Tally
General Member
Since: Apr 21, 2005
Posts: 819
Last: Oct 26, 2012
[view latest posts]
Level 7
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
Share |
odilasa1
General Member
Since: Nov 7, 2010
Posts: 66
Last: Dec 24, 2011
[view latest posts]
Level 3
Im a fan of MODSonair
Category: CoD4 MP Mapping
Posted: Friday, Sep. 2, 2011 01:19 am
...

http://webcache.googleusercontent.com/search?q=cache:Fxd1dmTFe-UJ:iwnation.com/forums/tutorials/article/24-creating-a-minimap/+/set+scr_minimap_height&cd=27&hl=en&ct=clnk&gl=us&client=firefox-a

...
Share |
Sevenz
General Member
Since: Apr 24, 2006
Posts: 2390
Last: May 10, 2013
[view latest posts]
Level 8
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.
Share |
Tally
General Member
Since: Apr 21, 2005
Posts: 819
Last: Oct 26, 2012
[view latest posts]
Level 7
Category: CoD4 MP Mapping
Posted: Friday, Sep. 2, 2011 09:31 am
Please - that is a REALLY OLD POST of mine, and was made pre-patch 1.5. IW fixed the problem with executing minimap height with the 1.5 patch. There is no longer any need to make a SP version of a MP map in order to get the minimap height dvar to execute.
Share |
Tally
General Member
Since: Apr 21, 2005
Posts: 819
Last: Oct 26, 2012
[view latest posts]
Level 7
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.
Share |
Restricted Access Topic is Locked
Page
Next Page
subscribe
MODSonline.com Forums : Call of Duty 4 : CoD4 MP Mapping

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

»