Product Chat / Music or something on the loading screen

Author
Message
Honkeyboy
3D Media Maker
8
Years of Service
User Offline
Joined: 16th Sep 2015
Location: Doesnt know half the time ;)
Posted: 5th Jul 2019 00:54 Edited at: 5th Jul 2019 00:55
Hi all, yes I know this isn't the first time I've brought this up just wanted to poke Lee or anyone who might know how to do this in a nice simple way. Loading screens! sometimes they are a bind and I'm old and if my brain isn't entertained I'll just fall asleep (its abit like installing windows and status bar watching) anyways lol "MUSIC in the loading screen!!!! it completely baffles me why we have music in all the screens we spend like 2 seconds in and the one that takes the longest is the loading screen in which we have to suffer …..silence! surly we could have a buffer to load music to play before the loading screen starts? least we would know when the level is loaded as the music would stop. I have seen this done in a game I tested but cant remember who did it now. Is this a hard job? It would really make things alittle better for us GG users to have this? What do you guys think?
Intel i5 4950 Quad core 3.3ghz AMD FX 6300 x6 cores 3.5ghz(unclocked)
8gb Ram 8gb Ram
AMD Radeon 7570 1gb AMD Radeon HD 6670 2gb
and a well fed mouse on a wheel

I only smile because i have absolutely no idea whats going on
Pirate Myke
Forum Support
13
Years of Service
User Offline
Joined: 31st May 2010
Location: El Dorado, California
Posted: 5th Jul 2019 02:04
Hmm. I thought there was a file called intro .wav or .ogg in the titles bank folder for this.
I am away from computer today. So i will check it out tomorrow.
RIP
Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz, 2400 Mhz, 4 Core(s), 4 Logical Processor(s), 8gb RAM, Nvidia gtx660, Windows 7 Pro 64bit, Screen resolution 1680 x 1050.

New:
Intel(R) Core(TM) i5-8400 CPU @ 2.81GHz, 12GB RAM, Nvidia gtx1050ti 4gb, Windows 10 Home 64bit, Screen resolution 1920 x 1080. System Passmark 3774




synchromesh
Forum Support
10
Years of Service
User Offline
Joined: 24th Jan 2014
Location:
Posted: 5th Jul 2019 09:50
Quote: "Hmm. I thought there was a file called intro .wav or .ogg in the titles bank folder for this.
I am away from computer today. So i will check it out tomorrow."

There is for the title but I think he means whilst the game is loading ?
there is no way currently to do that im aware of.
The only person ever to get all his work done by "Friday" was Robinson Crusoe..
PM
PCS
7
Years of Service
User Offline
Joined: 7th Jul 2016
Playing:
Posted: 5th Jul 2019 10:37 Edited at: 5th Jul 2019 10:39
Yes it can be done. You have to modify some file but i cant remember witch , i have played arround and done it once but will have to search in this old brain of mine to remember what i have changed
At work now will check when i am at home.
Windows 7 Professional 64-bit
Intel(R) Pentium(R) CPU G3260 @ 3.30GHz (2 CPUs), ~3.3GHz RAM 16GB NVIDIA GeForce GT 730
DirectX Version: DirectX 11
Honkeyboy
3D Media Maker
8
Years of Service
User Offline
Joined: 16th Sep 2015
Location: Doesnt know half the time ;)
Posted: 5th Jul 2019 10:42 Edited at: 5th Jul 2019 10:43
@ PCS Ahh was it one of yours I tested? I definitely saw it in one of the games I tested a year or so back and I think maybe 3com had a way but back then I wouldn't have understood it. It'd be nice if we could get an amended script so we could just do the same as the others. I've not tested my new project as a standalone yet but I do know with hitting 3k entities on the city map it might be a bit of a wait
Intel i5 4950 Quad core 3.3ghz AMD FX 6300 x6 cores 3.5ghz(unclocked)
8gb Ram 8gb Ram
AMD Radeon 7570 1gb AMD Radeon HD 6670 2gb
and a well fed mouse on a wheel

I only smile because i have absolutely no idea whats going on
PCS
7
Years of Service
User Offline
Joined: 7th Jul 2016
Playing:
Posted: 5th Jul 2019 11:17
HB i dont think it was myne. I was testing the menu and intro music at home, But i dont think i have posted that. But i will look into it tonight . Will let you know.
Windows 7 Professional 64-bit
Intel(R) Pentium(R) CPU G3260 @ 3.30GHz (2 CPUs), ~3.3GHz RAM 16GB NVIDIA GeForce GT 730
DirectX Version: DirectX 11
Honkeyboy
3D Media Maker
8
Years of Service
User Offline
Joined: 16th Sep 2015
Location: Doesnt know half the time ;)
Posted: 5th Jul 2019 11:37
Ok m8 cheers
Intel i5 4950 Quad core 3.3ghz AMD FX 6300 x6 cores 3.5ghz(unclocked)
8gb Ram 8gb Ram
AMD Radeon 7570 1gb AMD Radeon HD 6670 2gb
and a well fed mouse on a wheel

