Search the Community
Showing results for tags 'button'.
Found 1 result
-
Questions about MENU .ini editing (Need advice)
Eagle114th posted a topic in Thirdwire: Strike Fighters 2 Series - Mods & Skinning Discussion
Good afternoon everyone, I have the questions about MENU coding. I am stuck on a few problems with my own menu projects: --------------------------------------------------------- 1) I saved buttons as .png, and it has an alpha background (transparent) NOTE: I am supposed to save it as .jpg right? It still shows a black background around it. I tried setting TransparentBackground= to TRUE, still won't work. --------------------------------------------------------- 2) I want to change between three image files. MouseOverAnimation=Animation_InstantAction1 MouseDownAnimation=Animation_InstantAction2 MouseDownAnimation=Animation_InstantAction3 These codes are from [InstantActionHotspot] in MAINSCREEN.INI [InstantActionHotspot] MenuItemType=HOTSPOT UseHotSpotImage=FALSE GenerateEventMessage=TRUE NormalAnimation=Animation_InstantAction1 MouseOverAnimation=Animation_InstantAction1 MouseDownAnimation=Animation_InstantAction1 Position=500,150 SelectedAnimation= DisabledAnimation= TextSetting= TextStringID= TextPosition= InfoTextSetting=InfoTextSetting InfoTextStringID=TXT_MENU_INSTANTACTION_INFO It won't change between three images. It still only display one image, even when I move a mouse cursor over it. Here is the code: [InstantActionHotspot] MenuItemType=HOTSPOT UseHotSpotImage=FALSE GenerateEventMessage=TRUE NormalAnimation=Animation_InstantAction1 MouseOverAnimation=Animation_InstantAction1 MouseDownAnimation=Animation_InstantAction1 Position=500,150 SelectedAnimation= DisabledAnimation= TextSetting= TextStringID= TextPosition= InfoTextSetting=InfoTextSetting InfoTextStringID=TXT_MENU_INSTANTACTION_INFO [Animation_InstantAction1] AnimationFilename=InstantAction1.jpg LoopingAnimation=TRUE NumFrames=1 TicksPerFrame=0 TransparentBackground=TRUE Width=150 Height=40 [Animation_InstantAction2] AnimationFilename=InstantAction1.jpg LoopingAnimation=TRUE NumFrames=1 TicksPerFrame=0 TransparentBackground=TRUE Width=150 Height=40 [Animation_InstantAction3] AnimationFilename=InstantAction1.jpg LoopingAnimation=TRUE NumFrames=1 TicksPerFrame=0 TransparentBackground=TRUE Width=150 Height=40 Any advice and tips are appreciated as always.