Jump to content
Official BF Editor Forums
Sign in to follow this  
[BGF]Tha Godfather

Weapon Selection Menu

Recommended Posts

Hey there, I have a tiny, but pretty stupid problem. I want to have the weapon selection menu back like the vanilla one. So, when you scroll through your stuff, all the items should appear already (like it is in vanilla). In BGF, the items only appear when you are selecting them. The other ones are not visible. It's hard to describe, so that's why I took a nice picture for you. :D

I want it like it is in vanilla, with all stuff already visible when you scroll through the menu. But what do I have to change back, so that it works?

menu.jpg

Share this post


Link to post
Share on other sites

I did all the HUD stuff for Pirates and although i never touched the weapon select bits other than the graphics i'm guessing its gonna be menu_server/hud/hudsetup/basic/HudElementsWeaponSelect.con - i don't have time to check but that seems a decent guess. I assume that if you just swap the vanilla version back in it should fix it back no problem.

Edited by PiratePlunder

Share this post


Link to post
Share on other sites

Lol, when i played BG2 for the first time i wanted to ask you how to hide the other icons when selecting :P I can't help you but i'd like to know what you did to change it once you got the original display back.

Edited by mschoeldgen[Xww2]

Share this post


Link to post
Share on other sites

It looks like the ItemSlotXSelected nodes were deleted. If you're lucky, they'll be rem'd out (so just remove the rems in front of each line, or the beginrem ... endrem block around them.) If not, it should be quite easy to copy them from the original. Easier still would be to grab the original BF2 HudElementsWeaponSelect.con and delete all the *BackFaded and *BackActive nodes to get rid of the solid background colours.

Share this post


Link to post
Share on other sites

Replaced it with the vanilla one now and it works. Thank you mates.

@mschoeldgen:

Well, I guess your question has been answered already. But if you still need the code of the old file:

hudBuilder.createTransformNode			IngameHud ItemSelectionHud 658 141 140 420
hudBuilder.setNodeShowVariable			ShowItemSelect
hudBuilder.setNodeInTime 			0.3
hudBuilder.setNodeOutTime 			0.3
hudBuilder.addNodeAlphaShowEffect	

rem -----------------------------------------Weapon 7------------------------------------------------------------------

hudBuilder.createTransformNode			ItemSelectionHud ItemSlot7Active 0 84 140 420
hudBuilder.setNodeShowVariable			ItemSlot7Active

rem --------------------------------------------not selected -------------------------------------------------------------

hudBuilder.createSplitNode			ItemSlot7Active ItemSlot7NotSelected
hudBuilder.setNodeLogicShowVariable		  NOT ItemSelectActive 7
hudBuilder.setNodeInTime 			0.2
hudBuilder.setNodeOutTime 			0
hudBuilder.addNodeMoveShowEffect		0 15

hudBuilder.createPictureNode 			ItemSlot7NotSelected PlayerWeaponIcon7BackFaded  0 0 140 40
hudBuilder.setnodeColor 			1 1 1 0

hudBuilder.createPictureNode 			ItemSlot7NotSelected PlayerWeaponIcon7NotSelected 0 0 140 40
hudBuilder.setPictureNodeVariableTexture 	Item7Icon
hudBuilder.setnodeColor 			1 1 1 0

rem --------------------------------------------selected---------------------------------------------------------------

hudBuilder.createSplitNode			ItemSlot7Active ItemSlot7Selected
hudBuilder.setNodeLogicShowVariable		  EQUAL ItemSelectActive 7
hudBuilder.setNodeInTime 			0.2
hudBuilder.setNodeOutTime 			0
hudBuilder.addNodeMoveShowEffect		3.14 15

hudBuilder.createPictureNode 			ItemSlot7Selected PlayerWeaponIcon7BackActive -20 0 140 40
hudBuilder.setnodeColor 			1 1 1 0

hudBuilder.createPictureNode 			ItemSlot7Selected PlayerWeaponIcon7Selected -20 0 140 40
hudBuilder.setPictureNodeVariableTexture 	Item7Icon

rem -----------------------------------------Weapon 6------------------------------------------------------------------

hudBuilder.createTransformNode			ItemSelectionHud ItemSlot6Active 0 126 140 420
hudBuilder.setNodeShowVariable			ItemSlot6Active

rem --------------------------------------------not selected -------------------------------------------------------------

