Page 1 of 2 12 LastLast
Results 1 to 20 of 26

Thread: remove cheat scripts

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default remove cheat scripts

    What are the AI cheat scripts, what do they do, and how do I remove them?

  2. #2
    Khales's Avatar Ducenarius
    Join Date
    May 2011
    Location
    Germany
    Posts
    966

    Default Re: remove cheat scripts

    Are you looking for this?

  3. #3

    Default Re: remove cheat scripts

    The AI doesn't cheat, it's not smart enough to do that. If by "cheat scripts" you are reffering to the Garrison script and the Spawn Unit script, their job is to spawn armies to your AI enemies to make the game more difficult. The Garrison script spawns some troops to certain AI settlements while they are besieged by you, while the Spawn Unit script spawns armies in several locations of AI's lands for capturing rebel settlements, joining invasions or defend against you (while you are attacking). For removing them, follow Khales's link.


  4. #4
    Gallus's Avatar Protector Domesticus
    Join Date
    Jan 2011
    Posts
    4,765

    Default Re: remove cheat scripts

    Quote Originally Posted by NickTheGreek3 View Post
    The AI doesn't cheat, it's not smart enough to do that. If by "cheat scripts" you are reffering to the Garrison script and the Spawn Unit script, their job is to spawn armies to your AI enemies to make the game more difficult. The Garrison script spawns some troops to certain AI settlements while they are besieged by you, while the Spawn Unit script spawns armies in several locations of AI's lands for capturing rebel settlements, joining invasions or defend against you (while you are attacking). For removing them, follow Khales's link.
    doesn't sound like cheating at all.

  5. #5

    Default Re: remove cheat scripts

    Quote Originally Posted by Gallus View Post
    doesn't sound like cheating at all.
    Nop! Cheating makes the life of the guy who cheats easier. Those scripts make our lives harder! There's a small difference in that!

    Also the AI doesn't do it intentionally, because he has no will of its own! It's the slave of the programmers, doomed to make anything they please without thinking or regrets! Muhahahahaha! (That sounded evil )


  6. #6
    Gallus's Avatar Protector Domesticus
    Join Date
    Jan 2011
    Posts
    4,765

    Default Re: remove cheat scripts

    Quote Originally Posted by NickTheGreek3 View Post
    Nop! Cheating makes the life of the guy who cheats easier. Those scripts make our lives harder! There's a small difference in that!
    our life is harder ergo ai's life is easier.
    cheating is making your life easier because of breaking rules or uneven conditions.
    scripts make ai's life easier because of uneven conditions.

    well, you see where I'm going with this.

    Edit: regarding the comments about 6year old ai - I suppose you never lost a vh/vh campaign in your life? TATW is extremely hard for beginners(who should first try e/e imho)
    Last edited by Gallus; August 20, 2011 at 05:54 AM.

  7. #7
    Makrell's Avatar The first of all fish
    Join Date
    Apr 2010
    Location
    Norway
    Posts
    10,346

    Default Re: remove cheat scripts

    Quote Originally Posted by axnsan View Post
    Barracks events
    a.k.a WAI CAN I NOT BILD UBER UNITZ?!1?!!?@?!?!


    The barracks events are required for training more advanced units. The first barrack event happens between turns 32 and 40, the second one happens between turns 56 and 64. To remove them do the following

    Note: this is also an alternative to reinstalling if you have "bugged events"

    M2TW/mods/Third_Age/data/world/maps/campaign/imperial_campaign/descr_events.txt
    Delete everything in this file, and save it.
    M2TW/mods/Third_Age/data/export_descr_buildings.txt
    Open this file with notepad and press CTRL+H. In the "Find what" field, type
    Code:
      and event_counter large_city_barracks 1
    Leave the "Replace with" field blank, and click "replace all"

    Repeat the process, but this time type
    Code:
      and event_counter huge_city_barracks 1
    in the find what field.
    Save the file and you're done!
    Garrison Script
    a.k.a WER DID DAT SHETSTORM OV TRUPS CUM FROM?!1?!!?@?!?!


    The most evil script in all history, feared more than Chuck Norris himself, this most malefic and unrealistic script adds troops to beseiged AI settlements.

    M2TW/mods/Third_Age/data/world/maps/campaign/imperial_campaign/campaign_script.txt
    Find the line that says
    ;#################### Garrison Script Version 1.3 #####################
    Remove everything below it until you find the line that says
    ;########################### MONEY SCRIPT ##############################
    Save the file and you're done!
    Per settlement removal If you want to remove the garrison script only for some settlements, do the following

    For this example, I'll be removing the garrison script for Minas Tirith.
    Note:
    Spoiler Alert, click show to read: 
    For finding out settlement names, go to M2TW/mods/Third_Age/data/text/imperial_campaign_regions_and_settlement_names.txt. I search for "Minas Tirith", and I find this line
    Code:
    {Anorien}Minas Tirith
    The name in bold is the one I'll be looking for in the campaign_script


    M2TW/mods/Third_Age/data/world/maps/campaign/imperial_campaign/campaign_script.txt
    Find the line that says
    ;=============== For Player vs AI ONLY==================

    Find your settlement under it, and remove everything until you encounter another settlement name. So, I remove this:
    Spoiler Alert, click show to read: 
    Code:
    if I_SettlementUnderSiege Anorien
        and I_SettlementOwner Anorien = sicily
        and I_CompareCounter Anorien_Siege < 1
        and I_CompareCounter Anorien_Local = 0
        while I_CompareCounter PT < 1
            if I_CompareCounter Anorien_Defense = 11
                create_unit Anorien, Gondor Spearmen, num 1, exp 0, arm 0, wep 0
                create_unit Anorien, Gondor Archers, num 1, exp 0, arm 0, wep 0
                create_unit Anorien, Dismounted Kofm, num 1, exp 0, arm 0, wep 0
                create_unit Anorien, Militia Archers, num 1, exp 0, arm 0, wep 0
                    inc_counter PT 1
                    set_counter Anorien_Siege 10
            end_if
            if I_CompareCounter Anorien_Defense = 12
                create_unit Anorien, Gondor Spearmen, num 1, exp 0, arm 0, wep 0
                create_unit Anorien, Gondor Archers, num 1, exp 0, arm 0, wep 0
                create_unit Anorien, Dismounted Kofm, num 1, exp 0, arm 0, wep 0
                create_unit Anorien, Militia Archers, num 1, exp 0, arm 0, wep 0
                    inc_counter PT 1
                    set_counter Anorien_Siege 10
            end_if
            if I_CompareCounter Anorien_Defense = 21
                create_unit Anorien, Gondor Spearmen, num 1, exp 0, arm 0, wep 0
                create_unit Anorien, Gondor Archers, num 1, exp 0, arm 0, wep 0
                create_unit Anorien, Dismounted Kofm, num 1, exp 0, arm 0, wep 0
                create_unit Anorien, Militia Archers, num 1, exp 0, arm 0, wep 0
                    inc_counter PT 1
                    set_counter Anorien_Siege 10
            end_if
            if I_CompareCounter Anorien_Defense = 22
                create_unit Anorien, Gondor Spearmen, num 1, exp 0, arm 0, wep 0
                create_unit Anorien, Gondor Archers, num 1, exp 0, arm 0, wep 0
                create_unit Anorien, Dismounted Kofm, num 1, exp 0, arm 0, wep 0
                create_unit Anorien, Militia Archers, num 1, exp 0, arm 0, wep 0
                    inc_counter PT 1
                    set_counter Anorien_Siege 10
            end_if
        end_while
    end_if


    Now find the line that says
    ;=================== Spawn Units2 =======================
    Repeat the process.

    Do it again for the line
    ;================ For AI vs AI ONLY=====================
    Save the file and you're done!
    Money Script
    a.k.a DAZ DA AI PUL MONI AUT OV ITS A$S?!1?!!?@?!?!


    This horrendous and not to mention unrealistic script gives money to the AI when it is bankrupt.

    M2TW/mods/Third_Age/data/world/maps/campaign/imperial_campaign/campaign_script.txt
    Open the file with notepad, and find the line that says
    ;########################### MONEY SCRIPT ##############################
    Delete everything under it until you find the line that says
    ;########################### SLAVE CONQUERORS ##############################
    Save the file and you're done!
    Help AI Factions Script
    a.k.a WAI DAZ MORDOR HAV OLOGS AT TURN 15?!1?!!?@?!?!


    This widely hated (and, as you guessed, unrealistic) script gives troops to the AI to help them expand, defend, survive and invade better.

    M2TW/mods/Third_Age/data/world/maps/campaign/imperial_campaign/campaign_script.txt
    Open the file with notepad, and find the line that says
    ;########################### SLAVE CONQUERORS ##############################
    Delete everything under it until you find the line that says
    ;########################## ADDITIONAL NAZGULS ##############################
    Save the file and you're done!

    Now, to also add some battle scripts:
    Stakes Script
    a.k.a WAI DID MAH JENERAL FLAI 50 FIT THRU DA AIR?!1?!!?@?!?!

    This VERY unrealistic script allows AI archers to instantly deploy stakes in mid-battle so that they don't get owned that badly. It is believed this happens due to the fact that mordor invented "instant stakes", that only require them to add water over a magic powder.

    M2TW/mods/Third_Age/data/world/maps/campaign/imperial_campaign/campaign_script.txt
    Open the file with notepad, and find the line that says
    ;########################## Germanicu5 Stakes script ###########################
    Delete everything under it until you find the line that says
    ; keep script unfinised until last monitor termination
    Save the file and you're done!


    Note: for campaigns and battles as realistic as possible, open the file M2TW/mods/Third_Age/data/world/maps/campaign/imperial_campaign/campaign_script.txt with notepad, and quickly press CTRL+A, DELETE, CTRL+S and ALT+F4.

    Note2: none of these changes are save compatible


    Spoiler Alert, click show to read: 
    I am not responsible for any damage done to your installation by following these extremely hard steps.

  8. #8

    Default Re: remove cheat scripts

    To make it completely fair and as "accurate" as possible, would be to remove those scripts and just play on VH/VH, trying to make the AI as smart as possible. Better to have a non-cheating but smart AI than one that has to resort to randomly and unfairly spawning armies to offer a challenge.


    THIRD AGE: TOTAL WAR ROCKS!!!!!

  9. #9
    The Mouth's Avatar Ducenarius
    Join Date
    Aug 2011
    Location
    Barad-Dur
    Posts
    938

    Default Re: remove cheat scripts

    Sadly the AI is still pretty dumb on VH/VH and you'll find the game alot less challenging if you do. Makes it to easy IMO.

  10. #10

    Default Re: remove cheat scripts

    Quote Originally Posted by The Mouth View Post
    Sadly the AI is still pretty dumb on VH/VH and you'll find the game alot less challenging if you do. Makes it to easy IMO.
    This.

    AI without its "cheats" is about as wise as 6 year old even of VH/VH. We're talking a kid like intellect here... if you feel that a fight between child's intellect and yours is an equal fight, then (don't get insulted) I feel truly sorry for you.

  11. #11

    Default Re: remove cheat scripts

    You shouldn`t be sorry for him, he may very well be six year old, but i believe that statment (about six year old AI) is too generous.

  12. #12

    Default Re: remove cheat scripts

    I wasn't saying that removing the scripts is the best way to play the game currently I was saying, ideally, you get rid of those "cheating" scripts and just make the AI really, really smart. Obviously since the AI is retarded, you let them have the scripts. I'm certainly not removing my scripts unless the AI gets a massive intelligence overhaul


    THIRD AGE: TOTAL WAR ROCKS!!!!!

  13. #13
    Muffer Nl's Avatar Praefectus
    Join Date
    Oct 2008
    Location
    Sommelsdijk, Zuid-Holland, Netherlands
    Posts
    6,305

    Default Re: remove cheat scripts

    Quote Originally Posted by Sandesta View Post
    I wasn't saying that removing the scripts is the best way to play the game currently I was saying, ideally, you get rid of those "cheating" scripts and just make the AI really, really smart. Obviously since the AI is retarded, you let them have the scripts. I'm certainly not removing my scripts unless the AI gets a massive intelligence overhaul
    Which is sadly near impossible as there is a limit to extend which you can script in M2TW.

    Quote Originally Posted by Wikipedia
    Cheating in video games involves a video game player using non-standard methods for creating an advantage beyond normal gameplay, usually to make the game easier, or may also create unusual effects which do not necessarily make the game easier to play, such as giving characters different appearances, such as large heads. Cheats sometimes may take the form of "secrets" placed by game developers themselves.
    Cheating refers to the breaking of rules to gain advantage in a competitive situation.
    AS sated earlier by several people (including me) cheating is breaking the rules of a game. Adjusting scripts and stats is altering the rules and therefore not cheating.
    Last edited by Muffer Nl; August 20, 2011 at 05:14 PM.


  14. #14
    Gallus's Avatar Protector Domesticus
    Join Date
    Jan 2011
    Posts
    4,765

    Default Re: remove cheat scripts

    well I find vh/vh frustrating and a little boring so I just play m/vh

  15. #15
    Makrell's Avatar The first of all fish
    Join Date
    Apr 2010
    Location
    Norway
    Posts
    10,346

    Default Re: remove cheat scripts

    The ai is the same in Easy and very hard, only thing that change is

    Easy: you receive money and stats bonuses to make it easier vs AI
    Medium: You and AI are equal stats and bonues
    Hard: the AI receive some gold and statsbonues
    Very hard: The Ai recieves more gold and stats bonuses

  16. #16
    Trailhog250's Avatar Semisalis
    Join Date
    Dec 2010
    Location
    Alabama, USA
    Posts
    416

    Default Re: remove cheat scripts

    I almost hate the game with the money, garrison, stakes, etc script on

    I have played campaigns with them but I feel like it becomes an attrition war so I turn them off and play VH/VH and even though they might still get some basic and hardcoded cheats it seems balanced and I can play without frustration. I will never forget the game of Rohan I played and besieged Isengard early with a good low-tier army and all of a sudden there was an army of elites that kicked my

  17. #17
    The Mouth's Avatar Ducenarius
    Join Date
    Aug 2011
    Location
    Barad-Dur
    Posts
    938

    Default Re: remove cheat scripts

    Hmm I actually like the garrison scripts I mean taking Minas Tirith or Orthanc or Barad-Dur (Which should actually be nearly impossible ) shouldn't be a walk in the park. Though I do hate one script they have... Insta stakes makes it damn frustrating when you move to attack some undefended archers.

  18. #18

  19. #19

    Default Re: remove cheat scripts

    They aren't cheat scripts, it's removing them that is considered cheating.

  20. #20
    dannyalex's Avatar Campidoctor
    Join Date
    Oct 2008
    Location
    Athens,Greece
    Posts
    1,868

    Default Re: remove cheat scripts

    Quote Originally Posted by Jean=A=Luc View Post
    They aren't cheat scripts, it's removing them that is considered cheating.
    Most Chivalrous commander 2020-2021

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •