Call of Duty 4: Tips: Difference between revisions

From COD Modding & Mapping Wiki
Jump to navigation Jump to search
(New page: [B]Common Errors & Solutions[/B] [U]Help! My map is shining all red![/U] You need to add [URL="http://www.infinityward.com/wiki/index.php?title=Reflection_Probes"]reflection probes[/URL]. ...)
 
No edit summary
Line 1: Line 1:
[B]Common Errors & Solutions[/B]
[U]Help! My map is shining all red![/U] You need to add [URL="http://www.infinityward.com/wiki/index.php?title=Reflection_Probes"]reflection probes[/URL].


[U]Help! My guns and random stuff are shining rainbow![/U] First stop smokin the good stuff, then create a [URL="http://url=http://www.infinityward.com/wiki/index.php?title=Creating_a_grid_file"]grid file[/URL].
== Common Errors & Solutions ==


[U]While compiling the BSP, I get an error that .d3dbsp cannot be loaded![/U]: The editor automatically tries to load a previous version of a compiled map if it runs into errors while compiling. If for some reason the previously compiled files are missing, it gives that error. If you scroll up the DOS window, i'm sure another error will display itself, and that's the real reason you aren't compiling.
Help! My map is shining all red! You need to add [http://www.infinityward.com/wiki/index.php?title=Reflection_Probes reflection probes].  


[U]I've added destructible cars to my map, and now when compiling reflections I get "CANNOT SWITCH ON UNDEFINED"[/U]: [URL="http://www.modsonline.com/Tutorials-read-457.html"]Fix Here[/URL].
Help! My guns and random stuff are shining rainbow!


[U]While compiling the BSP, I get errors about lights leaking or *******Leaking*******[/U] This happens when your skybox is not completely closed and the player has the possibility to see the infinity! Close the compile, go to the editor, and go to File >> PointFile. It will show you where it's leaking. This can also be the cause of Portals not being in an enclosed space. Learn about portals and re-implement! Links above!
First stop smokin the good stuff, then create a [http://url=http://www.infinityward.com/wiki/index.php?title=Creating_a_grid_file grid file].


[U]Surface partially floating or needs to be aligned[/U] [URL="http://www.infinityward.com/community/forum/index.php?topic=12831.0"]Read me![/URL]
While compiling the BSP, I get an error that .d3dbsp cannot be loaded!:  


[U]WARNING: Attempting to meld model, but root part 'j_spine4' of model 'blah blah' not found in model 'blah blah' or any of its descendants[/U] [URL="http://www.mycallofduty.com/modules.php?name=Forums&file=viewtopic&t=1626"]Fix thread here[/URL]. Basically, add "include,mptypes_woodland" into your map CSV. "include,mptypes_desert" if you are using desert style players. Update zone file and build new FF and map works fine with extreme and ace and awe.
The editor automatically tries to load a previous version of a compiled map if it runs into errors while compiling. If for some reason the previously compiled files are missing, it gives that error. If you scroll up the DOS window, i'm sure another error will display itself, and that's the real reason you aren't compiling.


[U]Screen is completely red (can't see anything) or red FX signs over bodies[/U] Read the above and do it.
I've added destructible cars to my map, and now when compiling reflections I get "CANNOT SWITCH ON UNDEFINED":
 
[http://www.modsonline.com/Tutorials-read-457.html Fix Here].
 
While compiling the BSP, I get errors about lights leaking or *******Leaking*******
 
This happens when your skybox is not completely closed and the player has the possibility to see the infinity! Close the compile, go to the editor, and go to File >> PointFile. It will show you where it's leaking. This can also be the cause of Portals not being in an enclosed space. Learn about portals and re-implement! Links above!
 
Surface partially floating or needs to be aligned
 
You can ignore that.
 
WARNING: Attempting to meld model, but root part 'j_spine4' of model 'blah blah' not found in model 'blah blah' or any of its descendant
 
[http://www.mycallofduty.com/modules.php?name=Forums&file=viewtopic&t=1626 Fix thread here].
 
Basically, add "include,mptypes_woodland" into your map CSV. "include,mptypes_desert" if you are using desert style players. Update zone file and build new FF and map works fine with extreme and ace and awe.
 
Screen is completely red (can't see anything) or red FX signs over bodies
 
Read the above and do it.
 
 
== Useful commands ==


[B]Useful commands[/B]


In Console:
In Console:

Revision as of 15:16, 18 October 2008

Common Errors & Solutions

Help! My map is shining all red! You need to add reflection probes.

Help! My guns and random stuff are shining rainbow!

First stop smokin the good stuff, then create a grid file.

While compiling the BSP, I get an error that .d3dbsp cannot be loaded!:

The editor automatically tries to load a previous version of a compiled map if it runs into errors while compiling. If for some reason the previously compiled files are missing, it gives that error. If you scroll up the DOS window, i'm sure another error will display itself, and that's the real reason you aren't compiling.

I've added destructible cars to my map, and now when compiling reflections I get "CANNOT SWITCH ON UNDEFINED":

Fix Here.

While compiling the BSP, I get errors about lights leaking or *******Leaking*******

This happens when your skybox is not completely closed and the player has the possibility to see the infinity! Close the compile, go to the editor, and go to File >> PointFile. It will show you where it's leaking. This can also be the cause of Portals not being in an enclosed space. Learn about portals and re-implement! Links above!

Surface partially floating or needs to be aligned

You can ignore that.

WARNING: Attempting to meld model, but root part 'j_spine4' of model 'blah blah' not found in model 'blah blah' or any of its descendant

Fix thread here.

Basically, add "include,mptypes_woodland" into your map CSV. "include,mptypes_desert" if you are using desert style players. Update zone file and build new FF and map works fine with extreme and ace and awe.

Screen is completely red (can't see anything) or red FX signs over bodies

Read the above and do it.


Useful commands

In Console:

If mp_backlot automatically loads when you try to run your map, type in these commands to load into your map even with errors, allowing you to shift+tilde (~) and see what is wrong.


/sv_mapRotation ""
/sv_mapRotationCurrent ""
/devmap [yourmapname]

Change to any map w/o dev.

/map [themap]

Third person view (first load with /devmap [mapname])

/cg_thirdperson 1

More Usefull ServerCommands:

only available in devmap mode.

\give airstrike_mp
\give helicopter_mp
\give radar_mp

In CoD4Tools Custom Command Line Options:

+set scr_game_matchstarttime 0 +set scr_game_playerwaittime 0 +set fs_game mods/modWarfare

This one line takes off the wait timers at the beginning of the game when you load in, as well as loads you into ModWarfare from the start.