PDA

View Full Version : Assasination Videos are back! (STW Style)



Myrddraal
02-07-2006, 17:35
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 :bow:

He's also let me know that he'll soon be writing a tutorial on how to do it yourself

Epistolary Richard
02-07-2006, 21:46
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:



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.

Kagemusha
02-07-2006, 23:14
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:


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:


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:


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.:bow:Ofcourse this is just the main principle.I didnt yet change the icon to the message or anything like that.

Myrddraal
02-08-2006, 00:12
Well there you go...

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

=E.T=
02-08-2006, 00:36
WoW !!!

:cheerleader: :elephant: :cheerleader:

:bounce:

Very nice work, man!!! :2thumbsup:

:balloon2:

Epistolary Richard
02-08-2006, 00:48
Well there you go...

Anybody else got any un-common knowledge they want to share :rolleyes:
Hmmm... do you know the one about how to have different bodyguards for different recruited generals for the same faction in BI? :beam:

wlesmana
02-08-2006, 05:42
No, but do tell us. That sounds awesome :)
And do they keep their bodyguard type if they get adopted?

Epistolary Richard
02-08-2006, 13:59
Courtesy of Dol Guldur:
https://forums.totalwar.org/vb/showthread.php?p=1059743#post1059743

No idea what happens if they're bribed.