Page 1 of 2

[HELP] Error when loading new map..

Posted: 2009-12-01 12:29
by Stiller_001
ok i get an error when the map is verifying the client data..

Image

does anyone know what this means?

thanks,

Re: [HELP] Error when loading new map..

Posted: 2009-12-01 18:42
by Sniperdog
It means your game is trying to load the US flag texture but it is looking in the wrong directory. It is looking in: menu/nametag/usarmy when that texture (minimap_CP) is actually in: menu/nametag/usa

Not 100% sure but the cause of the problem is likely a problem with the Init.con file for the map in question. Make sure it looks like this code below (substitute in whatever faction you are using for opfor ofcourse) with special attention to the area where it defines the factions.

Code: Select all

rem *** Generated by BF2Editor ***
if v_arg1 == BF2Editor

run Heightdata.con
LevelSettings.InitWorld
run Terrain.con BF2Editor
run StaticObjects.con BF2Editor
run Sounds.con
run Sky.con BF2Editor
run Editor/GamePlayObjects.con host
UndergrowthEditable.create
Undergrowth.load Levels\7gates\
run Overgrowth/Overgrowth.con
Overgrowth.editorEnable 1
run AmbientObjects.con BF2Editor
run Water.con
run TriggerableTemplates.con BF2Editor

else

run Heightdata.con
run Terrain.con v_arg2
run Sky.con v_arg2
run CompiledRoads.con
run Sounds.con
run tmp.con v_arg1
Undergrowth.load Levels\7gates\
run Overgrowth/Overgrowth.con
run Overgrowth/OvergrowthCollision.con
run AmbientObjects.con
run Water.con
run TriggerableTemplates.con
run ../../objects/common/spawners/spawners_common.con
run ../../objects/common/spawners/spawners_usa.con
run ../../objects/common/spawners/spawners_ch.con

endIf

rem US ARMY VERSUS PLA
rem ------------------------------- LevelSettings -------------------------------
rem -----------------------------------------------------------------------------

gameLogic.setTeamName 1 "CH"
gameLogic.setTeamName 2 "USA"

gameLogic.setTeamLanguage 1 "Chinese"
gameLogic.setTeamLanguage 2 "English"

gameLogic.setTeamFlag 0 "flag_neutral"
gameLogic.setTeamFlag 1 "flag_ch"
gameLogic.setTeamFlag 2 "flag_us"

gameLogic.setKit 1 0 "ch_specialist" "pr_ch_soldier1"
gameLogic.setKit 2 0 "usa_specialist" "pr_usa_soldier1"

gameLogic.setKit 1 1 "ch_riflemanab" "pr_ch_soldier2"
gameLogic.setKit 2 1 "usa_riflemanab" "pr_usa_soldier2"

gameLogic.setKit 1 2 "ch_rifleman" "pr_ch_soldier3"
gameLogic.setKit 2 2 "usa_rifleman" "pr_usa_soldier3"

gameLogic.setKit 1 3 "ch_medic" "pr_ch_soldier2"
gameLogic.setKit 2 3 "usa_medic" "pr_usa_soldier2"

gameLogic.setKit 1 4 "ch_support" "pr_ch_soldier3"
gameLogic.setKit 2 4 "usa_support" "pr_usa_soldier3"

gameLogic.setKit 1 5 "ch_officerab" "pr_ch_soldier1"
gameLogic.setKit 2 5 "usa_officerab" "pr_usa_soldier1"

gameLogic.setKit 1 6 "ch_officer" "pr_ch_soldier4"
gameLogic.setKit 2 6 "usa_officer" "pr_usa_soldier4"

rem -----------------------------------------------------------------------------


gameLogic.setBeforeSpawnCamera 156/39/-21 143/7/0

if v_arg1 == BF2Editor
LevelSettings.CustomTextureSuffix "Woodland"
else
texturemanager.customTextureSuffix "Woodland"
endIf
rem -----------------------------------------------------------------------------

GameLogic.MaximumLevelViewDistance 600

rem -----------------------------------------------------------------------------

gameLogic.setDefaultNumberOfTicketsEx 16 1 350
gameLogic.setDefaultNumberOfTicketsEx 16 2 350
gameLogic.setDefaultNumberOfTicketsEx 32 1 350
gameLogic.setDefaultNumberOfTicketsEx 32 2 350
gameLogic.setDefaultNumberOfTicketsEx 64 1 350
gameLogic.setDefaultNumberOfTicketsEx 64 2 350
gameLogic.setDefaultTimeToNextAIWave 8
gameLogic.setTicketLossAtEndPerMin 1000
gameLogic.setTicketLossPerMin 1 5
gameLogic.setTicketLossPerMin 2 5

