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

Members Online

»
0 Active | 12 Guests
Online:

LATEST FORUM THREADS

»
Node is floating???
CoD4 SP Mapping
Codutility is for sale!
News Around the Web

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, supersword, playername, novemberdobby
Latest Posts
Subscribed Posts
Search
Restricted Access Restricted Access subscribe
Author Topic: Strange compiler error(EPairList_HasKey anyone?)
Rezil
General Member
Since: Aug 25, 2006
Posts: 30
Last: Apr 10, 2013
[view latest posts]
Level 2
Category: CoD4 MP Mapping
Posted: Sunday, Sep. 21, 2008 08:55 am
Hi, I just got a strange error while compiling a map for cod4:

Code:

Expression:
    EPairList_HasKey( mapent->epairs, "origin" ) || !strcmp( classname, "worldspawn" ) || !strcmp( classname, "func_group" )

Module:    I:\Program Files\Activision\Call of Duty 4 - Modern Warfare\bin\cod4map.exe
File:    .\map.cpp
Line:    1538



If I ignore it, it doesn't compile the bsp. If I press try again it crashes and if I skip it it just keeps poping the same message up. -.-

Any clues as to what's causing this? I think it has something to do with me maknig func_groups but I can't be sure.

btw, the map is a port from cod2 and I also used the .gdt file from the cod2 asset manager to import the custom textures. It all works until I compile.
Share |
Mystic
General Member
Since: Apr 10, 2004
Posts: 6100
Last: Jun 17, 2013
[view latest posts]
Level 10
Forum Moderator
Im a fan of MODSonair
Category: CoD4 MP Mapping
Posted: Sunday, Sep. 21, 2008 12:20 pm
I would assume 'epairlist' to be something about when the compiler check entities for pairs of the same values, well lets pick out the key words from the error,

origin
classname, "worldspawn"
classname, "func_group"

My guess is as good as any but i would think to start about looking for thing like:

Have you given an origin brush a classname (worldspawn or func group)
Have you tried to group the skybox

I could be a long way off here but it's what i would check first, do you have a working backup of your map? you can always refer to that a see what additions have been made then through a process of elimination try to find it that way.
Share |
Rezil
General Member
Since: Aug 25, 2006
Posts: 30
Last: Apr 10, 2013
[view latest posts]
Level 2
Category: CoD4 MP Mapping
Posted: Monday, Sep. 22, 2008 11:43 am
Hi Rasta,

yeah that's probably it. I didn't group the skybox but I think I remember making some func_groups with the 'origin' texture for use as a script_brushmodel later but then didn't use them. I'll check the map.

Well I have a backup from cod2, but there it compiles without question, I guess it's a problem in cod4 using the 'origin' texture for anything other than a script_brushmodel. -.-
Share |
Rezil
General Member
Since: Aug 25, 2006
Posts: 30
Last: Apr 10, 2013
[view latest posts]
Level 2
Category: CoD4 MP Mapping
Posted: Monday, Sep. 22, 2008 12:06 pm
Sorry for the double post, can't edit post anymore. -.-

Ok, after chaning the 'origin' texture to 'caulk', nothing was changed. I then tried to ungroup everything except triggers and script_brushmodels. Still didn't work. I then ungrouped EVERYTHING(no filters, selected all and ungrouped). Fixed the epair_haskey thingy. BUT now I have a new error:


Code:
Expression:
    comparison

Module:    I:\Program Files\Activision\Call of Duty 4 - Modern Warfare\bin\cod4map.exe
File:    .\materials.cpp
Line:    188



I'm pretty sure this has something to do with the custom textures from cod2. Right now I selected everything again and used one texture on everything. If it works, I'll have to fix the texture prob, if it doesn't,...well, the time to port the map has just lengthened. :/
Share |
Restricted Access Restricted Access subscribe
MODSonline.com Forums : Call of Duty 4 : CoD4 MP Mapping

Latest Syndicated News

»
Codutility is for sale!
Seems like a plan to save Codutility ..Quote:Well guys I heard what you said...
Codutility is for sale!
Well as modding dies, so does the sites that support it.. Its a sad sad day,...
Codutility is for sale!
Quote:Codutility is for sale! Yes, you read well. Codutility ( sites/do...
Why console gaming is dying
Quote:Consider this: Dedicated gaming sales — including living-room consoles...
Devs: Games are being dumb...
Click 'read more' to view the contents of this post.

Partners & Friends

»