Navigation

    TripleA Logo

    TripleA Forum

    • Register
    • Login
    • Search
    • TripleA Website
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    • Tags

    endTurnNoPU discrepancy - Resolved -

    XML Options Browser
    2
    4
    1104
    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.
    • Mahks
      Mahks last edited by Mahks

      POS2 has the following:

      <step name="chineseEndTurn" delegate="endTurnNoPU" player="Chinese">
      <stepProperty name="turnSummaryPlayers" value="Chinese"/>
      <!--<stepProperty name="turnSummaryPlayers" value="Americans:Chinese"/>-->
      </step>

      If as stated elsewhere:
      "It is very important that the "name" ends with the correct phrase, or else the game will not work properly."

      Should this example not be:
      <step name="chineseEndTurnNoPU" delegate="endTurnNoPU" player="Chinese">

      Could a developer confirm that the name must be formatted as stated?
      I wonder why that would be when you have the delegate attribute in the step.

      EDIT:
      Found another: The step name '...AirborneCombatMove' does not match the delegate name 'specialCombatMove'
      This leads me to believe that the step name may not be used in the engine, the delegate name is the important attribute.

      1 Reply Last reply Reply Quote 0
      • Mahks
        Mahks last edited by Mahks

        Did some testing.

        "It is very important that the "name" ends with the correct phrase, or else the game will not work properly."
        Seems to be true, the prefix can be anything as long as each occurrence of that step type is unique (so empire names are a good option)

        So the above discrepancies are not due to my theory.

        General_Zod 1 Reply Last reply Reply Quote 0
        • General_Zod
          General_Zod Moderators @Mahks last edited by General_Zod

          @mahks

          Safest way is to just add prefixes to POS2 step names, since we know some have hardcoded requirements for step names.

          But custom step names will function if you know exactly what needs to be added/removed in form of step properties.

          Also some of the xml coding and notes are simply inconsistent, thus why I mentioned previously, copying all POS2 data and adding new notes, rather than replacing POS2 notes, would both assure nothing important lost to rewrites and less work for you. Although it would be contrary to being concise.

          1 Reply Last reply Reply Quote 0
          • Mahks
            Mahks last edited by Mahks

            This step section is the worst part I have found so far.
            I think it has been added to and bandaided many times.

            I've been having a hard time untangling it.
            It should be one of the simplest sections, just laying out the sequence of steps and options within.

            <sequence>
               	<step delegate="initDelegate" maxRunCount="1"/>
               	<turn player="Russians">
               		<step number="1" delegate="tech"/>
               		<step number="2" delegate="purchase"/>
               		<step number="3" delegate="politics"/>
               		<step number="4" delegate="move" combatMove="true" nonCombatMove="false" skipPosting="true"/>
               		<step number="5" delegate="battle"/>
               		<step number="6" delegate="move" combatMove="false" nonCombatMove="true" display="Non Combat Move"/>
               		<step number="7" delegate="place"/>
               		<step number="8" delegate="tech_activation"/>
               		<step number="9" delegate="endTurn"/>
               	</turn>
               	<turn player="Germans">...</turn>
               	...
               	<step delegate="endRound"/>
            </sequence>
            

            1039

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post
            Copyright © 2016-2018 TripleA-Devs | Powered by NodeBB Forums