making a main menu

Discussions on Modding of S.T.A.L.K.E.R. SoC & Clear Sky

making a main menu

Postby ket on 04 Aug 2009 19:09

I've never really given it much thought until now, but say I was to create my own video for stalker, how could I use that video as part of the main menu?
Mobo: MSI X570 Tomahawk
CPU: R7 3700X @ 4.4GHz 1.3v
RAM: 2x16GB Klevv BoltX 3600MHz 16-20-20-35
GPU: Powercolor 6800XT Red Devil
Sound: Asus Xonar DX 7.1 PCI-E, Realtek ALC1200
HDD: 250GB & 500GB nVME 3.0 M.2 drives, 2TB Seagate Barracuda, Sata3 64MB Cache, 250GB Hynix SL301
Opticals: DVD-RW, Blu-Ray
PSU: eVGA 1000w G2 Supernova
Case: NZXT Phantom 530

STALKER: Singularity (SIN) homepage
User avatar
ket
Senior Resident
 
Posts: 1262
Joined: 14 Sep 2008 11:57
Location: The solar system

Re: making a main menu

Postby VINTAR on 11 Aug 2009 07:37

Hmmm. I saw a file called asus last night. I'm assuming this is the asus logo animation. Maybe you could edit that file. I'll try find it again.
Core2Quad Q8300 2.5 @ 3.6ghz
Cooler Master Hyper TX 2 CPU cooler
Gigabyte EP45 UD3R mobo
Nvidia GTS450
2 GIGS Transcend DDR2 800 pc6400 @ 960
Thermaltake Tough Power 650w PSU
Samsung Syncmaster P2350
-----------------------------------
Apartheid veteran
User avatar
VINTAR
Senior Resident
 
Posts: 441
Joined: 18 Sep 2008 15:07
Location: Durban, South Africa

Re: making a main menu

Postby ket on 11 Aug 2009 14:38

Thats just a splash screen (I think). I'm talking about the main menu itself. I have some well creepy music and would like to add in a video into the main menu to go with it :d
Mobo: MSI X570 Tomahawk
CPU: R7 3700X @ 4.4GHz 1.3v
RAM: 2x16GB Klevv BoltX 3600MHz 16-20-20-35
GPU: Powercolor 6800XT Red Devil
Sound: Asus Xonar DX 7.1 PCI-E, Realtek ALC1200
HDD: 250GB & 500GB nVME 3.0 M.2 drives, 2TB Seagate Barracuda, Sata3 64MB Cache, 250GB Hynix SL301
Opticals: DVD-RW, Blu-Ray
PSU: eVGA 1000w G2 Supernova
Case: NZXT Phantom 530

STALKER: Singularity (SIN) homepage
User avatar
ket
Senior Resident
 
Posts: 1262
Joined: 14 Sep 2008 11:57
Location: The solar system

Re: making a main menu

Postby VINTAR on 11 Aug 2009 14:46

Must be something to do with the anim files then.
Core2Quad Q8300 2.5 @ 3.6ghz
Cooler Master Hyper TX 2 CPU cooler
Gigabyte EP45 UD3R mobo
Nvidia GTS450
2 GIGS Transcend DDR2 800 pc6400 @ 960
Thermaltake Tough Power 650w PSU
Samsung Syncmaster P2350
-----------------------------------
Apartheid veteran
User avatar
VINTAR
Senior Resident
 
Posts: 441
Joined: 18 Sep 2008 15:07
Location: Durban, South Africa

Re: making a main menu

Postby ket on 11 Aug 2009 15:11

I'm not sure on all of the files. Theres a XML file that references various animations with the original menu, but I'm not sure how to adjust it for my own truely custom main menu.
Mobo: MSI X570 Tomahawk
CPU: R7 3700X @ 4.4GHz 1.3v
RAM: 2x16GB Klevv BoltX 3600MHz 16-20-20-35
GPU: Powercolor 6800XT Red Devil
Sound: Asus Xonar DX 7.1 PCI-E, Realtek ALC1200
HDD: 250GB & 500GB nVME 3.0 M.2 drives, 2TB Seagate Barracuda, Sata3 64MB Cache, 250GB Hynix SL301
Opticals: DVD-RW, Blu-Ray
PSU: eVGA 1000w G2 Supernova
Case: NZXT Phantom 530

STALKER: Singularity (SIN) homepage
User avatar
ket
Senior Resident
 
Posts: 1262
Joined: 14 Sep 2008 11:57
Location: The solar system

Re: making a main menu

Postby Nightwatch on 12 Aug 2009 03:09

You mean that you want to change the video that plays in the background, above and beyond the main menu, and also the fire effects. They are possible, but if you mean that you want to use a video on full screen, that would bring some problems as how to present the main menu. You'd still need to insert a sort of menu on the screen. That would require a complete re-work.
NEWSA.SIMBION_TWEAK 3.0
Mod Website= Features, Video, Tips & Download Link: NEWSA.SIMBION_Tweak

Watch the Trailer: http://www.youtube.com/watch?v=1Ajw_f8K ... re=channel
Please Do Not download and install any files from links other than those on the Mod's Website
User avatar
Nightwatch
Site Admin
 
Posts: 2676
Joined: 13 Apr 2007 05:42
Location: London, United Kingdom

Re: making a main menu

Postby ket on 12 Aug 2009 09:15

Not a fullscreen video, just a box playing the video inserted into a static background.
Mobo: MSI X570 Tomahawk
CPU: R7 3700X @ 4.4GHz 1.3v
RAM: 2x16GB Klevv BoltX 3600MHz 16-20-20-35
GPU: Powercolor 6800XT Red Devil
Sound: Asus Xonar DX 7.1 PCI-E, Realtek ALC1200
HDD: 250GB & 500GB nVME 3.0 M.2 drives, 2TB Seagate Barracuda, Sata3 64MB Cache, 250GB Hynix SL301
Opticals: DVD-RW, Blu-Ray
PSU: eVGA 1000w G2 Supernova
Case: NZXT Phantom 530

