BCU main page Bridge Commander Universe
...welcome to the new world.
 
 FAQFAQ  RanksRanks  RulesRules   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups  Staff SiteStaff Site    RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

helm menu editing

 
Post new topic   Reply to topic    Bridge Commander Universe Forum Index -> BC Scripting
View previous topic :: View next topic  
Author Message

stavpal

Cadet 4th Class
Cadet 4th Class




Joined: 17 Sep 2006
Posts: 24

Offline

 

 



Reply with quote

Post Posted: 09-20-2006 07:50 AM Post subject: helm menu editing

I want to change a couple of labels in the helm menu, for example instead of "warp" > "engage"

I've edited the HelmMenuHandlers.py but what other file do I need to edit? The 'warp' button currently is something like "???"

Back to top
View user's profile Send private message

tiqhud

Pro-Captain
Pro-Captain




Joined: 28 Aug 2004
Posts: 1067
Location: this Desktop
Offline

 

 



Reply with quote

Post Posted: 09-20-2006 12:16 PM Post subject: Re: helm menu editing

stavpal wrote:

I've edited the HelmMenuHandlers.py but what other file do I need to edit? The 'warp' button currently is something like "???"


if the warp button is like that , youi may not be able to change it , it may be Hardcoded into the Game engine or exe program, and don't mess with the exe


_________________
TiqHud - COE

I didn't do it
If we don't learn from our Mistakes, we will surely repeat them.
It is all the little details, that cause headaches.
According to the way society is going, I'll need a college Degree just to change a light bulb

Back to top
View user's profile Send private message Send e-mail MSN Messenger

stavpal

Cadet 4th Class
Cadet 4th Class




Joined: 17 Sep 2006
Posts: 24

Offline

 

 



Reply with quote

Post Posted: 09-20-2006 12:45 PM Post subject:

I mean after I edit the *.py file. Normally it's "warp", not "???"

Back to top
View user's profile Send private message

USS Sovereign

Lieutenant Commander
Lieutenant Commander


Age: 24
Zodiac: Aquarius
Joined: 16 Apr 2002
Posts: 541
Location: Croatia
Offline

 

 



Reply with quote

Post Posted: 09-20-2006 01:46 PM Post subject:

Code:
pDatabase = App.g_kLocalizationManager.Load("data/TGL/Bridge Menus.tgl")


The game reads menu names from a TGL file so you'd need to edit that particular file.

Although I'd strongly advise against modifying anything, there are mods out there who rely on you having a button named 'Warp' not 'Engage' or whatever. You could make parts of them not work.


_________________

Back to top
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger MSN Messenger

MLeo

Fleet Admiral
Fleet Admiral


Age: 22
Zodiac: Aquarius
Joined: 26 Nov 2002
Posts: 11439
Location: Netherlands
Offline

 

 



Reply with quote

Post Posted: 09-20-2006 05:06 PM Post subject:

I've come to the conclusion that mods should infact read from the tgl and don't assume.


So, your best case is to rename it in the tgl (there is a tgl editor on BCFiles), be sure to back up the original tgl.Wink


_________________

How to beat the Black Screen Of Death and Script problems Also handles Console/Screen/Error report/dump.
BC Technical FAQ [Last updated 26/12/2005]
"Trust me, I'm a con artist" - Moist von Lipwig, "Going Postal, Discworld"

Back to top
View user's profile Send private message Send e-mail MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic

All times are GMT

Page 1 of 1
   Bridge Commander Universe Forum Index -> BC Scripting
 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Powered by phpBB © 2001, 2005 phpBB Group
Bridge Commander Universe is a Nightsoft company. All rights reserved.