Results 1 to 8 of 8

Thread: Assasination Videos are back! (STW Style)

  1. #1
    Shaidar Haran Senior Member SAM Site Champion Myrddraal's Avatar
    Join Date
    Feb 2004
    Location
    UK
    Posts
    5,752

    Default Assasination Videos are back! (STW Style)

    Kagemusha has worked out a way to bring back STW style video messages:

    https://forums.totalwar.org/vb/showthread.php?t=60881

    Very nice find

    He's also let me know that he'll soon be writing a tutorial on how to do it yourself
    Last edited by Myrddraal; 02-07-2006 at 17:37.

  2. #2

    Default Re: Assasination Videos are back! (STW Style)

    It's done in the following way:

    The file you want is descr_event_images there you can reference which images you want to appear when a particular event occurs, even converting between a still image and a video.

    This example is taken from EB:

    Code:
    faction_defeated
    	icon	diplomacy
    	heading_items	3
    	format
    	{
    		title        center verdana		black	
    		string		 center verdana_med	black
    		switch
    		{
    			case 0
    			{
    				image		 center	data/fmv/lose/seleukid_eliminated_eb.tga
    			}
    			case 1
    			{
    				image		 center	data/fmv/lose/baktria_eliminated_eb.tga
    			}
    			case 2
    			{
    				image		 center	data/fmv/lose/hayasdan_eliminated_eb.tga
    			}
    			case 3
    			{
    				movie		 center 320 240	data/fmv/lose/SPQR_eliminated.wmv
    Here the case 3 (SPQR) is unchanged from vanilla. It specifies what file it is to play when the SPQR are defeated, in this case the video file SPQR_eliminated.wmv. The others have been converted for the new EB defeat images by referencing the new file (in this case a still picture data/fmv/lose/hayasdan_eliminated_eb.tga) and changing 'movie' to 'image'.

    Sadly, new events cannot be added, nor the criteria for the existing ones changed nor the cases redefined to my knowledge.
    Last edited by Epistolary Richard; 02-07-2006 at 21:48.
    Epistolary Richard's modding Rules of Cool
    Cool modders make their mods with the :mod command line switch
    If they don't, then Cool mod-users use the Mod Enabler (JSGME)
    Cool modders use show_err
    Cool modders use the tutorials database Cool modders check out the Welcome to the Modding Forums! thread Cool modders keep backups Cool modders help each other out

  3. #3
    Shadow Senior Member Kagemusha's Avatar
    Join Date
    Mar 2005
    Location
    Helsinki,Finland
    Posts
    9,596

    Default Re: Assasination Videos are back! (STW Style)

    Here is how i put the Assasination video to the assasination message:
    Here is the original message in SHOGUN/data/descr_event_images.txt.To avoid any misunderstandings the SHOGUN is the mod folder we are using for the Ran no Jidai mod:

    PHP Code:
    mission_assassinate
        icon    agent
        format
        
    {
            
    title        center verdana        black
            string         center verdana_med    black        
            title_image     center                    
            spacer         8
            bodystring  left verdana_sml khaki left
        

    I replaced the original assasination message code with a an wonder movie code that we know uses movie file:

    PHP Code:
    mission_assassinate
            icon    historic
        heading_items    2
        format 
        
    {
            
    title        center verdana        black    
            movie          center 320 240 
            spacer         8
            string         center verdana_med    black                        
            bodystring   left verdana_sml khaki left
            spacer         8
            multistring  center   verdana_sml khaki left
            spacer         8
            multistring  center   verdana_sml khaki left
        

    I just renamed a STW movie into RTW movie and copied into in my SHOGUN/data/fmv mod folder becouse Bi can use all the movies both in Bi and RTW.

    Then added the the path of the movie into the code:

    PHP Code:
    mission_assassinate
            icon    historic
        heading_items    2
        format 
        
    {
            
    title        center verdana        black    
            movie          center 320 240 SHOGUN
    /data/fmv/lose/julii_eliminated.wmv
            spacer         8
            string         center verdana_med    black                        
            bodystring   left verdana_sml khaki left
            spacer         8
            multistring  center   verdana_sml khaki left
            spacer         8
            multistring  center   verdana_sml khaki left
        

    And Voila the movie works in the assasination message.Ofcourse this is just the main principle.I didnt yet change the icon to the message or anything like that.
    Last edited by Kagemusha; 02-07-2006 at 23:48.
    Ja Mata Tosainu Sama.

  4. #4
    Shaidar Haran Senior Member SAM Site Champion Myrddraal's Avatar
    Join Date
    Feb 2004
    Location
    UK
    Posts
    5,752

    Default Re: Assasination Videos are back! (STW Style)

    Well there you go...

    Anybody else got any un-common knowledge they want to share

  5. #5
    Member Member =E.T='s Avatar
    Join Date
    Sep 2005
    Location
    italy
    Posts
    265

    Default Re: Assassination Videos are back! (STW Style)

    WoW !!!





    Very nice work, man!!!

    AVE!
    ................................................ =ET=

    =ET= Mods .





  6. #6

    Default Re: Assasination Videos are back! (STW Style)

    Quote Originally Posted by Myrddraal
    Well there you go...

    Anybody else got any un-common knowledge they want to share
    Hmmm... do you know the one about how to have different bodyguards for different recruited generals for the same faction in BI?
    Epistolary Richard's modding Rules of Cool
    Cool modders make their mods with the :mod command line switch
    If they don't, then Cool mod-users use the Mod Enabler (JSGME)
    Cool modders use show_err
    Cool modders use the tutorials database Cool modders check out the Welcome to the Modding Forums! thread Cool modders keep backups Cool modders help each other out

  7. #7
    The Dark Knight Member wlesmana's Avatar
    Join Date
    Jan 2005
    Location
    Indonesia
    Posts
    602

    Default Re: Assasination Videos are back! (STW Style)

    No, but do tell us. That sounds awesome :)
    And do they keep their bodyguard type if they get adopted?

  8. #8

    Default Re: Assasination Videos are back! (STW Style)

    Courtesy of Dol Guldur:
    https://forums.totalwar.org/vb/showt...43#post1059743

    No idea what happens if they're bribed.
    Epistolary Richard's modding Rules of Cool
    Cool modders make their mods with the :mod command line switch
    If they don't, then Cool mod-users use the Mod Enabler (JSGME)
    Cool modders use show_err
    Cool modders use the tutorials database Cool modders check out the Welcome to the Modding Forums! thread Cool modders keep backups Cool modders help each other out

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Single Sign On provided by vBSSO