Page 4 of 14 FirstFirst 12345678910111213 ... LastLast
Results 61 to 80 of 269

Thread: --- The Great Campaign Expanded--- Faction Inclusion Mod

  1. #61
    Landwalker's Avatar Semisalis
    Join Date
    Apr 2007
    Location
    Philadelphia, PA
    Posts
    437

    Default Re: --- The Great Campaign Expanded--- Faction Inclusion Mod

    Zowrath: I'm not sure what you're suggesting. That I start a war and then try to bait whoever I'm at war with into capturing one of my cities? That I try to provoke somebody into declaring war on me? And what's the "Normal" version? Either way, I've seen the United States emerge in the unmodified Grand Campaign in the Carolinas -- I don't know how, but I assume that it was just a normal rebellion no different than if you had one in Hungary.

    As an update: France has "assimilated" Louisiana, but New Spain is still a separate faction. We'll see what happens with all of that fairly soon, I imagine. Unfortunately I haven't gotten any missions yet to declare my independence.

    How ridiculous would it be if there is such a mission, but it doesn't trigger until something like 1770?

    Cheers.

  2. #62
    DeadlyBlowfish's Avatar Tiro
    Join Date
    Feb 2009
    Location
    South East, United Kingdom
    Posts
    218

    Default Re: --- The Great Campaign Expanded--- Faction Inclusion Mod

    Eugh... I've been investigating the code structure of the file, the language they use is confusing at best (functions not working in succession, etc) A temporary fix is just to delete the takeover entry in your scripts file, but I'll see what I can do from a coding perspective.
    IMPORTANT:
    If you wish to use, modify, build on or do just about anything to or with any of my mods, feel free to do whatever you want. All I ask is to have my name in the credits somewhere :-)

  3. #63

    Default Re: --- The Great Campaign Expanded--- Faction Inclusion Mod

    Im so confused, delete this part?
    end

    if conditions.FactionName("britain", context) and not conditions.FactionIsHuman("britain", context) and not conditions.FactionIsHuman("thirteen_colonies", context) then
    scripting.game_interface:grant_faction_handover("britain", "thirteen_colonies", 6, 15, context)
    elseif conditions.FactionName("spain", context) and not conditions.FactionIsHuman("spain", context) and not conditions.FactionIsHuman("new_spain", context) then
    scripting.game_interface:grant_faction_handover("spain", "new_spain", 6, 15, context)
    elseif conditions.FactionName("france", context) and not conditions.FactionIsHuman("france", context) and not conditions.FactionIsHuman("louisiana", context) then
    scripting.game_interface:grant_faction_handover("france", "louisiana", 6, 15, context)
    end

  4. #64
    Landwalker's Avatar Semisalis
    Join Date
    Apr 2007
    Location
    Philadelphia, PA
    Posts
    437

    Default Re: --- The Great Campaign Expanded--- Faction Inclusion Mod

    I just got to 1706 and hit the same problem of the "Stuck on Britain" (and I've noticed that it's a different kind of "stuck" from the Prussia-Sweden stick). Still no luck on a mission or anything like that. (Edit: And New Spain is still separate from Spain.)

    Good luck sniffing around, DB. I'm sure we all (by which I mean the two of us) are waiting with bated or baited breath.

    Cheers.
    Last edited by Landwalker; March 18, 2009 at 05:11 PM.

  5. #65
    Landwalker's Avatar Semisalis
    Join Date
    Apr 2007
    Location
    Philadelphia, PA
    Posts
    437

    Default Re: --- The Great Campaign Expanded--- Faction Inclusion Mod

    Quote Originally Posted by darkghoul View Post
    Im so confused, delete this part?
    end

    if conditions.FactionName("britain", context) and not conditions.FactionIsHuman("britain", context) and not conditions.FactionIsHuman("thirteen_colonies", context) then
    scripting.game_interface:grant_faction_handover("britain", "thirteen_colonies", 6, 15, context)
    elseif conditions.FactionName("spain", context) and not conditions.FactionIsHuman("spain", context) and not conditions.FactionIsHuman("new_spain", context) then
    scripting.game_interface:grant_faction_handover("spain", "new_spain", 6, 15, context)
    elseif conditions.FactionName("france", context) and not conditions.FactionIsHuman("france", context) and not conditions.FactionIsHuman("louisiana", context) then
    scripting.game_interface:grant_faction_handover("france", "louisiana", 6, 15, context)
    end
    Whoa. You have to wonder why they would even have "and not conditions.FactionIsHuman("thirteen_colonies", context)" if the Thirteen Colonies were, of course, never intended to be played.

    And what does "context" mean in this... uh... context?

    Cheers.

  6. #66

    Default Re: --- The Great Campaign Expanded--- Faction Inclusion Mod

    Quote Originally Posted by Landwalker View Post
    Whoa. You have to wonder why they would even have "and not conditions.FactionIsHuman("thirteen_colonies", context)" if the Thirteen Colonies were, of course, never intended to be played.

    And what does "context" mean in this... uh... context?

    Cheers.
    Because it's an addition made by DB, the original file looks like this:
    end

    if conditions.FactionName("britain", context) and not conditions.FactionIsHuman("britain", context) then
    scripting.game_interface:grant_faction_handover("britain", "thirteen_colonies", 6, 15, context)
    elseif conditions.FactionName("spain", context) and not conditions.FactionIsHuman("spain", context) then
    scripting.game_interface:grant_faction_handover("spain", "new_spain", 6, 15, context)
    elseif conditions.FactionName("france", context) and not conditions.FactionIsHuman("france", context) then
    scripting.game_interface:grant_faction_handover("france", "louisiana", 6, 15, context)
    end

  7. #67
    Landwalker's Avatar Semisalis
    Join Date
    Apr 2007
    Location
    Philadelphia, PA
    Posts
    437

    Default Re: --- The Great Campaign Expanded--- Faction Inclusion Mod

    Oh. Duh.

    The 6,15 thing must be a range of turns in which the handover randomly happens. After 15 turns, you would be at the end of 1708, I believe, so you wouldn't be able to "start" 1709. This could probably be verified by changing it to just "6,6" and seeing if it always locks up on the 6th turn. If that's the case, you could avoid the lockup by setting the range to something ridiculously distant, like "999,1000".

    I wonder if it would be possible to add something like "If the Thirteen Colonies cease to be a protectorate of Great Britain, then change the faction 'Thirteen Colonies' to 'United States of America'."...

    Cheers.

  8. #68

    Default Re: --- The Great Campaign Expanded--- Faction Inclusion Mod

    Quote Originally Posted by Landwalker View Post
    Oh. Duh.

    The 6,15 thing must be a range of turns in which the handover randomly happens. After 15 turns, you would be at the end of 1708, I believe, so you wouldn't be able to "start" 1709. This could probably be verified by changing it to just "6,6" and seeing if it always locks up on the 6th turn. If that's the case, you could avoid the lockup by setting the range to something ridiculously distant, like "999,1000".

    Cheers.
    I changed the numbers to 999, 1000 and it seems to work like a charm now.

  9. #69
    DeadlyBlowfish's Avatar Tiro
    Join Date
    Feb 2009
    Location
    South East, United Kingdom
    Posts
    218

    Default Re: --- The Great Campaign Expanded--- Faction Inclusion Mod

    That's one way to do it :-)

    The only problem is that then none of the other American Protectorates get absorbed.


    Hmm... these LUA files are hell.
    IMPORTANT:
    If you wish to use, modify, build on or do just about anything to or with any of my mods, feel free to do whatever you want. All I ask is to have my name in the credits somewhere :-)

  10. #70

    Default Re: --- The Great Campaign Expanded--- Faction Inclusion Mod

    Quote Originally Posted by Landwalker View Post
    Zowrath: I'm not sure what you're suggesting.

    a) That I try to provoke somebody into declaring war on me?

    b) And what's the "Normal" version?

    a) Yes And let them take a city. In the GC, if this happens the colonies seems to declare independence due to the cause that Britain can't protect them. Just a thought and a guess though.

    b) Unmodified GC

  11. #71
    Landwalker's Avatar Semisalis
    Join Date
    Apr 2007
    Location
    Philadelphia, PA
    Posts
    437

    Default Re: --- The Great Campaign Expanded--- Faction Inclusion Mod

    Interesting... I'll take a crack at that, Zowrath.

    Looking over the scripting LUA file, it looks like it would be possible to add mission events for the Thirteen Colonies based on declaring independence. The main snag, aside from the mission dialog text (you'd have to find what "mission_text_text_main_protectorate_new_spain_text" and the like refer to), would be figuring out how in the world to get the game to change "nation tags" from Thirteen Colonies to United States of America.

    Cheers.

    Edit: And of course the other American protectorates only don't get absorbed if you change the parameters for all three of the script events. If you only change "your" event, it should work fine.

  12. #72
    DeadlyBlowfish's Avatar Tiro
    Join Date
    Feb 2009
    Location
    South East, United Kingdom
    Posts
    218

    Default Re: --- The Great Campaign Expanded--- Faction Inclusion Mod

    Indeed, I shall revisit the file later, in the meantime the solutions youguys have mentioned should work fine.

    Alternatively, this is the code of my quick-workaround (disables absorbtion of all 3 factions by others)

    Code:
    local advice = require "export_advice"
    local historic_events = require "export_historic_events"
    local scripting = require "EpisodicScripting"
    local camera_pan = 0
    
    local function OnFactionTurnStart(context)
        if conditions.TurnNumber(context) == 2 then
            if conditions.FactionName("britain", context) and conditions.FactionIsHuman("britain", context) then
                scripting.game_interface:trigger_custom_mission("britain_protectorate", "britain", "protectorate_region_capture", 0, "georgia_usa+cherokee_territory+new_france", "", "mission_text_text_main_protectorate_thirteen_colonies_text", "mission_text_text_main_protectorate_thirteen_colonies_reward", 0, "thirteen_colonies", context)
            elseif conditions.FactionName("spain", context) and conditions.FactionIsHuman("spain", context) then
                scripting.game_interface:trigger_custom_mission("spain_protectorate", "spain", "protectorate_region_capture", 0, "trinidad_tobago+tejas+curacao", "", "mission_text_text_main_protectorate_new_spain_text", "mission_text_text_main_protectorate_new_spain_reward", 0, "new_spain", context)
            elseif conditions.FactionName("france", context) and conditions.FactionIsHuman("france", context) then
                scripting.game_interface:trigger_custom_mission("france_protectorate", "france", "protectorate_region_capture", 0, "michigan_territory+algonquin_territory+cherokee_territory", "", "mission_text_text_main_protectorate_louisiana_text", "mission_text_text_main_protectorate_louisiana_reward", 0, "louisiana", context)
            end
        elseif conditions.TurnNumber(context) == 5 then
            scripting.game_interface:enable_auto_generated_missions(true)
        end
    end
    
    local function OnAdviceIssued(context)
            -- 0013_Battle_Advice_Missile_Superiority_Thread
        if conditions.AdviceJustDisplayed("-1875830202", context) then
            scripting.HighlightComponent("button_melee", true)
    
        -- 0065_Battle_Advice_Outnumbered_By_The_Enemy_Thread
        elseif conditions.AdviceJustDisplayed("-758254518", context) then
            scripting.HighlightComponent("button_withdraw", true)
    
        -- 0077_Battle_Advice_Fire_At_Will_Button_Thread 
        elseif conditions.AdviceJustDisplayed("737354545", context) then
            scripting.HighlightComponent("button_fire_at_will", true)
    
          --0079_Battle_Advice_Group_Formations_Button_Thread 
        elseif conditions.AdviceJustDisplayed("2029281479", context) then
            scripting.HighlightComponent("button_groupforms", true)
    
        --0080_Battle_Advice_Withdraw_Button_Thread 
        elseif conditions.AdviceJustDisplayed("1621609724", context) then
            scripting.HighlightComponent("button_withdraw", true)
    
        --0081_Battle_Advice_Cancel_Order_Button_Thread 
        elseif conditions.AdviceJustDisplayed("313094221", context) then
            scripting.HighlightComponent("button_halt", true)
    
        --0082_Battle_Advice_Group_Button_Thread
         elseif conditions.AdviceJustDisplayed("-722605174", context) then
            scripting.HighlightComponent("button_group", true)
    
        --0083_Battle_Advice_Group_Formations_Button_Thread
         elseif conditions.AdviceJustDisplayed("-537894077", context) then
            scripting.HighlightComponent("button_groupforms", true)
    
        --0100_Battle_Advice_Radar_Map_Thread
         elseif conditions.AdviceJustDisplayed("-1755835367", context) then
            scripting.HighlightComponent("radar", true)
    
        --0103_Battle_Advice_Melee_Button_Thread
         elseif conditions.AdviceJustDisplayed("1424352004", context) then
            scripting.HighlightComponent("button_melee", true)
    
        --0104_Battle_Advice_Run_Button_Thread
         elseif conditions.AdviceJustDisplayed("593395637", context) then
            scripting.HighlightComponent("button_movespeed", true)
    
        --0106_Battle_Advice_Killometer_Thread
         elseif conditions.AdviceJustDisplayed("-729505557", context) then
            scripting.HighlightComponent("killometer_clip", true)
    
        --0107_Battle_Advice_Bombardment_Thread
         elseif conditions.AdviceJustDisplayed("1738763088", context) then
            scripting.HighlightComponent("button_halt", true)
        
        --0144_Battle_Advice_Defending_Forts_Thread
         elseif conditions.AdviceJustDisplayed("-2693399", context) then
            scripting.HighlightComponent("button_fire_at_will", true)
            
        --0150_Battle_Advice_Target_Their_Weaknesses_Thread
         elseif conditions.AdviceJustDisplayed("1169098043", context) then
            scripting.HighlightComponent("nav_button_broadside_L", true)    
            
        --0157_Battle_Advice_Ship_Ablaze_Thread
         elseif conditions.AdviceJustDisplayed("1950152570", context) then
            scripting.HighlightComponent("button_fire_at_will", true)
    
        --0175_Battle_Advice_Wind_Direction_Thread
         elseif conditions.AdviceJustDisplayed("-608013080", context) then
            scripting.HighlightComponent("radar", true)
    
        --0181_Battle_Advice_Outgunned_Avoidance_Thread
         elseif conditions.AdviceJustDisplayed("-1459886398", context) then
            scripting.HighlightComponent("nav_button_shot_chain", true)
    
        --0182_Battle_Advice_Crossing_The_T_Thread
         elseif conditions.AdviceJustDisplayed("1813634075", context) then
            scripting.HighlightComponent("nav_button_broadside_L", true)
        
        --0185_Battle_Advice_Naval_Round_Shot_Thread
         elseif conditions.AdviceJustDisplayed("-111077650", context) then
            scripting.HighlightComponent("nav_button_shot_standard", true)    
    
        --0186_Battle_Advice_Naval_Grape_Shot_Thread
         elseif conditions.AdviceJustDisplayed("-1507140649", context) then
            scripting.HighlightComponent("nav_button_shot_grape", true)    
    
    
        --0187_Battle_Advice_Naval_Chain_Shot_Thread
         elseif conditions.AdviceJustDisplayed("-1177825588", context) then
            scripting.HighlightComponent("nav_button_shot_chain", true)
    
        --0188_Battle_Advice_Naval_Radar_Map_Thread
         elseif conditions.AdviceJustDisplayed("2073993693", context) then
            scripting.HighlightComponent("radar", true)
    
        --0189_Battle_Advice_Naval_Manoeuvre_Compass_Thread
         elseif conditions.AdviceJustDisplayed("646906330", context) then
            scripting.HighlightComponent("nav_UC_button_turn_left", true)    
        
        --0190_Battle_Advice_Left_Broadside_Button_Thread
         elseif conditions.AdviceJustDisplayed("-145936557", context) then
            scripting.HighlightComponent("nav_button_broadside_L", true)
    
        --0191_Battle_Advice_Right_Broadside_Button_Thread
         elseif conditions.AdviceJustDisplayed("1188422552", context) then
            scripting.HighlightComponent("nav_button_broadside_R", true)
    
        --0192_Battle_Advice_Naval_Group_Button_Thread
         elseif conditions.AdviceJustDisplayed("-1944874567", context) then
            scripting.HighlightComponent("button_group", true)
    
        --0195_Battle_Advice_Naval_Withdraw_Button_Thread
         elseif conditions.AdviceJustDisplayed("-783991516", context) then
            scripting.HighlightComponent("button_withdraw", true)
    
        --0196_Battle_Advice_Naval_Fire_At_Will_Thread
         elseif conditions.AdviceJustDisplayed("-1827006635", context) then
            scripting.HighlightComponent("button_fire_at_will", true)
    
        --0197_Battle_Advice_Naval_Boarding_Button_Thread
         elseif conditions.AdviceJustDisplayed("952924146", context) then
            scripting.HighlightComponent("nav_button_board", true)
    
        --0198_Battle_Advice_Naval_Formations_Button_Thread
         elseif conditions.AdviceJustDisplayed("1916043659", context) then
            scripting.HighlightComponent("nav_button_groupforms", true)
    
        --1029_Campaign_Advice_UI_Government_Panel_Thread
         elseif conditions.AdviceJustDisplayed("-891171119", context) then
            scripting.HighlightComponent("button_public-order lowest", true)
    
        --1041_Campaign_Advice_UI_Incoming_Message_Thread
         elseif conditions.AdviceJustDisplayed("1216388585", context) then
            scripting.HighlightComponent("Icon", true)
    
        --1051_Campaign_Advice_Army_Promotions_Thread
         elseif conditions.AdviceJustDisplayed("-1061827595", context) then
            scripting.HighlightComponent("army_promote", true)
    
        --1052_Campaign_Advice_Navy_Promotions_Thread
         elseif conditions.AdviceJustDisplayed("695400466", context) then
            scripting.HighlightComponent("navy_promote", true)
    
        --1064_Campaign_Advice_Slot_Selected_Thread
         elseif conditions.AdviceJustDisplayed("1326115363", context) then
            scripting.HighlightComponent("army_fort", true)
    
        --1065_Campaign_Advice_Character_Selected_Thread
         elseif conditions.AdviceJustDisplayed("659772888", context) then
            scripting.HighlightComponent("recruitment_tab", true)
    
        --1065_Campaign_Advice_Character_Selected_Thread
         elseif conditions.AdviceJustDisplayed("1372607332", context) then
            scripting.HighlightComponent("army_replenish", true)
    
        --1100_Campaign_Advice_Government_Type_Thread
         elseif conditions.AdviceJustDisplayed("-1671835166", context) then
            scripting.HighlightComponent("button_government", true)
    
        --1110_Campaign_Advice_Trade_Routes_Thread
         elseif conditions.AdviceJustDisplayed("1242837398", context) then
            scripting.HighlightComponent("button_diplomacy", true)
    
        --1115_Campaign_Advice_Victory_Conditions_Thread
         elseif conditions.AdviceJustDisplayed("1049050650", context) then
            scripting.HighlightComponent("button_missions", true)
    
        --1116_Campaign_Advice_Prestige_Thread
         elseif conditions.AdviceJustDisplayed("-956562909", context) then
            scripting.HighlightComponent("button_missions", true)
    
        --1124_Campaign_Advice_Warning_Bankrupt_Thread
         elseif conditions.AdviceJustDisplayed("295527590", context) then
            scripting.HighlightComponent("button_diplomacy", true)
    
        --1127_Campaign_Advice_Warning_Trade_Thread
         elseif conditions.AdviceJustDisplayed("1264671506", context) then
            scripting.HighlightComponent("button_diplomacy", true)
    
        --1136_Campaign_Advice_Religious_Unrest_Thread
         elseif conditions.AdviceJustDisplayed("1219045742", context) then
            scripting.HighlightComponent("button_tech", true)
    
        --1138_Campaign_Advice_Warning_Population_Thread
         elseif conditions.AdviceJustDisplayed("-1395907252", context) then
            scripting.HighlightComponent("button_tech", true)
    
        --1139_Campaign_Advice_Warning_Population_Thread
         elseif conditions.AdviceJustDisplayed("-1604004259", context) then
            scripting.HighlightComponent("button_tech", true)
    
        --1202_Campaign_Advice_UI_Help_Buildings_Thread
         elseif conditions.AdviceJustDisplayed("-174893187", context) then
            scripting.HighlightComponent("build_browser", true)
    
        --1030b_Campaign_Advice_UI_Government_Panel_Thread
         elseif conditions.AdviceJustDisplayed("-428335498", context) then
            scripting.HighlightComponent("button_government", true)
    
        --1030c_Campaign_Advice_UI_Government_Panel_Thread
         elseif conditions.AdviceJustDisplayed("-250658412", context) then
            scripting.HighlightComponent("button_government", true)
    
    
    --1001_Campaign_Advice_Britain_Initial_Turns_Thread
    --Britain camera pans = 11, 12, 13, 14, 15
        
        elseif conditions.AdviceJustDisplayed("-324484024", context) then
            scripting.game_interface:set_zoom_limit(1.08, 0.02)
            CampaignUI.ScrollCamera(18,    {-57.000, 418.000, 0.75},
                                    {-29.000, 362.000, 0.95},
                                    {36.000, 371.000, 0.95},
                                    {98.000, 378.000, 0.85})
            camera_pan = 11
    
    
    --1002_Campaign_Advice_France_Initial_Turns_Thread
    --France camera pans = 21, 22, 23, 24
        
        elseif conditions.AdviceJustDisplayed("-1886952522", context) then
            scripting.game_interface:set_zoom_limit(1.08, 0.02)
            CampaignUI.ScrollCamera(49,    {0.000, 332.000, 0.95},
                                    {43.000, 336.000, 0.85},
                                    {70.000, 332.000, 0.95},
                                    {98.000, 363.000, 0.95},
                                    {47.000, 367.000, 0.85},
                                    {70.000, 329.000, 0.85},
                                    {17.000, 332.000, 0.75})
            camera_pan = 21
    
    
    --1003_Campaign_Advice_Spain_Initial_Turns_Thread
    --Spain camera pans = 31, 32, 33
        elseif conditions.AdviceJustDisplayed("-1109259521", context) then
            scripting.game_interface:set_zoom_limit(1.08, 0.02)
            CampaignUI.ScrollCamera(17,    {-37.000, 274.000, 0.75},
                                    {-3.000, 295.000, 0.80},
                                    {95.000, 276.000, 0.85},
                                    {157.000, 287.000, 0.75})
                                    --{218.000, 247.000, 0.75})
            camera_pan = 31
            
            
    --1005_Campaign_Advice_Russia_Initial_Turns_Thread
    --Russia camera pans = 41, 42
        
        elseif conditions.AdviceJustDisplayed("-1808331232", context) then
            scripting.game_interface:set_zoom_limit(1.08, 0.02)
            CampaignUI.ScrollCamera(21,    {279.000, 386.000, 0.80},
                                    {221.000, 387.000, 0.75},
                                    {219.00, 326.000, 0.65},
                                    {147.000, 287.000, 0.75})
            camera_pan = 41
        
        
    --1006_Campaign_Advice_Prussia_Initial_Turns_Thread
    --Prussia camera pans = 51, 52
        
        elseif conditions.AdviceJustDisplayed("962797902", context) then
            scripting.game_interface:set_zoom_limit(1.08, 0.02)
            CampaignUI.ScrollCamera(25,    {104.000, 366.000, 0.90},
                                    {91.000, 370.000, 0.95},
                                    {82.000, 366.000, 0.95},
                                    {106.00, 352.000, 0.90},
                                    {120.000, 359.000, 0.95},
                                    {137.000, 384.000, 0.95})
                                
            camera_pan = 51
        
        
    --1008_Campaign_Advice_Dutch_Initial_Turns_Thread
    --Dutch camera pans = 61, 62, 63, 64
        
        elseif conditions.AdviceJustDisplayed("-1766231494", context) then
            scripting.game_interface:set_zoom_limit(1.08, 0.02)
            CampaignUI.ScrollCamera(18,    {35.000, 372.000, 1.00},
                                    {40.000, 354.000, 0.95},
                                    {29.00, 352.000, 0.90},
                                    {22.000, 365.000, 0.95},
                                    {35.000, 371.000, 1.00})
            camera_pan = 61
    
    
    --1009_Campaign_Advice_Austria_Initial_Turns_Thread
    --Austria camera pans = 71, 72, 73
        
        elseif conditions.AdviceJustDisplayed("-1522516535", context) then
            scripting.game_interface:set_zoom_limit(1.08, 0.02)
            CampaignUI.ScrollCamera(27,    {116.000, 339.000, 1.00},
                                    {160.000, 310.000, 0.95},
                                    {115.00, 322.000, 0.95},
                                    {132.000, 351.000, 0.95},
                                    {116.000, 339.000, 0.80})
            camera_pan = 71
        
        
        
    --1012_Campaign_Advice_Poland_Initial_Turns_Thread
    --Poland camera pans = 81, 82, 83, 84
        
        elseif conditions.AdviceJustDisplayed("665527234", context) then
            scripting.game_interface:set_zoom_limit(1.08, 0.02)
            CampaignUI.ScrollCamera(11,    {181.000, 352.000, 0.90},
                                    {131.000, 348.000, 0.85},
                                    {129.000, 375.000, 0.90})
    
                                    
            camera_pan = 81    
        
    
    --1004_Campaign_Advice_Ottoman_Initial_Turns_Thread
    --Ottoman camera pans = 91, 92, 93, 94
    
        elseif conditions.AdviceJustDisplayed("1447626053", context) then
            scripting.game_interface:set_zoom_limit(1.08, 0.02)
            CampaignUI.ScrollCamera(21,    {171.000, 291.000, 0.75},
                                    {145.000, 335.000, 0.80},
                                    {223.000, 309.000, 0.85},
                                    {125.000, 306.000, 0.80})
                                    
            camera_pan = 91    
    
    
    --1007_Campaign_Advice_Sweden_Initial_Turns_Thread
    --Sweden camera pans = 101, 102
        
            elseif conditions.AdviceJustDisplayed("-1638244308", context) then
            scripting.game_interface:set_zoom_limit(1.08, 0.02)
            CampaignUI.ScrollCamera(39,    {110.000, 418.000, 0.75},
                                    {201.000, 418.000, 0.75},
                                    {125.000, 388.000, 0.75},
                                    {21.000, 365.000, 0.75},
                                    {62.000, 310.000, 0.75},
                                    {172.000, 283.000, 0.75})
            
            camera_pan = 101    
    
    
    --1010a_Campaign_Advice_Maratha_Initial_Turns_Thread
    --Maratha camera pans = 111, 112
    
            elseif conditions.AdviceJustDisplayed("1221146494", context) then
            scripting.game_interface:set_zoom_limit(1.08, 0.02)
            CampaignUI.ScrollCamera(24,    {527.000, 122.000, 0.95},
                                    {549.000, 94.000, 0.85},
                                    {543.000, 181.000, 0.95})
                                    
            camera_pan = 111    
    
        
        end
    end
    
    
    local function OnCameraMoverFinished(context)
    
    --1001_Campaign_Advice_Britain_Initial_Turns_Thread
    
        if camera_pan == 11 then
            CampaignUI.ScrollCamera(11,    {49.000, 332.000, 0.95},
                                    {8.000, 324.000, 0.95},
                                    {-31.000, 282.000, 0.85})
            camera_pan = 12
            
        elseif camera_pan == 12 then
            CampaignUI.ScrollCamera(15,    {-515.000, 121.000, 0.85},
                                    {-580.000, 204.000, 0.75},
                                    {-548.000, 274.000, 0.75},
                                    {-504.000, 311.000, 0.75})
            camera_pan = 13
        
        elseif camera_pan == 13 then
            CampaignUI.ScrollCamera(29,    {523.000, 55.000, 0.65},
                                    {599.000, 135.000, 0.75},
                                    {554.000, 186.000, 0.85},
                                    {504.000, 163.000, 0.85},
                                    {528.000, 114.000, 0.85},
                                    {563.000, 80.000, 0.75},
                                    {532.000, 167.000, 0.65})
            camera_pan = 14
            
        elseif camera_pan == 14 then
            CampaignUI.ScrollCamera(8,    {18.000, 342.000, 0.95},
                                    {6.000, 356.000, 0.95},
                                    {0.000, 362.000, 0.75})
            camera_pan = 15
            
        elseif camera_pan == 15 then
            scripting.game_interface:set_zoom_limit(1.0, 0.5)
            CampaignUI.SetCameraTarget(0.000, 362.000)
            camera_pan = 0
    
    
    --1002_Campaign_Advice_France_Initial_Turns_Thread
    
        elseif camera_pan == 21 then
            CampaignUI.ScrollCamera(18,    {-454.000, 349.000, 0.75},
                                    {-514.000, 325.000, 0.80},
                                    {-579.000, 249.000, 0.80},
                                    {-586.000, 179.000, 0.75})
            camera_pan = 22
            
        elseif camera_pan == 22 then
            CampaignUI.ScrollCamera(18,    {490.000, 169.000, 0.75},
                                    {577.000, 72.000, 0.80},
                                    {534.000, 35.000, 0.75},                                
                                    {528.000, 113.000, 0.75})
            camera_pan = 23
    
        elseif camera_pan == 23 then
            CampaignUI.ScrollCamera(20,    {-391.000, 177.000, 0.95},
                                    {-432.000, 167.000, 0.95},
                                    {-453.000, 126.000, 0.95},
                                    {-434.000, 96.000, 0.95},
                                    {-467.000, 83.000, 0.90},
                                    {-486.000, 108.000, 0.85},
                                    {-519.000, 137.000, 0.80},
                                    {-581.000, 165.000, 0.75})
            camera_pan = 24
            
        elseif camera_pan == 24 then
            scripting.game_interface:set_zoom_limit(1.0, 0.5)
            CampaignUI.SetCameraTarget(17.387, 332.769)
            camera_pan = 0
    
    
    --1003_Campaign_Advice_Spain_Initial_Turns_Thread
    
        elseif camera_pan == 31 then
            CampaignUI.ScrollCamera(18,    {30.000, 375.000, 0.95},
                                    {39.000, 353.000, 0.90},
                                    {0.000, 349.000, 0.85})
            camera_pan = 32
    
        elseif camera_pan == 32 then
            CampaignUI.ScrollCamera(27,    {-492.000, 194.000, 0.95},
                                    {-562.000, 168.000, 0.80},
                                    {-500.000, 84.000, 0.70},
                                    {-541.000, 161.000, 0.50})
            camera_pan = 33
    
        elseif camera_pan == 33 then
            scripting.game_interface:set_zoom_limit(1.0, 0.5)
            CampaignUI.SetCameraTarget(-26.750, 280.811)
            camera_pan = 0
    
    
    --1005_Campaign_Advice_Russia_Initial_Turns_Thread
        
            elseif camera_pan == 41 then
            CampaignUI.ScrollCamera(34,    {147.000, 376.000, 0.90},
                                    {116.000, 338.000, 0.80},
                                    {73.000, 322.000, 0.75},
                                    {48.000,328.000, 0.75},
                                    {8.000, 351.000, 0.75},
                                    {42.000, 386.000, 0.75},
                                    {93.000, 368.000, 0.80},
                                    {150.000, 360.000, 0.90},
                                    {190.000, 418.000, 0.60})
            camera_pan = 42
        
        elseif camera_pan == 42 then
            scripting.game_interface:set_zoom_limit(1.0, 0.5)
            CampaignUI.SetCameraTarget(267.000, 391.000)
            camera_pan = 0
        
    --1006_Campaign_Advice_Prussia_Initial_Turns_Thread
    
            camera_pan = 51
    
            elseif camera_pan == 51 then
            CampaignUI.ScrollCamera(23,    {140.000, 437.000, 0.75},
                                    {64.000, 397.000, 0.75},
                                    {22.000, 347.000, 0.85},
                                    {100.000, 335.000, 0.95},
                                    {95.000, 368.000, 0.80})
            camera_pan = 52
    
        elseif camera_pan == 52 then
            scripting.game_interface:set_zoom_limit(1.0, 0.5)
            CampaignUI.SetCameraTarget(95.000, 368.000)
            camera_pan = 0
        
    --1008_Campaign_Advice_Dutch_Initial_Turns_Thread
    
        elseif camera_pan == 61 then
            CampaignUI.ScrollCamera(14,    {-35.000, 431.000, 0.95},
                                    {5.000, 352.000, 0.85},
                                    {95.000, 369.000, 0.95})
            camera_pan = 62
            
        elseif camera_pan == 62 then
            CampaignUI.ScrollCamera(8,    {-489.000, 85.000, 0.95},
                                    {-490.000, 81.000, 0.80})
            camera_pan = 63
            
        elseif camera_pan == 63 then
            CampaignUI.ScrollCamera(8,    {851.000, -62.000, 0.95},
                                    {878.000, -69.000, 0.95})
            camera_pan = 64
            
        elseif camera_pan == 64 then
            CampaignUI.ScrollCamera(8,    {562.000, 58.000, 0.75},
                                    {570.000, 56.000, 0.90})
            camera_pan = 65
            
        elseif camera_pan == 65 then
            scripting.game_interface:set_zoom_limit(1.0, 0.5)
            CampaignUI.SetCameraTarget(35.000, 371.000)
            camera_pan = 0
            
    
    --1009_Campaign_Advice_Austria_Initial_Turns_Thread
    
        elseif camera_pan == 71 then
            CampaignUI.ScrollCamera(22,    {31.000, 377.000, 0.80},
                                    {68.000, 361.000, 0.90},
                                    {106.000, 368.000, 0.95},
                                    {135.000, 329.000, 0.80})
            camera_pan = 72
            
        elseif camera_pan == 72 then
            CampaignUI.ScrollCamera(24,    {204.000, 428.000, 0.80},
                                    {128.000, 365.000, 0.90},
                                    {172.000, 356.000, 0.90},
                                    {255.000, 380.000, 0.75})
            camera_pan = 73
            
        elseif camera_pan == 73 then
            scripting.game_interface:set_zoom_limit(1.0, 0.5)
            CampaignUI.SetCameraTarget(116.000, 339.000)
            camera_pan = 0
        
        
    --1012_Campaign_Advice_Poland_Initial_Turns_Thread
                                
        elseif camera_pan == 81 then
            CampaignUI.ScrollCamera(29,    {191.000, 413.000, 0.75},
                                    {220.000, 368.000, 0.75},
                                    {139.000, 324.000, 0.85},
                                    {144.000, 341.000, 0.85},
                                    {195.000, 379.000, 0.90})
            camera_pan = 82
            
        elseif camera_pan == 82 then
            CampaignUI.ScrollCamera(23,    {202.000, 290.000, 0.90},
                                    {182.000, 280.000, 0.90},
                                    {153.000, 329.000, 0.85},
                                    {284.000, 297.000, 0.75})
            camera_pan = 83
            
        elseif camera_pan == 83 then
            CampaignUI.ScrollCamera(13,    {-42.000, 278.000, 0.80},
                                    {8.000, 352.000, 0.75})
            camera_pan = 84
            
        elseif camera_pan == 84 then
            scripting.game_interface:set_zoom_limit(1.0, 0.5)
            CampaignUI.SetCameraTarget(150.000, 367.000)
            camera_pan = 0
            
    
    --1004_Campaign_Advice_Ottoman_Initial_Turns_Thread
    
        elseif camera_pan == 91 then
            CampaignUI.ScrollCamera(14,    {370.000, 231.000, 0.90},
                                    {315.000, 231.000, 0.90},
                                    {315.000, 282.000, 0.95})
            camera_pan = 92
    
        elseif camera_pan == 92 then
            CampaignUI.ScrollCamera(17,    {104.000, 346.000, 0.90},
                                    {173.000, 275.000, 0.90},
                                    {230.000, 270.000, 0.95})
            camera_pan = 93
    
        elseif camera_pan == 93 then
            CampaignUI.ScrollCamera(27,    {-15.000, 322.000, 0.85},
                                    {184.000, 307.000, 0.80},
                                    {68.000, 246.000, 0.75})
            camera_pan = 94
    
        elseif camera_pan == 94 then
            scripting.game_interface:set_zoom_limit(1.0, 0.5)
            CampaignUI.SetCameraTarget(202.000, 290.000)
            camera_pan = 0
            
    
    --1007_Campaign_Advice_Sweden_Initial_Turns_Thread
    
        elseif camera_pan == 101 then
            scripting.game_interface:set_zoom_limit(1.0, 0.5)
            CampaignUI.SetCameraTarget(125.000, 417.000)
            camera_pan = 0
            
    
    --1010a_Campaign_Advice_Maratha_Initial_Turns_Thread
    
        elseif camera_pan == 111 then
            CampaignUI.ScrollCamera(22,    {587.000, 112.000, 0.95},
                                    {553.000, 134.000, 0.95},
                                    {525.000, 96.000, 0.85},
                                    {547.000, 69.000, 0.85},
                                    {571.000, 53.000, 0.85})
            camera_pan = 112
    
        elseif camera_pan == 112 then
            CampaignUI.ScrollCamera(7,    {-3.000, 368.000, 0.90},
                                    {21.000, 340.000, 0.90})
            camera_pan = 113
        
        elseif camera_pan == 113 then
            CampaignUI.ScrollCamera(14,    {582.000, 37.000, 0.85},
                                    {527.000, 122.000, 0.75})
            camera_pan = 114
                                
        elseif camera_pan == 114 then
            scripting.game_interface:set_zoom_limit(1.0, 0.5)
            CampaignUI.SetCameraTarget(527.000, 122.000)
            camera_pan = 0
            
        
        end
    end
    
    
    
    
    local function OnAdviceDismissed(context)
        if conditions.AdviceJustDisplayed("-1875830202", context) then
            scripting.HighlightComponent("button_melee", false)
    
        elseif conditions.AdviceJustDisplayed("-758254518", context) then
            scripting.HighlightComponent("button_withdraw", false)
    
        elseif conditions.AdviceJustDisplayed("737354545", context) then
            scripting.HighlightComponent("button_fire_at_will", false)
    
        elseif conditions.AdviceJustDisplayed("2029281479", context) then
            scripting.HighlightComponent("button_groupforms", false)
    
        elseif conditions.AdviceJustDisplayed("1621609724", context) then
            scripting.HighlightComponent("button_withdraw", false)
    
        elseif conditions.AdviceJustDisplayed("313094221", context) then
            scripting.HighlightComponent("button_halt", false)
    
        elseif conditions.AdviceJustDisplayed("-722605174", context) then
            scripting.HighlightComponent("button_group", false)
    
        elseif conditions.AdviceJustDisplayed("-537894077", context) then
            scripting.HighlightComponent("button_groupforms", false)
    
        elseif conditions.AdviceJustDisplayed("-1755835367", context) then
            scripting.HighlightComponent("radar", false)
    
        elseif conditions.AdviceJustDisplayed("1424352004", context) then
            scripting.HighlightComponent("button_melee", false)
    
        elseif conditions.AdviceJustDisplayed("593395637", context) then
            scripting.HighlightComponent("button_movespeed", false)
    
        elseif conditions.AdviceJustDisplayed("-729505557", context) then
            scripting.HighlightComponent("killometer_clip", false)
    
        elseif conditions.AdviceJustDisplayed("1738763088", context) then
            scripting.HighlightComponent("button_halt", false)
    
        elseif conditions.AdviceJustDisplayed("-2693399", context) then
            scripting.HighlightComponent("button_fire_at_will", false)
    
        elseif conditions.AdviceJustDisplayed("1169098043", context) then
            scripting.HighlightComponent("nav_button_broadside_L", false)
        
        elseif conditions.AdviceJustDisplayed("1950152570", context) then
            scripting.HighlightComponent("button_fire_at_will", false)
    
        elseif conditions.AdviceJustDisplayed("-608013080", context) then
            scripting.HighlightComponent("radar", false)
    
        elseif conditions.AdviceJustDisplayed("-1459886398", context) then
            scripting.HighlightComponent("nav_button_shot_chain", false)
    
        elseif conditions.AdviceJustDisplayed("1813634075", context) then
            scripting.HighlightComponent("nav_button_broadside_L", false)
            
        elseif conditions.AdviceJustDisplayed("-111077650", context) then
            scripting.HighlightComponent("nav_button_shot_standard", false)
    
        elseif conditions.AdviceJustDisplayed("-1507140649", context) then
            scripting.HighlightComponent("nav_button_shot_grape", false)
    
        elseif conditions.AdviceJustDisplayed("-1177825588", context) then
            scripting.HighlightComponent("nav_button_shot_chain", false)
    
        elseif conditions.AdviceJustDisplayed("2073993693", context) then
            scripting.HighlightComponent("radar", false)
    
        elseif conditions.AdviceJustDisplayed("646906330", context) then
            scripting.HighlightComponent("nav_UC_button_turn_left", false)
            
        elseif conditions.AdviceJustDisplayed("-145936557", context) then
            scripting.HighlightComponent("nav_button_broadside_L", false)
    
        elseif conditions.AdviceJustDisplayed("1188422552", context) then
            scripting.HighlightComponent("nav_button_broadside_R", false)
    
        elseif conditions.AdviceJustDisplayed("-1944874567", context) then
            scripting.HighlightComponent("button_group", false)
    
        elseif conditions.AdviceJustDisplayed("-783991516", context) then
            scripting.HighlightComponent("button_withdraw", false)
    
        elseif conditions.AdviceJustDisplayed("-1827006635", context) then
            scripting.HighlightComponent("button_fire_at_will", false)
    
        elseif conditions.AdviceJustDisplayed("952924146", context) then
            scripting.HighlightComponent("nav_button_board", false)
    
        elseif conditions.AdviceJustDisplayed("1916043659", context) then
            scripting.HighlightComponent("nav_button_groupforms", false)
    
        elseif conditions.AdviceJustDisplayed("-891171119", context) then
            scripting.HighlightComponent("button_public-order lowest", false)
    
        elseif conditions.AdviceJustDisplayed("1216388585", context) then
            scripting.HighlightComponent("Icon", false)
    
        elseif conditions.AdviceJustDisplayed("-1061827595", context) then
            scripting.HighlightComponent("army_promote", false)
    
        elseif conditions.AdviceJustDisplayed("695400466", context) then
            scripting.HighlightComponent("navy_promote", false)
    
        elseif conditions.AdviceJustDisplayed("1326115363", context) then
            scripting.HighlightComponent("army_fort", false)
    
        elseif conditions.AdviceJustDisplayed("659772888", context) then
            scripting.HighlightComponent("recruitment_tab", false)
    
        elseif conditions.AdviceJustDisplayed("1372607332", context) then
            scripting.HighlightComponent("army_replenish", false)
    
        elseif conditions.AdviceJustDisplayed("-1671835166", context) then
            scripting.HighlightComponent("button_government", false)
    
        elseif conditions.AdviceJustDisplayed("1242837398", context) then
            scripting.HighlightComponent("button_diplomacy", false)
    
        elseif conditions.AdviceJustDisplayed("1049050650", context) then
            scripting.HighlightComponent("button_missions", false)
    
        elseif conditions.AdviceJustDisplayed("-956562909", context) then
            scripting.HighlightComponent("button_missions", false)
    
        elseif conditions.AdviceJustDisplayed("295527590", context) then
            scripting.HighlightComponent("button_diplomacy", false)
    
        elseif conditions.AdviceJustDisplayed("1264671506", context) then
            scripting.HighlightComponent("button_diplomacy", false)
    
        elseif conditions.AdviceJustDisplayed("1219045742", context) then
            scripting.HighlightComponent("button_tech", false)
    
        elseif conditions.AdviceJustDisplayed("-1395907252", context) then
            scripting.HighlightComponent("button_tech", false)
    
        elseif conditions.AdviceJustDisplayed("-1604004259", context) then
            scripting.HighlightComponent("button_tech", false)
    
        elseif conditions.AdviceJustDisplayed("-174893187", context) then
            scripting.HighlightComponent("build_browser", false)
    
        elseif conditions.AdviceJustDisplayed("-428335498", context) then
            scripting.HighlightComponent("button_government", false)
    
        elseif conditions.AdviceJustDisplayed("-250658412", context) then
            scripting.HighlightComponent("button_government", false)
              
     --************************************** this is how you can stop the camera pan when the user dismisses the advice
     
        elseif camera_pan ~= 0 then
            
         --Britain
             if conditions.AdviceJustDisplayed("-324484024", context) then
                  CampaignUI.StopCamera()
                  camera_pan = 0
                  scripting.game_interface:set_zoom_limit(1.0, 0.5)
                  CampaignUI.SetCameraTarget(0.000, 362.000)
                  
        --France
            elseif conditions.AdviceJustDisplayed("-1886952522", context) then
                  CampaignUI.StopCamera()
                  camera_pan = 0
                  scripting.game_interface:set_zoom_limit(1.0, 0.5)
                  CampaignUI.SetCameraTarget(17.387, 332.769)
    
        --Spain
            elseif conditions.AdviceJustDisplayed("-1109259521", context) then
                  CampaignUI.StopCamera()
                  camera_pan = 0
                  scripting.game_interface:set_zoom_limit(1.0, 0.5)
                  CampaignUI.SetCameraTarget(-26.750, 280.811)
    
        --Russia
            elseif conditions.AdviceJustDisplayed("-1808331232", context) then
                  CampaignUI.StopCamera()
                  camera_pan = 0
                  scripting.game_interface:set_zoom_limit(1.0, 0.5)
                  CampaignUI.SetCameraTarget(267.000, 391.000)
            
        --Prussia
            elseif conditions.AdviceJustDisplayed("962797902", context) then
                  CampaignUI.StopCamera()
                  camera_pan = 0
                  scripting.game_interface:set_zoom_limit(1.0, 0.5)
                  CampaignUI.SetCameraTarget(95.000, 368.000)
            
        --Dutch    
            elseif conditions.AdviceJustDisplayed("-1766231494", context) then
                  CampaignUI.StopCamera()
                  camera_pan = 0
                  scripting.game_interface:set_zoom_limit(1.0, 0.5)
                  CampaignUI.SetCameraTarget(35.000, 371.000)
            
        --Austria    
            elseif conditions.AdviceJustDisplayed("-1522516535", context) then
                  CampaignUI.StopCamera()
                  camera_pan = 0
                  scripting.game_interface:set_zoom_limit(1.0, 0.5)
                  CampaignUI.SetCameraTarget (116.000, 339.000)
            
        --Poland
            elseif conditions.AdviceJustDisplayed("665527234", context) then
                  CampaignUI.StopCamera()
                  camera_pan = 0
                  scripting.game_interface:set_zoom_limit(1.0, 0.5)
                  CampaignUI.SetCameraTarget (150.000, 367.000)
            
        --Ottoman
            elseif conditions.AdviceJustDisplayed("1447626053", context) then
                  CampaignUI.StopCamera()
                  camera_pan = 0
                  scripting.game_interface:set_zoom_limit(1.0, 0.5)
                  CampaignUI.SetCameraTarget (202.000, 290.000)
         
        --Sweden
            elseif conditions.AdviceJustDisplayed("-1638244308", context) then
                  CampaignUI.StopCamera()
                  camera_pan = 0
                  scripting.game_interface:set_zoom_limit(1.0, 0.5)
                  CampaignUI.SetCameraTarget (125.000, 417.000)
         
        --Maratha
            elseif conditions.AdviceJustDisplayed("1221146494", context) then
                  CampaignUI.StopCamera()
                  camera_pan = 0
                  scripting.game_interface:set_zoom_limit(1.0, 0.5)
                  CampaignUI.SetCameraTarget (527.000, 122.000)
    
            end
        end
    end
    
    local function OnWorldCreated()
        scripting.game_interface:technology_osmosis_for_playables_enable_culture("european")
        scripting.game_interface:technology_osmosis_for_playables_enable_all()
    end
    
    
    --------------------------------------------------------------------------------------------------------------------
    -- Add event callbacks
    -- For a list of all events supported create a "documentation" directory in your empire directory, run a debug build of the game and see
    -- the events.txt file
    --------------------------------------------------------------------------------------------------------------------
    scripting.AddEventCallBack("WorldCreated", OnWorldCreated)
    scripting.AddEventCallBack("AdviceIssued", OnAdviceIssued)
    scripting.AddEventCallBack("AdviceDismissed", OnAdviceDismissed)
    scripting.AddEventCallBack("AdviceSuperseded", OnAdviceDismissed)
    scripting.AddEventCallBack("CameraMoverFinished", OnCameraMoverFinished)
    scripting.AddEventCallBack("FactionTurnStart", OnFactionTurnStart)
    IMPORTANT:
    If you wish to use, modify, build on or do just about anything to or with any of my mods, feel free to do whatever you want. All I ask is to have my name in the credits somewhere :-)

  13. #73
    Landwalker's Avatar Semisalis
    Join Date
    Apr 2007
    Location
    Philadelphia, PA
    Posts
    437

    Default Re: --- The Great Campaign Expanded--- Faction Inclusion Mod

    Just a quick update on things that have been tried:

    Since it's hard to provoke anybody into declaring war on me on their own, I started a war with the Cherokee and lost the Carolinas. No dice on changing factions / protectorateships though. Hopefully because I'm the one who started the war.

    I also traded away Maine to France, but had no luck there, either. If losing a province gets you to "flip" to the United States, it's going to have to be in a defensive war, which aren't exactly easy to arrange.

    Cheers.

    Edit: I looked through the Scripting, but couldn't find anything there about "If the 13 Colonies lose a province in a defensive war, they flip to America." Still, there's a lot of crap out there I can't read through, so there's still hope. I'm going to start a new campaign and do everything I can to goad France or Iroquois into attacking me, and see how that works out.

    Edit 2: France is entirely too friendly.
    Last edited by Landwalker; March 18, 2009 at 07:48 PM.

  14. #74
    ★Bandiera Rossa☭'s Avatar The Red Menace
    Join Date
    Feb 2007
    Location
    California, USA
    Posts
    6,237

    Default Re: --- The Great Campaign Expanded--- Faction Inclusion Mod

    My copy is legal but It will not run correctly in steam (for some reason Steam causes a memory leak on my computer), After fiddling around with visual basic I ended up making my own little launcher that allowed etw to work without launching through steam. Do you think this mod would work with a exe launched from a seperate folder? (It isn't exactly a crack but please tell me if I should not talk about it..)
    Last edited by ★Bandiera Rossa☭; March 18, 2009 at 10:52 PM.


  15. #75
    BanditKS's Avatar Ordinarius
    Join Date
    Nov 2004
    Location
    Wisconsin
    Posts
    710

    Default Re: --- The Great Campaign Expanded--- Faction Inclusion Mod

    I really cant wait to see the update to this mod. its great fun to play.



  16. #76

    Default Re: --- The Great Campaign Expanded--- Faction Inclusion Mod

    I really hope I have the technical ability to perform this. Can someone give me a quick .zip extractor?
    AHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH

  17. #77

    Default Re: --- The Great Campaign Expanded--- Faction Inclusion Mod

    uhmmm 7zip.... look it up on google or something.

  18. #78

    Default Re: --- The Great Campaign Expanded--- Faction Inclusion Mod

    Erm... Problem Encountered When The Game Is Downloaded Guys - I Extract It Into The Data File But When I Launch The Game From The Application It Runs Just As Normal.
    Help Would Be Great Because I Don't Like The Current Playable Factions And Am Desperate To Play As Portugal...

    -ModHunter

  19. #79
    Landwalker's Avatar Semisalis
    Join Date
    Apr 2007
    Location
    Philadelphia, PA
    Posts
    437

    Default Re: --- The Great Campaign Expanded--- Faction Inclusion Mod

    Well, it's the mid-17-teens right now and I haven't had any luck so far. I've provoked France into -300 relations, but they haven't declared war on me (Sweden declared a succession war on me (?!?!) but that doesn't help me much), so I haven't been able to lose a province in a defensive war.

    I've also been poking my nose around the scripting.lua file and I think I have a rough idea of what might work, but I don't know the specifics on how to state it. Does anybody know what scripting command would result in "Give control of Faction X to the human player"?

    Cheers.

  20. #80

    Default Re: --- The Great Campaign Expanded--- Faction Inclusion Mod

    where do i save this to again? I cannot find the folder

Tags for this Thread

Posting Permissions

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