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

    Revisiting an old project

    Scheduled Pinned Locked Moved Maps & Mods
    161 Posts 8 Posters 142.1k 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.
    • HeppsH Offline
      Hepps Moderators @Cernel
      last edited by Hepps

      @Cernel That's exactly what I was looking at. Makes very little sense that all look like the Greek unit.

      And I could make the sarissa realistic for the longer versions of the weapon if the unit images were anchored at the bottom left instead of the top left. Otherwise we just assume they are carrying a Dory.

      If placement code was changed we might dare to see something like this....

      0_1500219387609_To dream of better placements.png

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

      C 3 Replies Last reply Reply Quote 1
      • C Offline
        Cernel Moderators @Hepps
        last edited by

        @Hepps said in Revisiting an old project:

        And I could make the sarissa realistic for the longer versions of the weapon if the unit images were anchored at the bottom left instead of the top left.

        Sadly, this is not viable, as it would still turn silly in the other places in which you see the image (territory tab, the battle window, battlecalculator...). In general, I think it is better all images having the same dimension, and just leave a lot of unused space for the smaller ones, instead of having units of different sizes (here it would mean like having all units with a lot of unused space just to allow a bit longer spear for the hoplite=phalangite (you are not going to fit in a 6+ meters long one anyways)). Duno if you want maybe to consider to expand all units to 64x64, with a lot of unused space, just for allowing an about 3 metres spear to show up for the hoplite=phalangite; probably it would look not that justifiable, since anyways, at under 4 metres, that would not be a sarissa either (you would need to go to 128x128 to have something the like, while keeping the dude centred, but this is definitely not advisable for many reasons).

        1 Reply Last reply Reply Quote 0
        • C Offline
          Cernel Moderators @Hepps
          last edited by

          @Hepps said in Revisiting an old project:

          @Cernel That's exactly what I was looking at. Makes very little sense that all look like the Greek unit.

          And I could make the sarissa realistic for the longer versions of the weapon if the unit images were anchored at the bottom left instead of the top left. Otherwise we just assume they are carrying a Dory.

          If placement code was changed we might dare to see something like this....

          0_1500219387609_To dream of better placements.png

          Yah, but not really viable because, in that case, assuming only the hoplite there is bigger than the other ones, then you would have it very differently spaced in the territory tab and in the battle window etc.. So it would need all of a serie of other changes beside an option to draw from botton-left. More sensible would be to make all images the same dimension, and the others just having a lot of transparent unused space, but you would still take away space in territory tab etc. to not very good reasons; so it would need a setting for cutting the image down, as wanted, when shown outside of the board (in this case, cutting the spear out when the image is shown elsewhere). The problem is that doubt a developer would be on board for that.

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

            @Cernel Yes... that is what I'm saying... it would make a hell of a lot more sense from a design standpoint if all anchor points were from the bottom left.... every unit has to "stand" some where.... if all unit images were anchored from the bottom left... in every aspect of the game mechanics... then it would improve designability tremendously. Because you could leave the visible area starting from the bottom and then simply have the upper edges of the max viewable window size (55 x 55) would be cut off.... in this case... the top of the spear.

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

            C 1 Reply Last reply Reply Quote 0
            • C Offline
              Cernel Moderators @Hepps
              last edited by

              @Hepps Yes, this may be a cool feature request. But it would still need to be integrated by other tweaks in other areas because, for having experimented with big images, I can tell that there are several issues, in that you would have the full image in territory tab and the image would be equally cut up and down in the combat windows and other things that would make a setting to draw from bottom-left alone not enough.
              Personally, I would prefer to solve this by having the dude always about at the centre of the image, with like a 128x128 image, and then assure that, outside of the board, it is always cut down to size.

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

                @Cernel Center is not a good spot. Especial if you have images of varying sizes...

                As I said... everything has to "stand" somewhere within a territory... so if you use the bottom of the image as the anchor point... you are always guaranteed that the image will be where you want it to be relative to the territory borders. If the nchor point is the bottom... you can then plan you placements to make sense where you might want to utilize an overlapping placement plan to make it look like a bunch of guys standing together.

                Like so...

                0_1500221006889_Placement dreamer 2.png

                As far as the other windows.... I don't know how that would be ideally handled... I feel like if you use some scaling technique... the shrunken images would just end up looking horrible.

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

                C 1 Reply Last reply Reply Quote 0
                • C Offline
                  Cernel Moderators @Hepps
                  last edited by

                  @Hepps said in Revisiting an old project:

                  @Cernel Center is not a good spot. Especial if you have images of varying sizes...

                  As I was saying, centre would be a good spot; you just would need all images to be exactly the same dimension, and just make sure to centre them accordingly.
                  Meaning I would rather prefer it to be possible for the image to be like this, as per the black square:
                  0_1500221738046_to-dream-of-better-placements_Cernel01.png
                  With a lot of transparency around to accommodate the spear, but the dude still at the centre of the whole.
                  Then, making sure that in territory tab, battle window, etc. the image is cut down to size as per the white square.
                  So, basically, this way you could have the black square stuff for the board view and the white square stuff everywhere else, to avoid getting silly big just to show a long spear.
                  The other images not needing more space would be still that big as per the black square, and all the space in the black square but not in the white square would be just wholly transparent, for the image.
                  This would be better than defining a corner from which to expand, since having images drawn from bottom-left is still a bias; for example, you may want some to face right and some left, with the long spear protruding one way or the other.
                  Again, maybe I should make a feature request, but I very much doubt any developers would take up this task (maybe I'm wrong).
                  And, yes, I agree that the engine should have a setting for overlapping images based on coordinates, so that you can set images having a bigger Y placement coordinate should always stay above the other ones (default can stay random as it is).

                  HeppsH 1 Reply Last reply Reply Quote 0
                  • C Offline
                    Cernel Moderators @Hepps
                    last edited by

                    @Hepps said in Revisiting an old project:

                    @Cernel That's exactly what I was looking at. Makes very little sense that all look like the Greek unit.

                    For this project, as I very much doubt any developers will volunteer to solve in any sound ways the need of having images with 6 metres long spears, my suggestion is to just go for showing up a phalangite in all except keeping the spear short. My suggestion is to have it holding the spear with two hands, so that at least it will hint that is not really supposed to be a true spear. You can also try to have a pose that will allow the spear to be some long.

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

                      @Cernel Except that the implications of such improvements are much more far reaching beyond 270 BC.... they could impact all games.

                      0_1500237816663_Flying recon.png

                      Being able to depict flying planes.... as an example

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

                      C 2 Replies Last reply Reply Quote 0
                      • HeppsH Offline
                        Hepps Moderators @Cernel
                        last edited by

                        @Cernel said in Revisiting an old project:
                        (default can stay random as it is).

                        Placements are not random. They are ordered.

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

                        C 1 Reply Last reply Reply Quote 0
                        • C Offline
                          Cernel Moderators @Hepps
                          last edited by

                          @Hepps The case of the plane is in a way the opposite of the case of the pike, as (aside from putting a flag there) you would have the mostly transparent part of the image on the lower part, instead. If you would draw it from lower-left, and have the placement taylored for other smaller images, then you would have the issue of the plane itself overlapping some land unit image above it, while in the case of the pike that is what you would want to happen.

                          1 Reply Last reply Reply Quote 0
                          • C Offline
                            Cernel Moderators @Hepps
                            last edited by

                            @Hepps said in Revisiting an old project:

                            @Cernel said in Revisiting an old project:
                            (default can stay random as it is).

                            Placements are not random. They are ordered.

                            What I was saying is that in your example like this:
                            0_1500221006889_Placement dreamer 2.png
                            currently, for example, the chariot can 50% end up overlapping the axeman, thus, to be sure such a situation to look like you presented it (with the images drawn lower appearing in front of those drawn higher), you would need to add an option so that images having a bigger Y placement coordinate stay above the other ones.

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

                              @Cernel No the front row of units will always remain in front of the back row units if you do your placements manually and with a plan.

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

                              C 2 Replies Last reply Reply Quote 0
                              • C Offline
                                Cernel Moderators @Hepps
                                last edited by

                                @Hepps said in Revisiting an old project:

                                @Cernel No the front row of units will always remain in front of the back row units if you do your placements manually and with a plan.

                                Well, no. You can test it: there is no way you can currently assure the "front row" of units (meaning the units with the higher Y coordinates (which means drawn lower)) to stay and remain "in front" of the others.

                                To answer you clearly: you are correct that what placement spots are used first is ordered, but, when images happen to overlap, what overlaps what is purely random (and this can stay as default, if a way to set this gets made).

                                Alternatively to having the higher Y or X to overlap, you could, instead, have a rule that images in the first placement stay above the other ones and, then, be sure to have the spots where you currently see the archer, slinger, archer, axeman before the other ones. Anyways, that it is not how it currently works, and I'd rather go for the solution of a setting of overlapping based on the Y or X coordinates, so that you are not obliged to have all bigger Y placements first or vice versa.

                                1 Reply Last reply Reply Quote 0
                                • C Offline
                                  Cernel Moderators @Hepps
                                  last edited by

                                  @Hepps You can easily test it this way: take "World At War" and set the "Unit Size" at 100%. Then look at the Infantry and the Tank in East Prussia. Then keep selecting and deselecting "Show Units". You will have a 50% probabylity of the Infantry appearing "in front" of the Tank and a 50% probability of the Tank appearing being in place of the head of the Infantry.

                                  1 Reply Last reply Reply Quote 0
                                  • C Offline
                                    Cernel Moderators @Hepps
                                    last edited by

                                    @Hepps To be clear, what I meant was not that the matter was unimportant, but that I have the (maybe wrong) perception that I think chances are that we can talk about such things a lot but nobody able to do stuff is interested (but all good). If you want, probably we should move this to a specific feature request. My main advice was to totally forget about it for this project (as I assume you will finish it in a few days), and just accept to have a short "sarissa", not to delay it waiting for something that I doubt is going to happen.

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

                                      Insomnia pays dividends once more.

                                      0_1500306652668_Carthage new units.png

                                      Put in a few of the old ones just to see the difference.

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

                                      C redrumR 2 Replies Last reply Reply Quote 0
                                      • C Offline
                                        Cernel Moderators @Hepps
                                        last edited by Cernel

                                        @Hepps Nice, but I think I would expect either the warelephant to have some more shadow at its feet or the hoplite to have less, relatively. Let us know what the new images are representing or are inspired to, like the hoplite here.
                                        On the hoplite of Macedonia and Seleucid I think they should be similar (not sure), both representing the main guy of the phalanx (not a Greek hoplite), as said.

                                        1 Reply Last reply Reply Quote 0
                                        • redrumR Offline
                                          redrum Admin @Hepps
                                          last edited by

                                          @Hepps Aren't you supposed to be working on GD? New units look much nicer and makes you realize how terrible the existing ones are 🙂

                                          TripleA Developer with a Passion for AI: https://forums.triplea-game.org/topic/105/ai-development-discussion-and-feedback

                                          HeppsH 1 Reply Last reply Reply Quote 0
                                          • C Offline
                                            Cernel Moderators
                                            last edited by

                                            If you upload here the full set, once you finish (like in a zipped units folder), I will update the 270BC Variants (if you want, I can also push the changes for 270BC). I guess you will be done with this in a couple days.

                                            C 1 Reply Last reply Reply Quote 0

                                            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
                                            • 5
                                            • 6
                                            • 7
                                            • 8
                                            • 9
                                            • 8 / 9
                                            • First post
                                              Last post
                                            Copyright © 2016-2018 TripleA-Devs | Powered by NodeBB Forums