Results 1 to 11 of 11

Thread: New 2.1 money script question:

  1. #1

    Icon3 New 2.1 money script question:

    Hi lusted,

    What does this bolded part of the script mean?

    Code:
            monitor_event SettlementTurnStart FactionType hungary
                    and not FactionIsLocal
                    console_command add_money hungary, 1000
            end_monitor
    The rest of the entries are FactionTurnStart...

    Cheers

  2. #2
    Lusted's Avatar Look to the stars
    Join Date
    Jan 2005
    Location
    Brighton, Sussex, England.
    Posts
    18,183

    Default Re: New 2.1 money script question:

    For every settlement an ai facton has it will have a 1000 cash boost.

    The SettlementTurnStart checks through every settlement.
    Creator of:
    Lands to Conquer Gold for Medieval II: Kingdoms
    Terrae Expugnandae Gold Open Beta for RTW 1.5
    Proud ex-Moderator and ex-Administrator of TWC from Jan 06 to June 07
    Awarded the Rank of Opifex for outstanding contributions to the TW mod community.
    Awarded the Rank of Divus for oustanding work during my times as Administrator.

  3. #3

    Default Re: New 2.1 money script question:

    ah nice!

    So big empires will get bigger!

  4. #4

    Default Re: New 2.1 money script question:

    Do you ever mention these sort of things to Jason during your conversations? Not that it's critical of course because we can always do them ourselves anyway...

  5. #5
    Lusted's Avatar Look to the stars
    Join Date
    Jan 2005
    Location
    Brighton, Sussex, England.
    Posts
    18,183

    Default Re: New 2.1 money script question:

    Do you ever mention these sort of things to Jason during your conversations? Not that it's critical of course because we can always do them ourselves anyway...
    Yup, i sent him a big email about various campaign stuff a while ago. Im gonna be sending him a second one with some more campaign stuff and battlemap stuff soon.
    Creator of:
    Lands to Conquer Gold for Medieval II: Kingdoms
    Terrae Expugnandae Gold Open Beta for RTW 1.5
    Proud ex-Moderator and ex-Administrator of TWC from Jan 06 to June 07
    Awarded the Rank of Opifex for outstanding contributions to the TW mod community.
    Awarded the Rank of Divus for oustanding work during my times as Administrator.

  6. #6

    Default Re: New 2.1 money script question:

    hi

    Can i change it so the money script is bigger for the AI or do i need some compiler to do that? I wanna make him much stronger couse i kick his ass to easily every time.

    I found some that i think give the 5k if he has less then 5k and turn is less then 50 in the
    Medieval II Total War\landstoconquer\data\world\maps\campaign\imperial_campaign\campaign_script.txt
    Is it needed to have one for each team? Will it only give money to the ai not the player? Will he produce more troops if i give him more money in this manner?

    Code:
    	monitor_event FactionTurnStart FactionType england
    		and not FactionIsLocal
    		and Treasury < 5000
    		and I_TurnNumber < 50
    		console_command add_money england, 5000
    	end_monitor
    
    	monitor_event FactionTurnStart FactionType england
    		and not FactionIsLocal
    		and Treasury < 5000
    		and I_NumberOfSettlements england < 3
    		console_command add_money england, 5000
    	end_monitor
    
    
    	monitor_event SettlementTurnStart FactionType england
    		and not FactionIsLocal
    		console_command add_money england, 1000
    	end_monitor
    
    	monitor_event FactionTurnStart FactionType england
    		and not FactionIsLocal
    		and Treasury < 5000
    		and I_TurnNumber < 50
    		console_command add_money england, 5000
    	end_monitor
    
    	monitor_event FactionTurnStart FactionType france
    		and not FactionIsLocal
    		and Treasury < 5000
    		and I_NumberOfSettlements france < 3
    		console_command add_money france, 5000
    	end_monitor

    Thanks for a great mod
    Erik

  7. #7
    Lusted's Avatar Look to the stars
    Join Date
    Jan 2005
    Location
    Brighton, Sussex, England.
    Posts
    18,183

    Default Re: New 2.1 money script question:

    Its in the campaign_script.txt file at the bottom.
    Creator of:
    Lands to Conquer Gold for Medieval II: Kingdoms
    Terrae Expugnandae Gold Open Beta for RTW 1.5
    Proud ex-Moderator and ex-Administrator of TWC from Jan 06 to June 07
    Awarded the Rank of Opifex for outstanding contributions to the TW mod community.
    Awarded the Rank of Divus for oustanding work during my times as Administrator.

  8. #8

    Default Re: New 2.1 money script question:

    yes maybe i updated my post after you asnwered it. I did find it (the one in the landtoconqer folder will be used if i start the game with your launcher right?).

    So my other questions... Would it work to increase these figures to make him produce faster? Do i need to write one script for each faction or can i make a global dito? But ONLY for ai, not for human player.

    the first and the last of englands code-blocks seems to be the same? Are they? And in that case why?

    Thanks a lot
    Erik
    Last edited by suliman; February 02, 2007 at 05:23 PM.

  9. #9
    Lusted's Avatar Look to the stars
    Join Date
    Jan 2005
    Location
    Brighton, Sussex, England.
    Posts
    18,183

    Default Re: New 2.1 money script question:

    So my other questions... Would it work to increase these figures to make him produce faster? Do i need to write one script for each faction or can i make a global dito? But ONLY for ai, not for human player.
    My money script only gives the ai factions money. Just increase the amount of money each part of the script gives the ai factions.
    Creator of:
    Lands to Conquer Gold for Medieval II: Kingdoms
    Terrae Expugnandae Gold Open Beta for RTW 1.5
    Proud ex-Moderator and ex-Administrator of TWC from Jan 06 to June 07
    Awarded the Rank of Opifex for outstanding contributions to the TW mod community.
    Awarded the Rank of Divus for oustanding work during my times as Administrator.

  10. #10

    Default Re: New 2.1 money script question:

    cool!

    I love what you have done with this mod. You are much more forced to specialize your castles (due to no free best cavalry and infantry simply from castle itself) and building-upgrades are more linear in cost making it not obvious that you do the same for each settlement.

    If i get this extra money to the bad guys to work im really satisfied.
    E

  11. #11

    Default Re: New 2.1 money script question:

    It works. England has 500.000 gold within 10 turns ( just to try out the code). Is it confirmed that the AI build more troops if he's rich? Or is that another setting?

    In an earlier version of your mod, you had the min cash for ai at 15k but lowered it to 5k in the current version. Did you find that it works better with only 5k? Did it get to hard? Personally i want it to be much harder but maybe the ai stops working?

    Any ideas on this? Ok I will sleep now. Thanks
    Erik

Posting Permissions

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