I only smile because i have absolutely no idea whats going on
DVader
20
Years of Service
User Offline
Joined: 28th Jan 2004
Location:
Posted: 5th Jul 2019 17:37
You might be able to simply play a tune before loading the game in the menu code. I'm not sure if the loading would interrupt it. Nothing to be done with the initial load though, not without getting into the source I would imagine.
SPECS: Ryzen 1700 CPU. Nvidia 970GTX. 16 Gig Memory. Win 10.
synchromesh
Forum Support
10
Years of Service
User Offline
Joined: 24th Jan 2014
Location:
Posted: 5th Jul 2019 17:57 Edited at: 5th Jul 2019 17:58
Ye the Titlebank .ogg file is switched off \ disabled instantly when the loading starts.
Pretty sure its Hard coded from then till the game starts.
The only person ever to get all his work done by "Friday" was Robinson Crusoe..
PM
PCS
7
Years of Service
User Offline
Joined: 7th Jul 2016
Playing:
Posted: 5th Jul 2019 21:24 Edited at: 5th Jul 2019 21:34
Did you mean something like this.


As you can see i did not put the music on when you load a save map, but you can also do it.
Windows 7 Professional 64-bit
Intel(R) Pentium(R) CPU G3260 @ 3.30GHz (2 CPUs), ~3.3GHz RAM 16GB NVIDIA GeForce GT 730
DirectX Version: DirectX 11
GubbyBlips
5
Years of Service
User Offline
Joined: 14th Jan 2019
Location:
Posted: 5th Jul 2019 23:54
Now... how about a video!!
PM
Honkeyboy
3D Media Maker
8
Years of Service
User Offline
Joined: 16th Sep 2015
Location: Doesnt know half the time ;)
Posted: 6th Jul 2019 00:14 Edited at: 6th Jul 2019 00:16
I definitely tested a maze type game someone did a year or so back and he had music playing "just" in the loading screen as in started on loading ended on game start just cant remember for the life of me what it was, I do remember Lee asking if we would like it implemented but it was probably just before the dx11 and didn't get much attention.
I do think it would be a handy thing to get added though as I have seen it mentioned a few times and also seen people saying the loading screen sometimes takes a couple of min or more. I just thought it would be a nice way of relieving the boredom of watching the loading bar, plus of course adding that little bit extra to the standalone.
@ Dvader yeah m8 I tried it using load music etc etc and it didn't work think Lee said it had to be buffered not sure though
@ pcs kinda m8 just that seemed a little random e.g not just as the loading screen was on if you get me
@ synchromesh dunno m8 about hard coded as I saw it working in the game I tested but you could be right :/
Intel i5 4950 Quad core 3.3ghz AMD FX 6300 x6 cores 3.5ghz(unclocked)
8gb Ram 8gb Ram
AMD Radeon 7570 1gb AMD Radeon HD 6670 2gb
and a well fed mouse on a wheel

I only smile because i have absolutely no idea whats going on
PCS
7
Years of Service
User Offline
Joined: 7th Jul 2016
Playing:
Posted: 6th Jul 2019 00:33 Edited at: 6th Jul 2019 00:36
like this ?

Windows 7 Professional 64-bit
Intel(R) Pentium(R) CPU G3260 @ 3.30GHz (2 CPUs), ~3.3GHz RAM 16GB NVIDIA GeForce GT 730
DirectX Version: DirectX 11
synchromesh
Forum Support
10
Years of Service
User Offline
Joined: 24th Jan 2014
Location:
Posted: 6th Jul 2019 00:42 Edited at: 6th Jul 2019 00:44
Quote: "synchromesh dunno m8 about hard coded as I saw it working in the game I tested but you could be right :/"

Or wrong … I have no idea how PCS managed to do that in the above video.. very clever !!
Care to share ? and will it still play loading Level 2 etc
The only person ever to get all his work done by "Friday" was Robinson Crusoe..
PM
PCS
7
Years of Service
User Offline
Joined: 7th Jul 2016
Playing:
Posted: 6th Jul 2019 02:06 Edited at: 6th Jul 2019 02:14
@synchromesh yes it will play while loading level 2. and you can even load a different song when loading from the main screen.


will explain now, its actually very easy,
just making coffee quickly.
Windows 7 Professional 64-bit
Intel(R) Pentium(R) CPU G3260 @ 3.30GHz (2 CPUs), ~3.3GHz RAM 16GB NVIDIA GeForce GT 730
DirectX Version: DirectX 11
PCS
7
Years of Service
User Offline
Joined: 7th Jul 2016
Playing:
Posted: 6th Jul 2019 02:34 Edited at: 6th Jul 2019 02:45
ok im back'

i have just change small things in the
title.lua and the loadgame.lua scripts

in title.lua i have just stop the music from playing like this:

and were the music normally stops when the game are loaded i have change it like this to let it play.:


