ZMap - Mayhem 3 (and Zero Hour) Map Generator and Editor
Moderators: Moderators for English X Forum, Scripting / Modding Moderators
-
- Posts: 1831
- Joined: Fri, 18. Jul 14, 05:28
Re: ZMap - Mayhem 3 Map Generator and Editor
Thanks, I'll check. Get well. Covid is evil...
I wrote to Discord, but probably because of the covid and the discord was silent...
I wrote to Discord, but probably because of the covid and the discord was silent...
-
- Posts: 1831
- Joined: Fri, 18. Jul 14, 05:28
Re: ZMap - Mayhem 3 Map Generator and Editor
Another bug I think...
1) Set the map settings
2) Do not press the button to generate a map.
3) Open the Load/Save dialog and close it
All settings are reset, except races. I will assume that this should not happen and all settings should remain in place.
https://youtu.be/vmxvgtjmkTc
1) Set the map settings
2) Do not press the button to generate a map.
3) Open the Load/Save dialog and close it
All settings are reset, except races. I will assume that this should not happen and all settings should remain in place.
https://youtu.be/vmxvgtjmkTc
In this case, maybe there is a possibility to exclude these two races from the Dejure owner list, so that an error would not be displayed?Also, you are correct. You can NOT set Unknown or Xenons as Dejure owner of a system.
-
- Posts: 327
- Joined: Wed, 6. Nov 02, 20:31
Re: ZMap - Mayhem 3 Map Generator and Editor
More good catches.
Both fixed.
However, neither is critical so I'll wait to put them in a future release.
Thanks
Both fixed.
However, neither is critical so I'll wait to put them in a future release.
Thanks
Out of my mind. Back in 5 minutes.
-
- Posts: 1831
- Joined: Fri, 18. Jul 14, 05:28
Re: ZMap - Mayhem 3 (and Zero Hour) Map Generator and Editor
Another bug
Not restored when loading the map.
Not restored when loading the map.
-
- Posts: 4
- Joined: Fri, 26. Apr 19, 16:17
Re: ZMap - Mayhem 3 (and Zero Hour) Map Generator and Editor
Hi, Sector VA is wrong after activating Zmap universe, looks like game still think its vanila map, after load same map through MayhemGen problem fixed
-
- Posts: 327
- Joined: Wed, 6. Nov 02, 20:31
Re: ZMap - Mayhem 3 (and Zero Hour) Map Generator and Editor
Sounds like you have a problem with your install.ReanimatuS wrote: ↑Sat, 26. Nov 22, 14:18Hi, Sector VA is wrong after activating Zmap universe, looks like game still think its vanila map, after load same map through MayhemGen problem fixed
Out of my mind. Back in 5 minutes.
-
- Posts: 4
- Joined: Fri, 4. Jun 10, 09:41
Re: ZMap - Mayhem 3 (and Zero Hour) Map Generator and Editor
I have everything I need to try zero hour but the generator won't work. I can't scroll past setting split friend foe settings
Any help?
Any help?
-
- Posts: 327
- Joined: Wed, 6. Nov 02, 20:31
Re: ZMap - Mayhem 3 (and Zero Hour) Map Generator and Editor
I don't quite understand what you mean. There is no scrolling in ZMap, other than perhaps in one of the textboxes and that's just text information, not anything functional.Mstrnicegui wrote: ↑Fri, 23. Dec 22, 00:54I have everything I need to try zero hour but the generator won't work. I can't scroll past setting split friend foe settings
Any help?
All U.I. controls are presented without any necessary scrolling to get to them. Maybe show a screen shot of what you are trying to do?
Out of my mind. Back in 5 minutes.
-
- Posts: 433
- Joined: Wed, 3. Mar 10, 00:12
Re: ZMap - Mayhem 3 (and Zero Hour) Map Generator and Editor
Using this on my first Zerohour playthrough. it definately adds more flavor to the game.
How is number of planets and their bonuses decided per sector ?
How is number of planets and their bonuses decided per sector ?
-
- Posts: 327
- Joined: Wed, 6. Nov 02, 20:31
Re: ZMap - Mayhem 3 (and Zero Hour) Map Generator and Editor
First, thank you for the kind comment. I think it adds a lot of flavor too
Actual Number of Planets in a given sector is driven entirely by this text file:
\Mayhem 3\mayhem_data\sunsandplanets.txt
This file came from the original Mayhem 3 release and represents a list of Sun/Planet combinations separated by a blank line. Basically a template.
When generating the Map/Universe, each system's suns and planets is populated from this list.
Sector Bonus's are random values between an appropriate range. For example, system research level is a random value between 40 and 100.
You can look at the exact generation of these in the method GenerateSystemStats() located in Generator.cs in the source code (which is freely downloadable).
Out of my mind. Back in 5 minutes.
-
- Posts: 433
- Joined: Wed, 3. Mar 10, 00:12
Re: ZMap - Mayhem 3 (and Zero Hour) Map Generator and Editor
Thank you, I looked and it just confuses me right now. So not going to mess with it.Hairless-Ape wrote: ↑Fri, 20. Jan 23, 23:12First, thank you for the kind comment. I think it adds a lot of flavor too
Actual Number of Planets in a given sector is driven entirely by this text file:
\Mayhem 3\mayhem_data\sunsandplanets.txt
This file came from the original Mayhem 3 release and represents a list of Sun/Planet combinations separated by a blank line. Basically a template.
When generating the Map/Universe, each system's suns and planets is populated from this list.
Sector Bonus's are random values between an appropriate range. For example, system research level is a random value between 40 and 100.
You can look at the exact generation of these in the method GenerateSystemStats() located in Generator.cs in the source code (which is freely downloadable).
I was going to try and make all systems have 2-5 planets, and tweak Terraforming to have Pirate ,Khaak, Xenon or OCV invade for more flavor.
Is there an easy way to fix when Sector Names are wrong when said by Computer ?
I just had a great map generated, the right side has a long channel down to the corner with a pocket area of 11 systems that I am planning to claim.
-
- Posts: 327
- Joined: Wed, 6. Nov 02, 20:31
Re: ZMap - Mayhem 3 (and Zero Hour) Map Generator and Editor
Yes, you could make all systems have 2-5 planets by messing with that template file.
ZMap has nothing to do with terraforming and invasions etc.. as you know, so you would need to alter the mayhem 3 code for that.
I've not been able to duplicate the Sector Names issue so far.
I have only been able to get 1 player to send me his saved map folder for this problem (\mayhem 3\mayhem_galaxies\somemapfolder), and when I loaded it, it worked perfectly fine; system names were all correctly spoken.
My gut feel is that there is something different about their installation such as perhaps some other mod interfering, or perhaps they didn't follow the same installation steps that Joubarbe outlined.
ONE guy said that he took a ZMap and set it active and then loaded it up with the original Joubarbe map editor, and then saved it there, and then it worked for him. No one else has confirmed that this actually works as a solution. Believe me, if I could seem this problem happen, I could easily fix it, but I've generated hundreds and hundreds of maps and so far never seen this problem so i'm at a loss as to what to do. Perhaps if someone sent me their entire mayhem 3 install folder zipped up, I could run that and see if I could duplicate the problem. sigh.
ZMap has nothing to do with terraforming and invasions etc.. as you know, so you would need to alter the mayhem 3 code for that.
I've not been able to duplicate the Sector Names issue so far.
I have only been able to get 1 player to send me his saved map folder for this problem (\mayhem 3\mayhem_galaxies\somemapfolder), and when I loaded it, it worked perfectly fine; system names were all correctly spoken.
My gut feel is that there is something different about their installation such as perhaps some other mod interfering, or perhaps they didn't follow the same installation steps that Joubarbe outlined.
ONE guy said that he took a ZMap and set it active and then loaded it up with the original Joubarbe map editor, and then saved it there, and then it worked for him. No one else has confirmed that this actually works as a solution. Believe me, if I could seem this problem happen, I could easily fix it, but I've generated hundreds and hundreds of maps and so far never seen this problem so i'm at a loss as to what to do. Perhaps if someone sent me their entire mayhem 3 install folder zipped up, I could run that and see if I could duplicate the problem. sigh.
Out of my mind. Back in 5 minutes.
-
- Posts: 433
- Joined: Wed, 3. Mar 10, 00:12
Re: ZMap - Mayhem 3 (and Zero Hour) Map Generator and Editor
Really, that is very interesting... I get the wrong names for every sector / map used.Hairless-Ape wrote: ↑Mon, 13. Feb 23, 14:23Yes, you could make all systems have 2-5 planets by messing with that template file.
ZMap has nothing to do with terraforming and invasions etc.. as you know, so you would need to alter the mayhem 3 code for that.
I've not been able to duplicate the Sector Names issue so far.
I have only been able to get 1 player to send me his saved map folder for this problem (\mayhem 3\mayhem_galaxies\somemapfolder), and when I loaded it, it worked perfectly fine; system names were all correctly spoken.
My gut feel is that there is something different about their installation such as perhaps some other mod interfering, or perhaps they didn't follow the same installation steps that Joubarbe outlined.
ONE guy said that he took a ZMap and set it active and then loaded it up with the original Joubarbe map editor, and then saved it there, and then it worked for him. No one else has confirmed that this actually works as a solution. Believe me, if I could seem this problem happen, I could easily fix it, but I've generated hundreds and hundreds of maps and so far never seen this problem so i'm at a loss as to what to do. Perhaps if someone sent me their entire mayhem 3 install folder zipped up, I could run that and see if I could duplicate the problem. sigh.
Maybe in future I will redo the installation and see if it has same issue at various stages.
Base X3AP, LU only, Mayhem, ZH, then ZMap Map.
-
- Posts: 327
- Joined: Wed, 6. Nov 02, 20:31
Re: ZMap - Mayhem 3 (and Zero Hour) Map Generator and Editor
One possibility for the problem is having read-only files in your install directory. I have no idea how they could get this way, but it fits the problem. This would cause a mismatch of voices, and also would be something I would never see if I were to run YOUR map.
ZMap creates the map in \mayhem 3\mayhem_galaxies\somemapfolder
But when you activate it, it copies that entire folder (and sub folders) over to \mayhem 3\, basically overwriting those specific game files and subfolder files.
If any one of them is read-only, the copy operation may not work for that file, and you'd probably never know it, because I just added error messaging for that possibility and haven't released that yet..
Easy way to find out, would be to open up a command prompt and copy the files manually with xcopy..
Or you could just remove the read-only attribute on your mayhem 3 files and then re-activate the map in Zmap:
1. navigate to your mayhem 3 folder.
2. open command prompt and run this: attrib -r -s *.*
3. run Zmap, load the map and re-activate it.
ZMap creates the map in \mayhem 3\mayhem_galaxies\somemapfolder
But when you activate it, it copies that entire folder (and sub folders) over to \mayhem 3\, basically overwriting those specific game files and subfolder files.
If any one of them is read-only, the copy operation may not work for that file, and you'd probably never know it, because I just added error messaging for that possibility and haven't released that yet..
Easy way to find out, would be to open up a command prompt and copy the files manually with xcopy..
Or you could just remove the read-only attribute on your mayhem 3 files and then re-activate the map in Zmap:
1. navigate to your mayhem 3 folder.
2. open command prompt and run this: attrib -r -s *.*
3. run Zmap, load the map and re-activate it.
Out of my mind. Back in 5 minutes.
-
- Posts: 433
- Joined: Wed, 3. Mar 10, 00:12
Re: ZMap - Mayhem 3 (and Zero Hour) Map Generator and Editor
I just did the attrib command to all files / folders and recopied but still have the problem.Hairless-Ape wrote: ↑Tue, 14. Feb 23, 17:19One possibility for the problem is having read-only files in your install directory. I have no idea how they could get this way, but it fits the problem. This would cause a mismatch of voices, and also would be something I would never see if I were to run YOUR map.
ZMap creates the map in \mayhem 3\mayhem_galaxies\somemapfolder
But when you activate it, it copies that entire folder (and sub folders) over to \mayhem 3\, basically overwriting those specific game files and subfolder files.
If any one of them is read-only, the copy operation may not work for that file, and you'd probably never know it, because I just added error messaging for that possibility and haven't released that yet..
Easy way to find out, would be to open up a command prompt and copy the files manually with xcopy..
Or you could just remove the read-only attribute on your mayhem 3 files and then re-activate the map in Zmap:
1. navigate to your mayhem 3 folder.
2. open command prompt and run this: attrib -r -s *.*
3. run Zmap, load the map and re-activate it.
-
- Posts: 327
- Joined: Wed, 6. Nov 02, 20:31
Re: ZMap - Mayhem 3 (and Zero Hour) Map Generator and Editor
I've updated the Installation instructions for ZMap to include a temporary fix that works for the "misspoken sector names" problem.
Thank you Joelnh
Thank you Joelnh
Out of my mind. Back in 5 minutes.
-
- Posts: 266
- Joined: Sun, 5. Oct 08, 10:06
Re: ZMap - Mayhem 3 (and Zero Hour) Map Generator and Editor
Hi everyone, I can't get this to run on linux, could someone upload a map file so I can play ZH?
Fantasy is the impossible made probable. Science fiction is the improbable made possible.
-
- Posts: 1831
- Joined: Fri, 18. Jul 14, 05:28
Re: ZMap - Mayhem 3 (and Zero Hour) Map Generator and Editor
I don't think this will work at all on Linux.
-
- Posts: 1831
- Joined: Fri, 18. Jul 14, 05:28
Re: ZMap - Mayhem 3 (and Zero Hour) Map Generator and Editor
Please post version 1.77 on Github.viewtopic.php?f=94&t=460221
3. Latest Patch: No Patch at this time
(Note: The 3.0 release includes ZMap 1.7.7)
-
- Posts: 9
- Joined: Fri, 3. May 24, 23:47
Re: ZMap - Mayhem 3 (and Zero Hour) Map Generator and Editor
I was able to run this on Debian (bookworm) Linux with wine 8.0. The key steps I had to take were to use the environment variable WINEARCH=32 to force the creation of a 32 bit wine prefix on my first run with no existing wine prefix. On Debian with an x64 system that means running a "multiarch" system with wine:i386 installed.Igor.tverd wrote: ↑Sat, 11. Mar 23, 11:57Hi everyone, I can't get this to run on linux, could someone upload a map file so I can play ZH?
The winetricks tool can then be used to install "allfonts" and "dotnet472" which contain the required dependencies.
ZMap must be run within its directory, or you'll get exceptions about files not being found.