Announcement

Collapse
No announcement yet.

new orders

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #16
    Originally posted by TheArsenal
    What about conscription? (if it doesn't exist already in a Mod I'm not playing), the concept being similar to creating slaves, but forcing the captured units/pop to become your military units.
    Wombat created a code (part of Cradle, btw) that does this exact thing with defeated forces.
    Yes, let's be optimistic until we have reason to be otherwise...No, let's be pessimistic until we are forced to do otherwise...Maybe, let's be balanced until we are convinced to do otherwise. -- DrSpike, Skanky Burns, Shogun Gunner
    ...aisdhieort...dticcok...

    Comment


    • #17
      BigMc, Where have you been?

      Hey, I wanna know if you or anyone could make a order to me.

      Get Pop
      Just like enslave but instead of add a slave it adds a worker.
      "Kill a man and you are a murder.
      Kill thousands and you are a conquer.
      Kill all and you are a God!"
      -Jean Rostand

      Comment


      • #18
        Martin, How do i define wich unit will us the order?
        "Kill a man and you are a murder.
        Kill thousands and you are a conquer.
        Kill all and you are a God!"
        -Jean Rostand

        Comment


        • #19
          Take again a look on the example order there you find a line UnitPretest_None. This flag means that every unit can execute this order, this is ok for the build fort order, as you just have to move a unit to a certain location and than you can put a fort over the tile improvement menue on the location. If you use UnitPretest_CanSettle than the order will only be availabe for units with the settling ability. Here is a list of all UnitPretest flags, unfortunatly there are some missing so that every order that is in the Orders.txt can be used.

          -Martin

          UnitPretest_None
          UnitPretest_CanAttack
          UnitPretest_CanEntrench
          UnitPretest_CanSueFranchise
          UnitPretest_CanSue
          UnitPretest_CanCreateFranchise
          UnitPretest_CanInvestigateCity
          UnitPretest_CanBombard
          UnitPretest_CanSettle
          UnitPretest_CanStealTechnology
          UnitPretest_CanInciteRevolution
          UnitPretest_CanAssassinateRuler
          UnitPretest_CanExpel
          UnitPretest_EstablishEmbassy
          UnitPretest_ThrowParty
          UnitPretest_CanCauseUnhappiness
          UnitPretest_CanPlantNuke
          UnitPretest_CanSlaveRaid
          UnitPretest_CanEnslaveSettler
          UnitPretest_CanUndergroundRailway
          UnitPretest_CanInciteUprising
          UnitPretest_CanBioTerror
          UnitPretest_CanPlague
          UnitPretest_CanNanoInfect
          UnitPretest_CanConvertCity
          UnitPretest_CanReformCity
          UnitPretest_CanSellIndulgences
          UnitPretest_CanFaithHeal
          UnitPretest_CanSoothsay
          UnitPretest_CanCreatePark
          UnitPretest_CanPillage
          UnitPretest_CanInjoin
          UnitPretest_CanInterceptTrade
          UnitPretest_CanAdvertise
          UnitPretest_CanNukeCity
          UnitPretest_CanTransport
          UnitPretest_CanBeTransported
          UnitPretest_CanLaunch
          UnitPretest_CanTarget
          UnitPretest_Invalid
          Civ2 military advisor: "No complaints, Sir!"

          Comment


          • #20
            Well pedrun just done it for you probably full of bugs like but just link it to the need order and then de bug should not take to long

            Code:
            Handleevent(someorder) ‘neworder2’ pre }
            Int_t	 tmpcity;
            Int_t        tmpplayer;
            
            
            Getcitybylocation(location[0] , tmpcity);
            Addpop(tmpcity, -1);
            Tmpplayer = army[0].owner;
            Addpop(tmpplayer.city[1] , 1);
            
            }
            "Every time I learn something new it pushes some old stuff out of my brain" Homer Jay Simpson
            The BIG MC making ctp2 a much unsafer place.
            Visit the big mc’s website

            Comment


            • #21
              I just thought of something it for your scenario for the borg assimilation
              "Every time I learn something new it pushes some old stuff out of my brain" Homer Jay Simpson
              The BIG MC making ctp2 a much unsafer place.
              Visit the big mc’s website

              Comment

              Working...
              X