and to have a diferent song to play when loading a level i have change
loadgame.lua like this.: by adding this line in the loadgame_init()

LoadGlobalSound ( "titlesbank\\default\\loadlevel.ogg", 2 ) ---pcs

and also to let the song play were they stop it normally when the levels are loaded , changed it to :


And i have made a small script stopglobalsound.lua , just to stop the global sounds when game start.
one can use it to fade sound out or stop it as player enters level.

Pcs
Windows 7 Professional 64-bit
Intel(R) Pentium(R) CPU G3260 @ 3.30GHz (2 CPUs), ~3.3GHz RAM 16GB NVIDIA GeForce GT 730
DirectX Version: DirectX 11

Attachments

Login to view attachments
DVader
20
Years of Service
User Offline
Joined: 28th Jan 2004
Location:
Posted: 6th Jul 2019 06:02
So my suggestion was correct Nice one PCs for looking into it. Lua was such a great addition to GG!
SPECS: Ryzen 1700 CPU. Nvidia 970GTX. 16 Gig Memory. Win 10.
Honkeyboy
3D Media Maker
8
Years of Service
User Offline
Joined: 16th Sep 2015
Location: Doesnt know half the time ;)
Posted: 6th Jul 2019 11:27
@ PCS sweet dude well done. will test when I get back in later thanks for sharing!
Intel i5 4950 Quad core 3.3ghz AMD FX 6300 x6 cores 3.5ghz(unclocked)
8gb Ram 8gb Ram
AMD Radeon 7570 1gb AMD Radeon HD 6670 2gb
and a well fed mouse on a wheel

I only smile because i have absolutely no idea whats going on
synchromesh
Forum Support
10
Years of Service
User Offline
Joined: 24th Jan 2014
Location:
Posted: 6th Jul 2019 11:51
Great work !!
Thanks for sharing
The only person ever to get all his work done by "Friday" was Robinson Crusoe..
PM
PCS
7
Years of Service
User Offline
Joined: 7th Jul 2016
Playing:
Posted: 6th Jul 2019 13:10
Windows 7 Professional 64-bit
Intel(R) Pentium(R) CPU G3260 @ 3.30GHz (2 CPUs), ~3.3GHz RAM 16GB NVIDIA GeForce GT 730
DirectX Version: DirectX 11
3com
9
Years of Service
User Offline
Joined: 18th May 2014
Location: Catalonia
Posted: 6th Jul 2019 15:40 Edited at: 6th Jul 2019 15:40
https://forum.game-guru.com/thread/217779
Laptop: Lenovo - Intel(R) Celeron(R) CPU 1005M @ 1.90GHz

OS: Windows 10 (64) - Ram: 4 gb - Hd: 283 gb - Video card: Intel(R) HD Graphics
cpu mark: 10396.6
2d graphics mark: 947.9
3d graphics mark: 8310.9
memory mark 2584.8
Disk mark: 1146.3
Passmark rating: 3662.4

PM
Honkeyboy
3D Media Maker
8
Years of Service
User Offline
Joined: 16th Sep 2015
Location: Doesnt know half the time ;)
Posted: 6th Jul 2019 16:07
aha I knew you'd done something on this 3com
Intel i5 4950 Quad core 3.3ghz AMD FX 6300 x6 cores 3.5ghz(unclocked)
8gb Ram 8gb Ram
AMD Radeon 7570 1gb AMD Radeon HD 6670 2gb
and a well fed mouse on a wheel

I only smile because i have absolutely no idea whats going on
3com
9
Years of Service
User Offline
Joined: 18th May 2014
Location: Catalonia
Posted: 7th Jul 2019 15:21
Yes, I did something about.
hth
Laptop: Lenovo - Intel(R) Celeron(R) CPU 1005M @ 1.90GHz

OS: Windows 10 (64) - Ram: 4 gb - Hd: 283 gb - Video card: Intel(R) HD Graphics
cpu mark: 10396.6
2d graphics mark: 947.9
3d graphics mark: 8310.9
memory mark 2584.8
Disk mark: 1146.3
Passmark rating: 3662.4

PM
GubbyBlips
5
Years of Service
User Offline
Joined: 14th Jan 2019
Location:
Posted: 11th Jul 2019 02:54
I'm looking at that thread, 3com.
Excellent. We need more publicity and tutorials on this capability.
PM
3com
9
Years of Service
User Offline
Joined: 18th May 2014
Location: Catalonia
Posted: 11th Jul 2019 16:21
@ GubbyBlips
Laptop: Lenovo - Intel(R) Celeron(R) CPU 1005M @ 1.90GHz

OS: Windows 10 (64) - Ram: 4 gb - Hd: 283 gb - Video card: Intel(R) HD Graphics
cpu mark: 10396.6
2d graphics mark: 947.9
3d graphics mark: 8310.9
memory mark 2584.8
Disk mark: 1146.3
Passmark rating: 3662.4

PM

Login to post a reply

Server time is: 2024-04-25 03:20:45
Your offset time is: 2024-04-25 03:20:45