rem -----------------------------------------------------------------------------

rem -----------------------------------------------------------------------------

renderer.globalStaticMeshLodDistanceScale 1
renderer.globalBundleMeshLodDistanceScale 1
renderer.globalSkinnedMeshLodDistanceScale 1
renderer.tweakfarplane1p 10000001
renderer.tweaknearplane 0.08

gameLogic.setTeamDropVehicle 1 "mark_team1"
gameLogic.setTeamDropVehicle 2 "mark_team2"
Espeacially make sure you have

gameLogic.setTeamName 2 "USA"

and NOT

gameLogic.setTeamName 2 "USARMY"

Hope that helps :)

Re: [HELP] Error when loading new map..

Posted: 2009-12-01 18:45
by Rhino
like SD said, its to do with your init.con file not being setup correctly.

Re: [HELP] Error when loading new map..

Posted: 2009-12-02 02:46
by Stiller_001
Thanks for that, the map loads without a problem now.... but... when ever i go to spawn at the start of the round the game crashes, and no error pops up... :-?

EDIT: o and before the game crashes i die, and it says plz choose another kit... and i don't have any of the special kits selected

Re: [HELP] Error when loading new map..

Posted: 2009-12-02 06:05
by Sniperdog
Stiller_001 wrote:Thanks for that, the map loads without a problem now.... but... when ever i go to spawn at the start of the round the game crashes, and no error pops up... :-?

EDIT: o and before the game crashes i die, and it says plz choose another kit... and i don't have any of the special kits selected
Probably a problem with the kits in your init.con file. Check some of the init.con files from other maps in pr to make sure you have all the team settings correct, most importantly the kits you have assigned as that is likely causing the crash you are getting now.

Could also be that you don't have these two lines below included in the init file.


gameLogic.serTeamDropVehicle 1 "mark_team1"
gameLogic.serTeamDropVehicle 2 "mark_team2"


Also if that doesn't solve your problem you can try running in windowed mode for debugging. To do that right click your pr.exe shortcut (or whatever you launch your map through) and edit the target so it looks like this:

"C:\Program Files\EA GAMES\Battlefield 2\mods\pr\pr.exe" +menu 1 +fullscreen 0 1 +szx 1920 +szy 980
(edit the resolution to whatever works for you, I like to have the width = to your monitor width and the height maybe 30-60 pixels shortened from your monitor height)

By changing that you will get error messages for things you normally would get CTD's for. If you already knew that sorry :P If you didnt, try it and if you get an error message now, post it up here and that will help solve the problem.

Re: [HELP] Error when loading new map..

Posted: 2009-12-02 07:00
by Stiller_001
yer i have already got those to lines of code in the init.con file, and yes i have run it in windowed mode but there is no error message.

Re: [HELP] Error when loading new map..

Posted: 2009-12-02 07:02
by Rudd
could you post up what is in your init.con just so we can make sure its correct?

Re: [HELP] Error when loading new map..

Posted: 2009-12-02 09:22
by Stiller_001
yep sure:

Code: Select all

rem *** Generated by BF2Editor ***
if v_arg1 == BF2Editor

run ClientArchives.con
run Heightdata.con
LevelSettings.InitWorld
run Terrain.con BF2Editor
run StaticObjects.con BF2Editor
run Sounds.con
run Sky.con BF2Editor
run Editor/GamePlayObjects.con host
UndergrowthEditable.create
Undergrowth.load Levels\selat_sunda\
run Overgrowth/Overgrowth.con
Overgrowth.editorEnable 1
run AmbientObjects.con BF2Editor
run Water.con
run TriggerableTemplates.con BF2Editor

else

run ClientArchives.con
run Heightdata.con
run Terrain.con v_arg2
run Sky.con v_arg2
run CompiledRoads.con
run Sounds.con
run tmp.con v_arg1
Undergrowth.load Levels\selat_sunda\
run Overgrowth/Overgrowth.con
run Overgrowth/OvergrowthCollision.con
run AmbientObjects.con
run Water.con
run TriggerableTemplates.con
run ../../objects/common/spawners/spawners_common.con
run ../../objects/common/spawners/spawners_usa.con
run ../../objects/common/spawners/spawners_meinsurgent.con

