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

Members Online

»
0 Active | 5 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 subscribe
Author Topic: nonsense error making me insane
KaneG
General Member
Since: Mar 5, 2005
Posts: 8
Last: Dec 5, 2009
[view latest posts]
Level 0
Category: CoD4 MP Mapping
Posted: Monday, Aug. 24, 2009 03:35 pm
Hi.

I'm at end of my map and I keep getting most bullshit error in the world, had a few others but fixed them one after another, until this.

I keep getting script error at trying to load my map

setExpfog: halfwayDist must be greater than 0

I'm no great mapper, I do it for fun, my 2nd map (first one albeit made was a disaster hehe typically rookie - stuff in air - map not to mention insanely huge, anyway back to the point), I haven't fiddled with any weird poo-poo during making it, bsp compiles fine, reflections compile fine, fast file no problem, then this out of nowhere.
I haven't traced anything like this before and it's killing my nerves because it doesn't make any sense at all.
Giving a picture of the console at the error if you can make anything out of 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, Aug. 24, 2009 04:00 pm
Call of Duty 4: Scripting Reference - Effects::SetExpFog

make sure the halfwayDist parameter is greater than 0 (like the error states)
Share |
KaneG
General Member
Since: Mar 5, 2005
Posts: 8
Last: Dec 5, 2009
[view latest posts]
Level 0
Category: CoD4 MP Mapping
Posted: Monday, Aug. 24, 2009 04:06 pm
Oh ye I forgot to write it in, I set the expfog in my map.gsc + later also edited it in _art.gsc and still nothing, same bullshit nonsense error.
Share |
KaneG
General Member
Since: Mar 5, 2005
Posts: 8
Last: Dec 5, 2009
[view latest posts]
Level 0
Category: CoD4 MP Mapping
Posted: Tuesday, Aug. 25, 2009 09:23 am
Okay I made some progress, the problem started even while the setexpfog was disabled by //, so I enabled it and used the default numbers with no success.
Thinking a little did me good, as I uploaded the map onto the clan server to see if it loads there and it did, even I could join.
So whatever the problem with fog is, it has to be withing the compile tools or the loading tool when it loads the map when you want to test it. Wouldn't even mind having the fog error now when I see it works if it wasn't for the red thingy blocking my view at start meaning I'd have to update zone files, which I can't since the map wasn't loaded by me at tools but by game server.

Any ideas in that direction?
Share |
tourist.Tam
General Member
Since: Feb 2, 2007
Posts: 397
Last: Oct 6, 2009
[view latest posts]
Level 5
Category: CoD4 MP Mapping
Posted: Tuesday, Aug. 25, 2009 11:54 am
The update zone file can be done by hand by editing the csv file corresponding to your map in the zone_source folder. You will have to know the models that needed to be loaded by the map. Check the others csv files in the same folder for examples.

HTH,

Tam
Share |
sudswu
General Member
Since: Mar 19, 2008
Posts: 104
Last: Sep 5, 2010
[view latest posts]
Level 4
Category: CoD4 MP Mapping
Posted: Wednesday, Aug. 26, 2009 12:49 pm
can you load it by copying .ff and _load.ff

from /zone/english

to

/usermaps
(with the .iwd if you have one)

then loading cod4 and starting a mod (modwarfare)
in console
/devmap mp_mapname
Share |
KaneG
General Member
Since: Mar 5, 2005
Posts: 8
Last: Dec 5, 2009
[view latest posts]
Level 0
Category: CoD4 MP Mapping
Posted: Thursday, Aug. 27, 2009 10:09 am
Yes I can, I got rid of the FX error , copied some assets from other files but I saw I didn't even have to do that as it fixed on it's own while on clan server lol, Skynet ftw!

It seems only at loading the map by mod tools it doesn't work. And only that map I made, i made a small room to see if the problem comes again but it didn't, I have no idea why it gives me that error at that map but whatever, I did testing by just copying the map to usermaps and loading it from the game.

I'm just glad it works like it's supposed too now, though that error is just ridiculous since I didn't even set fog at start, and later when I did when it asked it still didn't work.

If anyone get's that problem, you can just tell him to copy the .ff files to usermaps and it should work unless something else is wrong, might want to update your error list ;)
Share |
sudswu
General Member
Since: Mar 19, 2008
Posts: 104
Last: Sep 5, 2010
[view latest posts]
Level 4
Category: CoD4 MP Mapping
Posted: Thursday, Aug. 27, 2009 05:04 pm
once you add loadscreen and minimap you have to use the method i posted anyway
Share |
Restricted Access Topic is Locked 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

»