MODSonline
  Welcome Guest to MODSonline Home | Forums | Register | Login
Main-Menu
Home
Login
Register
Add Download
Add News
Add Tutorial *
Forums

Advertise
Affiliate Store US *
Affiliate Store UK *
Affiliate Store CA *
Angry Letter Generator
Avatar Upload
Calendar of Games
Contact
Downloads
FAQs
Forums
Member List
Member Projects
News
News Grabber *
Policy
Polls
Private Messages
Reviews
Screenshot Gallery
Search
Servers - Game
Store - Shirts *
Subscribe
Topics
Tutorials
Weblinks
Wiki *
Tutorials
CoD Mapping
CoDUO Mapping
CoD2 Mapping
CoD4 Mapping
CoDWW Mapping
CoD FAQs
HL2 Mapping
HL2 FAQs
SOF1 Mapping
Crysis Mapping
Q4 Mapping
Doom 3 Mapping
Doom 3 FAQs
UT2K3 Mapping
SOF2 Mapping
SOF2 FAQs

Lightray Modeling
General Modeling
General Modding
Adobe Photoshop
Common Mapping Errors

Readme.txt Generator
Members-Online
Sgt.Rampage [Forum]
reborn1213 [Forum]
electabled... [Tutor]
ghostryder07 [Forum]

4 Members and 8 Guests
Chat MODSonline
0 People Now Chatting
MODSOnline TeamSpeak

download TeamSpeak

In-The-News
Sunday, Jan. 4th
MODSonair 161 Live
Friday, Jan. 2nd
MODSonair Episode 160
Thursday, Jan. 1st
HAPPY NEW YEAR MODSONLINE AND ALL
Sunday, Dec. 28th
MODSonair 160 Live
Saturday, Dec. 27th
MODSonline Holiday Pwnage
Latest Poll
Modsonair audio or video?
Video from here on. 48.57%
Sticking with audio. 2.86%
Either is good. 17.14%
What is modsonair? 31.43%
Read More...
4 comments

Newsletter
Name:
Email:
Newsletter Archives
Your Membership
User Name:
Password:
Register.
In The Forums
vision script
CoD2 Scripting.. Posts: (10) Views: (60) by liltc64
pk3 making?
CoDUO Level Desi.. Posts: (1) Views: (7) by ghostryder07
found em
CoD:WW Zombie/Co.. Posts: (1) Views: (11) by cme4pain
More dead bodies
CoD 4 Scripting.. Posts: (3) Views: (23) by INSANE{H|S}
Art of War Central Quake 4 Mods for Dummies
CoDWW Download
Forums
MODSonline.com 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: CoD 4 Level Design
CoD 4 mapping and level design.
Moderators: foyleman, rEdrUmMDK, Foxhound, Rasta, StrYdeR, The_Caretaker, supersword, batistablr, playername, Welshy
Latest Posts
Subscribed Posts
Search
Restricted Access Restricted Access
Page
Previous Page Next Page
subscribe
Author Topic: zip archive iwd
darkcod5
General Member
Since: Jan 21, 2008
Posts: 99
Last: Jan 4, 2009
[view latest posts]
Level 3
Category: CoD 4 Level Design
Posted: Sunday, Mar. 16, 2008 06: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]
Saureco
General Member
Since: Aug 12, 2006
Posts: 254
Last: Mar 19, 2008
[view latest posts]
Level 5
Category: CoD 4 Level Design
Posted: Sunday, Mar. 16, 2008 07: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
darkcod5
General Member
Since: Jan 21, 2008
Posts: 99
Last: Jan 4, 2009
[view latest posts]
Level 3
Category: CoD 4 Level Design
Posted: Sunday, Mar. 16, 2008 07:12 pm
the one in Mods/customMaps
made sure to your map through that mod [wave]
Saureco
General Member
Since: Aug 12, 2006
Posts: 254
Last: Mar 19, 2008
[view latest posts]
Level 5
Category: CoD 4 Level Design
Posted: Sunday, Mar. 16, 2008 07: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.
XE_Avenger
General Member
Since: Mar 9, 2008
Posts: 12
Last: Mar 18, 2008
[view latest posts]
Level 1
Category: CoD 4 Level Design
Posted: Sunday, Mar. 16, 2008 07: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.
Saureco
General Member
Since: Aug 12, 2006
Posts: 254
Last: Mar 19, 2008
[view latest posts]
Level 5
Category: CoD 4 Level Design
Posted: Sunday, Mar. 16, 2008 09:30 pm
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?
Sevenz
General Member
Since: Apr 24, 2006
Posts: 1179
Last: Jan 8, 2009
[view latest posts]
Level 8
Category: CoD 4 Level Design
Posted: Monday, Mar. 17, 2008 09:05 am
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\ ?
illram
General Member
Since: Jan 22, 2008
Posts: 233
Last: Jul 15, 2008
[view latest posts]
Level 4
Category: CoD 4 Level Design
Posted: Monday, Mar. 17, 2008 04: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.
Saureco
General Member
Since: Aug 12, 2006
Posts: 254
Last: Mar 19, 2008
[view latest posts]
Level 5
Category: CoD 4 Level Design
Posted: Monday, Mar. 17, 2008 10:18 pm
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.
illram
General Member
Since: Jan 22, 2008
Posts: 233
Last: Jul 15, 2008
[view latest posts]
Level 4
Category: CoD 4 Level Design
Posted: Tuesday, Mar. 18, 2008 02: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
Restricted Access Restricted Access
Page
Previous Page Next Page
subscribe
MODSonline.com Forums : Call of Duty 4 : CoD 4 Level Design
All logos and trademarks and information in this site are property of MODSonline LLC © 2009.
The comments are property of their posters.
RSS news feeds for MODSonline can be found News.php.
Art of War Central
Partners
Call of Duty Headquarters
CODAddicts - Call of Duty News & Downloads
Battle for Europe COD2
Frag Universe
The Firing Box
XoXide
modbase.be
Ask About
Advertising
Friends
Volcano
CoD 4 Base
MODS Reloaded
Ask About
Advertising
Link to Us
MODSonair
View in iTunes
Please help us to raise in the ranks of podcasting and subscribe to our itunes feed using the link above.
MODSonair Releases
MODSonair Episode 160
MODSonair Episode 159
MODSonair Episode 158
MODSonair Episode 157
MODSonair Episode 156
Next Show
The next MODSonair show will air LIVE on:
01/11/2009 12:00 EST

Time remaining:
Copyright © 2009 MODSonline
Tresware Content Management System Copyright © 2009 Tresware
Website Designed and Hosted   Tresware