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

    Red Sun Over China - Possible Bugs (RESOLVED)

    Scheduled Pinned Locked Moved Bug Reports
    74 Posts 8 Posters 34.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.
    • redrumR Offline
      redrum Admin @Hepps
      last edited by

      @wirkey @erik542 Any idea if there was supposed to be a decrease in British income until Phase II is activated? There are triggers in the XML:

          <!-- Functional NOs -->
          <!-- UK Cap -->
          <attachment name="objectiveAttachment101" attachTo="British" javaClass="games.strategy.triplea.attachments.RulesAttachment" type="player">
            <option name="objectiveValue" value="-27"/>
            <option name="alliedExclusionTerritories" value="Phase II" count="1"/>
          </attachment>
          <attachment name="objectiveAttachment101" attachTo="British" javaClass="games.strategy.triplea.attachments.RulesAttachment" type="player">
            <option name="objectiveValue" value="-1"/>
            <option name="alliedOwnershipTerritories" value="Myitkyina" count="1"/>
          </attachment>
      

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

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

        So, this is what I have, trying to adapt it to the map design and limited only to what is in China, Korea and north of Hanoi (Indo-China). Be warned that I just did it, and the maps (original 1940 to 1945) I used are quite busy, thus I could have easily missed something or got something wrong. The red lines are what I have, drawn over the referring map, not including what is given under construction:

        I'm not saying that this is all correct, but mainly the matter is that I'm lacking all the railways in Chungking, Kweiyang, Kunming and Nanning, except only the line from Kunming to French Indo-China, and I've only a short railway going west of Sian, that is not reaching Lanchow, and nothing at all going south to Chungking. So all this would need research to determine if most of the western part of the railways this map shows were actually there (could be my sources are wrong/outdated/incomplete).
        0_1535086954765_Red Sun Over China_Cernel railroads.png
        Searching in internet briefly, I've not been able to find any original period maps showing the railways, or anything looking original, exhaustive and reliable (if someone wants to try searching for it).

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

          @cernel Minor note, on my atlas the Shanghai - Changsha railway connects not to Changsha, but rather to Pinghsiang, then linking to the railway between Changsha and Canton, about 40 km south of Changsha, but I guess the Changsha circle represents a proportionate territory around it, not the city only (if it is the city only, then that red line should end in the Siangtan territory).
          Generally, in the dubious cases, I've kept the option corresponding to the map.

          1 Reply Last reply Reply Quote 0
          • wirkeyW Offline
            wirkey Lobby Moderators @redrum
            last edited by

            @redrum don't think so

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

              @wirkey @erik542 It appears the UK having less income until they are at war with the Axis is intended based on the conversation in the old thread: http://tripleadev.1671093.n2.nabble.com/Red-Sun-Over-China-td4466393i40.html

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

              1 Reply Last reply Reply Quote 0
              • E Offline
                erik542 @redrum
                last edited by

                @redrum

                That is correct that UK is intended to have less income at the start to make sure they don't rolfstomp thailand.

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

                  Historically, Thailand or Britain never attacked each other in WW2 (they also had a non aggression pact, and Thailand sought guarantees from Britain against the Japanese), until after Thailand was invaded by Japan and forced to sign an armistice; only after Thailand was effectively a Japanese occupied territory, the, at this point puppet, government of Thailand declared on the Allies.

                  1 Reply Last reply Reply Quote 0
                  • E Offline
                    erik542
                    last edited by

                    A skim through the Wiki is telling me that Thailand initially sought Japanese aid in fighting France to reclaim some territory in 10-1940 which is quite a bit before than the Japanese invasion in 12-1941. Thailand did declare war on the UK in Jan 1942 and there was fighting over Burma. While the time frame is out of sync with the rest of the map, there was no politics option back in the day to better simulate the delayed entry into the war.

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

                      @erik542 Yeah the war between Thailand and Indochina is missing too, but that one was almost a farce looking at casualties (a few hundred), so I think it is better not being represented.

                      E 1 Reply Last reply Reply Quote 0
                      • C Offline
                        Cernel Moderators Lobby Moderators @erik542
                        last edited by

                        @erik542 To be clear, attacking France at that point didn't mean attacking the Allies, as France (Vichy based) was not anymore in any anti-Axis alliance (and Britain was attacking France too, at that point).

                        1 Reply Last reply Reply Quote 0
                        • E Offline
                          erik542 @Cernel
                          last edited by

                          @cernel

                          Well looking at the game notes, the Thai-UK NAP is represented by "3) British are not allowed to fight Axis for the first 3 rounds (Phase I), unless any Axis country attacks it first."

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

                            Here is a little prototype for your new design.

                            0_1535168770736_0_6 sample.png

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

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

                              Decorations...

                              0_1535248071859_rails.png

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

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

                                Updated screenshot:
                                0_1535305798721_edef8f33-f84e-496e-824b-f5979f9b3164-image.png

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

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

                                  Latest changes: https://github.com/triplea-maps/red_sun_over_china/pull/9

                                  Changes

                                  • Reworked trains to be land transports and removed all the old sea rail territories
                                  • Added politics and triggers to remove phase I -> II function
                                  • Fixed NOs

                                  Everything seems to work well except trains can't actually transport other units yet as the engine doesn't handle land transports with canals.

                                  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 1
                                  • HeppsH Offline
                                    Hepps Lobby Moderators @redrum
                                    last edited by

                                    @redrum If only there were someone with the skills and abilities to make that happen.

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

                                    1 Reply Last reply Reply Quote 1
                                    • M Offline
                                      mattbarnes
                                      last edited by

                                      Hey guys, esp Redrum, that's amazing progress. Well done!

                                      Most of the modding is over my head but do shout if I can help with anything. I just saw one early request to do some testing, but I've not been on the site since then and maybe the moment has passed?

                                      I note the reference back to the 2010 dialogue, eg relating to the UK -27 Obj etc. But that seemed to be about v2.1 and v2.2, whereas the current is v2.3. I think therefore that the 2010 dialogue was probably superseded. I would assume that all Objs in v2.3 are as Pulicat intended, perhaps after he did further playtesting. Therefore I would amend the Notes to match the code not vice versa, with the exception of the UK -27 which I think may be a coding legacy, as I didn't see it coming into play and it makes the UK too weak. (What's the complete trigger condition?)

                                      What's interesting about the dialogue is that Pulicat was really keen for the railways to be crucial to Japanese logistics (eg bringing-up extra fodder infantry). That doesn't seem to happen in the games I've been playing (albeit just a couple) as it's just so much more efficient to use mobile infantry. The foot infantry are just too slow reaching the front line, even after a train ride. Incidentally, I'm unclear what Pulicat's intentions were about the China factories as the dialogue said he deleted them to force the Japanese to use the railways, whereas the Notes indicate that these factories are present, damaged and repairable. If the latter in the case then would a player use the railways much?

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

                                        @mattbarnes Yeah, its hard to tell as XML has one thing, notes have another, and what actually happens in the game due to some errors in the XML is another. I've mostly gone on the XML being what was intended and the UK -27 was still in the XML in 2.3 (I think either an engine changed made it not function or it never functioned correctly) so I fixed it and just made it -25 so its a more even number.

                                        I think the map has a ways to go for balancing so just need to start somewhere then we can adjust things.

                                        After I make the engine enhancement then it'll be ready to start playing some games to test balance and find any remaining bugs.

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

                                        M 1 Reply Last reply Reply Quote 1
                                        • redrumR Offline
                                          redrum Admin
                                          last edited by redrum

                                          Alright, the engine change PR is up now: https://github.com/triplea-game/triplea/pull/3894

                                          Everything should be working once that is merged into the pre-release.

                                          I ended up doing trains closer to the original implementation and sticking to the station model rather than something closer to TWW. Trains are now land transports which can only move to territories with stations. Moving between stations requires owning the necessary land territories that the rail moves through.

                                          From an XML standpoint, this is achieved through the following:

                                          • Trains are land transports, have 2 moves, can be captured, and only move during non-combat move (will need to balance test to decide if they should be captured or destroyed and whether they can be SBR)
                                          • Trains require stations to move (just like trains require rail in TWW) and there are invisible station units in the necessary territories
                                          • There are land canals that replaced the old sea canals between stations which require the necessary land territories between stations to be owned
                                          • There are a second set of land canals between stations that only allow trains to use the station to station connect
                                          • Property "Control All Canals Between Territories To Pass" is set to true so that both canals must be checked to pass through

                                          Train Moving a Few Units Through 2 Stations
                                          0_1535343299023_62725df8-399e-4d40-822a-423d1497ab13-image.png

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

                                          C 2 Replies Last reply Reply Quote 2
                                          • redrumR Offline
                                            redrum Admin
                                            last edited by

                                            PR is merged so if you download the latest map and the pre-release, you should be able to test it out: https://github.com/triplea-game/triplea/releases/tag/1.9.0.0.11597

                                            This should be ready for the balance phase now, please let me know if you are interested in a PBF/PBEM game.

                                            I'm still going to work on cleaning up the notes and a few other visual enhancements but those shouldn't impact gameplay/balance.

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

                                            M 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
                                            • 3
                                            • 4
                                            • 4 / 4
                                            • First post
                                              Last post
                                            Copyright © 2016-2018 TripleA-Devs | Powered by NodeBB Forums