Cod4 Script compile error
Moderator: Core Staff
Cod4 Script compile error
i am making a new map, and um.. everything works fine, but when i go to compile reflections i get this error
ERROR
Script compile error
Could not find script 'maps/mp/gametypes/_codjumper'
other thread maps/mp_gametypes/_codjumper::loadPos();
any ideas?
ERROR
Script compile error
Could not find script 'maps/mp/gametypes/_codjumper'
other thread maps/mp_gametypes/_codjumper::loadPos();
any ideas?
-
- CJ Worshipper
- Posts: 289
- Joined: December 5th, 2009, 7:12 am
- Location: Australia
Re: Cod4 Script compile error
maps/mp/gametypes/_codjumper.gsc is in the codjumper mod, not in your raw directory. When it compiles the reflections, it doesn't use a mod, so it will come up with an error saying that it can't find the file. You could just comment out the those lines when compiling reflections and uncomment them when compiling the fast file.
Re: Cod4 Script compile error
um. in my previous map i never had this issue. idk what you mean by "comment out" in the zone file? give me eg. plz
-
- CJ Worshipper
- Posts: 289
- Joined: December 5th, 2009, 7:12 am
- Location: Australia
Re: Cod4 Script compile error
When you compile the reflections, you need to remove that line that causing the error. Instead of just removing and re-typing it, just put two /'s in front of it so it's treated as a comment. When you compile the mod, just remove the two /'s. That's what I mean by comment/uncomment.
Also keep in mind that, because the _codjumper::loadPos() function is only in the official CJ mod, if you play the map with any other mod, you'll get an error.
Also keep in mind that, because the _codjumper::loadPos() function is only in the official CJ mod, if you play the map with any other mod, you'll get an error.
Re: Cod4 Script compile error
okay, but where is the code located?? like where do ui type //
-
- CJ Worshipper
- Posts: 289
- Joined: December 5th, 2009, 7:12 am
- Location: Australia
Re: Cod4 Script compile error
The line that's causing the error
other thread maps/mp_gametypes/_codjumper::loadPos();
other thread maps/mp_gametypes/_codjumper::loadPos();
-
- Core Staff
- Posts: 13313
- Joined: April 13th, 2005, 8:22 pm
- Location: UK, London
Re: Cod4 Script compile error
My guess is that you have an IWD with custom functions in it. Check your folders (main, mods, etc) for an IWD that shouldn't be there.
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
Re: Cod4 Script compile error
iCYsoldier wrote:The line that's causing the error
other thread maps/mp_gametypes/_codjumper::loadPos();
try maps\mp\gametypes instead of maps\mp_gametypes
-
- Core Staff
- Posts: 13313
- Joined: April 13th, 2005, 8:22 pm
- Location: UK, London
Re: Cod4 Script compile error
This has nothing to do with coding. The original post is about compiling reflections, and an error when the map loads for compiling. And that error must be coming from a GSC somewhere... [this is why I run two version of CoD4]IzNoGoD wrote:iCYsoldier wrote:The line that's causing the error
other thread maps/mp_gametypes/_codjumper::loadPos();
try maps\mp\gametypes instead of maps\mp_gametypes
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
Who is online
Users browsing this forum: No registered users and 32 guests