View Single Post
Old 12-12-07, 01:03 PM   #42
Digital_Trucker
Silent Hunter
 
Join Date: Jul 2007
Location: The Peach State
Posts: 4,171
Downloads: 141
Uploads: 10
Default Here's what I have so far

The code that I added to the menu.ini file is as follows :


Code:
[G38 I7]
Name=SS
Type=1036;Radio
ItemID=0x38010010
ParentID=0x38010000
Pos=127,-29,26,142
Zone= 901 505 26 142 0 1 0x38010003 1 -1 0x38010010 0 1 10 -1
Materials=8
Display=2;Linear
Mat 0=data/menu/gui/shells/us_shells.tga
Crop 0=0.703125,0.7656253,0.203125,0.2441344
Mat 1=data/menu/gui/shells/us_shells.tga
Crop 1=0.703125,0.7656253,0.203125,0.2441344
Mat 2=data/menu/gui/shells/us_shells.tga
Crop 2=0.09375,0.7656253,0.203125,0.2441344
Mat 3=data/menu/gui/shells/us_shells.tga
Crop 3=0.296875,0.7656253,0.203125,0.2441344
Mat 4=data/menu/gui/shells/us_shells.tga
Crop 4=0.5,0.7656253,0.203125,0.2441344
Mat 5=data/menu/gui/shells/us_shells.tga
Crop 5=0.296875,0.7656253,0.203125,0.2441344
Mat 6=data/menu/gui/shells/us_shells.tga
Crop 6=0.5,0.7656253,0.203125,0.2441344
Mat 7=data/menu/gui/shells/us_shells.tga
Crop 7=0.296875,0.7656253,0.203125,0.2441344
MatFlags=0x9
TexFmt=0x0
Font=0
Text=0
TextPosFlags=0x2
TextFlags=0x0
CheckBoxWidth=0
StatesColors=0xCDBEB4FF, 0xCDBEB4FF, 0xCDBEB4FF, 0xCDBEB4FF
ToolTipText=2233
 
[G38 I8]
Name=AA
Type=1036;Radio
ItemID=0x38010006
ParentID=0x38010000
Pos=87,-29,26,142
Zone= 901 455 26 142 0 1 0x38010002 1 -1 0x38010006 0 1 10 -5
Materials=8
Display=2;Linear
Mat 0=data/menu/gui/shells/us_shells.tga
Crop 0=0.703125,0.541016,0.203125,0.2441344
Mat 1=data/menu/gui/shells/us_shells.tga
Crop 1=0.703125,0.541016,0.203125,0.2441344
Mat 2=data/menu/gui/shells/us_shells.tga
Crop 2=0.09375,0.541016,0.203125,0.2441344
Mat 3=data/menu/gui/shells/us_shells.tga
Crop 3=0.296875,0.541016,0.203125,0.2441344
Mat 4=data/menu/gui/shells/us_shells.tga
Crop 4=0.5,0.541016,0.203125,0.2441344
Mat 5=data/menu/gui/shells/us_shells.tga
Crop 5=0.296875,0.541016,0.203125,0.2441344
Mat 6=data/menu/gui/shells/us_shells.tga
Crop 6=0.5,0.541016,0.203125,0.2441344
Mat 7=data/menu/gui/shells/us_shells.tga
Crop 7=0.296875,0.541016,0.203125,0.2441344
MatFlags=0x9
TexFmt=0x0
Font=0
Text=0
TextPosFlags=0x2
TextFlags=0x0
CheckBoxWidth=0
StatesColors=0xCDBEB4FF, 0xCDBEB4FF, 0xCDBEB4FF, 0xCDBEB4FF
ToolTipText=2232
Basically, I added the new [G38 I7] section, made a few changes in the old [G38 I7] (which is now the [G38 I8] and increased the rest of the chapter numbers to reflect the insertion (i.e. old [G38 I7] became [G38 I8]). I also added some graphical work to allow for a fourth shell type and idenifying the AA and SS shells.

The button still shows up, but doesn't function as it should. I'm still thinking that the game is not looking for any menu id associated with the star shell and that is why it isn't working. But I've gotten in trouble for thinking before:rotfl: , so someone please prove me wrong and get it to work

I've uploaded the work I've done so far to http://files.filefront.com/Shell+Mod.../fileinfo.html . This include the menu.ini changes, the graphic work for the additional shell (and identifying the AA and SS shells) and the .sim files for all three guns with 50 star shells.

If anyone can get this button to function, it would be wonderful. If not, then we can just insert the star shell id for the AA, relabel the AA shell to SS and make the changes necessary to have the shells loaded for all the guns. If that is the case, though, that means that there would be no way to use the AA shels later in the war, so a little trade-off is necessary.
__________________

RSM-GIEP-Killflags-LV Tribute-Playable Elco __Peace be with you, Dave.

Digital_Trucker is offline   Reply With Quote