STALKER: Singularity (SIN) homepage
User avatar
ket
Senior Resident
 
Posts: 1262
Joined: 14 Sep 2008 11:57
Location: The solar system

Re: making a main menu

Postby Nightwatch on 13 Aug 2009 17:34

OK, got it. I'm not at my STALKER installed PC at the moment (out of London currently) but possibly tomorrow I can point to the files that would need changes made on them. :mozilla_smile:
NEWSA.SIMBION_TWEAK 3.0
Mod Website= Features, Video, Tips & Download Link: NEWSA.SIMBION_Tweak

Watch the Trailer: http://www.youtube.com/watch?v=1Ajw_f8K ... re=channel
Please Do Not download and install any files from links other than those on the Mod's Website
User avatar
Nightwatch
Site Admin
 
Posts: 2676
Joined: 13 Apr 2007 05:42
Location: London, United Kingdom

Re: making a main menu

Postby ket on 14 Aug 2009 21:10

Thanks uncle nighty :D :p
Mobo: MSI X570 Tomahawk
CPU: R7 3700X @ 4.4GHz 1.3v
RAM: 2x16GB Klevv BoltX 3600MHz 16-20-20-35
GPU: Powercolor 6800XT Red Devil
Sound: Asus Xonar DX 7.1 PCI-E, Realtek ALC1200
HDD: 250GB & 500GB nVME 3.0 M.2 drives, 2TB Seagate Barracuda, Sata3 64MB Cache, 250GB Hynix SL301
Opticals: DVD-RW, Blu-Ray
PSU: eVGA 1000w G2 Supernova
Case: NZXT Phantom 530

STALKER: Singularity (SIN) homepage
User avatar
ket
Senior Resident
 
Posts: 1262
Joined: 14 Sep 2008 11:57
Location: The solar system

Re: making a main menu

Postby Nightwatch on 16 Aug 2009 04:28

Sorry for the delay in answering, I wanted to come home and check the vanilla files to be sure the references are correct in the vanilla, as I haven't looked at vanilla files for ages. :mozilla_smile:

-To change the video that plays above the options menu in the "main menu screen" (the rain/thunder over NPP video) you need to go to textures\ui folder and locate: ui_mm_main_back_crop.ogg video.

All videos are in OGG Media Stream format, so you need to format your video accordingly.

-To change the fire video clip, that burns at the bottom of the screen, change: ui_mm_fire.ogg

-There's another video instead of NPP rain video, which is: ui_mm_window_back_crop, which offers a campfire view video.

If you want to amend/change the sizes of main menu windows (video playing windows), then the file that's need to be worked on is: config\ui\ ui_mm_main.xml

Then if you change/replace the music of the main menu with the sound of your own video, the sound issue will have been dealt as well. (videos do come without sound.)


There are also other videos on textures\intro and textures\sleep folders (all OGG as well) and their sounds(or dialogs) are in sounds folder.

Check the config\ui\movies.xml for the protocol for pointing the sound to the related video.

Example: This example is the video from the "I Wish for Gold" choice in quick-end play of the game. You know, where he dies with a gold coin in his hand. Length is 1:24 minutes.

Code: Select all
<mov_desire_2>
      <play_each_item>1</play_each_item>
      <global_wnd x="0" y="0" width="1024" height="768">
         <auto_static x="0" y="0" width="1024" height="768" stretch="1">
            <window_name>back</window_name>
            <texture>intro\intro_back</texture>
         </auto_static>
      </global_wnd>
      
      <item type="video">
         <sound>characters_voice\scenario\video\final_gold</sound>
         <pause_state>on</pause_state>
         <function_on_stop>xr_effects.game_credits</function_on_stop>
         <can_be_stopped>off</can_be_stopped>
         <video_wnd x="0" y="0" width="1024" height="768" stretch="1">
            <texture x="0" y="1" width="512" height="286">intro\final_gold</texture>
         </video_wnd>
      </item>
   </mov_desire_2>


------------------------------
Hope I've been helpful a bit. :mozilla_smile:
NEWSA.SIMBION_TWEAK 3.0
Mod Website= Features, Video, Tips & Download Link: NEWSA.SIMBION_Tweak

Watch the Trailer: http://www.youtube.com/watch?v=1Ajw_f8K ... re=channel
Please Do Not download and install any files from links other than those on the Mod's Website
User avatar
Nightwatch
Site Admin
 
Posts: 2676
Joined: 13 Apr 2007 05:42
Location: London, United Kingdom

Re: making a main menu

Postby ket on 16 Aug 2009 12:33

:-bd Thanks :d I'll work on that soon.. but not today I'm a little hung over 8-[
Mobo: MSI X570 Tomahawk
CPU: R7 3700X @ 4.4GHz 1.3v
RAM: 2x16GB Klevv BoltX 3600MHz 16-20-20-35
GPU: Powercolor 6800XT Red Devil
Sound: Asus Xonar DX 7.1 PCI-E, Realtek ALC1200
HDD: 250GB & 500GB nVME 3.0 M.2 drives, 2TB Seagate Barracuda, Sata3 64MB Cache, 250GB Hynix SL301
Opticals: DVD-RW, Blu-Ray
PSU: eVGA 1000w G2 Supernova
Case: NZXT Phantom 530

STALKER: Singularity (SIN) homepage
User avatar
ket
Senior Resident
 
Posts: 1262
Joined: 14 Sep 2008 11:57
Location: The solar system


Return to Modding Techniques

Who is online

Users browsing this forum: No registered users and 1 guest