Jump to content


Photo

How do i add Goblins to Orcpit for Mordor


  • Please log in to reply
4 replies to this topic

#1 The_Devil

The_Devil
  • Members
  • 26 posts

Posted 07 July 2011 - 12:41 AM

CommandSet MordorOrcPitCommandSet
1 = Command_ConstructMordorGoblinFighterHorde
2 = Command_ConstructMordorGoblinArcherHorde
3 = Command_ConstructMordorOrcFighterHorde
4 = Command_ConstructMordorOrcArcherHorde
5 = Command_Sell

#2 Spartan184

Spartan184

    :)

  • Project Team
  • 1,592 posts
  • Location:Moon
  • Projects:Random Modding Projects
  •  Coder, Map.ini Coder, Mapper, and Beta Tester

Posted 07 July 2011 - 12:54 AM

Um whats not working? Did you make the command button?


 

safsignature.png

 


#3 The_Devil

The_Devil
  • Members
  • 26 posts

Posted 07 July 2011 - 10:20 AM

Hm wht shoud i add to command button

#4 Spartan184

Spartan184

    :)

  • Project Team
  • 1,592 posts
  • Location:Moon
  • Projects:Random Modding Projects
  •  Coder, Map.ini Coder, Mapper, and Beta Tester

Posted 07 July 2011 - 02:32 PM

Something like this:
CommandButton Command_ConstructMordorGoblinFighterHorde 
	Command				= UNIT_BUILD
	Object				= MordorGoblinFighterHorde
	Options				= CANCELABLE 
	TextLabel			= CONTROLBAR:BuildGoblinHorde
	ButtonImage			= BMOrcPit_Horde
	ButtonBorderType	= BUILD ; Identifier for the User as to what kind of button this is
	DescriptLabel		= CONTROLBAR:ToolTipBuildGoblinHorde
	Radial				= Yes
	InPalantir	   		= Yes
	ShowProductionCount	= Yes
End
Of course add the strings "CONTROLBAR:BuildGoblinHorde" and "CONTROLBAR:ToolTipBuildGoblinHorde" to your lotr.str file.


 

safsignature.png

 


#5 The_Devil

The_Devil
  • Members
  • 26 posts

Posted 07 July 2011 - 02:41 PM

ok thx i will try tht




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users