new buildings
#1
Posted 19 September 2009 - 07:07 PM
#2
Posted 19 September 2009 - 07:16 PM
#3
Posted 19 September 2009 - 07:43 PM
When you say unique do you mean that it has a unique name or unique name,commandset,display name,etc.Make sure the object is unique... then make a commandbutton that constructs the building... then add that commandbutton in the porters' commandset Voila, you have a new structure
#4
Posted 19 September 2009 - 08:25 PM
#5
Posted 20 September 2009 - 11:15 AM
#6
Posted 20 September 2009 - 01:50 PM
#7
Posted 20 September 2009 - 02:27 PM
Also know that porter radial buttons need to be atPost code?
7 = Porterbuild_newStructure
and beyond ...best to add it last on the list
#8
Posted 20 September 2009 - 02:54 PM
Command = DOZER_CONSTRUCT
Object = BlueBarracks
TextLabel = CONTROLBAR:ConstructBlueBarracks
ButtonImage = BDHallWarriors
ButtonBorderType = BUILD
DescriptLabel = CONTROLBAR:ToolTipConstructBlueBarracks
Radial = Yes
End
13 = Command_PorterConstructBlueBarracks
End
4 = Command_ConstructDwarvenHearth
5 = Command_ConstructDwarvenForgeWorks
6 = Command_ConstructElvenWatchTower
8 = Command_ConstructElvenMallornTree
9 = Command_ConstructElvenGreenPasture
11 = Command_ConstructElvenMirrorOfGaladriel
13 = Command_PorterConstructBlueBarracks
End
#9
Posted 20 September 2009 - 03:10 PM
Try replacing the object with one already ingame
Object = BlueBarracks
for TESTING ...like the dwarven barracks
BTW do you actually see the button in the workers buildlist ???
#10
Posted 20 September 2009 - 07:15 PM
noBTW do you actually see the button in the workers buildlist ???
#11
Posted 20 September 2009 - 07:45 PM
#12
Posted 20 September 2009 - 11:29 PM
Problem is with the button ...I replaced the object with dwarfbarracks but the button still doesn't appear
or the alloted spaces to the right of screen for buildings
Try adding the commandbutton to a wildporter who has less buttons / buildings
Try using an existing button and changing what it builds eg farm TO new_barracks
you must debug to determine if the problem is the building or button
#13
Posted 21 September 2009 - 07:12 PM
I just did this and it builds normal...Now is the problem that there isn't enouph space or is there something wrong with the commandbutton?If there is no solution I'll just add a new builderTry using an existing button and changing what it builds eg farm TO new_barracksI replaced the object with dwarfbarracks but the button still doesn't appear
you must debug to determine if the problem is the building or button
Edited by under-mountain, 21 September 2009 - 07:13 PM.
#14
Posted 21 September 2009 - 07:33 PM
I just did this and it builds normal...Now is the problem that there isn't enouph space or is there something wrong with the commandbutton?If there is no solution I'll just add a new builder
that would depend on which one of the 'Try this ... ' you did
If it is a button problem just duplicate the button codes but change the name / art / descrition etc.
If it IS a space problem....
There is a way to get more buildings but it is a bit complex to describe here ...
I gave the worker a Double commandset Toggle
that allows for TWICE the alloted buildings ...more than enough space
the codes are in my mod so check my sig and download
look at a menporter or mordor porter codes / commandset
Edited by JUS_SAURON, 22 September 2009 - 12:59 AM.