View Full Version : Any idea how to modify this?
Viktor_Prien
11-11-10, 08:31 AM
I would like to render,during multiplayer games, not selectable the option(when you press "ESC") "Display player name" as happens,for example, when you are playing a single mission offline(and this option is not selectable).
Have you any idea of what files I have to modify to do this?(GWX 3.0).
Thanks!
Madox58
11-12-10, 06:32 PM
Here's a clue from menu_1024_768.ini
[G3D I7]
Name=Chk PlayersName
Type=1033;Check box
ItemID=0x3D020003
ParentID=0x3D020000
Pos=45,-63,450,32
Color=0xFFFFFFFF
Materials=8
Display=2;Linear
Mat 0=DATA/Menu/Data/nc_squarecheck0.tga
Mat 1=DATA/Menu/Data/ch_squarecheck0.tga
Mat 2=DATA/Menu/Data/nc_squarecheck1.tga
Mat 3=DATA/Menu/Data/ch_squarecheck1.tga
Mat 4=DATA/Menu/Data/nc_squarecheck2.tga
Mat 5=DATA/Menu/Data/ch_squarecheck2.tga
Mat 6=DATA/Menu/Data/nc_squarecheck3.tga
Mat 7=DATA/Menu/Data/nc_squarecheck3.tga
MatFlags=0x1
TexFmt=0x5
Font=5
Text=3030
TextPosFlags=0x2
TextOffsetY=8,8,8,8
TextFlags=0x0
CheckBoxWidth=32
StatesColors=0x8B8989FF, 0xEBCF99FF, 0xDD5800FF, 0xDD5800FF
The Text=3030 is listed in XX_menu.txt
XX= en, de, fr
Viktor_Prien
11-13-10, 04:32 AM
Thanks you very much Privateer for your help!Really appreciated!:salute:
Madox58
11-13-10, 06:46 PM
Just remember Mate,
If you mod the files anyone playing with you needs the same files.
:yeah:
Viktor_Prien
11-15-10, 03:54 AM
I need still a little help....:oops:
I'm also considering the idea of changing the colour of the tag-name(player name displayed),let's say as option 2,to something less visible(in respect to the default yellow)...
Can you,please,indicate to me what are the sections in which the strings to be changed are placed?
Really thanks in advance for the ones that will reply!
Madox58
11-16-10, 07:11 PM
Take this line
StatesColors=0x8B8989FF, 0xEBCF99FF, 0xDD5800FF, 0xDD5800FF
And swap a couple to see if this is the area you want to change.
StatesColors=0xF40E0EFF, 0x073A3FFF, 0x53DD00FF, 0x53DD00FF
As an example.
Viktor_Prien
11-17-10, 01:05 PM
First of all thanks again for your reply,your help and your suggestions Herr Privateer!
The problem is that,at the moment and first of all ,I'm unable to find the string or the section of the menu_1024_768.ini in which the "user name" is contained.
What I mean is:
during multiplayer games,as you know,when you use the external camera (F12),floating over your U-boat you can see your "user name",that is displayed in yellow (except if you have disabled the option "Display player name" in the options menu).The font used for this writing should be the FP Hunt 15 or the FP Hunt 12.(I'm still not sure because they're similar).
This is now what I would like to modify.The base idea is trying to change the colour of the "user name" with a colour less visible or another idea is to have,for example, a sub emblem(certainly of the correct size) displayed instead of the player name.
The problem is that,to do so,I have to find,first of all, in which string the "user name" of the player is contained.
Trying to find where this damned string is placed inside the menu_1024_768.ini I have made this thought:when I have written for the first time my "user name" in the game?
The answer,that comes to my mind, is that the first time that I have written my user name(that is the one displayed on my U-boat during multiplayer games) is here SH3/Multiplayer/Play on UBI.com/enter your user name.
But I can't find any reference of it in the menu_1024_768.ini and I'm about to become crazy...:damn: but somehow I'm still searching the entire file 1024_768...
Any idea of where I can find the string or in which section are indicated the parameters for modify the "user name"(for example section [G67 I ...])?
p.s=thanks for the "test" colours!;)
Madox58
11-17-10, 06:01 PM
I'd almost bet that what you want to do is controlled by the Multiplayer.act file.
There are strings in the xx_menu.txt that have no matching calls
in the menu_1024_768.ini
For example open en_menu.txt and search for 3313
then open menu_1024_768.ini and search for it.
You can test by changeing the 3313 from Player Name
to AnyOld Name and see if it shows that way.
Viktor_Prien
11-18-10, 03:28 AM
At the moment I've created a backup copy of the menu_1024_768.ini and I'm deleting from it section by section.
The number strings (of the en_menu) that could be of interest are,the one that you have indicated plus the 3020,3076,3110.
I'm trying to find a match for them in the menu_1024_768.ini (if any :hmmm: ).
Update soon as possible maybe,in 2-3 years,due to the lenght of the menu_1024_768.ini ....:haha: and especially if I don't become squint while checking all these strings before the end of the project...:doh:
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.