Game Development Community

Intro Music Title Problem

by Hyborian · in Technical Issues · 11/11/2007 (10:39 am) · 3 replies

Hi ! everbody

I got a little problem with the music title.
When i fisrt start the engine, all is fine in the title page the music start and loop perfectly.
When enter a mission and return to the title screen, everythings is fine.

My real problem is..when im on the title screen page, when i push the button F11, my music restart.
Each time i push this button, the music restart...

Whe reading the console it says:
creator/editor/editor.cs (96)
unable to find object: 'editor' attempting to call function 'close'

can i block this command only in the title page?

everythings is fine when editing the terrain, and button F11 is calling the world editor like usual.

The problem is is trying to call a function (world editor) in the title page screen is what i can understand.

Anyway to correct this?

thank you very much!

P.s im considering more then an artist then a programmer...
so thank you for your patience and your understanding!
and sorry for my english trying to write as my best so you can understand better!
thank you all!

About the author

Recent Threads


#1
11/11/2007 (11:58 am)
Out of curiosity, why would you want to open the editor in the title page? I'm trying to figure out what you are doing.
#2
11/11/2007 (8:11 pm)
I'm not trying to open the editor in the main menu. In the main menu once, i have pushed the
F11 button once by accident and i have discovered that when your doing this, each time, it restart my main
menu music.

I don't want that so what i'm trying to do is to ignore this command in the main menu so next time,
when i will pushed F11 (main menu screen) nothing will happend, and the music will continu playing
without any interruption.

I'm trying to achieve this, because users may pushed F11 in the start menu and the music will
restart since it will be very odd.

I will try to take a look at the "MainMenu" and creator\editor\editor.cs stuffs.I'm sure i'm missing
something there.

Thank you for helping me!
#3
11/12/2007 (5:04 am)
Ok, now that makes since.
The keybindings are in "starter.fps/client/scripts/default.bind.cs"
There is also a keybinding in the common/scripts folder.

Neither of these files has a keybinding for F11, so I don't know where it's getting bound. (if that makes any since.)
The main thing is to search thru the files. The easiest way would probably be to search the project. It's most likely hidden in one of the files. Sorry I couldn't help you further.