TripleA Logo TripleA Forum
    • TripleA Website
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    • Tags
    • Register
    • Login

    ad a new sea zone to an existing map

    Scheduled Pinned Locked Moved Map Making
    46 Posts 7 Posters 6.8k Views 7 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • N Offline
      Numetalfan
      last edited by

      Hi,

      I found that, you were right, bu now everything worked well with the placement picker.
      all my files seem well, I checked all my territories in the place, centers and polygons files. however, there is a final error message:

      ul 23, 2020 6:44:01 PM games.strategy.engine.framework.GameRunner lambda$start$0
      SCHWERWIEGEND: String index out of range: -1
      java.lang.StringIndexOutOfBoundsException: String index out of range: -1
      at java.lang.String.substring(Unknown Source)
      at games.strategy.util.PointFileReaderWriter.readMultiple(PointFileReaderWriter.java:244)
      at games.strategy.util.PointFileReaderWriter.lambda$readOneToManyPlacements$6(PointFileReaderWriter.java:199)
      at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(Unknown Source)
      at java.util.stream.ReferencePipeline$2$1.accept(Unknown Source)
      at java.util.Iterator.forEachRemaining(Unknown Source)
      at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Unknown Source)
      at java.util.stream.AbstractPipeline.copyInto(Unknown Source)
      at java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
      at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(Unknown Source)
      at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(Unknown Source)
      at java.util.stream.AbstractPipeline.evaluate(Unknown Source)
      at java.util.stream.ReferencePipeline.forEachOrdered(Unknown Source)
      at games.strategy.util.PointFileReaderWriter.readStream(PointFileReaderWriter.java:263)
      at games.strategy.util.PointFileReaderWriter.readOneToManyPlacements(PointFileReaderWriter.java:197)
      at tools.map.making.PlacementPicker$PlacementPickerFrame.loadPlacements(PlacementPicker.java:534)
      at tools.map.making.PlacementPicker$PlacementPickerFrame.lambda$new$0(PlacementPicker.java:356)
      at games.strategy.ui.SwingAction$1.actionPerformed(SwingAction.java:65)
      at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
      at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
      at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
      at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
      at javax.swing.AbstractButton.doClick(Unknown Source)
      at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
      at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
      at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
      at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
      at java.awt.Component.processMouseEvent(Unknown Source)
      at javax.swing.JComponent.processMouseEvent(Unknown Source)
      at java.awt.Component.processEvent(Unknown Source)
      at java.awt.Container.processEvent(Unknown Source)
      at java.awt.Component.dispatchEventImpl(Unknown Source)
      at java.awt.Container.dispatchEventImpl(Unknown Source)
      at java.awt.Component.dispatchEvent(Unknown Source)
      at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
      at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
      at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
      at java.awt.Container.dispatchEventImpl(Unknown Source)
      at java.awt.Window.dispatchEventImpl(Unknown Source)
      at java.awt.Component.dispatchEvent(Unknown Source)
      at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
      at java.awt.EventQueue.access$500(Unknown Source)
      at java.awt.EventQueue$3.run(Unknown Source)
      at java.awt.EventQueue$3.run(Unknown Source)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
      at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
      at java.awt.EventQueue$4.run(Unknown Source)
      at java.awt.EventQueue$4.run(Unknown Source)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
      at java.awt.EventQueue.dispatchEvent(Unknown Source)
      at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
      at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
      at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
      at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      at java.awt.EventDispatchThread.run(Unknown Source)

      Jul 23, 2020 8:18:11 PM games.strategy.triplea.ui.mapdata.MapData <init>
      SCHWERWIEGEND: Error reading map.properties
      java.io.FileNotFoundException: map.properties
      at games.strategy.triplea.ui.mapdata.MapData.lambda$requiredResource$2(MapData.java:194)
      at java.util.Optional.orElseThrow(Unknown Source)
      at games.strategy.triplea.ui.mapdata.MapData.lambda$requiredResource$3(MapData.java:194)
      at games.strategy.triplea.ui.mapdata.MapData.<init>(MapData.java:175)
      at games.strategy.triplea.ui.HeadedUiContext.internalSetMapDir(HeadedUiContext.java:79)
      at games.strategy.triplea.ui.AbstractUiContext.setDefaultMapDir(AbstractUiContext.java:107)
      at games.strategy.triplea.ui.TripleAFrame.create(TripleAFrame.java:232)
      at games.strategy.triplea.TripleA.startGame(TripleA.java:105)
      at games.strategy.engine.framework.startup.launcher.LocalLauncher.loadGame(LocalLauncher.java:60)
      at games.strategy.engine.framework.startup.launcher.LocalLauncher.launchInNewThread(LocalLauncher.java:39)
      at games.strategy.engine.framework.startup.launcher.AbstractLauncher.lambda$launch$0(AbstractLauncher.java:51)
      at java.lang.Thread.run(Unknown Source)

      Jul 23, 2020 8:18:11 PM games.strategy.engine.framework.startup.launcher.LocalLauncher loadGame
      SCHWERWIEGEND: Failed to start game
      java.lang.IllegalStateException: No data of type place for territory: Sicily
      No data of type place for territory: Malta
      No data of type place for territory: 16 Sea Zone
      No data of type place for territory: 66 Sea Zone
      No data of type place for territory: 67 Sea Zone
      No data of type place for territory: 68 Sea Zone
      No data of type place for territory: 69 Sea Zone

      at games.strategy.triplea.ui.mapdata.MapData.verifyKeys(MapData.java:584)
      at games.strategy.triplea.ui.mapdata.MapData.verify(MapData.java:561)
      at games.strategy.triplea.ui.TripleAFrame.create(TripleAFrame.java:233)
      at games.strategy.triplea.TripleA.startGame(TripleA.java:105)
      at games.strategy.engine.framework.startup.launcher.LocalLauncher.loadGame(LocalLauncher.java:60)
      at games.strategy.engine.framework.startup.launcher.LocalLauncher.launchInNewThread(LocalLauncher.java:39)
      at games.strategy.engine.framework.startup.launcher.AbstractLauncher.lambda$launch$0(AbstractLauncher.java:51)
      at java.lang.Thread.run(Unknown Source)
      

      Jul 23, 2020 8:50:50 PM games.strategy.triplea.ui.mapdata.MapData <init>
      SCHWERWIEGEND: Error reading map.properties
      java.io.FileNotFoundException: map.properties
      at games.strategy.triplea.ui.mapdata.MapData.lambda$requiredResource$2(MapData.java:194)
      at java.util.Optional.orElseThrow(Unknown Source)
      at games.strategy.triplea.ui.mapdata.MapData.lambda$requiredResource$3(MapData.java:194)
      at games.strategy.triplea.ui.mapdata.MapData.<init>(MapData.java:175)
      at games.strategy.triplea.ui.HeadedUiContext.internalSetMapDir(HeadedUiContext.java:79)
      at games.strategy.triplea.ui.AbstractUiContext.setDefaultMapDir(AbstractUiContext.java:107)
      at games.strategy.triplea.ui.TripleAFrame.create(TripleAFrame.java:232)
      at games.strategy.triplea.TripleA.startGame(TripleA.java:105)
      at games.strategy.engine.framework.startup.launcher.LocalLauncher.loadGame(LocalLauncher.java:60)
      at games.strategy.engine.framework.startup.launcher.LocalLauncher.launchInNewThread(LocalLauncher.java:39)
      at games.strategy.engine.framework.startup.launcher.AbstractLauncher.lambda$launch$0(AbstractLauncher.java:51)
      at java.lang.Thread.run(Unknown Source)

      Jul 23, 2020 8:50:50 PM games.strategy.engine.framework.startup.launcher.LocalLauncher loadGame
      SCHWERWIEGEND: Failed to start game
      java.lang.IllegalStateException: Missing map.width or map.height in map.properties
      at games.strategy.triplea.ui.mapdata.MapData.getMapDimensions(MapData.java:688)
      at games.strategy.triplea.ui.TripleAFrame.<init>(TripleAFrame.java:280)
      at games.strategy.triplea.ui.TripleAFrame.lambda$create$0(TripleAFrame.java:237)
      at games.strategy.ui.SwingAction.lambda$invokeAndWaitResult$1(SwingAction.java:114)
      at java.awt.event.InvocationEvent.dispatch(Unknown Source)
      at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
      at java.awt.EventQueue.access$500(Unknown Source)
      at java.awt.EventQueue$3.run(Unknown Source)
      at java.awt.EventQueue$3.run(Unknown Source)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
      at java.awt.EventQueue.dispatchEvent(Unknown Source)
      at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
      at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
      at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
      at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      at java.awt.EventDispatchThread.run(Unknown Source)

      Jul 23, 2020 8:56:18 PM games.strategy.triplea.ui.mapdata.MapData <init>
      SCHWERWIEGEND: Error reading map.properties
      java.io.FileNotFoundException: map.properties
      at games.strategy.triplea.ui.mapdata.MapData.lambda$requiredResource$2(MapData.java:194)
      at java.util.Optional.orElseThrow(Unknown Source)
      at games.strategy.triplea.ui.mapdata.MapData.lambda$requiredResource$3(MapData.java:194)
      at games.strategy.triplea.ui.mapdata.MapData.<init>(MapData.java:175)
      at games.strategy.triplea.ui.HeadedUiContext.internalSetMapDir(HeadedUiContext.java:79)
      at games.strategy.triplea.ui.AbstractUiContext.setDefaultMapDir(AbstractUiContext.java:107)
      at games.strategy.triplea.ui.TripleAFrame.create(TripleAFrame.java:232)
      at games.strategy.triplea.TripleA.startGame(TripleA.java:105)
      at games.strategy.engine.framework.startup.launcher.LocalLauncher.loadGame(LocalLauncher.java:60)
      at games.strategy.engine.framework.startup.launcher.LocalLauncher.launchInNewThread(LocalLauncher.java:39)
      at games.strategy.engine.framework.startup.launcher.AbstractLauncher.lambda$launch$0(AbstractLauncher.java:51)
      at java.lang.Thread.run(Unknown Source)

      Jul 23, 2020 8:56:18 PM games.strategy.engine.framework.startup.launcher.LocalLauncher loadGame
      SCHWERWIEGEND: Failed to start game
      java.lang.IllegalStateException: Missing map.width or map.height in map.properties
      at games.strategy.triplea.ui.mapdata.MapData.getMapDimensions(MapData.java:688)
      at games.strategy.triplea.ui.TripleAFrame.<init>(TripleAFrame.java:280)
      at games.strategy.triplea.ui.TripleAFrame.lambda$create$0(TripleAFrame.java:237)
      at games.strategy.ui.SwingAction.lambda$invokeAndWaitResult$1(SwingAction.java:114)
      at java.awt.event.InvocationEvent.dispatch(Unknown Source)
      at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
      at java.awt.EventQueue.access$500(Unknown Source)
      at java.awt.EventQueue$3.run(Unknown Source)
      at java.awt.EventQueue$3.run(Unknown Source)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
      at java.awt.EventQueue.dispatchEvent(Unknown Source)
      at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
      at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
      at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
      at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      at java.awt.EventDispatchThread.run(Unknown Source)

      Jul 23, 2020 9:08:02 PM games.strategy.triplea.ui.mapdata.MapData <init>
      SCHWERWIEGEND: Error reading map.properties
      java.io.FileNotFoundException: map.properties
      at games.strategy.triplea.ui.mapdata.MapData.lambda$requiredResource$2(MapData.java:194)
      at java.util.Optional.orElseThrow(Unknown Source)
      at games.strategy.triplea.ui.mapdata.MapData.lambda$requiredResource$3(MapData.java:194)
      at games.strategy.triplea.ui.mapdata.MapData.<init>(MapData.java:175)
      at games.strategy.triplea.ui.HeadedUiContext.internalSetMapDir(HeadedUiContext.java:79)
      at games.strategy.triplea.ui.AbstractUiContext.setDefaultMapDir(AbstractUiContext.java:107)
      at games.strategy.triplea.ui.TripleAFrame.create(TripleAFrame.java:232)
      at games.strategy.triplea.TripleA.startGame(TripleA.java:105)
      at games.strategy.engine.framework.startup.launcher.LocalLauncher.loadGame(LocalLauncher.java:60)
      at games.strategy.engine.framework.startup.launcher.LocalLauncher.launchInNewThread(LocalLauncher.java:39)
      at games.strategy.engine.framework.startup.launcher.AbstractLauncher.lambda$launch$0(AbstractLauncher.java:51)
      at java.lang.Thread.run(Unknown Source)

      Jul 23, 2020 9:08:02 PM games.strategy.engine.framework.startup.launcher.LocalLauncher loadGame
      SCHWERWIEGEND: Failed to start game
      java.lang.IllegalStateException: Missing map.width or map.height in map.properties
      at games.strategy.triplea.ui.mapdata.MapData.getMapDimensions(MapData.java:688)
      at games.strategy.triplea.ui.TripleAFrame.<init>(TripleAFrame.java:280)
      at games.strategy.triplea.ui.TripleAFrame.lambda$create$0(TripleAFrame.java:237)
      at games.strategy.ui.SwingAction.lambda$invokeAndWaitResult$1(SwingAction.java:114)
      at java.awt.event.InvocationEvent.dispatch(Unknown Source)
      at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
      at java.awt.EventQueue.access$500(Unknown Source)
      at java.awt.EventQueue$3.run(Unknown Source)
      at java.awt.EventQueue$3.run(Unknown Source)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
      at java.awt.EventQueue.dispatchEvent(Unknown Source)
      at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
      at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
      at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
      at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      at java.awt.EventDispatchThread.run(Unknown Source)

      what is that error tell me?
      map.properties?
      SCHWERWIEGEND: Error reading map.properties
      java.io.FileNotFoundException: map.properties

      type place for territory:
      Jul 23, 2020 8:18:11 PM games.strategy.engine.framework.startup.launcher.LocalLauncher loadGame
      SCHWERWIEGEND: Failed to start game
      java.lang.IllegalStateException: No data of type place for territory: Sicily
      No data of type place for territory: Malta
      No data of type place for territory: 16 Sea Zone
      No data of type place for territory: 66 Sea Zone
      No data of type place for territory: 67 Sea Zone
      No data of type place for territory: 68 Sea Zone
      No data of type place for territory: 69 Sea Zone

      Regards

      1 Reply Last reply Reply Quote 0
      • wc_sumptonW Offline
        wc_sumpton
        last edited by

        @Numetalfan

        Sound like the new territories are not listed in the xml. Make sure that there is a listing for each territory and that the 'Sea Zone's are marked water="true".

        Also Sicily and Malta will need their separate territoryAttachment.

        You should be able to test the map without have the connections fixed, but don't forget to do them.

        Cheers...

        1 Reply Last reply Reply Quote 0
        • N Offline
          Numetalfan
          last edited by

          @wc_sumpton

          true, I found several connection mistakes in the xml, all of them are now fine

          another error occured:

          Jul 24, 2020 8:19:14 PM games.strategy.triplea.ui.mapdata.MapData <init>
          SCHWERWIEGEND: Error reading map.properties
          java.io.FileNotFoundException: map.properties
          at games.strategy.triplea.ui.mapdata.MapData.lambda$requiredResource$2(MapData.java:194)
          at java.util.Optional.orElseThrow(Unknown Source)
          at games.strategy.triplea.ui.mapdata.MapData.lambda$requiredResource$3(MapData.java:194)
          at games.strategy.triplea.ui.mapdata.MapData.<init>(MapData.java:175)
          at games.strategy.triplea.ui.HeadedUiContext.internalSetMapDir(HeadedUiContext.java:79)
          at games.strategy.triplea.ui.AbstractUiContext.setDefaultMapDir(AbstractUiContext.java:107)
          at games.strategy.triplea.ui.TripleAFrame.create(TripleAFrame.java:232)
          at games.strategy.triplea.TripleA.startGame(TripleA.java:105)
          at games.strategy.engine.framework.startup.launcher.LocalLauncher.loadGame(LocalLauncher.java:60)
          at games.strategy.engine.framework.startup.launcher.LocalLauncher.launchInNewThread(LocalLauncher.java:39)
          at games.strategy.engine.framework.startup.launcher.AbstractLauncher.lambda$launch$0(AbstractLauncher.java:51)
          at java.lang.Thread.run(Unknown Source)

          Jul 24, 2020 8:19:14 PM games.strategy.engine.framework.startup.launcher.LocalLauncher loadGame
          SCHWERWIEGEND: Failed to start game
          java.lang.IllegalStateException: Missing map.width or map.height in map.properties
          at games.strategy.triplea.ui.mapdata.MapData.getMapDimensions(MapData.java:688)
          at games.strategy.triplea.ui.TripleAFrame.<init>(TripleAFrame.java:280)
          at games.strategy.triplea.ui.TripleAFrame.lambda$create$0(TripleAFrame.java:237)
          at games.strategy.ui.SwingAction.lambda$invokeAndWaitResult$1(SwingAction.java:114)
          at java.awt.event.InvocationEvent.dispatch(Unknown Source)
          at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
          at java.awt.EventQueue.access$500(Unknown Source)
          at java.awt.EventQueue$3.run(Unknown Source)
          at java.awt.EventQueue$3.run(Unknown Source)
          at java.security.AccessController.doPrivileged(Native Method)
          at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
          at java.awt.EventQueue.dispatchEvent(Unknown Source)
          at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
          at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
          at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
          at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
          at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
          at java.awt.EventDispatchThread.run(Unknown Source)

          what ist the problem with the width and height - where do I check the current state and how to change it to the needed values?

          1 Reply Last reply Reply Quote 0
          • wc_sumptonW Offline
            wc_sumpton
            last edited by

            @Numetalfan

            This is talking about the map.properties file. This is another file that can be created by the 'Map Creator' utility, and is located in the 'map' directory.

            There should have been no reason to change this file, so I am unsure what may have happened to it. Even though the 'Map Creator' can create this file, you can not 'Load' it for editing, so any text editor can be used.

            But I'm worried that if 'map.width=3773' and 'map.height=1830' have been messed up, that there might be other problems. So the easiest solution would be to take a copy of the file from 'world_war_ii_v3', and replace the one in your directory.

            Cheers...

            1 Reply Last reply Reply Quote 0
            • N Offline
              Numetalfan
              last edited by

              YES, everything works now, no more errors.

              yet, I missed some details:

              italy.PNG

              as you can see the new sea zones 66,67 und 68 do exist, but they have no numbers graphically.
              sea zone 16 now belongs to the western part of Black Sea, but it has no number too. even worse the "16" is located where now the SZ 68 should be

              there is another problem - the whole map ist white, the territories do not have the colors of the countries, e.g. blue for Italy.

              How to fix those problems?

              B HeppsH 2 Replies Last reply Reply Quote 0
              • B Offline
                beelee @Numetalfan
                last edited by

                @Numetalfan check the map properties. That's where the colors are. Idk about the SZ numbers

                1 Reply Last reply Reply Quote 0
                • N Offline
                  Numetalfan
                  last edited by

                  color settings for the map

                  values must be a 6 digit hex number

                  color.Italians=394d86
                  color.British=916400
                  color.Americans=5a5a00
                  color.Russians=af2828
                  color.Germans=5a5a5a
                  color.Japanese=e6b937
                  color.Chinese=4a7300
                  color.Neutral=e87112
                  color.Impassable=d8ba7c

                  map.hasRelief=true
                  map.width=3773
                  map.height=1830

                  should we draw territory names

                  map.showTerritoryNames=false

                  screenshot overlay stuff

                  screenshot.title.x=100
                  screenshot.title.y=50
                  screenshot.title.color=000000
                  screenshot.title.font.size=20
                  screenshot.stats.enabled=true
                  screenshot.stats.x=560
                  screenshot.stats.y=1465
                  screenshot.stats.text.color=000000
                  screenshot.stats.border.color=FFFFFF

                  that's whats the map properties are about

                  B 1 Reply Last reply Reply Quote 0
                  • B Offline
                    beelee @Numetalfan
                    last edited by

                    @Numetalfan that looks fine. Obviously something else causing it. Have to wait for map Wizard wc I guess 🙂

                    1 Reply Last reply Reply Quote 0
                    • N Offline
                      Numetalfan
                      last edited by

                      Hi,

                      what about the naming of the sea zones, where has this to be done?

                      B 1 Reply Last reply Reply Quote 0
                      • B Offline
                        beelee @Numetalfan
                        last edited by

                        @Numetalfan yea idk you could check centers and make sure they're in there. I don't know much about the graphics part

                        1 Reply Last reply Reply Quote 0
                        • wc_sumptonW Offline
                          wc_sumpton
                          last edited by

                          @Numetalfan

                          Sea Zone numbers are done as decoration in the decorations.txt file. I personally do not like running the "Decorations Placer" under "Map Creator". Usually I just poke and guess with a text editor until it looks right.

                          Have you updated the smallMap.jpeg. I'm looking into what might be causing your color problems.

                          Back soon...

                          Cheers...

                          1 Reply Last reply Reply Quote 0
                          • wc_sumptonW Offline
                            wc_sumpton
                            last edited by wc_sumpton

                            @Numetalfan

                            For the Sea Zone numbers, I have the following in the directions.txt:
                            b16.png (1386,641)
                            b66.png (1161,830)
                            b67.png (1107,735)
                            b68.png (1480,641)
                            b69.png (1333,227)

                            Make sure that the images for these new Sea Zones are in the 'misc' folder.

                            Also Sicily and Malta:
                            Sicily.png (1080,769)
                            Malta.png (1098,801)

                            As to the missing colors, like @beelee stated it probably has something to do with map.properties.

                            Cheers...

                            1 Reply Last reply Reply Quote 0
                            • N Offline
                              Numetalfan
                              last edited by

                              Hi,

                              I did all this already and it worked.

                              Colors: but I doubt it's the map.properties, I copied that file from the WWII_v3.

                              Or this copy&paste is the reason for the effect

                              1 Reply Last reply Reply Quote 0
                              • N Offline
                                Numetalfan
                                last edited by

                                Hi,

                                still have the graphical problems,
                                colors2.PNG

                                small map fine
                                main map white color for the countries

                                what might be the reason for that effect?

                                HeppsH 1 Reply Last reply Reply Quote 0
                                • HeppsH Offline
                                  Hepps Lobby Moderators @Numetalfan
                                  last edited by

                                  @Numetalfan said in ad a new sea zone to an existing map:

                                  YES, everything works now, no more errors.

                                  yet, I missed some details:

                                  italy.PNG

                                  as you can see the new sea zones 66,67 und 68 do exist, but they have no numbers graphically.
                                  sea zone 16 now belongs to the western part of Black Sea, but it has no number too. even worse the "16" is located where now the SZ 68 should be

                                  there is another problem - the whole map ist white, the territories do not have the colors of the countries, e.g. blue for Italy.

                                  How to fix those problems?

                                  You have to open the relief tiles... find the tiles where the numbers should go... and draw them in manually with a graphics program.

                                  "A joyous heart sours with the burden of expectation"
                                  Hepster

                                  1 Reply Last reply Reply Quote 0
                                  • HeppsH Offline
                                    Hepps Lobby Moderators @Numetalfan
                                    last edited by

                                    @Numetalfan If I had to guess I am thinking you saved the relief tiles with a solid white background... if you turn off "show reliefs" in game and can see the actual colours when they are off. That will confirm my suspicions.

                                    "A joyous heart sours with the burden of expectation"
                                    Hepster

                                    1 Reply Last reply Reply Quote 1
                                    • N Offline
                                      Numetalfan
                                      last edited by

                                      THX for the advice,
                                      that problem was already solved.

                                      my last problem is the one with the white color all over them map, see the screenshot.

                                      1 Reply Last reply Reply Quote 0
                                      • N Offline
                                        Numetalfan
                                        last edited by

                                        Hi,

                                        this are the options:

                                        view.png

                                        I don't see relief options

                                        1 Reply Last reply Reply Quote 0
                                        • wc_sumptonW Offline
                                          wc_sumpton
                                          last edited by wc_sumpton

                                          @Numetalfan I think @Hepps is suggesting that you turn of 'Show Map Details' and see if the country colors will show on the map.

                                          There is no easy fix for this. You would need to redo the relief tiles.

                                          Let us know.

                                          Cheers...

                                          N 1 Reply Last reply Reply Quote 1
                                          • N Offline
                                            Numetalfan @wc_sumpton
                                            last edited by

                                            @wc_sumpton

                                            perfect - now it looks normal
                                            thx

                                            1 Reply Last reply Reply Quote 1

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 1
                                            • 2
                                            • 3
                                            • 3 / 3
                                            • First post
                                              Last post
                                            Copyright © 2016-2018 TripleA-Devs | Powered by NodeBB Forums