|
Post by dogofwar on Mar 3, 2021 3:49:08 GMT 1
A year Later.....No, I never got it to work right, but at least the run icon is no longer grayed out. Now it just does not recognize any maps in map folder at all, and it then asks me if I still want to run it without loading the map. Which of course is pointless.
I am way beyond confused and frustrated now, but did appreciate all the efforts made to figure this all on part of everyone.
|
|
|
Post by Quintaxel on Mar 3, 2021 13:11:23 GMT 1
dogofwar, did you try to run the BK map editor form the directory of your BK installation ?
|
|
|
Post by dogofwar on Mar 4, 2021 4:39:07 GMT 1
Yes, according to following path......
C:>Program Files (x86)>Steam>steamapps>common>Blitzkrieg>mapeditor.exe
|
|
|
Post by dogofwar on Mar 5, 2021 5:04:26 GMT 1
If memory serves, I think the icon for the bzm file changed at some point, lua file too maybe, and possibly that is when my problems began.
So, can you provide me a picture of what the bzm file icon should look like in multiplayer maps folder? I would provide you with the picture I see, but don't know how to do that.
|
|
|
Post by Quintaxel on Mar 5, 2021 13:19:49 GMT 1
In the standard installation the .bzm file should not have a specific icon because the file is not associated with a windows application. You can associate a bzm file with the mapeditor.exe file. To do this you should right-click on the bzm file and the select 'open with' and select the mapeditor.exe. But you do not want to this. It's possible that you have associated the bzm file type with another windows application by accident. This could be the cause of the trouble you are experiencing now.(I will spare you the explaination) You should remove the association. This is possible do do in WIN 10 but I suggest to use the free tool 'Unassoc'. You can download it from here. Just unzip the file in a directory en run the exe file. The rest is self-explanatory. Another thing you could try is to create a map new map and safe it as a xml file instead of a bzm file. Make sure to safe the map in the right directory, so the one from the installation you started the mapeditor from. Then check if this map runs from the mapeditor.
|
|
|
Post by dogofwar on Mar 5, 2021 14:47:39 GMT 1
In all my reading, I thought I once saw something about map editor only working properly with Windows Me or XP. Since I am running Windows 7, could this be an issue, or will your above link still apply to Windows 7?
|
|
kaoz
General
inter faesces et urinam nascimur
Posts: 1,084
|
Post by kaoz on Mar 5, 2021 15:28:40 GMT 1
MapEditor works fine for me in Windows7.
Quintaxel: without wanting to oppose your suggestion, but i think even when the icon has changed or when accidentally changed 'open with...', MapEditor should still show the bzm's if you select file type: 'show all files'. I'm afraid dogofwar's problem might be something else. Nevertheless it's worth trying of course.
|
|
|
Post by Quintaxel on Mar 5, 2021 15:29:48 GMT 1
Mapeditor should work fine in WIN 7. The app in the link will also work with WIN 7.
|
|
|
Post by dogofwar on Mar 8, 2021 23:14:24 GMT 1
If this issue ever gets resolved, and should I ever figure out how to script for AI as I hope you could help get me started with that, is it possible to configure the AI both as the enemy, and as one of the friendly allied players?
|
|
|
Post by Quintaxel on Mar 9, 2021 10:30:16 GMT 1
Yes it is possibkle. This issue can and will be solved.
|
|
|
Post by dogofwar on Mar 9, 2021 18:06:50 GMT 1
The issue was fixed. The maps ware not located on the correct path as I was trying to open it from the desktop where the backup maps were located. Copied the backup maps and put it back to the Blitzkrieg folder under Maps. Then, opened the map editor and ran the map from the correct file path to make it work which is inside the Blitzkrieg folder.
|
|
|
Post by dogofwar on Mar 9, 2021 18:28:01 GMT 1
Alas, finally I can ask totally new questions.
As I said, I was interested in learning how to script for AI enemy along with AI partner. This will be on a large map of Kursk, wanting to have one version as Germans with human player attacking from south toward Oboyan and AI partner attacking from north toward Ponyri. Then second version with the humans attacking from north and AI partner attacking from south.
Actually, I already created the multiplayer version of this map, but dread having to do entire map over for a single player version. Is there a way to simply convert my multiplayer version into single player with only having to change scripting and unit IDs?
|
|
|
Post by Quintaxel on Mar 9, 2021 19:10:41 GMT 1
Glad that the issue is solved.
The AI partner could be an issue. On a single layer map you have 3 parties (AI, Player and Neutral). Neutral enemies can be controlled via script just like player units and AI units. However Neutral units are....well neutral. So the AI will not attack these units. You could make a script that changes the party of a unit from neutral to player at the moment the neutral units and AI units meet. But as this is your first map and your first steps in scripting I would advise to keep it simple.
Scripting is fairly easy but it's always better to start with basic scripting. I understand and admire your enthusiasm but a large map in combination with a complex script is a recipe for frustration and failure.
If I may be so bold to suggest that you start with positioning your units on the map. A well thought out positioning of units on the map, using the map editor tools will get you a long way. Next step would be to put a scenario together and translate the action you want to script using pseudo code or just write it out what you want the script to do.
eg. If unit 1000 comes within the scriptarea "NameScriptArea" then send reinforcementgroup 1200 If an AI unit comes within a 1000 scriptpoints of unit 100 and the units 200 and 300 are still alive then dig in units 200 and 300.
IMO these are the hardest part of mapping. Scripting is just translating these scenario's in a language that the BK engine understands.
I never converted a MP map into a SP but I'm sure it can be done fairly easily. The more experience mappers will know how this is done.
PS: maybe we should move this discussion to a new thread.
|
|
|
Post by dogofwar on Mar 10, 2021 18:06:34 GMT 1
New problem.....
Now that I am able to use BK map editor again, I started a new multiplayer map. Although i was able to play test it in the editor, when I hosted it on the game server "GameRanger", it does not show up in the list of all my games. I looked at every possible location where multiplayer maps are saved and made sure that citdel.bzm file was there.
Is it possible that GameRanger is only recognizing my original CD version of game and not the steam version, along with all the maps? Should I uninstall/reinstall BK game on GameRanger server?
|
|
|
Post by Quintaxel on Mar 10, 2021 20:04:44 GMT 1
MapEditor works fine for me in Windows7.
Quintaxel: without wanting to oppose your suggestion, but i think even when the icon has changed or when accidentally changed 'open with...', MapEditor should still show the bzm's if you select file type: 'show all files'. I'm afraid dogofwar's problem might be something else. Nevertheless it's worth trying of course.
Your right kaoz, when the bzm file is associated with another application the map will still show up in the directory . My reasoning is that the file association is kept in the registry and may cause problems when the bzm file is opened via the mapeditor. The mapeditor launches the game. exe and then loads the map.bzm file. This is coded in the mapeditor.exe file and could cause a conflict. It was indeed worth a try
|
|