Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Multiple Issues Help pre menu doesnt show up
stonecutter Offline
Member

Posts: 140
Threads: 17
Joined: Feb 2011
Reputation: 4
#1
pre menu doesnt show up

Hi everbody ... i started to create a fully isolated total conversion ... followed the tutorial and everything works fine except the pre menu .. i know that in the tutorial the pre menu is deactivated ... so i activated it with the value "true" ... after i start the game it shows the main_menu loading screen and the menu appears .. but no pre_menu ...

any hints on a solution !?

We Shall Arise - Death / Grind from Bavaria
Musicvideo : http://goo.gl/HzxvLK
Facebook : http://goo.gl/9YfYCV
Free Album : http://goo.gl/sEBW2X
09-20-2013, 11:23 PM
Find
Your Computer Offline
SCAN ME!

Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation: 235
#2
RE: pre menu doesnt show up

Pre-menus require their own configuration files which reference LANG categories and entries. If you don't have these, setting the value to true for pre menus won't mean anything. I do not provide any pre_menu.cfg files for my tutorial, so your result is expected.

Tutorials: From Noob to Pro
09-20-2013, 11:32 PM
Website Find
stonecutter Offline
Member

Posts: 140
Threads: 17
Joined: Feb 2011
Reputation: 4
#3
RE: pre menu doesnt show up

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 ?

We Shall Arise - Death / Grind from Bavaria
Musicvideo : http://goo.gl/HzxvLK
Facebook : http://goo.gl/9YfYCV
Free Album : http://goo.gl/sEBW2X
09-21-2013, 11:40 AM
Find
DnALANGE Offline
Banned

Posts: 1,549
Threads: 73
Joined: Jan 2012
#4
RE: pre menu doesnt show up

(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 Tongue 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>
(This post was last modified: 09-21-2013, 02:36 PM by DnALANGE.)
09-21-2013, 02:28 PM
Find
stonecutter Offline
Member

Posts: 140
Threads: 17
Joined: Feb 2011
Reputation: 4
#5
RE: pre menu doesnt show up

Amnesia - The Dark Descent\redist\YOURMODSNAME\config
Its in the right directory

<PreMenu skin="gui_main_menu.skin">

    <Section Image="startup_fg_logo.jpg" Time="20" ShowFirstStartOnly="false"/>

</PreMenu>
The 20 seconds are only for testing Tongue

So i think there is no problem with the picture ... i think if the game cant find the picture it will show 20 seconds nothing ... but it goes directly to the main menu

We Shall Arise - Death / Grind from Bavaria
Musicvideo : http://goo.gl/HzxvLK
Facebook : http://goo.gl/9YfYCV
Free Album : http://goo.gl/sEBW2X
09-21-2013, 02:35 PM
Find
DnALANGE Offline
Banned

Posts: 1,549
Threads: 73
Joined: Jan 2012
#6
RE: pre menu doesnt show up

(09-21-2013, 02:35 PM)stonecutter Wrote:
Amnesia - The Dark Descent\redist\YOURMODSNAME\config
Its in the right directory

<PreMenu skin="gui_main_menu.skin">

    <Section Image="startup_fg_logo.jpg" Time="20" ShowFirstStartOnly="false"/>

</PreMenu>
The 20 seconds are only for testing Tongue

So i think there is no problem with the picture ... i think if the game cant find the picture it will show 20 seconds nothing ... but it goes directly to the main menu

Be free to add me on Skype, i will help you!
I am also working on a FC atm so i will help you!
redmaster12345,

IF you have Skype offcourse, but i will fix this within some minutes if i can see your files closer!
(This post was last modified: 09-21-2013, 02:40 PM by DnALANGE.)
09-21-2013, 02:37 PM
Find




Users browsing this thread: 1 Guest(s)