Bridge Commander Central
BC Forums => BC Scripting => Topic started by: Billz on August 24, 2006, 01:02:19 PM
-
Is there a way how I can stop character menus from appearing when I talk to the bridge crew? Its for a film project Im doing but I dont want the menus to appear in the final product.
-
Put this in a script in scripts and import it when in QB (or mission) through the console:
lNames = ["Tactical", "Helm", "XO", "Science", "Engineer"]
pBridge = App.g_kSetManager.GetSet("bridge")
for name in lNames:
App.CharacterClass_Cast(pBridge.GetObject(name)).GetMenu().SetNotVisible()
-
So just type that In notepad, save it and put in the scripts file then type it again in the QB console?
-
If you saved it as: "MenuHiding.py" then you need to type in the console: "import MenuHiding" (no "")
-
If you saved it as: "MenuHiding.py" then you need to type in the console: "import MenuHiding" (no "")
It didnt work. I saved it as MenuHiding.py, put it in the scripts folder, typed in import MenuHiding in the console in a Quickbattle match but the character menus didnt dissapear.
-
No errors or anything?
Ok, I suppose the game uses that SetNotVisible.:P
Give me a moment and I'll research it for a minute or 2.
[EDIT] It is possible, but it might take a little bit longer. :(
-
No errors or anything?
Ok, I suppose the game uses that SetNotVisible.:P
Give me a moment and I'll research it for a minute or 2.
[EDIT] It is possible, but it might take a little bit longer. :(
Okay cool. Thanks for taking the time to help out.
-
Strange
-
Strange
What is?
-
Have any of you tryed turing "Character Tool Tips" off in the opinions under general ?
-
Have any of you tryed turing "Character Tool Tips" off in the opinions under general ?
Those are the ones when you "hover" with the mouse over a character.
-
Hey Mleo. Hows it going with this request I made?
-
I haven't been able to work on it since last night (you know, some people need to sleep from time to time :P).
I'll see what I can do today.
-
I haven't been able to work on it since last night (you know, some people need to sleep from time to time :P).
I'll see what I can do today.
Ok cool.
-
Partial success.
If you use the F keys then the menu's won't appear
But if you use the mouse they will.
Another problem is that the camera won't pan around when you use the F keys.:(
Maybe you can use this, and maybe someone else can fix it for any other functionality.
I fear my time may be too limited to continue work on this.
I hope you can use it.
You can start the script when you see the crew by importing HideMenus in the console.
-
Partial success.
If you use the F keys then the menu's won't appear
But if you use the mouse they will.
Another problem is that the camera won't pan around when you use the F keys.:(
Maybe you can use this, and maybe someone else can fix it for any other functionality.
I fear my time may be too limited to continue work on this.
I hope you can use it.
You can start the script when you see the crew by importing HideMenus in the console.
Thanks Mleo. I'll give it a try tonight. Incase you were interested, my 'BC video project' is going to be my own full BC version of the famous 'All Your Base Are Belong To Us' flash music video. You may have heard it. This script will be very helpful. Dont worry, i'll put your name in the credit sequence for the script.