Post by bb on May 9, 2010 6:07:19 GMT 1
Once I'm almost retiring of BK world I decided to put here one of my old posts of BKP. So you will survive without me (LOL).
First, some remarks.
a) context.xml and settings files are necessary in chapters just if you are using random missions .
b) In your folder try to use simple names to your folders. Do not use names like 'kramskaya', 'kurdistan' , 'kharkov', use names as 'khar1', 'khar2', 'khar3'.
This will make the debbuging work easier;
c) The secret of blitzkrieg chapter work is give the right paths. When you write in the xml file you are saying to the machine to look for the header text in the folder if the machine doesn't find the header text through this path the game will crash.
d) In the maps 1.xml file a path to a template map can cause a odd bug, so make sure this is what you have in the line of template maps:
e) Finally sometimes the game loads 1 or 2 of your maps chapter but, unexplainable, in the middle of the chapter the game do not load any more map. This bug can have more than one source, but sometimes helps if you change the names of your mission folders (dont ask me why).
Good luck, cause blitzkrieg chapters are a real "black box" on begining.
Said this, here is the text of the portal.
1) If you have the crash on the "chapter map" screen, the problem is caused by the 1.xml file - probably a wrong path - in the scenarios\custom\chapters\<chaptername> folder. The games crashes because it cant find the 1.xml file in the map folders.
2) If you have the crash on the "mission map" screen, the problem is caused by the 1.xml file but in the folder \scenarios\scenariomissions\german\<missionname> . Again the problem should be a wrong path, the game cant find the bzm file or maybe the .txt files (the objectives).
3)If you have crash on the "prepare for battle" screen the origin of the crash is probably, a river or other of those common bugs found in single maps. You must search the problem in the map editor, editing the .bzm files.
4) If you have the crash after finish a mission, the origin of the crash is probably a core unit or a medal which the game can't identify. You need to edit the script.lua file in the scenarios\custom\chapters\<chaptername> folder. BTW, there is topic where is explained how to use mod units as core units:
First, some remarks.
a) context.xml and settings files are necessary in chapters just if you are using random missions .
b) In your
scenariomissions\<player side>
This will make the debbuging work easier;
c) The secret of blitzkrieg chapter work is give the right paths. When you write
<HeaderText>scenarios\scenariomissions\allies\USmission2\header</HeaderText>
scenarios\scenariomissions\allies\USmission2,
d) In the maps 1.xml file a path to a template map can cause a odd bug, so make sure this is what you have in the line of template maps:
<TemplateMap></TemplateMap>
e) Finally sometimes the game loads 1 or 2 of your maps chapter but, unexplainable, in the middle of the chapter the game do not load any more map. This bug can have more than one source, but sometimes helps if you change the names of your mission folders (dont ask me why).
Good luck, cause blitzkrieg chapters are a real "black box" on begining.
Said this, here is the text of the portal.
1) If you have the crash on the "chapter map" screen, the problem is caused by the 1.xml file - probably a wrong path - in the scenarios\custom\chapters\<chaptername> folder. The games crashes because it cant find the 1.xml file in the map folders.
2) If you have the crash on the "mission map" screen, the problem is caused by the 1.xml file but in the folder \scenarios\scenariomissions\german\<missionname> . Again the problem should be a wrong path, the game cant find the bzm file or maybe the .txt files (the objectives).
3)If you have crash on the "prepare for battle" screen the origin of the crash is probably, a river or other of those common bugs found in single maps. You must search the problem in the map editor, editing the .bzm files.
4) If you have the crash after finish a mission, the origin of the crash is probably a core unit or a medal which the game can't identify. You need to edit the script.lua file in the scenarios\custom\chapters\<chaptername> folder. BTW, there is topic where is explained how to use mod units as core units: