Announcement

Collapse
No announcement yet.

Disable Spies?

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

  • Disable Spies?

    Hi,

    is there any way to disable those spies in multiplayer games?

    Thanks

  • #2
    I haven't seen this possibilty yet, but I believe the solution might be in the unit rules, or something...


    EDIT: And if there is such option, I believe all players needs to edit the rules, though I'm not sure...
    This space is empty... or is it?

    Comment


    • #3
      Where do I find those unit rules?

      Comment


      • #4
        In the data folder, there's a file called UnitRules.xml
        Important: Be sure to take backup of the file, before editing it
        Just open it in notepad, and try to find the spy

        I don't know if you can just delete it, or maybe try to change some of the things, so it has no powers or something... I haven't tried it myself...
        This space is empty... or is it?

        Comment


        • #5
          Thanks, found the file. I am know trying to disable those spies.

          I will post if I did it.

          Comment


          • #6
            ok... good luck
            This space is empty... or is it?

            Comment


            • #7
              you're german. be the panzer, not the pansie
              "I've lived too long with pain. I won't know who I am without it. We have to leave this place, I am almost happy here."
              - Ender, from Ender's Game by Orson Scott Card

              Comment


              • #8
                I couldn't have said it better myself Uber
                To us, it is the BEAST.

                Comment


                • #9
                  I am a panzer!!!

                  Comment


                  • #10
                    Then don't disable the spies.

                    Comment


                    • #11
                      [phil hartman doing ed mcmahon]
                      YES!
                      [/phil hartman doing ed mcmahon]
                      To us, it is the BEAST.

                      Comment


                      • #12
                        To disable spies, open unitrules.xml and find Spy then under there change the line to Disable

                        Now they cant be made

                        Comment


                        • #13
                          hmm that last post didnt work to well, ill try again

                          in unitrules.xml find SPY then under there change the PREQ0 line from mathematics ( i think it was mathematics i cant remember for sure) to Disable

                          Comment


                          • #14
                            Thank you very much.

                            Comment


                            • #15
                              Disable units...

                              If you want to do it for multiplayer, I think the only way to do that would be to modify the 'Tribe Mask' for the unit type you wish to disable. The mask is a simple binary entry with each position coresponding to a nation type.

                              With some deduction, you can figure out what each position is by looking at units that are exclusive to that nation. i.e. Eagle Fighter is only for the Bantu, thus it's mask is something like 00000000000001000. Not sure on the number of leading zeros but the Bantu are the fourth position from the right.

                              Thus to disable spies for all nations, you would set the mask to all zeros, just make sure you have the proper number of digits.

                              Of course, everyone in the multiplayer game would have to have the same unitrules.xml file.

                              Comment

                              Working...
                              X