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

Members Online

»
0 Active | 69 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 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
Previous Page Next Page
subscribe
Author Topic: zip archive iwd
InsideOut
General Member
Since: Jan 22, 2008
Posts: 171
Last: Sep 12, 2012
[view latest posts]
Level 4
Im a fan of MODSonair
Category: CoD4 MP Mapping
Posted: Sunday, Mar. 16, 2008 10:56 pm
I fixed it after two days and many hours. Nothing to fix really. All my files were in the correct place except for one, the iwd. After searching and reading I found the answer that has made me very happy. And I must say my minimap looks great. The answer is put the iwd in the customMaps folder.
Wow, how hard was that. Now lets see what I go throught to get the loadscreen to work. Thanks for everyones help. [wave]
Share |
Saureco
General Member
Since: Aug 12, 2006
Posts: 254
Last: Mar 19, 2008
[view latest posts]
Level 5
Category: CoD4 MP Mapping
Posted: Sunday, Mar. 16, 2008 11:04 pm
I just tried what you suggested, but it doesn't work. Could you go into a little more detail? Which customMaps folder? The one in players\profiles\*name*\mods or the one in Mods?

I still get the error.

edited on Mar. 16, 2008 07:08 pm by Saureco

edited on Mar. 16, 2008 07:09 pm by Saureco
Share |
InsideOut
General Member
Since: Jan 22, 2008
Posts: 171
Last: Sep 12, 2012
[view latest posts]
Level 4
Im a fan of MODSonair
Category: CoD4 MP Mapping
Posted: Sunday, Mar. 16, 2008 11:12 pm
the one in Mods/customMaps
made sure to your map through that mod [wave]
Share |
Saureco
General Member
Since: Aug 12, 2006
Posts: 254
Last: Mar 19, 2008
[view latest posts]
Level 5
Category: CoD4 MP Mapping
Posted: Sunday, Mar. 16, 2008 11:37 pm
There is something critical missing in all the posted processes. From mapping to compiling to making a minimap image file, how can you run your map to make sure your minimap looks good?

I have read the tutorials, all posted threads about the subject, and the wiki. All three kinds of sources make it sound so easy, yet none of them work for me. Can all three sources be missing something? Are they just vague, or am I "just not getting it"? I have plenty of mapping an coding experience, but this just seems like it's beyond me. Do I have to go through the whole publication process of making a packaged .iwd? I tried that, and even that didn't work.

I'm about ready to call it quits on this project.
Share |
XE_Avenger
General Member
Since: Mar 9, 2008
Posts: 12
Last: Mar 18, 2008
[view latest posts]
Level 1
Category: CoD4 MP Mapping
Posted: Sunday, Mar. 16, 2008 11:53 pm
Saureco writes...
Quote:
Quick update:

OK, I found something important. The .tga file I used to create the compass image file was originally called compass_mp_comm_station; I was missing map in the file name. But all the saved files for materials, material_properties, and images were called compass_map_mp_comm_station. All references in zone files and gsc files were called compass_map_mp_comm_station. But the error that pops up when I press the Run Selected Map button specifically says " Error: Couldn't load image 'compass_mp_comm_station' "

What is the connection between the targa file (.tga) name and the final files?

It looks to me like the line in your .gsc that should read:

maps\mp\_compass::setupMiniMap("compass_map_mp_comm_station");

reads:

maps\mp\_compass::setupMiniMap("compass_mp_comm_station");

so the game is looking for the file that the part of the .ff based on the .gsc references, and can't find it.
Share |
Saureco
General Member
Since: Aug 12, 2006
Posts: 254
Last: Mar 19, 2008
[view latest posts]
Level 5
Category: CoD4 MP Mapping
Posted: Monday, Mar. 17, 2008 01:30 am
Here is my gsc:

Code:
main()
{
	//run this code to hide the HUD for screen shot purposes
	//==============
	//SetSavedDvar( "hud_showStance", 0 );
	//SetSavedDvar( "compass", "0" );
	//SetSavedDvar( "ammoCounterHide", "1" );
	//==============

	maps\mp\mp_comm_station_fx::main();
	maps\mp\_load::main();

	maps\mp\_compass::setupMiniMap("compass_map_mp_comm_station");

	//maps\mp\gametypes\_dev2::init();	
	
	setExpFog(100, 1000, .5, .5, .5, 0.9);	//modify as necessary; range should be 50yds
	VisionSetNaked( "mp_bog" );
	ambientPlay("ambient/amb_aftermath0v2_lsrs");	//play the background sound for the map
	
	game["allies"] = "sas";			
	game["axis"] = "spetsnaz";		
	game["attackers"] = "allies";
	game["defenders"] = "axis";
	game["allies_soldiertype"] = "woodland";
	game["axis_soldiertype"] = "woodland";

	setdvar( "r_specularcolorscale", "1" );
	
	setdvar("r_glowbloomintensity0",".25");
	setdvar("r_glowbloomintensity1",".25");
	setdvar("r_glowskybleedintensity0",".3");
	setdvar("compassmaxrange","500");
}


Is something wrong in it?
Share |
Sevenz
General Member
Since: Apr 24, 2006
Posts: 2390
Last: May 10, 2013
[view latest posts]
Level 8
Category: CoD4 MP Mapping
Posted: Monday, Mar. 17, 2008 01:05 pm
SpeedHighway writes...
Quote:
It doesn't care what order the command line variables are in.

Well, fs_game works where ever it is in the command line. But the following commands didn't work when i added them as command line options, i had to add them before the devmap command in the batch script:
Code:
(...) +set scr_game_playerwaittime 1 +set scr_game_matchstarttime 1 +devmap %mapname% %cmdOptions%