hudBuilder.createSplitNode			ItemSlot6Active ItemSlot6NotSelected
hudBuilder.setNodeLogicShowVariable		  NOT ItemSelectActive 6
hudBuilder.setNodeInTime 			0.2
hudBuilder.setNodeOutTime 			0 
hudBuilder.addNodeMoveShowEffect		0 15

hudBuilder.createPictureNode 			ItemSlot6NotSelected PlayerWeaponIcon6BackFaded  0 0 140 40
hudBuilder.setnodeColor 			1 1 1 0

hudBuilder.createPictureNode 			ItemSlot6NotSelected PlayerWeaponIcon6NotSelected 0 0 140 40
hudBuilder.setPictureNodeVariableTexture 	Item6Icon
hudBuilder.setnodeColor 			1 1 1 0

rem --------------------------------------------selected---------------------------------------------------------------

hudBuilder.createSplitNode			ItemSlot6Active ItemSlot6Selected
hudBuilder.setNodeLogicShowVariable		  EQUAL ItemSelectActive 6
hudBuilder.setNodeInTime 			0.2
hudBuilder.setNodeOutTime 			0
hudBuilder.addNodeMoveShowEffect		3.14 15

hudBuilder.createPictureNode 			ItemSlot6Selected PlayerWeaponIcon6BackActive -20 0 140 40
hudBuilder.setnodeColor 			1 1 1 0

hudBuilder.createPictureNode 			ItemSlot6Selected PlayerWeaponIcon6Selected -20 0 140 40
hudBuilder.setPictureNodeVariableTexture 	Item6Icon

rem -----------------------------------------Weapon 5------------------------------------------------------------------

hudBuilder.createTransformNode			ItemSelectionHud ItemSlot5Active 0 168 140 420
hudBuilder.setNodeShowVariable			ItemSlot5Active

rem --------------------------------------------not selected -------------------------------------------------------------

hudBuilder.createSplitNode			ItemSlot5Active ItemSlot5NotSelected
hudBuilder.setNodeLogicShowVariable		  NOT ItemSelectActive 5
hudBuilder.setNodeInTime 			0.2
hudBuilder.setNodeOutTime 			0 
hudBuilder.addNodeMoveShowEffect		0 15

hudBuilder.createPictureNode 			ItemSlot5NotSelected PlayerWeaponIcon5BackFaded 0 0 140 40
hudBuilder.setnodeColor 			1 1 1 0

hudBuilder.createPictureNode 			ItemSlot5NotSelected PlayerWeaponIcon5NotSelected 0 0 140 40
hudBuilder.setPictureNodeVariableTexture 	Item5Icon
hudBuilder.setnodeColor 			1 1 1 0

rem --------------------------------------------selected---------------------------------------------------------------

hudBuilder.createSplitNode			ItemSlot5Active ItemSlot5Selected
hudBuilder.setNodeLogicShowVariable		  EQUAL ItemSelectActive 5
hudBuilder.setNodeInTime 			0.2
hudBuilder.setNodeOutTime 			0
hudBuilder.addNodeMoveShowEffect		3.14 15

hudBuilder.createPictureNode 			ItemSlot5Selected PlayerWeaponIcon5BackActive -20 0 140 40
hudBuilder.setnodeColor 			1 1 1 0

hudBuilder.createPictureNode 			ItemSlot5Selected PlayerWeaponIcon5Selected -20 0 140 40
hudBuilder.setPictureNodeVariableTexture 	Item5Icon

rem -----------------------------------------Weapon 4------------------------------------------------------------------

hudBuilder.createTransformNode			ItemSelectionHud ItemSlot4Active 0 210 140 420
hudBuilder.setNodeShowVariable			ItemSlot4Active

rem --------------------------------------------not selected -------------------------------------------------------------

hudBuilder.createSplitNode			ItemSlot4Active ItemSlot4NotSelected
hudBuilder.setNodeLogicShowVariable		  NOT ItemSelectActive 4
hudBuilder.setNodeInTime 			0.2
hudBuilder.setNodeOutTime 			0 
hudBuilder.addNodeMoveShowEffect		0 15

hudBuilder.createPictureNode 			ItemSlot4NotSelected PlayerWeaponIcon4BackFaded  0 0 140 40
hudBuilder.setnodeColor 			1 1 1 0

hudBuilder.createPictureNode 			ItemSlot4NotSelected PlayerWeaponIcon4NotSelected 0 0 140 40
hudBuilder.setPictureNodeVariableTexture 	Item4Icon
hudBuilder.setnodeColor 			1 1 1 0