endIf

rem US ARMY VERSUS INSERGENTS
rem ------------------------------- LevelSettings -------------------------------
rem -----------------------------------------------------------------------------

gameLogic.setTeamName 1 "MEInsurgent"
gameLogic.setTeamName 2 "USA"

gameLogic.setTeamLanguage 1 "MEC"
gameLogic.setTeamLanguage 2 "English"

gameLogic.setTeamFlag 0 "flag_neutral"
gameLogic.setTeamFlag 1 "flag_in"
gameLogic.setTeamFlag 2 "flag_us"

gameLogic.setKit 1 0 "taliban_scout" "pr_taliban_soldier1"
gameLogic.setKit 2 0 "usa_specialist" "pr_usa_soldier1"

gameLogic.setKit 1 1 "taliban_insurgent1" "pr_taliban_soldier2"
gameLogic.setKit 2 1 "usa_riflemanab" "pr_usa_soldier2"

gameLogic.setKit 1 2 "taliban_insurgent2" "pr_taliban_soldier5"
gameLogic.setKit 2 2 "usa_rifleman" "pr_usa_soldier3"

gameLogic.setKit 1 3 "taliban_medic" "pr_taliban_soldier4"
gameLogic.setKit 2 3 "usa_medic" "pr_usa_soldier2"

gameLogic.setKit 1 4 "taliban_support" "pr_taliban_soldier2"
gameLogic.setKit 2 4 "usa_support" "pr_usa_soldier3"

gameLogic.setKit 1 5 "taliban_officer" "pr_taliban_soldier5"
gameLogic.setKit 2 5 "usa_officerab" "pr_usa_soldier1"

gameLogic.setKit 1 6 "taliban_officerab" "pr_taliban_soldier5"
gameLogic.setKit 2 6 "usa_officer" "pr_usa_soldier4"

rem -----------------------------------------------------------------------------

gameLogic.setBeforeSpawnCamera 0/150/0 0/0/0

if v_arg1 == BF2Editor
LevelSettings.CustomTextureSuffix "Woodland"
else
texturemanager.customTextureSuffix "Woodland"
endIf
rem -----------------------------------------------------------------------------

GameLogic.MaximumLevelViewDistance 800

rem -----------------------------------------------------------------------------

gameLogic.setDefaultNumberOfTicketsEx 16 1 150
gameLogic.setDefaultNumberOfTicketsEx 16 2 150
gameLogic.setDefaultNumberOfTicketsEx 32 1 300
gameLogic.setDefaultNumberOfTicketsEx 32 2 300
gameLogic.setDefaultNumberOfTicketsEx 64 1 500
gameLogic.setDefaultNumberOfTicketsEx 64 2 500
gameLogic.setDefaultTimeToNextAIWave 0
gameLogic.setTicketLossAtEndPerMin 200
gameLogic.setTicketLossPerMin 1 10
gameLogic.setTicketLossPerMin 2 10

rem -----------------------------------------------------------------------------

rem -----------------------------------------------------------------------------

spawnManager.setPlayerKit 2

renderer.globalStaticMeshLodDistanceScale 1
renderer.globalBundleMeshLodDistanceScale 1
renderer.globalSkinnedMeshLodDistanceScale 1

gameLogic.setTeamDropVehicle 1 "mark_team1"
gameLogic.setTeamDropVehicle 2 "mark_team2"

Re: [HELP] Error when loading new map..

Posted: 2009-12-02 11:17
by Sniperdog
As I pointed out before your kit load out is wrong :P . You currently have the ME Insurgent team with the Taliban Kits. Pick one or the other.

If you want the insurgents use this:

Code: Select all

run ../../objects/common/spawners/spawners_common.con
run ../../objects/common/spawners/spawners_usa_zipties.con
run ../../objects/common/spawners/spawners_usa.con
run ../../objects/common/spawners/spawners_meinsurgent.con
physics.airdensityzeroatheight 5000

endIf

rem US ARMY VERSUS INSURGENTS
rem ------------------------------- LevelSettings -------------------------------
rem -----------------------------------------------------------------------------

gameLogic.setTeamName 1 "MEInsurgent"
gameLogic.setTeamName 2 "USA"

gameLogic.setTeamLanguage 1 "MEC"
gameLogic.setTeamLanguage 2 "English"

gameLogic.setTeamFlag 0 "flag_neutral"
gameLogic.setTeamFlag 1 "flag_in"
gameLogic.setTeamFlag 2 "flag_us"

gameLogic.setKit 1 0 "meinsurgent_insurgent3" "pr_meinsurgent_soldier1"
gameLogic.setKit 2 0 "usa_specialist_ziptie" "pr_usa_soldier1"

gameLogic.setKit 1 1 "meinsurgent_insurgent2" "pr_meinsurgent_soldier2"
gameLogic.setKit 2 1 "usa_riflemanab_ziptie" "pr_usa_soldier2"

gameLogic.setKit 1 2 "meinsurgent_insurgent1" "pr_meinsurgent_soldier5"
gameLogic.setKit 2 2 "usa_rifleman_ziptie" "pr_usa_soldier3"

gameLogic.setKit 1 3 "meinsurgent_insurgent4" "pr_meinsurgent_soldier4"
gameLogic.setKit 2 3 "usa_medic_ziptie" "pr_usa_soldier2"

gameLogic.setKit 1 4 "meinsurgent_sapper" "pr_meinsurgent_soldier2"
gameLogic.setKit 2 4 "usa_support_ziptie" "pr_usa_soldier3"

gameLogic.setKit 1 5 "meinsurgent_civilian" "pr_meinsurgent_soldier3"
gameLogic.setKit 2 5 "usa_officerab_ziptie" "pr_usa_soldier1"

gameLogic.setKit 1 6 "meinsurgent_officer" "pr_meinsurgent_soldier1"
gameLogic.setKit 2 6 "usa_officer_ziptie" "pr_usa_soldier4"



rem -----------------------------------------------------------------------------
If you want Taliban use this:

Code: Select all

run ../../objects/common/spawners/spawners_common.con
run ../../objects/common/spawners/spawners_usa.con
run ../../objects/common/spawners/spawners_taliban.con

endIf

rem US ARMY VERSUS TALIBAN
rem ------------------------------- LevelSettings -------------------------------
rem -----------------------------------------------------------------------------

gameLogic.setTeamName 1 "TALIBAN"
gameLogic.setTeamName 2 "USA"

gameLogic.setTeamLanguage 1 "MEC"
gameLogic.setTeamLanguage 2 "English"

gameLogic.setTeamFlag 0 "flag_neutral"
gameLogic.setTeamFlag 1 "flag_taliban"
gameLogic.setTeamFlag 2 "flag_us"

gameLogic.setKit 1 0 "taliban_scout" "pr_taliban_soldier4"
gameLogic.setKit 2 0 "usa_specialist" "pr_usa_soldier1"

gameLogic.setKit 1 1 "taliban_insurgent2" "pr_taliban_soldier2"
gameLogic.setKit 2 1 "usa_riflemanab" "pr_usa_soldier2"

gameLogic.setKit 1 2 "taliban_insurgent1" "pr_taliban_soldier1"
gameLogic.setKit 2 2 "usa_rifleman" "pr_usa_soldier3"

gameLogic.setKit 1 3 "taliban_medic" "pr_taliban_soldier5"
gameLogic.setKit 2 3 "usa_medic" "pr_usa_soldier2"

gameLogic.setKit 1 4 "taliban_support" "pr_taliban_soldier3"
gameLogic.setKit 2 4 "usa_support" "pr_usa_soldier3"

gameLogic.setKit 1 5 "taliban_officerab" "pr_taliban_soldier2"
gameLogic.setKit 2 5 "usa_officerab" "pr_usa_soldier1"

gameLogic.setKit 1 6 "taliban_officer" "pr_taliban_soldier1"
gameLogic.setKit 2 6 "usa_officer" "pr_usa_soldier4"

rem -----------------------------------------------------------------------------
IMPORTANT!! - Make sure you are including those spawners lines that are written at the top of those code blocks as I'm pretty sure it causes crashes to not include them (I suspect your crash from earlier was caused by the lack of the ziptie kit spawners which should crash you as you first spawn in and call up the kit)anyway... basically you want EVERYTHING in the block you pick on top of the normal init code. Hope that helps.

Re: [HELP] Error when loading new map..

Posted: 2009-12-02 11:31
by Stiller_001
thanks, but it is still crashing when spawning... although i did not die because of having a wrong kit before it crashed...

Re: [HELP] Error when loading new map..

Posted: 2009-12-03 12:23
by Stiller_001
any ideas?

