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

Members Online

»
0 Active | 62 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

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 SP Mapping
CoD 4 mapping and level design for single player.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword, playername, novemberdobby
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked subscribe
Author Topic: Single Player Mini Map
canstein
General Member
Since: Oct 23, 2010
Posts: 69
Last: Jan 11, 2011
[view latest posts]
Level 3
Category: CoD4 SP Mapping
Posted: Sunday, Nov. 14, 2010 06:54 pm
I've been trying to add a mini-map to my singleplayer map for the last day or so. I've followed both of these tutorials to a T.

http://wiki.modsrepository.com/index.php/Call_of_Duty_4:_Minimap

http://modsonline.com/Tutorials-read-483.html

I've had luck in the past with making a mini-map for a multiplayer map this this single player map just won't work.

I'm using winrar to zip my iwd. I've tried the zip format and I've tried the rar format. In both cases my *.iwd file has been organized the way both above tutorials have instructed:

Code:

mapname.iwd
-----images
----------compass_map_mapname.iwi


I've even tried downloading different publicly released maps and seeing how they've organized their files. In doing so I've tried the following setups:


Code:

cod\usermaps\mapname\mapname.ff
cod\mods\custommaps\mapname.iwd

iw3sp.exe +set fs_game mods/custommaps +map mapname



Code:

cod\zone\english\mapname.ff
cod\main\mapname.iwd

iw3sp.exe +map mapname


Has anyone here had luck getting a mini-map working for a single player map?
Share |
voidsource
General Member
Since: May 5, 2007
Posts: 1513
Last: Sep 1, 2013
[view latest posts]
Level 8
Category: CoD4 SP Mapping
Posted: Tuesday, Nov. 16, 2010 03:21 am
why even bother making a minimap in sp, dont get me wrong it would be a good idea to have it ( for learning purposes ) but just simply take it out in ur script. use this:

Code:


 setsaveddvar( "ui_hidemap", "1" );



plus the minimap only shows up when u press esc....no point in having it and seeing it when ur game is on paused. well thats my opinion. but i know for my newer map it wont have that.
Share |
voidsource
General Member
Since: May 5, 2007
Posts: 1513
Last: Sep 1, 2013
[view latest posts]
Level 8
Category: CoD4 SP Mapping
Posted: Tuesday, Nov. 16, 2010 04:18 am
after looking through the custom sp maps that ive dl ive realized that "parking_lot.ff" does have a working minimap. maybe he can post a message telling u that. ill email him see if still remembers how.
Share |
pinedsman
General Member
Since: Feb 27, 2007
Posts: 85
Last: Nov 28, 2012
[view latest posts]
Level 3
Category: CoD4 SP Mapping
Posted: Wednesday, Nov. 17, 2010 06:01 pm
The tutorials you followed were correct. Getting a minimap in SP is pretty much the same as in MP.

Are you just having trouble with the .iwd files? If so, it may be because you have an updated Cod4 (which does not support external .iwd files). I would just tell people to unzip the .iwd files into the /main folder (that's what I did for my map)
Share |
canstein
General Member
Since: Oct 23, 2010
Posts: 69
Last: Jan 11, 2011
[view latest posts]
Level 3
Category: CoD4 SP Mapping
Posted: Sunday, Nov. 28, 2010 08:14 pm
So I finally got my *.iwd file working with both custom sounds and custom images. Here's a brief description of what I needed to do:

1. Use PakScape.exe to pak the iwd files. Some tutorial I found recommended this. I think me using winrar was causing issues.
http://170thclan.com/html/modules.php?name=Downloads&d_op=getit&lid=3
2. I'm actually running CoD4 patched to 1.6. This shows up in the console as 1.5. With a fresh install this method does not work. In the end I had to have the following to get the game to run using the packaged iwd file.
Code:

// File locations
CoD\usermaps\my_map.ff
CoD\Mods\ModWarfare\my_map.iwd

// Run Game
iw3sp.exe +set fs_game mods/ModWarfare +map my_map


I figured out one more thing I'd like to share that may help people. While building and running my map I always had trouble with *.iwd files because running the map through Compile Tools wouldn't find the corresponding *.iwd file. The solution for this is to take the contents of your *.iwd file and place them in your CoD/main folder. To make this clearer, here is the contents of my *.iwd file and the contents of my main folder side by side.




my_map.iwd
Code:

images/compass_map_my_map.iwi
sound/my_map/sound01.mp3
sound/my_map/sound02.mp3


CoD/main
Code:

images/compass_map_my_map.iwi
sounds/my_map/sound01.mp3
sounds/my_map/sound02.mp3




They are the same! Doing this allows me to both build and run in Compile Tools as well as distribute the *.iwd file for play testing.

I short, I didn't know that during developement you could just have your *.iwd file unzipped into your main and it would compile and run totally fine.



edited on Nov. 28, 2010 08:39 pm by canstein

edited on Nov. 28, 2010 08:40 pm by canstein

edited on Dec. 1, 2010 03:26 pm by canstein
--Updated to point out that I'm running CoD4 patched to 1.6. I've tried this method on a fresh install with no success.
Share |
voidsource
General Member
Since: May 5, 2007
Posts: 1513
Last: Sep 1, 2013
[view latest posts]
Level 8
Category: CoD4 SP Mapping
Posted: Monday, Nov. 29, 2010 03:22 am
you could just run the mod in your compile tools in the command line. that also works.
Share |
Restricted Access Topic is Locked subscribe
MODSonline.com Forums : Call of Duty 4 : CoD4 SP 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

»