rem --------------------------------------------selected---------------------------------------------------------------

hudBuilder.createSplitNode			ItemSlot4Active ItemSlot4Selected
hudBuilder.setNodeLogicShowVariable		  EQUAL ItemSelectActive 4
hudBuilder.setNodeInTime 			0.2
hudBuilder.setNodeOutTime 			0
hudBuilder.addNodeMoveShowEffect		3.14 15

hudBuilder.createPictureNode 			ItemSlot4Selected PlayerWeaponIcon4BackActive -20 0 140 40
hudBuilder.setnodeColor 			1 1 1 0

hudBuilder.createPictureNode 			ItemSlot4Selected PlayerWeaponIcon4Selected -20 0 140 40
hudBuilder.setPictureNodeVariableTexture 	Item4Icon

rem -----------------------------------------Weapon 3------------------------------------------------------------------

hudBuilder.createTransformNode			ItemSelectionHud ItemSlot3Active 0 252 140 420
hudBuilder.setNodeShowVariable			ItemSlot3Active

rem --------------------------------------------not selected -------------------------------------------------------------

hudBuilder.createSplitNode			ItemSlot3Active ItemSlot3NotSelected
hudBuilder.setNodeLogicShowVariable		  NOT ItemSelectActive 3
hudBuilder.setNodeInTime 			0.2
hudBuilder.setNodeOutTime 			0 
hudBuilder.addNodeMoveShowEffect		0 0

hudBuilder.createPictureNode 			ItemSlot3NotSelected PlayerWeaponIcon3BackFaded  0 0 40 40
hudBuilder.setnodeColor 			1 1 1 0

hudBuilder.createPictureNode 			ItemSlot3NotSelected PlayerWeaponIcon3NotSelected 0 0 40 40
hudBuilder.setPictureNodeVariableTexture 	Item3Icon
hudBuilder.setnodeColor 			1 1 1 0

rem --------------------------------------------selected---------------------------------------------------------------

hudBuilder.createSplitNode			ItemSlot3Active ItemSlot3Selected
hudBuilder.setNodeLogicShowVariable		  EQUAL ItemSelectActive 3
hudBuilder.setNodeInTime 			0.2
hudBuilder.setNodeOutTime 			0 
hudBuilder.addNodeMoveShowEffect		3.14 15

hudBuilder.createPictureNode 			ItemSlot3Selected PlayerWeaponIcon3BackActive -20 0 140 40
hudBuilder.setnodeColor 			1 1 1 0
hudBuilder.setNodeLogicShowVariable		  EQUAL ItemSelectActive 3

hudBuilder.createPictureNode 			ItemSlot3Selected PlayerWeaponIcon3Selected -20 0 140 40
hudBuilder.setPictureNodeVariableTexture 	Item3Icon

rem -----------------------------------------Weapon 2------------------------------------------------------------------

hudBuilder.createTransformNode			ItemSelectionHud ItemSlot2Active 0 294 140 420
hudBuilder.setNodeShowVariable			ItemSlot2Active


rem --------------------------------------------not selected -------------------------------------------------------------

hudBuilder.createSplitNode			ItemSlot2Active ItemSlot2NotSelected
hudBuilder.setNodeLogicShowVariable		  NOT ItemSelectActive 2
hudBuilder.setNodeInTime 			0.2
hudBuilder.setNodeOutTime 			0 
hudBuilder.addNodeMoveShowEffect		0 15

hudBuilder.createPictureNode 			ItemSlot2NotSelected PlayerWeaponIcon2BackFaded  0 0 140 40
hudBuilder.setnodeColor 			1 1 1 0

hudBuilder.createPictureNode 			ItemSlot2NotSelected PlayerWeaponIcon2NotSelected 0 0 140 40
hudBuilder.setPictureNodeVariableTexture 	Item2Icon
hudBuilder.setnodeColor 			1 1 1 0

rem --------------------------------------------selected---------------------------------------------------------------

hudBuilder.createSplitNode			ItemSlot2Active ItemSlot2Selected
hudBuilder.setNodeLogicShowVariable		  EQUAL ItemSelectActive 2
hudBuilder.setNodeInTime 			0.2
hudBuilder.setNodeOutTime 			0 
hudBuilder.addNodeMoveShowEffect		3.14 15

