Results 1 to 9 of 9

Thread: Is it possible "de"-activate the script temporarily?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    EB annoying hornet Member bovi's Avatar
    Join Date
    Jan 2007
    Location
    Norway
    Posts
    11,796

    Default Re: Is it possible "de"-activate the script temporarily?

    I think perhaps the easiest way to avoid damaging the governments is to remove the part of the script that damages the governments.

    Having problems getting EB2 to run? Try these solutions.
    ================
    I do NOT answer PM requests for help with EB. Ask in a new help thread in the tech help forum.
    ================
    I think computer viruses should count as life. I think it says something about human nature that the only form of life we have created so far is purely destructive. We've created life in our own image. - Stephen Hawking

  2. #2
    Xsaçapāvan é Skudra Member Atraphoenix's Avatar
    Join Date
    Jul 2008
    Location
    İstanbul, Turkey
    Posts
    1,402

    Default Re: Is it possible "de"-activate the script temporarily?

    so that's the problem which part



    My Submods for EB
    Spoiler Alert, click show to read: 
    My AAR/Guides How to assault cities with Horse Archers? RISE OF ARSACIDS! (A Pahlava AAR) - finished
    History is written by the victor." Winston Churchill

  3. #3
    EB annoying hornet Member bovi's Avatar
    Join Date
    Jan 2007
    Location
    Norway
    Posts
    11,796

    Default Re: Is it possible "de"-activate the script temporarily?

    That's where the computer's search function is the trick. You know the internal name of the buildings that are damaged. Search it out in EBBS. If you don't know the internal name, look up the internal name from the display name. Honestly, if you're going to mod stuff, you need to know how to find out about these kinds of things yourself.
    Last edited by bovi; 08-17-2009 at 16:51.

    Having problems getting EB2 to run? Try these solutions.
    ================
    I do NOT answer PM requests for help with EB. Ask in a new help thread in the tech help forum.
    ================
    I think computer viruses should count as life. I think it says something about human nature that the only form of life we have created so far is purely destructive. We've created life in our own image. - Stephen Hawking

  4. #4
    Xsaçapāvan é Skudra Member Atraphoenix's Avatar
    Join Date
    Jul 2008
    Location
    İstanbul, Turkey
    Posts
    1,402

    Default Re: Is it possible "de"-activate the script temporarily?

    As far as I estimate if I delete ";3: Government Building Management" AI will not build its own government and it stabs the script heavily ....
    BTW save, exit, restart, load, switch faction, return to main faction, then activate EBBS and end turn at the moment looks better than deleting 60.000 lines from EBBS...

    I will just try to delete the factions section I want to play both.

    bug hunting is like searching a needle in hay....

    Thanks for help Bovi.
    Last edited by Atraphoenix; 08-17-2009 at 17:26.



    My Submods for EB
    Spoiler Alert, click show to read: 
    My AAR/Guides How to assault cities with Horse Archers? RISE OF ARSACIDS! (A Pahlava AAR) - finished
    History is written by the victor." Winston Churchill

  5. #5
    EB annoying hornet Member bovi's Avatar
    Join Date
    Jan 2007
    Location
    Norway
    Posts
    11,796

    Default Re: Is it possible "de"-activate the script temporarily?

    I never suggested to delete the whole section. Search for set_building_health*government, and you'll find the statements.
    Last edited by bovi; 08-17-2009 at 18:00.

    Having problems getting EB2 to run? Try these solutions.
    ================
    I do NOT answer PM requests for help with EB. Ask in a new help thread in the tech help forum.
    ================
    I think computer viruses should count as life. I think it says something about human nature that the only form of life we have created so far is purely destructive. We've created life in our own image. - Stephen Hawking

  6. #6
    Xsaçapāvan é Skudra Member Atraphoenix's Avatar
    Join Date
    Jul 2008
    Location
    İstanbul, Turkey
    Posts
    1,402

    Default Re: Is it possible "de"-activate the script temporarily?

    Quote Originally Posted by bovi View Post
    I never suggested to delete the whole section. Search for set_building_health*government, and you'll find the statements.
    No you did not, I have just deleted parthia (pahlava) and armenia (saro) parts the second part of 3rd section in EBBS that has set_building_health government

    like
    if I_SettlementOwner Veldideno = parthia
    and I_CompareCounter settlementowner_Veldideno != 16

    console_command set_building_health Veldideno government 0
    console_command set_building_health Veldideno minimumbuilding 0
    console_command create_building Veldideno govnomad
    end_if
    and

    for saro

    if I_SettlementOwner Veldideno = armenia
    and I_CompareCounter settlementowner_Veldideno != 19

    console_command set_building_health Veldideno government 0
    console_command set_building_health Veldideno minimumbuilding 0
    console_command create_building Veldideno govnomad
    end_if
    and it worked



    My Submods for EB
    Spoiler Alert, click show to read: 
    My AAR/Guides How to assault cities with Horse Archers? RISE OF ARSACIDS! (A Pahlava AAR) - finished
    History is written by the victor." Winston Churchill

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Single Sign On provided by vBSSO