project reality header
Go Back   Project Reality Forums > PR:BF2 Mod Forums > PR:BF2 Feedback > Coop & Singleplayer
17 Dec 2017, 00:00:00 (PRT)
Register Forum RulesDeveloper Blogs Project Reality Members List Search Today's Posts Mark Forums Read
Coop & Singleplayer Suggestions and feedback pertaining to Project Reality Single Player.

Reply
 
LinkBack Thread Tools Display Modes
Old 04-22-2014, 08:11 PM   #1
Suasponte

Suasponte's Avatar
Default CTD on loading OP Marlin in Editor

I would like to add/relocate a few objects in Operation Marlin for Coop but throughout each update(current 1.1.6.0) and a cpl re-installs of BF2 & PR I've yet to get the map to load successfully in the editor..CTD's always occur the moment the level is fully loaded & the last message in the editors log is always "D:\bf2editor\Code\BF2\IO\Console\Console.cpp(1697 ): Couldn't open console script "levels/operation_marlin/editor/layer.con".I've managed to edit most of the other Coop maps with no problems(Lashkar Valley being the only other exception).My only intention on editing is as stated before:add/relocate objects.My editor files are placed exactly as Rhino's tut suggested.
Suasponte is offline Reply With Quote
Old 04-22-2014, 10:33 PM   #2
[R-DEV] melonmuncher
PR:BF2 Developer
Default Re: CTD on loading OP Marlin in Editor

Wrong place for the thread but if I remember correctly the init.con doesn't load the correct light settings.
[R-DEV] melonmuncher is offline Reply With Quote
Old 04-23-2014, 05:05 AM   #3
Suasponte

Suasponte's Avatar
Default Re: CTD on loading OP Marlin in Editor

So what is the solution?
Suasponte is offline Reply With Quote
Old 04-23-2014, 05:47 AM   #4
[R-DEV] melonmuncher
PR:BF2 Developer
Default Re: CTD on loading OP Marlin in Editor

Replace with this in your init.con
Code:
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\operation_marlin\
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\operation_marlin\
run Overgrowth/Overgrowth.con
run Overgrowth/OvergrowthCollision.con
run AmbientObjects.con
run Water.con
run TriggerableTemplates.con

endIf

rem ------------------------------- LevelSettings -------------------------------
rem -----------------------------------------------------------------------------

run ../../Factions/faction_init.con 1 "mec"
run ../../Factions/faction_init.con 2 "fr"
rem -----------------------------------------------------------------------------

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

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

GameLogic.MaximumLevelViewDistance 600

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

gameLogic.setDefaultNumberOfTicketsEx 16 1 500
gameLogic.setDefaultNumberOfTicketsEx 16 2 500
gameLogic.setDefaultNumberOfTicketsEx 32 1 550
gameLogic.setDefaultNumberOfTicketsEx 32 2 550
gameLogic.setDefaultNumberOfTicketsEx 64 1 550
gameLogic.setDefaultNumberOfTicketsEx 64 2 550
gameLogic.setDefaultNumberOfTicketsEx 128 1 550
gameLogic.setDefaultNumberOfTicketsEx 128 2 550
gameLogic.setDefaultTimeToNextAIWave 8
gameLogic.setTicketLossAtEndPerMin 1000
gameLogic.setTicketLossPerMin 1 10
gameLogic.setTicketLossPerMin 2 10

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

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

renderer.globalStaticMeshLodDistanceScale 1
renderer.globalBundleMeshLodDistanceScale 1
renderer.globalSkinnedMeshLodDistanceScale 1
[R-DEV] melonmuncher is offline Reply With Quote
Old 04-23-2014, 05:57 AM   #5
Suasponte

Suasponte's Avatar
Default Re: CTD on loading OP Marlin in Editor

Thanks Melon!!
Suasponte is offline Reply With Quote
Reply


Tags
ctd, editor, loading, marlin
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 05:36 PM.


Powered by: vBulletin. ©vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.1
All Content Copyright ©2004 - 2015, Project Reality.