Quote:
Originally Posted by sober
Cheers blokes . I will have a go and get back to you if i need help 
No worries .
|
I would suggest starting with making the script display text and pictures, just to get the feel for how it works.
When I made some, I would just have TDWs readme open and a blank text doc open - then just type in some commands and test
Here is an example for a test:-
This is a .SHT file (Testing_Tutorials.SHT) in the tutorial folder
[TITLE]
Testing_Tutorials
[TITLE_END]
[DESCRIPTION]
Testing script to display text and pictures
[DESCRIPTION_END]
[UISTYLE]
SH5Enhanced
[UISTYLE_END]
[HISTORICMISSION]
Any
[HISTORICMISSION_END]
[COMMANDS]
CommandsEnabled|1|0|0|0|0|0
CommandsVisible|1|0|0|0|0|0
DisplayText|Mary had a little lamb.|0|0|0|0|10
DisplayText|whose fleece was white as snow|0|0|0|0|10
SetTutorialImage|
Mary_Lamb|0|0|0|0|0
DisplayTutorialImage|1|0|0|0|0|0
SetTutorialImageSize|
550|
464|0|0|0|0
WaitForNext|0|0|0|0|0|0
[COMMANDS_END]
Mary_Lamb.dds image (
550 x 464 - this is picture size, can be set to anything) into C:\Ubisoft\Silent Hunter 5\data\Menu\Gui\Tutorial Images
This is a .SHA file (Testing_Tutorials.SHA) in the automation folder
[AS]
Testing_Tutorials
[DESCRIPTION]
Testing script to display text and pictures
[DESCRIPTION_END]
[CATEGORY]
Tutorials
[SUBCATEGORY]
Sub
[COMMANDS]
Play_tutorial,0,0,Testing_Tutorials,0,0,0,0
[COMMANDS_END]