Results 1 to 30 of 30

Thread: AI Marians

  1. #1
    Βασιλευς και Αυτοκρατωρ Αρχης Member Centurio Nixalsverdrus's Avatar
    Join Date
    Jan 2007
    Location
    Γερμανια Ελευθερα
    Posts
    2,321

    Default AI Marians

    Hi,

    I changed EBBS to enable the Romans the Marians.

    Code:
    ;Unconditional AI Reforms
    monitor_event FactionTurnEnd FactionType seleucid
    and not FactionIsLocal
    and I_CompareCounter Romanii_Reform = 1
    and I_NumberOfSettlements seleucid > 10 
    if RandomPercent < 100 
     set_counter Romanii_Reform 2
            terminate_monitor
    end_if
    end_monitor
    Highlighted in red what I changed. The Romans are currently reduced to 11 Gallic settlements, but I didn't get the Marians. Shouldn't "RandomPercent < 100" mean that the chance to get them is 100%? Or is it because their Gallic settlements don't have the Polybian markers?

    Last edited by Centurio Nixalsverdrus; 04-05-2009 at 02:58.

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

    Default Re: AI Marians

    That should work, except if they don't have the Polybian reform yet. RandomPercent < 100 means 99% chance, as if that random roll becomes 100 it won't hit. It really should happen in a turn or two.

    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

  3. #3
    Βασιλευς και Αυτοκρατωρ Αρχης Member Centurio Nixalsverdrus's Avatar
    Join Date
    Jan 2007
    Location
    Γερμανια Ελευθερα
    Posts
    2,321

    Default AW: AI Marians

    They still don't happen! The conditions for the "Marians" are met now for 3 consecutive turns.

    The following questions turn up in my mind:
    - do they need Roma or an Italian settlement for the Marians?
    - do they need the Polybian markers present in their currently held settlements? -Currently they do not own any settlement with the Polybian markers

    Also, the requirements for the Casse invasion are met since ~40 years. Still no sign of an invasion. It could have happened three times by now.

    I'm not that good at maths, but I just calculated the chance for not having the Marians after three turns with a 99% chance of getting them is 1:1,000,000.


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

    Default Re: AI Marians

    I believe they should get Polybian markers in all settlements. Perhaps they don't have the Polybian reform yet.

    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

  5. #5
    Βασιλευς και Αυτοκρατωρ Αρχης Member Centurio Nixalsverdrus's Avatar
    Join Date
    Jan 2007
    Location
    Γερμανια Ελευθερα
    Posts
    2,321

    Default AW: AI Marians

    The Polybian Markers are in the cities they owned when these hit. Can they "loose" the Polybians again?

    I will try and give them Ariminum for one turn back with FD. Gonna tell xou what happens then.

  6. #6
    Βασιλευς και Αυτοκρατωρ Αρχης Member Centurio Nixalsverdrus's Avatar
    Join Date
    Jan 2007
    Location
    Γερμανια Ελευθερα
    Posts
    2,321

    Default AW: AI Marians

    So I gave Ariminum to them. Ariminum has the Polybian marker - but the Marians did not occur.

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

    Default Re: AI Marians

    Then I don't know. You could of course temporarily change the script to instead read:
    Code:
    ;Unconditional AI Reforms
    monitor_event FactionTurnEnd FactionType seleucid
     set_counter Romanii_Reform 2
            terminate_monitor
    end_monitor
    Then the monitor definitely should hit.

    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

  8. #8
    Βασιλευς και Αυτοκρατωρ Αρχης Member Centurio Nixalsverdrus's Avatar
    Join Date
    Jan 2007
    Location
    Γερμανια Ελευθερα
    Posts
    2,321

    Default AW: AI Marians

    OK, I copy & pasted your lines into my script. NO MARIANS.

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

    Default Re: AI Marians

    So that means the problem is not in your trigger .

    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

  10. #10
    Βασιλευς και Αυτοκρατωρ Αρχης Member Centurio Nixalsverdrus's Avatar
    Join Date
    Jan 2007
    Location
    Γερμανια Ελευθερα
    Posts
    2,321

    Default AW: AI Marians

    So you mean I can't help it? Could it be the problem that I use notepad?

    (I have already downloades another editor but was too lazy to install)

  11. #11
    Terrible Tactician Member Shadowwalker's Avatar
    Join Date
    Nov 2007
    Location
    Germania Libera *g*
    Posts
    299

    Default Re: AI Marians

    I'm quite sure notepad is the problem.
    I never got any changes to xxx.txt files to work in EB ... until I stopped using notepad.
    Finished EB Campaigns: Kart-Hadast 1.0/1.2 | Pontos 1.1 | Arche Seleukeia 1.2 | Hayasdan 1.2 | Sab'yn 1.2 | Makedonia 1.2 (Alex)
    Lost Campaigns (1.2, Alex. exe): Getai | Sab'Yn
    Ongoing campaigns (1.2): SPQR (110 BC) | Sab'yn (217 BC) | Pontos (215 BC)
    from Populus Romanus

    "The state of human ethics can be summarized in two sentences: We ought to. But we don't." (Tucholsky)

  12. #12
    Βασιλευς και Αυτοκρατωρ Αρχης Member Centurio Nixalsverdrus's Avatar
    Join Date
    Jan 2007
    Location
    Γερμανια Ελευθερα
    Posts
    2,321

    Default AW: AI Marians

    Well, in all other EB-Modding circumstances notepad works perfectly fine for me.

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

    Default Re: AI Marians

    I have no more help to give here, sorry.

    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

  14. #14
    Guitar God Member Mediolanicus's Avatar
    Join Date
    Jan 2007
    Location
    On the banks of the Scaldis.
    Posts
    1,355

    Default Re: AI Marians

    Quote Originally Posted by Shadowwalker View Post
    I'm quite sure notepad is the problem.
    I never got any changes to xxx.txt files to work in EB ... until I stopped using notepad.
    Changes to the script, EDU, EDB, files form inside data\text all go perfectly well with notepad.
    When you use the trivial script you must remember to change the back up file too.

    I only encountered problems with the EDCT, but possibly all the data files about traits and ancillaries require another text editor than notepad.
    __________________

    --> - Never near Argos - <--

  15. #15
    Βασιλευς και Αυτοκρατωρ Αρχης Member Centurio Nixalsverdrus's Avatar
    Join Date
    Jan 2007
    Location
    Γερμανια Ελευθερα
    Posts
    2,321

    Default AW: Re: AI Marians

    Quote Originally Posted by Mediolanicus View Post
    When you use the trivial script you must remember to change the back up file too.
    Ahem, what for a back up file? I thought the only "double" files were EDU and map.rwm. They're the only ones in sp game edu backup.

  16. #16
    Guitar God Member Mediolanicus's Avatar
    Join Date
    Jan 2007
    Location
    On the banks of the Scaldis.
    Posts
    1,355

    Default Re: AW: Re: AI Marians

    I was answering Shadowwalker with that.

    I do have an idea now for your problem...

    Try this:
    Code:
    ;Unconditional AI Reforms
    monitor_event FactionTurnEnd FactionType seleucid
    and not FactionIsLocal
    and I_CompareCounter Romanii_Reform = 1
    and I_NumberOfSettlements seleucid > 10 
    if RandomPercent < 1 
     set_counter Romanii_Reform 2
            terminate_monitor
    end_if
    end_monitor

    Or simply cut out the chance line...
    Last edited by Mediolanicus; 04-17-2009 at 19:40.
    __________________

    --> - Never near Argos - <--

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

    Default Re: AI Marians

    I do believe this trigger which he tried should hit 100% of the time:
    ;Unconditional AI Reforms
    monitor_event FactionTurnEnd FactionType seleucid
    set_counter Romanii_Reform 2
    terminate_monitor
    end_monitor
    I believe the problem does not lie in the trigger.

    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

  18. #18
    Βασιλευς και Αυτοκρατωρ Αρχης Member Centurio Nixalsverdrus's Avatar
    Join Date
    Jan 2007
    Location
    Γερμανια Ελευθερα
    Posts
    2,321

    Default AW: Re: AI Marians

    Quote Originally Posted by bovi View Post
    I do believe this trigger which he tried should hit 100% of the time:

    I believe the problem does not lie in the trigger.
    Where could it lie then? Possiblities?

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

    Default Re: AI Marians

    Well, the missing Polybian markers are a prime suspect. Which begs the question, why are they missing? I don't know.

    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

  20. #20
    Βασιλευς και Αυτοκρατωρ Αρχης Member Centurio Nixalsverdrus's Avatar
    Join Date
    Jan 2007
    Location
    Γερμανια Ελευθερα
    Posts
    2,321

    Default AW: AI Marians

    I gave the Romans Ariminum again, this time with Mediolanicus' proposal. Ariminum has the Polybian markers, but still no Marians.

    The Marians are indicated by a marker like the Polybians, right? I think Poybian markers appear only in the Italian settlements, right?

  21. #21
    EB TRIBVNVS PLEBIS Member MarcusAureliusAntoninus's Avatar
    Join Date
    Jul 2006
    Location
    The State of Jefferson, USA
    Posts
    5,722

    Default Re: AI Marians

    You could try writing a script that simply places a single Marian reform marker in a single settlement at a certain date. When you end turn, the script should 'see' that single marker and spawn them elsewhere.


  22. #22
    Βασιλευς και Αυτοκρατωρ Αρχης Member Centurio Nixalsverdrus's Avatar
    Join Date
    Jan 2007
    Location
    Γερμανια Ελευθερα
    Posts
    2,321

    Default AW: AI Marians

    Simply asked, how do I write a script?

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

    Default Re: AI Marians

    You take any monitor in the current script as template, and modify to what you want it to do.

    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

  24. #24
    Strategos Autokrator Member Vasiliyi's Avatar
    Join Date
    Oct 2007
    Posts
    839

    Default Re: AI Marians

    Hey, I editted the script to get the marians early, and I think your taking the wrong approuch at this. Instead of changing the percent at which it may occur, change the number settlements you need to own. Just use the control+f function when ur in the scripts and type in "unconditional". Without the qoutation marks ofcourse. After searching through a few other ones you will find it saying something about needing 89 settlements. Well then you change 89 to whatever u want. If they have 11 settlements, type in 11, then they will only need one more. (I'm not sure why this is like this, but it is.) Anyways, I'm sorry if uve already tried this, but I think this should work.

    4x
    1x

  25. #25
    Βασιλευς και Αυτοκρατωρ Αρχης Member Centurio Nixalsverdrus's Avatar
    Join Date
    Jan 2007
    Location
    Γερμανια Ελευθερα
    Posts
    2,321

    Default AW: AI Marians

    Thanks Vasiliyi but I already tried that.

    I have given them the new units through the Celtic barracks they have in their cities. They don't want to build any kind of own barracks.

    Thank you very much guys but I think I'll just leave it that way, and if the Romaioi manage to conquer Italia from me, I'm going back to that script thingie.

  26. #26
    Βασιλευς και Αυτοκρατωρ Αρχης Member Centurio Nixalsverdrus's Avatar
    Join Date
    Jan 2007
    Location
    Γερμανια Ελευθερα
    Posts
    2,321

    Default AW: AI Marians

    Now the Marians are suddenly there! I didn't make anything in that regard - suddenly they got it.

    I think I still have bovi's script change active, do I have to revert to the old one?

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

    Default Re: AI Marians

    You should restore the old one, yes.

    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

  28. #28
    Βασιλευς και Αυτοκρατωρ Αρχης Member Centurio Nixalsverdrus's Avatar
    Join Date
    Jan 2007
    Location
    Γερμανια Ελευθερα
    Posts
    2,321

    Default AW: AI Marians

    I discovered a lvl 1 factional MIC and a unit of Vigiles, so they must have had the Marians since at least four turns (I had given up hope and didn't look there for a while). Do you think it somehow damaged the campaign? Is there a logical explanation why it did not instantaneously hit, but with delay?

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

    Default Re: AI Marians

    I think your campaign should be alright. No idea about the delay either.

    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

  30. #30
    Βασιλευς και Αυτοκρατωρ Αρχης Member Centurio Nixalsverdrus's Avatar
    Join Date
    Jan 2007
    Location
    Γερμανια Ελευθερα
    Posts
    2,321

    Default AW: AI Marians

    Thanks for the help anyway.

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