Jump to content


Photo

Builder more commandbuttons

builder commandbutton more

  • Please log in to reply
5 replies to this topic

#1 Tukolp

Tukolp
  • Members
  • 79 posts

Posted 06 March 2017 - 09:09 PM

Hello

 

Sorry for opening a topic for this, but I searched the topic and found no answers for my question.

 

So I as I know the builders in RotWK have 12 commanduttons slots. Is there any possibility to add a bit more slots ? Or add and arrrow which will open an another menu on the place of the menu before ?

I saw it In some mods, but i don't know how to do it.

 

Any help will be appreciated :)



#2 Tukolp

Tukolp
  • Members
  • 79 posts

Posted 07 March 2017 - 12:11 AM

I have these comandset on my builder ( I made the new commandbuttons for him, so they will work)
But I need more place for my fort and walls.

 

CommandSet IsengardPorterCommandSet
    1  = Command_Stop
    2  = Command_PorterExtinguishFire
    3  = Command_Repair
    4  = Command_PorterConstructIsengardFurnaceEdain4
    5  = Command_PorterConstructExplicitIsengardMinenschachtEdain4
    6  = Command_PorterConstructExplicitIsengardLumbermillEdain4
    7  = Command_PorterConstructExplicitIsengardTavernEdain4
    8  = Command_PorterConstructIsengardUrukPitEdain4
    9  = Command_PorterConstructIsengardWargPitEdain4
   10  = Command_PorterConstructIsengardSiegeWorksEdain4
   11  = Command_PorterConstructIsengardArmoryEdain4
   12  = Command_PorterConstructIsengardWargSentryEdain4
   13  = Command_PorterConstructIsengardBattleTowerEdain4
   14  = Command_PorterConstructExplicitIsengardStahlwerkEdain4

End



#3 Tukolp

Tukolp
  • Members
  • 79 posts

Posted 07 March 2017 - 10:20 PM

I gathered some infarmation abouth the button adding, I found this command :

Command				= TOGGLE_WEAPONSET
	Options				= TOGGLE_IMAGE_ON_WEAPONSET
	FlagsUsedForToggle	= WEAPONSET_TOGGLE_1
	TextLabel			= CONTROLBAR:ToggleIsengardPorterCommandset_1
	ButtonImage			= ChangeCommandSet
	ButtonBorderType		= ACTION
	DescriptLabel			= CONTROLBAR:ToolTipToggleIsengardPorterCommandset_1
	Radial				= Yes
	InPalantir			= No
End

But I have no idea how to use it no my builder.



#4 Ridder Geel

Ridder Geel

    Master Yelloh

  • T3A Staff
  • 10,852 posts
  • Location:The Netherlands (AKA: Holland)
  • Projects:RC Mod + SEE + RTS Engine
  •  The Dangerous T3A Team Chamber Member
  • Division:BFME
  • Job:T3A Staff

Posted 14 March 2017 - 12:33 PM

You could then use this module to change the commandset if im not mistaken (in the unit code)

    Behavior = MonitorConditionUpdate ModuleTag_NewCommandset
        ModelConditionFlags = WEAPONSET_TOGGLE_1
        ModelConditionCommandSet = NewCommanset
    End

Ridder Geel

#5 Tukolp

Tukolp
  • Members
  • 79 posts

Posted 14 March 2017 - 04:24 PM

Thanks for the help, I will try it.



#6 Tukolp

Tukolp
  • Members
  • 79 posts

Posted 27 March 2017 - 08:54 AM

It worked, Thank you.

 

Is it possible to use this command to toogle a weaponset of a building ? Maybe a fortress, to be able to use more than 32 commandbuttons, with another commandset ?






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users