View Single Post
Old 10-18-2010, 03:04 PM   #6
danlisa
Navy Seal
 
danlisa's Avatar
 
Join Date: Oct 2005
Location: Cornwall, UK
Posts: 5,503
Downloads: 44
Uploads: 1
Default

Quote:
Originally Posted by Tolkemec View Post
I am really no modder.....
You're about to become one.

Firstly, you need to check your activated mods to see if any contain the following file: menu_1024_768.txt (A windows searcg for this file name should show all locations of this file)

If they do, you need to deactivate and create backup copies.

Depending on whether any mods use it depends on how many times you need to make the following changes:

The following items are from the default menu_1024_768.txt in GWX 3.0 - If the block numbers are different, you can just search for the term "Name=Torp launch".

Find you copies of the menu_1024_768.txt (usually this is C:\Program Files\.....\data\Menu) and right-click and choose Open With - Notepad.

Once the file is open, hit Ctrl+F to bring up the search function and look for these blocks:

[G26 I45]
Name=Torp launch

Type=1032;Button <--- Change this to 1031
ItemID=0x26080005
ParentID=0x26080000
Pos=200,-168,52,52
Materials=4
Display=0;No stretch
Mat 0=data/menu/gui/Periscope.tga
Crop 0=0.477539,0.817383,1,1
Mat 1=data/menu/gui/Periscope.tga
Crop 1=0.477539,0.817383,1,1
Mat 2=data/menu/gui/Periscope.tga
Crop 2=0.477539,0.817383,1,1
Mat 3=data/menu/gui/Periscope.tga
Crop 3=0.529297,0.817383,1,1
MatFlags=0x21
TexFmt=0x9
Font=1
TextFlags=0x0
StatesColors=0xB0B0B0FF, 0xFF, 0xFFFFFFFF, 0xFFFFFFFF

[G28 I34]
Name=Torp launch

Type=1032;Button <--- Change this to 1031
ItemID=0x28080005
ParentID=0x28080000
Pos=201,-167,52,52
Materials=4
Display=0;No stretch
Mat 0=data/menu/gui/Periscope.tga
Crop 0=0.477539,0.817383,1,1
Mat 1=data/menu/gui/Periscope.tga
Crop 1=0.477539,0.817383,1,1
Mat 2=data/menu/gui/Periscope.tga
Crop 2=0.477539,0.817383,1,1
Mat 3=data/menu/gui/Periscope.tga
Crop 3=0.529297,0.817383,1,1
MatFlags=0x21
TexFmt=0x9
Font=1
TextFlags=0x0
StatesColors=0xB0B0B0FF, 0xFF, 0xFFFFFFFF, 0xFFFFFFFF

[G2B I45]
Name=Torp launch

Type=1032;Button <--- Change this to 1031
ItemID=0x2B080005
ParentID=0x2B080000
Pos=200,-168,52,52
Materials=4
Display=0;No stretch
Mat 0=data/menu/gui/Periscope.tga
Crop 0=0.477539,0.817383,1,1
Mat 1=data/menu/gui/Periscope.tga
Crop 1=0.477539,0.817383,1,1
Mat 2=data/menu/gui/Periscope.tga
Crop 2=0.477539,0.817383,1,1
Mat 3=data/menu/gui/Periscope.tga
Crop 3=0.529297,0.817383,1,1
MatFlags=0x21
TexFmt=0x9
Font=1
TextFlags=0x0
StatesColors=0xB0B0B0FF, 0xFF, 0xFFFFFFFF, 0xFFFFFFFF

When you're happy & done, save the file.

This will make every Torpedo Launch button in the game unclickable, meaning the only way to launch is to use Ctrl+Enter. Let me know if there's any problems.
__________________
danlisa is offline   Reply With Quote