[HELP] Loading problem
Posted: 2010-06-20 04:09
Hi,
I'm actually working on a D-Day style map,but when I was about to release a Beta into my clan,I found a problem.
I'm not,and nobody can,pass the loading complete stage.Each time it's CTD with no error message.Even with the debug .exe I still get only a CTD with no message.
I'm using,what I think,is the 0.9 way(found on this topic: https://www.realitymod.com/forum/f388-pr-bf2-community-modding/76031-help-0-9-init-problem.html)but each time I get the CTD.
It does'nt CTD if I use this way to write the Ini files.
I'm confused about this problem.If anybody can help me.If nessacerary I can post what's write in my files.
Thanks for help,
Jello
I'm actually working on a D-Day style map,but when I was about to release a Beta into my clan,I found a problem.
I'm not,and nobody can,pass the loading complete stage.Each time it's CTD with no error message.Even with the debug .exe I still get only a CTD with no message.
I'm using,what I think,is the 0.9 way(found on this topic: https://www.realitymod.com/forum/f388-pr-bf2-community-modding/76031-help-0-9-init-problem.html)but each time I get the CTD.
It does'nt CTD if I use this way to write the Ini files.
Quote from Fuzzhead post.Kit Request Spawner Set-up
You will need to add a 3 line of code into the init.con file. Without them your map will crash on load, and you will not be able to request kits etc if it did load.
add this line of code:
Code:
run ../../objects/common/spawners/spawners_common.con
under the "run TriggerableTemplates.con" bit in your init.con file. Then under that you will need to then include the spawner file specific for the map factions:
Code:
run ../../objects/common/spawners/spawners_usa.con
run ../../objects/common/spawners/spawners_us.con
run ../../objects/common/spawners/spawners_mec.con
run ../../objects/common/spawners/spawners_gb.con
run ../../objects/common/spawners/spawners_ch.con
run ../../objects/common/spawners/spawners_ru.con
run ../../objects/common/spawners/spawners_meinsurgent.con
run ../../objects/common/spawners/spawners_chinsurgent.con
run ../../objects/common/spawners/spawners_taliban.con
Example:
Quote:
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\Daqing_oilfields\
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\Daqing_oilfields\
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_us.con
run ../../objects/common/spawners/spawners_ch.con
endIf
I'm confused about this problem.If anybody can help me.If nessacerary I can post what's write in my files.
Thanks for help,
Jello