Re: [HELP] Error when loading new map..

Posted: 2009-12-03 18:28
by Sniperdog
Post the init.con you are using now, I wouldn't be surprised if that's still the issue. Also try to be a bit more specific about your crash. Is it both teams, what kits, are any kits blocked are any spawns red, are all the textures ( flags, outpost names, etc) rendering; whatever else you can think of.

Re: [HELP] Error when loading new map..

Posted: 2009-12-03 23:14
by Amok@ndy
make a backup of your map !
after you backed it up
1. remove all your statics of the map ! then try to load the map
if it is still crashin you can copy the backup staticobjects.con and
2. rename your Overgrowth folder to Backup_Overgrowth and try again

sometimes the overgrowth generates no error messages

Re: [HELP] Error when loading new map..

Posted: 2009-12-04 05:58
by Stiller_001
ok... it happens when you spawn (all kits, both teams) no red spawns or anything, yes the flags seem to be there. anway here is the init.con..

Code: Select all

rem *** Generated by BF2Editor ***
if v_arg1 == BF2Editor

run ClientArchives.con
run Heightdata.con
LevelSettings.InitWorld
run Terrain.con BF2Editor
run StaticObjects.con BF2Editor
run Sounds.con
run Sky.con BF2Editor
run Editor/GamePlayObjects.con host
UndergrowthEditable.create
Undergrowth.load Levels\selat_sunda\
run Overgrowth/Overgrowth.con
Overgrowth.editorEnable 1
run AmbientObjects.con BF2Editor
run Water.con
run TriggerableTemplates.con BF2Editor

else

run ClientArchives.con
run Heightdata.con
run Terrain.con v_arg2
run Sky.con v_arg2
run CompiledRoads.con
run Sounds.con
run tmp.con v_arg1
Undergrowth.load Levels\selat_sunda\
run Overgrowth/Overgrowth.con
run Overgrowth/OvergrowthCollision.con
run AmbientObjects.con
run Water.con
run TriggerableTemplates.con
run ../../objects/common/spawners/spawners_common.con
run ../../objects/common/spawners/spawners_usa.con
run ../../objects/common/spawners/spawners_taliban.con

endIf

rem US ARMY VERSUS TALIBAN
rem ------------------------------- LevelSettings -------------------------------
rem -----------------------------------------------------------------------------

gameLogic.setTeamName 1 "TALIBAN"
gameLogic.setTeamName 2 "USA"

gameLogic.setTeamLanguage 1 "MEC"
gameLogic.setTeamLanguage 2 "English"

gameLogic.setTeamFlag 0 "flag_neutral"
gameLogic.setTeamFlag 1 "flag_taliban"
gameLogic.setTeamFlag 2 "flag_us"

gameLogic.setKit 1 0 "taliban_scout" "pr_taliban_soldier4"
gameLogic.setKit 2 0 "usa_specialist" "pr_usa_soldier1"

gameLogic.setKit 1 1 "taliban_insurgent2" "pr_taliban_soldier2"
gameLogic.setKit 2 1 "usa_riflemanab" "pr_usa_soldier2"

gameLogic.setKit 1 2 "taliban_insurgent1" "pr_taliban_soldier1"
gameLogic.setKit 2 2 "usa_rifleman" "pr_usa_soldier3"

gameLogic.setKit 1 3 "taliban_medic" "pr_taliban_soldier5"
gameLogic.setKit 2 3 "usa_medic" "pr_usa_soldier2"

gameLogic.setKit 1 4 "taliban_support" "pr_taliban_soldier3"
gameLogic.setKit 2 4 "usa_support" "pr_usa_soldier3"

gameLogic.setKit 1 5 "taliban_officerab" "pr_taliban_soldier2"
gameLogic.setKit 2 5 "usa_officerab" "pr_usa_soldier1"

gameLogic.setKit 1 6 "taliban_officer" "pr_taliban_soldier1"
gameLogic.setKit 2 6 "usa_officer" "pr_usa_soldier4"

rem -----------------------------------------------------------------------------

gameLogic.setBeforeSpawnCamera 0/150/0 0/0/0

if v_arg1 == BF2Editor
LevelSettings.CustomTextureSuffix "Woodland"
else
texturemanager.customTextureSuffix "Woodland"
endIf
rem -----------------------------------------------------------------------------

GameLogic.MaximumLevelViewDistance 800

