Results 1 to 6 of 6

Thread: A small requests to modders out there....help!!

  1. #1

    Default A small requests to modders out there....help!!

    I posted this thread on the general SS forum, but since I received zero responses as to how I can make this work, I thought that posting it here where many experienced modders dabble in modding would be a better idea....

    So I noticed that the 'Jerusalem captured' movie only plays when either fatimids or KOJ captures it....is there any way to modify the game files so that the movie can show for all Catholic and Muslim factions when they capture the holy city? Thank you in advance.

  2. #2
    Caesar Clivus's Avatar SS Forum Moderator
    Join Date
    May 2007
    Location
    Australia
    Posts
    12,693

    Default Re: A small requests to modders out there....help!!

    I believe you have to look at the campaign_script.txt file Stainless_Steel_6\data\world\maps\campaign\custom\late_era_campaign for that.

    BftB2 UPDATED 22nd DECEMBER. Member of the Complete Byzantine Unit Roster team

  3. #3

    Default Re: A small requests to modders out there....help!!

    hmm...sounds like a start, but as you may have guessed, my modding ability is something of forest gump after 34 cans of beer......so if you could point out the specifics I would greatly appreciate the help

  4. #4
    godspeed's Avatar Libertus
    Join Date
    Sep 2006
    Location
    Florida
    Posts
    62

    Default Re: A small requests to modders out there....help!!

    @DanMLee88
    Forrest Gump After 34 Cans of Beer. Good title for a sequel. This is what Caesar Clivus is referring to in the custom_script.txt file for Late Era Campaign:

    Code:
    declare_counter Jerusalem_Jerusalem
    	declare_counter Jerusalem_Byzantium
    	declare_counter Jerusalem_Turks
    	declare_counter Jerusalem_Egypt
    	
    	set_counter Jerusalem_Jerusalem 1
    	
    	;;; Jerusalem capture Jerusalem
    	monitor_conditions I_SettlementOwner Jerusalem = jerusalem
    		and I_CompareCounter Jerusalem_Jerusalem = 0
    		
    		set_counter Jerusalem_Jerusalem 1
    		set_counter Jerusalem_Byzantium 0
    		set_counter Jerusalem_Turks 0
    		set_counter Jerusalem_Egypt 0
     		historic_event jerusalem_jerusalem event/Christians_Capture_Jerusalem.bik
    
     	end_monitor
    Open the file in a test editor and add additional script like this:


    Code:
    	
    	;;; England capture Jerusalem
    	monitor_conditions I_SettlementOwner Jerusalem = england
    		and I_CompareCounter Jerusalem_Jerusalem = 0
    		
    		set_counter Jerusalem_Jerusalem 1
    		set_counter Jerusalem_Byzantium 0
    		set_counter Jerusalem_Turks 0
    		set_counter Jerusalem_Egypt 0
     		historic_event jerusalem_jerusalem event/Christians_Capture_Jerusalem.bik
    
     	end_monitor
    What this will do is play the christiian movie when England captures Jerusalem. You will need to have the same script for every faction you want the movie to play for. Just copy and paste the script and replace 'england' with france, hre, etc. If you want to change the movies for Imperial (Grand) Campaign then edit the campaign_script.txt file the same way.

    Since Catholics and Orthodox both use the same movie, there may be another way using something like this but I'm not sure it will work. Can anybody confirm this?

    Code:
    ;-------------- JERUSALEM CAPTURED --------------;
    
    
    	declare_counter Jerusalem_Christians
    	declare_counter Jerusalem_Muslims
    		
    	set_counter Jerusalem_Christians 1
    	
    ;;; Christians capture Jerusalem
    	monitor_conditions I_SettlementOwner Jerusalem = not turks
    		and I_SettlementOwner Jerusalem = not egypt
                    and I_CompareCounter Jerusalem_Christians = 0
    		
    		set_counter Jerusalem_Christians 1
    		set_counter Jerusalem_Muslims 0
    	historic_event jerusalem_jerusalem event/Christians_Capture_Jerusalem.bik
    
     	end_monitor
    	 	
    ;;; Muslims capture Jerusalem
    	monitor_conditions I_SettlementOwner Jerusalem = turks
    		or I_SettlementOwner Jerusalem = egypt
                    and I_CompareCounter Jerusalem_Muslims = 0
    		
    		set_counter Jerusalem_Christians 0
    		set_counter Jerusalem_Muslims 1
    		historic_event jerusalem_turks event/Muslims_Capture_Jerusalem.bik
    
            end_monitor
    Last edited by godspeed; May 17, 2008 at 06:31 AM.

  5. #5
    gracul's Avatar 404 Not Found
    Artifex

    Join Date
    Dec 2007
    Location
    Poland
    Posts
    2,009

    Default Re: A small requests to modders out there....help!!

    1) If you just want the movie displayed, without saying which faction captured jerusalem, but only which religion did, then you need only 2 version of the script (christian, muslim ones).
    2) If you want to be also informed which faction captured it, you need to do a separated script for every and add those events in text/historic_events.txt

  6. #6

    Default Re: A small requests to modders out there....help!!

    thank you everyone!!

Posting Permissions

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