Page 1 of 4 1234 LastLast
Results 1 to 20 of 64

Thread: need help with scripting

Hybrid View

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

    Default need help with scripting

    i've read all about scripting but i'm afrait i don't get it at all

    I want to copy script changing lithuanian religion from teutonic to my mod but i can't even recognize it.

    i guess it could be it:

    ;show the whole map
    restrict_strat_radar false

    ;setup some event counters
    monitor_event FactionTurnStart

    ;setup LITHUANIA CONVERSION counters

    add_events
    event counter lithuania_conversion_accepted
    event counter lithuania_conversion_declined
    event counter lithuania_conversion_timer
    date 0
    end_add_events

    generate_random_counter lithuania_conversion_timer 0 25
    set_event_counter lithuania_conversion_accepted 0
    set_event_counter lithuania_conversion_declined 0

    add_events
    event counter pagan_lithuania ;DONT RENAME - counter referenced by name in export_descr_buildings
    event counter not_pagan_lithuania ;DONT RENAME - counter referenced by name in export_descr_buildings
    event counter not_teutonic ;DONT RENAME - counter referenced by name in export_descr_buildings
    date 0
    end_add_events

    set_event_counter pagan_lithuania 0
    set_event_counter not_pagan_lithuania 0
    set_event_counter not_teutonic 0

    terminate_monitor

    end_monitor

    ;------------------- TECHTREE -------------------;

    monitor_event PreFactionTurnStart not FactionType lithuania
    and not FactionType teutonic_order

    set_event_counter pagan_lithuania 0
    set_event_counter not_pagan_lithuania 1

    end_monitor

    monitor_event PreFactionTurnStart FactionType lithuania

    set_event_counter pagan_lithuania 1
    set_event_counter not_pagan_lithuania 0

    if I_EventCounter lithuania_conversion_accepted = 1
    set_event_counter pagan_lithuania 0
    set_event_counter not_pagan_lithuania 1
    end_if


    end_monitor

    ;set counters on FactionTurnStart once only to ensure correct tech tree options are present at turn 0

    monitor_event FactionTurnStart not FactionType lithuania

    set_event_counter pagan_lithuania 0
    set_event_counter not_pagan_lithuania 1

    terminate_monitor

    end_monitor

    monitor_event FactionTurnStart FactionType lithuania

    set_event_counter pagan_lithuania 1
    set_event_counter not_pagan_lithuania 0

    if I_EventCounter lithuania_conversion_accepted = 1
    set_event_counter pagan_lithuania 0
    set_event_counter not_pagan_lithuania 1
    end_if

    terminate_monitor

    end_monitor

    ;------------------- LITHUANIA CONVERSION TO CATHOLICISM -------------------;

    ;increment the timer for conversion offer
    monitor_event FactionTurnStart FactionType lithuania

    inc_event_counter lithuania_conversion_timer 1

    if I_EventCounter lithuania_conversion_accepted = 1
    terminate_monitor
    end_if

    end_monitor

    ;offer the conversion to Lithuania if the correct conditions are met

    monitor_event FactionTurnStart FactionType lithuania

    if I_NumberOfSettlements lithuania < 5
    and I_EventCounter lithuania_conversion_timer >= 37
    and I_EventCounter lithuania_conversion_accepted = 0

    ;offer conversion to christianity
    historic_event lithuania_conversion true factions { lithuania, }

    ;if AI random chance to accept
    if I_IsFactionAIControlled lithuania

    generate_random_counter random_accept 0 2
    if I_EventCounter random_accept < 2
    set_event_counter lithuania_conversion_accepted 1
    end_if

    end_if

    terminate_monitor

    end_if

    if I_EventCounter lithuania_conversion_timer >= 65
    and I_EventCounter lithuania_conversion_accepted = 0

    ;offer conversion to christianity
    historic_event lithuania_conversion true factions { lithuania, }

    ;if AI random chance to accept
    if I_IsFactionAIControlled lithuania

    generate_random_counter random_accept 0 2
    if I_EventCounter random_accept < 2
    set_event_counter lithuania_conversion_accepted 1
    end_if

    end_if

    terminate_monitor

    end_if

    end_monitor

    monitor_conditions I_EventCounter lithuania_conversion_accepted = 1

    ;Three easy steps for conversion

    ;1 - Convert the people
    set_religion lithuania catholic
    change_population_religion lithuania catholic 75 pagan

    ;2 - Destroy the pagan buildings
    destroy_buildings lithuania temple_perkunas true
    destroy_buildings lithuania temple_perkunas_castle true

    ;3 - Disband the pagan units
    retire_characters Lithuania priest
    destroy_units Lithuania pagan_unit

    ;notify all factions that Lithuania has converted and become Catholic
    historic_event lithuania_converts event/Lithuania_converts.bik

    set_event_counter pagan_lithuania 0
    set_event_counter not_pagan_lithuania 1

    ; change teutonic order ai label
    link_faction_ai teutonic_order teutonic_order_non_pagan
    link_faction_ai poland poland_non_pagan
    link_faction_ai lithuania lithuania_non_pagan

    terminate_monitor

    end_monitor
    Unfortunately i have no idea what this sctipt doing. Can someone translate it for me?
    For example I can see that script disbanding pagan units but i don't know how units are signifited as pagan.

    May i ask for help with this?

  2. #2
    /|\/|\/|\/|\/|\/|\/
    Join Date
    Jun 2005
    Posts
    10,770

    Default Re: need help with scripting

    ;3 - Disband the pagan units
    retire_characters Lithuania priest
    destroy_units Lithuania pagan_unit
    Check those 2 commands in docudemon_commands.txt, it will be obvious that religion is not specified.

    A 'lithuanian priest' is probably a pagan priest. That is how the script affects lithuanian pagan priests.

    The destroy command is using a unit label. So any unit which can only be recruited with a specified pagan percentage in the region can have that 'pagan_unit' unit attribute, and so be able to get destroyed when the faction switches to another religion. The alternative would be naming each unit to be destroyed.

    (Wrong forum BTW)
    Last edited by Taiji; January 04, 2011 at 07:37 AM.

  3. #3
    irishron's Avatar Cura Palatii
    Moderator Emeritus

    Join Date
    Feb 2005
    Location
    Cirith Ungol
    Posts
    47,023

    Default Re: need help with scripting

    Moved.

  4. #4

    Default Re: need help with scripting

    I have used this script in my mod what is you want to understand attyla?

  5. #5

    Default Re: need help with scripting

    the simplier answer is "all", but i know it means nothing And this is my problem. I need answers but i need questions too I simply have no idea what should i asking about.
    I don't know what and when this script changes and i don't know should i changing this script or making simply copy and paste into my mod.

    I have one more problem. Teutonic mod contains traits for pagan characters and i don't know how to move it into my mod. I've tried to copy export_descr_character_traits and export_vnvs, but after this game crasches and log shows a lot of errors in EDCT wchich i cant fix because anouncements from log doesn't corresponding with EDCT etries or i can't read it properly.

  6. #6
    AJStoner's Avatar Lord of Entropy
    Join Date
    Dec 2010
    Location
    Currently exiled to Florida
    Posts
    1,746

    Default Re: need help with scripting

    log shows a lot of errors in EDCT wchich i cant fix because anouncements from log doesn't corresponding with EDCT etries
    A lot of times when you add something the program doesn't like it reports errors on things you never touched. It's the log being nuts, not you. I worked with the religon changing thing quite a bit, I'll post here the script I use to change Ireland (using SS6.2) to Pagan. Maybe it'll help you see what you need to finf:

    ;--- Irish Pagan Conversion
    monitor_event FactionTurnStart FactionType ireland
    and I_SettlementOwner Cork = ireland
    and I_SettlementOwner Galway = ireland
    and I_SettlementOwner Dublin = ireland
    and I_SettlementOwner Caernarvon = ireland
    and I_SettlementOwner London = ireland
    and I_SettlementOwner York = ireland
    and I_SettlementOwner Nottingham = ireland
    and I_SettlementOwner Exeter = ireland
    and I_SettlementOwner Winchester = ireland
    and I_SettlementOwner Edinburgh = ireland
    and I_SettlementOwner Aberdeen = ireland
    and I_SettlementOwner Inverness = ireland
    historic_event pagan_conversion true factions { ireland, }

    ;if AI random chance to accept
    if I_IsFactionAIControlled ireland

    generate_random_counter random_accept 0 2
    if I_EventCounter random_accept < 2
    set_event_counter pagan_conversion_accepted 1
    end_if

    end_if
    terminate_monitor
    end_monitor

    monitor_conditions I_EventCounter pagan_conversion_accepted = 1
    ;Let the Great purge begin
    set_event_counter pagan_ireland 1

    ;1 - Make them an offer they cant refuse
    set_religion ireland pagan
    change_population_religion ireland pagan 50 catholic

    ;2 - Burn the churches
    destroy_buildings ireland temple_catholic true
    destroy_buildings ireland temple_catholic_castle true

    ;3 - Burn the papists
    retire_characters ireland priest
    ;4 - Out with the old, in with the older
    change_settlement_name Dublin Royal_Tara
    change_settlement_name Galway Cruachu
    change_settlement_name Cork Ui_Liathain
    change_settlement_name Caernarvon Harddlech
    change_settlement_name London Dinas_Lludd
    change_settlement_name York Arnemed_Ffynon
    change_settlement_name Nottingham Dun_Camlann
    change_settlement_name Exeter Damnar
    change_settlement_name Winchester Ynys_Gwynt
    change_settlement_name Edinburgh Garloth
    change_settlement_name Aberdeen Lothain
    change_settlement_name Inverness Atecotti
    ;5 - Piss-off his holiness
    console_command diplomatic_stance ireland papal_states war
    console_command diplomatic_stance ireland knights_templar war
    ;6 - grab church lands
    console_command add_money 10000
    ;7 - Hire some mussle
    spawn_army
    faction ireland
    character Finian O'Rourke, named character, age 21, x 28, y 233
    traits LoyaltyStarter 1, Loyal 3 , GoodCommander 1 , BattleChivalry 2, NightBattleCapable 1 , Intelligent 1 , PublicFaith 3 , ReligionStarter 1 , Brave 2 , Pagan_Edu 2
    unit NE Bodyguard exp 1 armour 1 weapon_lvl 1
    unit Irish Kerns exp 1 armour 1 weapon_lvl 1
    unit Irish Kerns exp 1 armour 1 weapon_lvl 1
    unit Irish Kerns exp 1 armour 1 weapon_lvl 1
    end
    ; 8 - There's no zelot like the convert
    console_command give_trait "Amairgin MacSidhe" PublicFaith 3
    console_command give_trait "Finn MacSidhe" PublicFaith 2
    console_command give_trait "Arcill MacSidhe" PublicFaith 2
    console_command give_trait "Sean MacSidhe" PublicFaith 2
    console_command give_trait "Seumas MacSidhe" PublicFaith 2

    ; 9 - Tell the neighbors
    historic_event IRISH_CONVERT true factions { england, france, hre, spain, venice, sicily, milan, scotland, cumans, byzantium, russia, moors, turks, egypt, denmark, portugal, poland, hungary, knights_templar, lithuania, kievan_rus, aragon, ireland, norway, kwarezm, }
    terminate_monitor

    end_monitor
    Note that this script allows a one-time oppertunity to convert, as opposed to the Tutonic script where multiple oppertunities are given. Also there are two Historic Events that need to be added for this: The "Pagan_Conversion" which allows the conversion to take place and the "Irish_Convert" which announces the event to other factions. Hope this is helpful.

    *MEMBER OF THE HOUSE OF HADER* *UNDER THE CRUEL & MERCILESS PATRONAGE OF y2day*

  7. #7

    Default

    i don't know why but this script looks much more clear. Thanx a lot!

    AJStoner
    what is the name of conversion event in your script i can use in EDB?

    This is my version of AJStoner script:

    PHP Code:
    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    ;;;;;;
    Lithuanian Catholic Conversion;;;;;;;;;
    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

    monitor_event FactionTurnStart FactionType lithuania
    and I_SettlementOwner Vilnius lithuania
    ;and I_SettlementOwner Pinsk lithuania
    ;and I_SettlementOwner Pskov lithuania
    ;and I_SettlementOwner Revel lithuania
    historic_event catholic_conversion true factions 
    lithuania, }

    ;if 
    AI random chance to accept
    if I_IsFactionAIControlled lithuania

    generate_random_counter random_accept 0 2
    if I_EventCounter random_accept 2
    set_event_counter catholic_conversion_accepted 1
    end_if

    end_if
    terminate_monitor
    end_monitor

    monitor_conditions I_EventCounter catholic_conversion_accepted 
    1
    ;Let the Great purge begin
    set_event_counter catholic_lithuania 1


    ;Make them an offer they cant refuse
    set_religion lithuania catholic
    change_population_religion lithuania catholic 20 pagan

    ;Burn the churches
    destroy_buildings lithuania temple_perkunas true
    destroy_buildings lithuania temple_perkunas_castle true

    ;Burn the pagans
    retire_characters lithuania priest
    ;Out with the oldin with the older
    change_settlement_name Vilnius Wilno

    ;
    console_command diplomatic_stance ireland papal_states peace
    console_command diplomatic_stance poland papal_states allied
    console_command diplomatic_stance hre papal_states war

    Tell the neighbors
    historic_event LITHUANIA_CONVERT true factions 
    papal_statesenglandfrancehrespainportugalvenicesicilymilanscotlandbyzantiumrussiamoorsturksegyptdenmarkpolandhungarynormanssaxonskievarmeniahedjaz, }
    terminate_monitor

    end_monitor 
    i'm using condition
    and event_counter catholic_lithuania 1
    in EDB but it doesn't work. What's wrong?
    Last edited by Ishan; January 06, 2011 at 09:23 AM. Reason: triple post

  8. #8
    /|\/|\/|\/|\/|\/|\/
    Join Date
    Jun 2005
    Posts
    10,770

    Default Re: need help with scripting

    You'd need to end turn to see it have an effect in EDB.

    The event counter has to change at prefactionturnstart at the very latest in order for it to affect EDB in the same turn.
    Last edited by Taiji; January 06, 2011 at 09:08 AM.

  9. #9

    Default Re: need help with scripting

    Taji
    I know that, but i'm using two commands:
    Code:
    and event_counter catholic_lithuania 1
    and
    Code:
    and not event_counter catholic_lithuania 1
    in EDB
    i'm using it as a condition to building temples.
    One of them should work. I mean one of temples (pagan or catholic) should be available to building.
    Last edited by attyla; January 06, 2011 at 09:26 AM.

  10. #10
    /|\/|\/|\/|\/|\/|\/
    Join Date
    Jun 2005
    Posts
    10,770

    Default Re: need help with scripting

    So what exactly is the problem?

    You can't build _____ temple after clicking accept?

    Which of those 2 restrictions did you place on ______ temple?

  11. #11

    Default Re: need help with scripting

    the problem is - i cannot build any temples

  12. #12
    /|\/|\/|\/|\/|\/|\/
    Join Date
    Jun 2005
    Posts
    10,770

    Default Re: need help with scripting

    Try putting this at the start of your script:

    set_event_counter catholic_lithuania 0

  13. #13

    Default Re: need help with scripting

    doesn't work

  14. #14
    /|\/|\/|\/|\/|\/|\/
    Join Date
    Jun 2005
    Posts
    10,770

    Default Re: need help with scripting

    Show us your EDB entries, something must be wrong there.

  15. #15

    Default Re: need help with scripting

    as you wish:

    Code:
    building temple_catholic
    {
        convert_to temple_catholic_castle
        religion catholic
        levels small_church church abbey cathedral huge_cathedral 
        {
            small_church city requires factions { sicily, denmark, hre, scotland, france, england, hungary, poland, venice, papal_states, portugal, spain, sicily, milan, lithuania, }  and region_religion catholic 51  and event_counter catholic_lithuania 1
            {
                convert_to 0
                capability
                {
                    agent priest  0  requires factions { sicily, denmark, scotland, hre, france, england, } 
                    agent priest  0  requires factions { hungary, poland, lithuania, } 
                    agent priest  0  requires factions { papal_states, portugal, spain, sicily, milan, venice, } 
                    happiness_bonus bonus 1
                    pope_disapproval 1
                    agent_limit priest 1
                }
                material wooden
                construction  2 
                cost  800 
                settlement_min town
                upgrades
                {
                    church
                }
            }
            church city requires factions { sicily, denmark, hre, scotland, france, england, hungary, poland, venice, papal_states, portugal, spain, sicily, milan, lithuania, }  and region_religion catholic 61  and event_counter catholic_lithuania 1  and building_present_min_level hinterland_farms farms  and building_present_min_level hinterland_roads roads
            {
                convert_to 1
                capability
                {
                    agent priest  0  requires factions { sicily, denmark, scotland, hre, france, england, } 
                    agent priest  0  requires factions { hungary, poland, lithuania, } 
                    agent priest  0  requires factions { papal_states, portugal, spain, sicily, milan, venice, } 
                    happiness_bonus bonus 1
                    agent_limit priest 1
                    pope_disapproval 1
                }
                material wooden
                construction  4 
                cost  1600 
                settlement_min large_town
                upgrades
                {
                    abbey
                }
            }
            abbey city requires factions { sicily, denmark, hre, scotland, france, england, hungary, poland, venice, papal_states, portugal, spain, sicily, milan, lithuania, }  and region_religion catholic 71  and event_counter catholic_lithuania 1 and building_present_min_level hinterland_farms farms+1  and building_present_min_level hinterland_roads roads
            {
                capability
                {
                    agent priest  0  requires factions { sicily, denmark, scotland, hre, france, england, } 
                    agent priest  0  requires factions { hungary, poland, lithuania, } 
                    agent priest  0  requires factions { papal_states, portugal, spain, sicily, milan, venice, } 
                    happiness_bonus bonus 2
                    agent_limit priest 2
                    pope_disapproval 1
                }
                material wooden
                construction  6 
                cost  3200 
                settlement_min city
                upgrades
                {
                    cathedral
                }
            }
            cathedral city requires factions { sicily, denmark, hre, scotland, france, england, hungary, poland, venice, papal_states, portugal, spain, sicily, milan, venice, lithuania, }  and region_religion catholic 81  and event_counter catholic_lithuania 1 and building_present_min_level hinterland_farms farms+2  and building_present_min_level hinterland_roads roads
            {
                capability
                {
                    agent priest  0  requires factions { sicily, denmark, scotland, hre, france, england, } 
                    agent priest  0  requires factions { hungary, poland, lithuania, } 
                    agent priest  0  requires factions { papal_states, portugal, spain, sicily, milan, venice, } 
                    recruit_pool "Armored Clergy"  1   0.02   2  0  requires factions { denmark, }  and region_religion catholic 70
                    happiness_bonus bonus 2
                    agent_limit priest 2
                    pope_disapproval 1
                    pope_approval 1
                    population_health_bonus bonus 1
                }
                material wooden
                construction  8 
                cost  6400 
                settlement_min large_city
                upgrades
                {
                    huge_cathedral
                }
            }
            huge_cathedral city requires factions { sicily, denmark, hre, scotland, france, england, hungary, poland, venice, papal_states, portugal, spain, sicily, milan, }  and region_religion catholic 91  and event_counter catholic_lithuania 1 and building_present_min_level hinterland_farms farms+3  and building_present_min_level hinterland_roads paved_roads
            {
                capability
                {
                    agent priest  0  requires factions { sicily, denmark, scotland, hre, france, england, } 
                    agent priest  0  requires factions { hungary, poland, lithuania, } 
                    agent priest  0  requires factions { papal_states, portugal, spain, sicily, milan, venice, } 
                    recruit_pool "Armored Clergy"  1   0.02   2  0  requires factions { denmark, }  and region_religion catholic 70
                    happiness_bonus bonus 3
                    agent_limit priest 2
                    pope_disapproval 1
                    pope_approval 1
                    population_health_bonus bonus 3
                }
                material wooden
                construction  10 
                cost  10000 
                settlement_min huge_city
                upgrades
                {
                }
            }
        }
        plugins 
        {
        }
    }
    building temple_catholic_castle
    {
        convert_to temple_catholic
        religion catholic
        levels small_chapel chapel 
        {
            small_chapel castle requires factions { sicily, denmark, hre, scotland, france, england, hungary, poland, venice, papal_states, portugal, spain, sicily, milan, }  and region_religion catholic 31  and event_counter catholic_lithuania 1
            {
                convert_to 0
                capability
                {
                    agent priest  0  requires factions { sicily, denmark, scotland, hre, france, england, } 
                    agent priest  0  requires factions { hungary, poland, lithuania, } 
                    agent priest  0  requires factions { papal_states, portugal, spain, sicily, milan, venice, } 
                    happiness_bonus bonus 1
                    religion_level bonus 0.05
                    pope_disapproval 1
                    agent_limit priest 1
                }
                material wooden
                construction  2 
                cost  800 
                settlement_min town
                upgrades
                {
                    chapel
                }
            }
            chapel castle requires factions { sicily, denmark, hre, scotland, france, england, hungary, poland, venice, papal_states, portugal, spain, sicily, milan, }  and region_religion catholic 41  and event_counter catholic_lithuania 1
            {
                convert_to 1
                capability
                {
                    agent priest  0  requires factions { sicily, denmark, scotland, hre, france, england, } 
                    agent priest  0  requires factions { hungary, poland, lithuania, } 
                    agent priest  0  requires factions { papal_states, portugal, spain, sicily, milan, venice, } 
                    happiness_bonus bonus 1
                    religion_level bonus 0.1
                    agent_limit priest 1
                    pope_disapproval 1
                }
                material wooden
                construction  4 
                cost  1600 
                settlement_min large_town
                upgrades
                {
                }
            }
        }
        plugins 
        {
        }
    }
    building temple_perkunas
    {
        convert_to temple_perkunas_castle
        religion pagan
        levels perkunas_altar perkunas_sanctuary perkunas_temple 
        {
            perkunas_altar city requires factions {  lithuania, }  and region_religion pagan 51 and not event_counter catholic_lithuania 1
            {
                convert_to 0
                capability
                {
                    agent priest  0  requires factions {  lithuania, } 
                    population_health_bonus 1
                    agent_limit priest 1
                }
                material wooden
                construction  2 
                cost  800 
                settlement_min town
                upgrades
                {
                    perkunas_sanctuary
                }
            }
            perkunas_sanctuary city requires factions {  lithuania, }  and region_religion pagan 61 and not event_counter catholic_lithuania 1
            {
                capability
                {
                    agent priest  0  requires factions {  lithuania, } 
                    weapon_melee_blade 1
                    population_health_bonus 2
                    agent_limit priest 1
                }
                material wooden
                construction  4 
                cost  1600 
                settlement_min large_town
                upgrades
                {
                    perkunas_temple
                }
            }
            perkunas_temple city requires factions {  lithuania, }  and region_religion pagan 71 and not event_counter catholic_lithuania 1
            {
                capability
                {
                    agent priest  0  requires factions {  lithuania, } 
                    weapon_melee_blade 2
                    population_health_bonus 3
                    agent_limit priest 2
                }
                material wooden
                construction  6 
                cost  2400 
                settlement_min city
                upgrades
                {
                }
            }
        }
        plugins 
        {
        }
    }
    building temple_perkunas_castle
    {
        convert_to temple_perkunas
        religion pagan
        levels c_perkunas_altar 
        {
            c_perkunas_altar castle requires factions {  lithuania, }  and region_religion pagan 31 and not event_counter catholic_lithuania 1
            {
                convert_to 0
                capability
                {
                    agent priest  0  requires factions {  lithuania, } 
                    population_health_bonus 1
                    agent_limit priest 1
                    religion_level bonus 0.1
                }
                material wooden
                construction  3 
                cost  1000 
                settlement_min town
                upgrades
                {
                }
            }
        }
        plugins 
        {
        }
    }

  16. #16

    Default Re: need help with scripting

    A 'not event counter' won't work in EDB, you also have a religion min of 51% for the lowest level and the script only makes lithuanias provinces 20%

  17. #17
    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: need help with scripting

    Quote Originally Posted by Eothese View Post
    A 'not event counter' won't work in EDB...
    It doesn't work with the recruitment_pool line, but it works with the building line, not sure about the rest of the capabilities line.
    The counter has to be 1:
    and not event_counter you_name_it 1










  18. #18
    boboav's Avatar Decanus
    Join Date
    Sep 2009
    Location
    Italy
    Posts
    532

    Default Re: need help with scripting

    Yes, delete all the and event_counter catholic_lithuania 1 and increse the religion bonus of the conversion
    Modder of "Bellum Crucis" and "De Bello Mundi"

  19. #19

    Default Re: need help with scripting

    it doesn't make sens. 20% concerns catholic religion only but i cannot build pagan temples too!

    And one more thing: "and not event_counter" works properly in another structures.

  20. #20
    /|\/|\/|\/|\/|\/|\/
    Join Date
    Jun 2005
    Posts
    10,770

    Default Re: need help with scripting

    Quote Originally Posted by attyla View Post
    it doesn't make sens. 20% concerns catholic religion only but i cannot build pagan temples too!
    When you click 'accept' is when the problem starts?
    Last edited by Taiji; January 06, 2011 at 01:29 PM.

Page 1 of 4 1234 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
  •