hudBuilder.createPictureNode 			ItemSlot2Selected PlayerWeaponIcon2BackActive -20 0 140 40
hudBuilder.setnodeColor 			1 1 1 0
hudBuilder.setNodeLogicShowVariable		  EQUAL ItemSelectActive 2

hudBuilder.createPictureNode 			ItemSlot2Selected PlayerWeaponIcon2Selected -20 0 140 40
hudBuilder.setPictureNodeVariableTexture 	Item2Icon

rem -----------------------------------------Weapon 1------------------------------------------------------------------

hudBuilder.createTransformNode			ItemSelectionHud ItemSlot1Active 0 336 140 420
hudBuilder.setNodeShowVariable			ItemSlot1Active

rem --------------------------------------------not selected -------------------------------------------------------------

hudBuilder.createSplitNode			ItemSlot1Active ItemSlot1NotSelected
hudBuilder.setNodeLogicShowVariable		  NOT ItemSelectActive 1
hudBuilder.setNodeInTime 			0.2
hudBuilder.setNodeOutTime 			0
hudBuilder.addNodeMoveShowEffect		0 15

hudBuilder.createPictureNode 			ItemSlot1NotSelected PlayerWeaponIcon1BackFaded  0 0 140 40
hudBuilder.setnodeColor 			1 1 1 0

hudBuilder.createPictureNode 			ItemSlot1NotSelected PlayerWeaponIcon1NotSelected 0 0 140 40
hudBuilder.setPictureNodeVariableTexture 	Item1Icon
hudBuilder.setnodeColor 			1 1 1 0

rem --------------------------------------------selected---------------------------------------------------------------

hudBuilder.createSplitNode			ItemSlot1Active ItemSlot1Selected
hudBuilder.setNodeLogicShowVariable		  EQUAL ItemSelectActive 1
hudBuilder.setNodeInTime 			0.2
hudBuilder.setNodeOutTime 			0 
hudBuilder.addNodeMoveShowEffect		3.14 15

hudBuilder.createPictureNode 			ItemSlot1Selected PlayerWeaponIcon1BackActive -20 0 140 40
hudBuilder.setnodeColor 			1 1 1 0
hudBuilder.setNodeLogicShowVariable		  EQUAL ItemSelectActive 1

hudBuilder.createPictureNode 			ItemSlot1Selected PlayerWeaponIcon1Selected -20 0 140 40
hudBuilder.setPictureNodeVariableTexture 	Item1Icon

rem -----------------------------------------Weapon 0------------------------------------------------------------------

hudBuilder.createTransformNode			ItemSelectionHud ItemSlot0Active 0 378 140 420
hudBuilder.setNodeShowVariable			ItemSlot0Active

rem --------------------------------------------not selected -------------------------------------------------------------

hudBuilder.createSplitNode			ItemSlot0Active ItemSlot0NotSelected
hudBuilder.setNodeLogicShowVariable		  NOT ItemSelectActive 0
hudBuilder.setNodeInTime 			0.2
hudBuilder.setNodeOutTime 			0 
hudBuilder.addNodeMoveShowEffect		0 15

hudBuilder.createPictureNode 			ItemSlot0NotSelected PlayerWeaponIcon0BackFaded  0 0 140 40
hudBuilder.setnodeColor 			1 1 1 0

hudBuilder.createPictureNode 			ItemSlot0NotSelected PlayerWeaponIcon0NotSelected 0 0 140 40
hudBuilder.setPictureNodeVariableTexture 	Item0Icon
hudBuilder.setnodeColor 			1 1 1 0

rem --------------------------------------------selected---------------------------------------------------------------

hudBuilder.createSplitNode			ItemSlot0Active ItemSlot0Selected
hudBuilder.setNodeLogicShowVariable		  EQUAL ItemSelectActive 0
hudBuilder.setNodeInTime 			0.2
hudBuilder.setNodeOutTime 			0 
hudBuilder.addNodeMoveShowEffect		3.14 15

hudBuilder.createPictureNode 			ItemSlot0Selected PlayerWeaponIcon0BackActive -20 0 140 40
hudBuilder.setnodeColor 			1 1 1 0
hudBuilder.setNodeLogicShowVariable		  EQUAL ItemSelectActive 0

hudBuilder.createPictureNode 			ItemSlot0Selected PlayerWeaponIcon0Selected -20 0 140 40
hudBuilder.setPictureNodeVariableTexture 	Item0Icon

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...