dwbradley
Posts: 197
Joined: 3/21/2004 Status: offline
|
quote:
ORIGINAL: Kaiser85 quote:
ORIGINAL: dwbradley quote:
ORIGINAL: Kaiser85 Hi, first of all, thanks for the link. I have read the pdf file and the other documents which explain how the map editor works. I think that I understood how the map is structured, how many hexagons are in the map, rows, columns etc.. Now I would like to have a small example how to edit a single hexagon. For instance, how can I transform the Singapores' hexagon from land to ocean?? or a single ocean's hexagon to land? I used this editor PWHEXE_Editor_0.7 in order to transform a group of hexagons (from 0:0 to 10:10) but the only result is that they are not more selectable. My english is terrile, so pls have patience. Kaiser85, Your English is fine, more than sufficient for the task at hand. The pwhexe.dat editor is a small, simple program and is perhaps not the easiest to use. Based upon your description of the problem I would say that the most likely cause of your problem is that you have not saved your changes. I will try to explain and then create the example you talked about. The program is deliberately made to err on the safe side so that you will be less likely to mix up changed files with unchanged files. Don Bowen thinks I overdid this and he has an arguably valid point. At any rate we must use the program as it is until the next revision (no definite plans at this point). The normal procedure for using the editor to edit a single hexagon would be: 1. Move a copy of pwhexe.dat into the folder with the editor. 2. Start the editor. 3. OPEN the pwhexe.dat file (indicator turns green) 4. Set the START location to the desired hexagon. 5. READ the location. 6. Change the fields to the desired values. 7. WRITE the location. 8. SAVE the file (this may be the step you omitted). 9. Close the editor. 10. Move/Copy the pwhexe.dat to the AE root directory and start AE (the original is saved, right?). You should be able to see the changes in the game at this point. To change multiple locations in the same way you would add a FINISH location to step four above. Try the above sequence of steps and tell me if you are successful. If not successful please let me know what you see that is wrong. Good luck with this. We are all modders at heart and I want this tool to be useful and effective for all of the great modding to come. Dave Bradley Dear Dave Thank for the explanation, but I did not reached a positive effect. As in my previous experiments, I followed your steps: 1. Move a copy of pwhexe.dat into the folder with the editor. 2. Start the editor. 3. OPEN the pwhexe.dat file (indicator turns green) 4. Set the START location to the desired hexagon. (I set up start location 0:0, finish location 12:12, so 12x12=144 hexagons) 5. READ the location. 6. Change the fields to the desired values. (I changed "hexagoin type" in Land and "terrain" in Mountain) 7. WRITE MULTIPLE the locations. 8. SAVE the file. 9. Close the editor. 10. Move/Copy the pwhexe.dat to the AE root directory and start AE (the original is saved, right?). You should be able to see the changes in the game at this point. Now, I saw that the 12x12 hexagons correspond to the Italian East Africa zone (top left corner), because these exagons are not selectable with the mouse, but they are not changed in mountain, they are always the same original hexagons. What's the problem? Thanks Hi Kaiser85, Just to be sure I wasn't missing something I tried changing the 12 x 12 block in the upper left hand corner to all land/mountain. It worked fine for me. You can see that it is changed if you hit the 1 key to display terrain (within the AE game). I am wondering if you are confusing map data with map art. The AE map consists of two parts. The map data contained in the pwhexe.dat, pwzone.dat, and pwzlink.dat files are the data part. The art is contained in the map panels found in the ART sub-folder (such as WPEH00.bmp which would contain the art for the 12 x 12 area under discussion by us). The AE program uses both parts to generate the scrollable display we see in the game. My editors allow you to change the map data (within limits – you need a binary editor to be able to change all data to all possible values). To change the map art you would use the paint program of your choice. Cheers! Dave Bradley
|