rem -----------------------------------------------------------------------------

gameLogic.setDefaultNumberOfTicketsEx 16 1 150
gameLogic.setDefaultNumberOfTicketsEx 16 2 150
gameLogic.setDefaultNumberOfTicketsEx 32 1 300
gameLogic.setDefaultNumberOfTicketsEx 32 2 300
gameLogic.setDefaultNumberOfTicketsEx 64 1 500
gameLogic.setDefaultNumberOfTicketsEx 64 2 500
gameLogic.setDefaultTimeToNextAIWave 0
gameLogic.setTicketLossAtEndPerMin 200
gameLogic.setTicketLossPerMin 1 10
gameLogic.setTicketLossPerMin 2 10

rem -----------------------------------------------------------------------------

rem -----------------------------------------------------------------------------

spawnManager.setPlayerKit 2

renderer.globalStaticMeshLodDistanceScale 1
renderer.globalBundleMeshLodDistanceScale 1
renderer.globalSkinnedMeshLodDistanceScale 1

gameLogic.setTeamDropVehicle 1 "mark_team1"
gameLogic.setTeamDropVehicle 2 "mark_team2"
i will try backing it up and removing the statics/overgrowth latter.

thanks for the help so far.

Re: [HELP] Error when loading new map..

Posted: 2009-12-05 02:00
by Sniperdog
I don't think this is really a problem with the statics/terrain etc in your map (because it seems to be rendering the map and all objects just fine) but rather either how your map is configured or something involving the gameplayobjects (vehicles people etc)

Things to try (separately)[BACKUP FIRST!!!]:

remove the line:

Code: Select all

run ClientArchives.con
From both the first and second set of files to run at the beginning of the Init.



Delete all the spawnable objects from the first set of objects in your GPO.


Add more than 12 caches if you are running in Inurgency mode (I assume you are). The object is called "ammocache" Here is what the settings for it should look like in the gameplayobjects.con file:

Code: Select all

ObjectTemplate.setObjectTemplate 1 ammocache
ObjectTemplate.setObjectTemplate 2 ammocache
ObjectTemplate.minSpawnDelay 99999
ObjectTemplate.maxSpawnDelay 99999
ObjectTemplate.TimeToLive 99999
ObjectTemplate.Distance 99999
ObjectTemplate.team 1
ObjectTemplate.teamOnVehicle 1

Re: [HELP] Error when loading new map..

Posted: 2009-12-12 02:31
by Stiller_001
hmmm that does seem to do it.... one thing that i have noticed though is the the terrain is crazy, some of it is see through and the other parts are textured with a checkered patten on it.... sorry i didn't realize this earlier but is what to busy with out things, and to concentrated on the mini-map/kit selection.

Re: [HELP] Error when loading new map..

Posted: 2009-12-12 03:07
by Sniperdog
Are you sure you have painted every part of the map properly? You can check by opening up the Colormaps folder in the client.zip folder and making sure there aren't any clear areas in any of the textures. You can use Windows Texture Viewer as a texture viewer it works well for me: Windows Texture Viewer

Re: [HELP] Error when loading new map..

Posted: 2009-12-12 04:18
by HangMan_
Stiller_001 wrote:hmmm that does seem to do it.... one thing that i have noticed though is the the terrain is crazy, some of it is see through and the other parts are textured with a checkered patten on it.... sorry i didn't realize this earlier but is what to busy with out things, and to concentrated on the mini-map/kit selection.
if its a scale 4 then u need to add a piece of additional code to the terrain.con to prevent the terrain from being see through. Can't remember the exact code though :p

Re: [HELP] Error when loading new map..

Posted: 2009-12-12 05:18
by Stiller_001
ok thanks i will have to try and find it lol.... but i am guessing it will not stop the crashing...

Re: [HELP] Error when loading new map..

Posted: 2009-12-12 05:43
by Sniperdog
[R-COM]HangMan wrote:if its a scale 4 then u need to add a piece of additional code to the terrain.con to prevent the terrain from being see through. Can't remember the exact code though :p
He is referring to the terrain.con file in the server zip where at the end of the file you need to edit the end by adding one line to change it from this:

Code: Select all

else
terrain.create Terrain
terrain.load Levels/my_map/terraindata.raw
endIf
To this:

Code: Select all

else
terrain.create Terrain
terrain.load Levels/my_map/terraindata.raw
terrainCuller.setUseStitchedLods 0 
endIf