(09-21-2013, 11:40 AM)stonecutter Wrote: Yeah i know ... so i copied the pre_menu config from the PTEST .. and configured it to the following :
<PreMenu skin="gui_main_menu.skin">
<Section Image="startup_fg_logo.jpg" Time="20" ShowFirstStartOnly="false"/>
</PreMenu>
So as you can see in the config file i am just refering to a image file and the gui_main_menu.skin ...
i added to the resources :
<Directory Path="/gui" AddSubDirs="true" />
<Directory Path="/mymod/graphics" AddSubDirs="true" />
and i added the imagefile to the following folder:
Quote:mymod/graphics/pre_menu/
Did i forget something ? Any Reference ?
Here is what i Always do!
As you can see i have 3 startpictures!
BE AWARE the picture is on the good place in your mod and it is for example .JPG { for mine }
Here is what I have :
<PreMenu skin="gui_main_menu.skin">
<Section Image="startup_1a.jpg" Time="2" ShowFirstStartOnly="false"/>
<Section Image="startup_2a.jpg" Time="2" ShowFirstStartOnly="false"/>
<Section Image="Premenu_Flashlight.jpg" ShowFirstStartOnly="false" Music="Haunted Music Box.ogg" MusicVolume="0.5" MusicFadeTime="10" >
<Text Pos="150 210 0" FrameSize="640 300" FontSize="18 18" TextCat="PreMenu" TextEntry="WelcomeMessage03" Color="1 1 1 1" Align="Left" />
</Section>
</PreMenu>
EDIT : Time = "20"!!!? 20 seconds for a picture
Make sure thst is MAX 3 or looks weird! AMnesia uses 2 seconds!
Btw here is where you have to put the pre_menu.cfg :
Amnesia - The Dark Descent\redist\YOURMODSNAME\config
---------------
You may try this stonecutter:
<PreMenu skin="gui_main_menu.skin">
<Section Image="startup_fg_logo.jpg" Time="2" ShowFirstStartOnly="false"/>
<Section Image="Premenu_Flashlight.jpg" ShowFirstStartOnly="false" Music="Haunted Music Box.ogg" MusicVolume="0.5" MusicFadeTime="10" >
<Text Pos="150 210 0" FrameSize="640 300" FontSize="18 18" TextCat="PreMenu" TextEntry="WelcomeMessage03" Color="1 1 1 1" Align="Left" />
</Section>
</PreMenu>