Results 1 to 10 of 10

Thread: PLS HELP ABOUT campaign_script.txt

Hybrid View

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

    Icon9 PLS HELP ABOUT campaign_script.txt

    i inserted these lines of "DEARMADS TRIGGERS" to my campaign_script.txt
    but i didnt select accept or decline hoew can i fix it
    ;*****COUNCIL EVENT

    monitor_event BecomesFactionLeader FactionIsLocal
    and RandomPercent < 66

    add_events
    event event_counter council_event_accepted ;centralize power- demand taxes
    event event_counter council_event_declined ;decentralized choice
    date 0
    end_add_events
    historic_event council_event true
    end_monitor


    monitor_event EventCounter EventCounterType council_event_accepted
    and I_EventCounter council_event_accepted == 1

    inc_event_counter council_strong 1
    console_command add_money -5000
    set_event_counter council_event_accepted 0
    end_monitor

    monitor_event EventCounter EventCounterType council_event_declined
    and I_EventCounter council_event_declined == 1

    set_event_counter council_strong 2
    console_command add_money 5000
    set_event_counter council_event_declined 0
    end_monitor

    monitor_event FactionTurnStart FactionIsLocal
    and I_EventCounter council_strong > 0
    set_event_counter council_strong 0
    end_monitor



    ;***********END COUNCIL EVENT




    ;PIRATES
    monitor_event FactionTurnEnd FactionIsLocal
    and FactionBuildingExists >= coaching_house
    and FactionBuildingExists >= huge_stone_wall
    and FactionBuildingExists >= warehouse
    and FactionScoreRank overall < 4 ;if we are 1, 2, or 3 in place.
    and I_EventCounter pwarnc == 0
    historic_event pwarning
    inc_event_counter pwarnc 1
    end_monitor

    monitor_event FactionTurnEnd FactionIsLocal
    and FactionScoreRank overall > 3
    and I_EventCounter pwarnc == 1
    historic_event psafe
    inc_event_counter pwarnc -1
    end_monitor



    monitor_event FactionTurnEnd FactionIsLocal
    and I_EventCounter pirates_suffered = 0
    and I_EventCounter pirates_payoff = 0
    and RandomPercent < 6
    and FactionBuildingExists >= coaching_house
    and FactionBuildingExists >= warehouse
    and FactionScoreRank overall < 4 ;if we are 1, 2, or 3 in place.

    add_events
    event event_counter pirates_event_accepted
    event event_counter pirates_event_declined
    date 0
    end_add_events

    historic_event pirates_event true
    end_monitor



    monitor_event EventCounter EventCounterType pirates_event_accepted
    and I_EventCounter pirates_event_accepted == 1

    inc_event_counter pirates_payoff 1
    console_command add_money -12500
    set_event_counter pirates_event_accepted 0
    end_monitor

    monitor_event EventCounter EventCounterType pirates_event_declined
    and I_EventCounter pirates_event_declined == 1

    inc_event_counter pirates_suffered 1
    console_command add_money -2500
    set_event_counter pirates_event_declined 0
    end_monitor



    ;renew the chance

    monitor_event FactionTurnEnd FactionIsLocal
    and I_EventCounter pirates_suffered > 0
    and RandomPercent < 10
    inc_event_counter pirates_suffered -1
    historic_event pirates_mayreturnsuffered
    end_monitor

    monitor_event FactionTurnEnd FactionIsLocal
    and I_EventCounter pirates_payoff > 0
    and RandomPercent < 10
    inc_event_counter pirates_payoff -1
    historic_event pirates_mayreturnpayoff
    end_monitor

    ;END OF PIRATES

    ;BAD HARVEST/TAXES
    monitor_event FactionTurnStart FactionIsLocal
    and FactionScoreRank overall < 4 ;if we are 1 to 3 in place.
    and FactionIncome > 2500
    and RandomPercent < 6 ;5% of the time.
    and Treasury > 0
    historic_event horribletaxyear
    console_command add_money -5000
    end_monitor

    monitor_event FactionTurnStart FactionIsLocal
    and FactionScoreRank overall < 4 ;if we are 1 to 3 in place.
    and FactionIncome > 5000
    and RandomPercent < 6 ;5% of the time.
    and Treasury > 0
    historic_event terribletaxyear
    console_command add_money -10000
    end_monitor



    ;DEVALUED COINAGE
    monitor_event FactionTurnStart FactionIsLocal
    and FactionScoreRank overall < 4 ;if we are 1 - 3 in place.
    and FactionIncome > 8000
    and RandomPercent < 3
    and Treasury > 5000
    historic_event devaluedcoin
    console_command add_money -25000
    end_monitor
    here is Pnutmaster info

    "open your data/world/maps/campaign/imperial_campaign/campaign_script.txt and find the line "restrict_strat_radar false". Post the following text below that line, making sure not to overwrite the Mongol scripts below."

    but i still didnt see accept or decline button only info
    like this at buttom of thred
    http://www.twcenter.net/forums/showt...=256587&page=4


    any help pls
    Last edited by TheBlindKing; October 17, 2009 at 10:01 AM.

  2. #2

    Default Re: PLS HELP ABOUT campaign_script.txt

    making an accept/decline choice is very easy. Just put the historic_event, then put the word true behind it :

    Example :

    Code:
    monitor_event FactionTurnStart FactionIsLocal
    
    historic_event example true
    
    end_monitor

  3. #3

    Default Re: PLS HELP ABOUT campaign_script.txt

    THX BUT
    WHERE CAN İ BUT THESE
    FOR EX: WHAT İTS LİKE AFTER EDİTED CUZZ İTS ALREADY THERE İ THİNK

    monitor_event BecomesFactionLeader FactionIsLocal
    and RandomPercent < 66

    add_events
    event event_counter council_event_accepted ;centralize power- demand taxes
    event event_counter council_event_declined ;decentralized choice
    date 0
    end_add_events
    historic_event council_event true
    end_monitor



    monitor_event EventCounter EventCounterType council_event_accepted
    and I_EventCounter council_event_accepted == 1

    inc_event_counter council_strong 1
    console_command add_money -5000
    set_event_counter council_event_accepted 0
    end_monitor

    monitor_event EventCounter EventCounterType council_event_declined
    and I_EventCounter council_event_declined == 1

    set_event_counter council_strong 2
    console_command add_money 5000
    set_event_counter council_event_declined 0
    end_monitor

    monitor_event FactionTurnStart FactionIsLocal
    and I_EventCounter council_strong > 0
    set_event_counter council_strong 0
    end_monitor
    Last edited by TheBlindKing; October 17, 2009 at 11:29 AM.

  4. #4

    Default Re: PLS HELP ABOUT campaign_script.txt

    Code:
    monitor_event BecomesFactionLeader FactionIsLocal
    and RandomPercent < 66
    
    historic_event council_event true
    end_monitor
    
    monitor_event EventCounter EventCounterType council_event_accepted
    and I_EventCounter council_event_accepted == 1
    
    inc_event_counter council_strong 1
    console_command add_money -5000
    set_event_counter council_event_accepted 0
    end_monitor
    
    monitor_event EventCounter EventCounterType council_event_declined
    and I_EventCounter council_event_declined == 1
    
    set_event_counter council_strong 2
    console_command add_money 5000
    set_event_counter council_event_declined 0
    end_monitor
    
    monitor_event FactionTurnStart FactionIsLocal
    and I_EventCounter council_strong > 0
    set_event_counter council_strong 0
    end_monitor
    That's how it should be

  5. #5

    Default Re: PLS HELP ABOUT campaign_script.txt

    Quote Originally Posted by Mr.Blackadder View Post
    Code:
    monitor_event BecomesFactionLeader FactionIsLocal
    and RandomPercent < 66
    
    historic_event council_event true
    end_monitor
    
    monitor_event EventCounter EventCounterType council_event_accepted
    and I_EventCounter council_event_accepted == 1
    
    inc_event_counter council_strong 1
    console_command add_money -5000
    set_event_counter council_event_accepted 0
    end_monitor
    
    monitor_event EventCounter EventCounterType council_event_declined
    and I_EventCounter council_event_declined == 1
    
    set_event_counter council_strong 2
    console_command add_money 5000
    set_event_counter council_event_declined 0
    end_monitor
    
    monitor_event FactionTurnStart FactionIsLocal
    and I_EventCounter council_strong > 0
    set_event_counter council_strong 0
    end_monitor
    That's how it should be
    THX MAN İ WİLL TRY

  6. #6
    Gigantus's Avatar I am not special - I am a limited edition.
    Moderator Emeritus Administrator Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    52,682
    Blog Entries
    35

    Default Re: PLS HELP ABOUT campaign_script.txt

    Have you got the descr_event_images.txt from one of the campaigns? The one from vanilla doesn't work for accept\decline events.










  7. #7

    Default Re: PLS HELP ABOUT campaign_script.txt

    I Haven't got the descr_event_images.txt maybe problem caused about that cuss still exist

  8. #8
    Gigantus's Avatar I am not special - I am a limited edition.
    Moderator Emeritus Administrator Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    52,682
    Blog Entries
    35

    Default Re: PLS HELP ABOUT campaign_script.txt

    Here it is. Descr_event_images from kingdoms. This file is necessary for the accept\decline option to show up, the original (vanilla) file was bugged. Simply add into the data folder.










  9. #9

    Default Re: PLS HELP ABOUT campaign_script.txt

    thx man will try it

  10. #10
    Gigantus's Avatar I am not special - I am a limited edition.
    Moderator Emeritus Administrator Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    52,682
    Blog Entries
    35

    Default Re: PLS HELP ABOUT campaign_script.txt

    As I said in the other thread: one is glad to be of service










Posting Permissions

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