Quote:
where is the real compass .iwi file once it's generated?
[...]
it still gives me an error referencing the file compass_map_mp_comm_station is not found.

raw\images (compass_map_mp_yourmap.iwi)
raw\materials
raw\material_properties

copy and paste all three files (compass_map_mp_yourmap) into a new folder structure. To do this, create a new folder on your desktop (or somewhere else, but outside the raw folder). Inside the new folder, create 3 folders called images, materials and material_properties. Make sure the files are in the right folders (material and material_property have the same name, but the property file is always 16 KB). Select all three folders, make a zip archive of it, rename extension from .zip to .iwd and move it to usermaps\mp_yourmap\ (new folder if necessary).

to run your map, server has to be modded. If you don't want any modifications, simply make a new folder, eg. Mods\minimap. When lunching from compile tools or shortcut, add this as command line option: +set fs_game Mods/minimap (slash, not backslash!)

Quote:
Where do I find the compass .iwi that I need to place into the images folder in the .iwd?

Put all 3 files mentioned above into the .iwd, not only the iwi.

Quote:
All three kinds of sources make it sound so easy, yet none of them work for me.

Worked for me at 100%, though i used a dxt5 dds with an alpha channel and had some problems with the compiler. I explained everything to a friend but we both were not able to make it working without tiling/repeating and with alpha channel. Don't have a clue...

Quote:
Is something wrong in it?

Looks fine. Have you rebuilt the fast file and copied both .ff files to usermaps\map_mp_comm_station\ ?
Share |
illram
General Member
Since: Jan 22, 2008
Posts: 233
Last: Jul 15, 2008
[view latest posts]
Level 4
Category: CoD4 MP Mapping
Posted: Monday, Mar. 17, 2008 08:48 pm
@Saureco

Make sure your compass file is within the same directory structure in your iwd as your gsc file reference. E.g., if your gsc file is calling for it in "maps/mp," make a folder in your iwd called "maps" and another folder in that called "mp" and put your compass in there. At least that's what worked for me; I was getting the same error message. (And load the map from within a mod; this means your iwd must be in the folder for whatever mod you're running, e.g. mods/modwarfare/mp_yourmapname.iwd.)

Hope that helps.
Share |
Saureco
General Member
Since: Aug 12, 2006
Posts: 254
Last: Mar 19, 2008
[view latest posts]
Level 5
Category: CoD4 MP Mapping
Posted: Tuesday, Mar. 18, 2008 02:18 am
Ok, wait. I'm seeing what looks like two different approaches again.
Quote:
raw\images (compass_map_mp_yourmap.iwi)
raw\materials
raw\material_properties

copy and paste all three files (compass_map_mp_yourmap) into a new folder structure. To do this, create a new folder on your desktop (or somewhere else, but outside the raw folder). Inside the new folder, create 3 folders called images, materials and material_properties. Make sure the files are in the right folders (material and material_property have the same name, but the property file is always 16 KB). Select all three folders, make a zip archive of it, rename extension from .zip to .iwd and move it to usermaps\mp_yourmap\ (new folder if necessary).

to run your map, server has to be modded. If you don't want any modifications, simply make a new folder, eg. Mods\minimap. When lunching from compile tools or shortcut, add this as command line option: +set fs_game Mods/minimap (slash, not backslash!)

This one says to make three separate folders (images, materials, and material_properties) and place them in the iwd.
Quote:
@Saureco

Make sure your compass file is within the same directory structure in your iwd as your gsc file reference. E.g., if your gsc file is calling for it in "maps/mp," make a folder in your iwd called "maps" and another folder in that called "mp" and put your compass in there. At least that's what worked for me; I was getting the same error message. (And load the map from within a mod; this means your iwd must be in the folder for whatever mod you're running, e.g. mods/modwarfare/mp_yourmapname.iwd.)

Hope that helps.

Now this one says to make a directory structure with the gsc and pack it into an iwd.

Come on, guys. Which is it? Drop us a screen shot or video or something. Most of us are visual creatures. Trying to explain file structures in a forum text field is like trying to give directions by drawing on your palm with your finger. I appreciate the help so far (and I didn't mean to hijack this thread), but I don't feel that I can say I'm any closer to a solution yet.
Share |
illram
General Member
Since: Jan 22, 2008
Posts: 233
Last: Jul 15, 2008
[view latest posts]
Level 4
Category: CoD4 MP Mapping
Posted: Tuesday, Mar. 18, 2008 06:34 am
First off, try downloading peoples maps, and see if they work. Then rename their iwds to zips, open them up and snoop around to see how they did it.

I'll defer to sevenz and others as he seems far more knowledgeable about this stuff than me. All I know is, the following is how I originally got my compass file to work:

http://img291.imageshack.us/my.php?image=iwdxe9.jpg

That's my .ZIP before I changed it to .IWD. (It has changed since I added my loadscreen.) I made sure my ffs were updated with the new csv and the gsc that referenced my compass file. I placed my ff's in usermaps\mymapname\, and my iwd in \modwarfare. I loaded the game, loaded modwarfare, and opened my map from the console rather than the tools, and it worked. Don't know why, as it is different from the method recommended and from what I see in other iwd's, but thats how it worked for me. I'm a newb too, (first used radiant in late february) but trial and error goes a long way [thumbs_up]

edited on Mar. 18, 2008 02:35 am by illram
Share |
Restricted Access Topic is Locked
Page
Previous 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

»