compiler for cod4 blows

Have questions about CoD4 mapping that aren't covered in the tutorials section? Post here!

Moderator: Core Staff

Post Reply
User avatar
Rezil
Core Staff
Core Staff
Posts: 2030
Joined: July 24th, 2006, 11:21 am
Location: Cramped in a small cubicle/making another jump map

compiler for cod4 blows

Post by Rezil » September 21st, 2008, 4:29 pm

Goddamn cod4compile tools. Here's what it says before it startscompiling bsp:

Code: Select all

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.
Drofder2004: Drofder's rules for reviewing a map
[...]
#5 If your name is Rezil, minimum 5/5.
---
<LT>YosemiteSam[NL]:
I heard somewhere that the best way to start is juggling 2 balls with one hand, so you will get a feel for it.

User avatar
Drofder2004
Core Staff
Core Staff
Posts: 13315
Joined: April 13th, 2005, 8:22 pm
Location: UK, London

Re: compiler for cod4 blows

Post by Drofder2004 » September 22nd, 2008, 2:37 pm

It looks to me like something in your entity list has "bad pairs".

Basically, pairs are for example

"classname" and "player"
"targetname" and "objective_a"

etc

Check your "worldspawn" entity for any bad pairs.
If all else fails, here is something to try.

Select everything on your map, copy and paste this in a new map.
Before doing this hide all your entities, spawns, moving platforms, everything.
Image
Virgin Media 20Mb Broadband:
"Perfect for families going online at the same time, downloading movies, online gaming and more."
Borked internet since: 22-07-2010

User avatar
Rezil
Core Staff
Core Staff
Posts: 2030
Joined: July 24th, 2006, 11:21 am
Location: Cramped in a small cubicle/making another jump map

Re: compiler for cod4 blows

Post by Rezil » September 22nd, 2008, 7:39 pm

Hey Drof, thanks for the reply.


Yeah that's probably it. I posted the same thing on modsonline and got a simmilar answer. I guess I'll check my entities for any bad pairs.

Also, I already tried selecting the entire map and pasting it in a new file. Didn't help.


EDIT:

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: Select all

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. I knew it was too good to be true. Something has to go wrong... 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. :/
Drofder2004: Drofder's rules for reviewing a map
[...]
#5 If your name is Rezil, minimum 5/5.
---
<LT>YosemiteSam[NL]:
I heard somewhere that the best way to start is juggling 2 balls with one hand, so you will get a feel for it.

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests