Jump to content


Photo

Palantir Buttons

palantir porter builder more building slots

  • Please log in to reply
2 replies to this topic

#1 King Arveleg

King Arveleg
  • Members
  • 69 posts
  • Location:Fornost
  • Projects:Arnor & Gondor & Rohan ,Kingdom of Arnor

Posted 01 June 2018 - 08:03 PM

Greetings to you all.

 

This is the command set for Men's porter:

CommandSet MenPorterCommandSet 
   1  = Command_Stop
   2  = Command_PorterExtinguishFire
   3  = Command_PorterConstructMenFarm
   4  = Command_PorterConstructMenBarracks
   5  = Command_PorterConstructMenArcheryRange
   6  = Command_PorterConstructMenStable
   7  = Command_PorterConstructMenWorkshop
   8  = Command_PorterConstructMenSentryTower
   9  = Command_PorterConstructMenWell
   10 = Command_PorterConstructMenStatue
   11 = Command_PorterConstructMenBlacksmith
   12 = Command_PorterConstructMenMarketPlace
   13 = Command_PorterConstructMenWallHub
   14 = Command_PorterConstructMenFortress

End

Command_Stop and Command_PorterExtinguishFire appears as buttons in the palantir while the rest appear on the right side of the screen.

So my question is how can I add a building to the porter's palantir options?  I don't want to replace existing buildings or add new buttons. 

 

Any help is appreciated.

Thanks.


Edited by King Arveleg, 01 June 2018 - 08:04 PM.


#2 Mathijs

Mathijs

    Post-modern Shaman

  • Network Leaders
  • 13,756 posts
  • Projects:Age of the Ring
  • Division:Revora
  • Job:Leader

Posted 01 June 2018 - 09:12 PM

Take a look at the AotR Gondor porter.


No fuel left for the pilgrims


#3 King Arveleg

King Arveleg
  • Members
  • 69 posts
  • Location:Fornost
  • Projects:Arnor & Gondor & Rohan ,Kingdom of Arnor

Posted 02 June 2018 - 04:49 PM

Thanks, Mathijs. I looked into it. 

 

Then, I made a new button.

CommandButton Command_ConstructEregionForgePalantir
Command          = DOZER_CONSTRUCT
Object           = EregionForge
TextLabel        = CONTROLBAR:ConstructEregionForge
ButtonImage      = BEEregionForge
ButtonBorderType = BUILD
DescriptLabel    = CONTROLBAR:ToolTipEregionForge
Radial           = No
InPalantir = Yes
  
End

Then added it to the commandset.

CommandSet MenPorterCommandSet 
   1  = Command_Stop
   2  = Command_PorterExtinguishFire
   3  = Command_ConstructEregionForgePalantir
   4  = Command_PorterConstructMenFarm
   5  = Command_PorterConstructMenBarracks
   6  = Command_PorterConstructMenArcheryRange
   7  = Command_PorterConstructMenStable
   8  = Command_PorterConstructMenWorkshop
   9  = Command_PorterConstructMenSentryTower
   10 = Command_PorterConstructMenWell
   11 = Command_PorterConstructMenStatue
   12 = Command_PorterConstructMenBlacksmith
   13 = Command_PorterConstructMenMarketPlace
   14 = Command_PorterConstructMenWallHub
   15 = Command_PorterConstructMenFortress

End

It appeared in the builder\porter Palantir buttons, but it was grey, and I couldn't build it. Any idea how to fix this?


Edited by King Arveleg, 02 June 2018 - 04:50 PM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users