Jump to content


Photo

Adding structures for a new factions (help)


  • Please log in to reply
6 replies to this topic

#1 TulkasTheStrong

TulkasTheStrong
  • Members
  • 8 posts
  • Location:Somewhere on the moon, maybe on the mars, but very very high
  • Projects:The Silmarillion

Posted 17 July 2013 - 03:28 PM

I have created a new faction just to see how it all works, the faction is "Fangorn" I have created it with a help of this tutorial  the3rdage.net/item-144?addview  now, I just wanted to add a few diferent  structures for a faction, I made a new fangorn porter.ini and in command set I added this:

CommandSet FangornPorterCommandSet
   1  = Command_Stop
   2  = Command_PorterExtinguishFire
   3  = Command_PorterConstructMenFarm
   4  = Command_PorterConstructMenBarracks
   5  = Command_PorterConstructMenArcheryRange
   6  = Command_PorterConstructElvenEntMoot      
   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

 

And it ends up with this error: Uknown command "Command_PorterConstructElvenEntMoot"

 

Any help guys???? Thanks!? :rolleyes:


Edited by TulkasTheStrong, 17 July 2013 - 03:29 PM.


#2 Irenë Hawnetyne

Irenë Hawnetyne

    -

  • Hosted
  • 3,073 posts

Posted 17 July 2013 - 04:06 PM

It's not Porter- it's just Command_ConstructElvenEntMoot. Look through CommandButton.ini to check if it's there in future, and if it's not, just add it. It's a pretty simple template to use.


"Everyone's a hero when there's nowhere left to run."

 

Auxiliary Skarn, 2333rd Cohort


#3 Bofur

Bofur

    The Bolicious One

  • Hosted
  • 1,766 posts
  • Location:England
  • Projects:Age of the Firstborn
  •  The Bolicious T3A Team Chamber Member

Posted 17 July 2013 - 04:11 PM

Irenë said some coding was simple, what is this blasphemy?

And yes, you should be correct, I can't check now though. But the men ones should be fine.

left64_by_obsidianlake-d5ruayp.pngAotF.pngright64_by_obsidianlake-d5ruf44.png


#4 TulkasTheStrong

TulkasTheStrong
  • Members
  • 8 posts
  • Location:Somewhere on the moon, maybe on the mars, but very very high
  • Projects:The Silmarillion

Posted 17 July 2013 - 04:25 PM

It's not Porter- it's just Command_ConstructElvenEntMoot. Look through CommandButton.ini to check if it's there in future, and if it's not, just add it. It's a pretty simple template to use.

This is the line in commandbutton.ini :

 

CommandButton Command_ConstructElvenEntMoot
  Command          = DOZER_CONSTRUCT
  Object           = ElvenEntMoot
  TextLabel        = CONTROLBAR:ConstructEntMoot
  ButtonImage      = BEEntMoot
  ButtonBorderType = BUILD
  DescriptLabel    = CONTROLBAR:ToolTipElvenEntMoot
  Radial           = Yes  
End

 

it seems that everything is ok, and I still have that error...



#5 Irenë Hawnetyne

Irenë Hawnetyne

    -

  • Hosted
  • 3,073 posts

Posted 17 July 2013 - 04:35 PM

No, in your FangornPorter CommandSet:

6  = Command_PorterConstructElvenEntMoot

should be:

6  = Command_ConstructElvenEntMoot

If that's done, it should work.


"Everyone's a hero when there's nowhere left to run."

 

Auxiliary Skarn, 2333rd Cohort


#6 TulkasTheStrong

TulkasTheStrong
  • Members
  • 8 posts
  • Location:Somewhere on the moon, maybe on the mars, but very very high
  • Projects:The Silmarillion

Posted 17 July 2013 - 05:04 PM

No, in your FangornPorter CommandSet:

6  = Command_PorterConstructElvenEntMoot

should be:

6  = Command_ConstructElvenEntMoot

If that's done, it should work.

WHAAAAAAAAAAAAT!!!!! OMG I am such a noob... sorry guys for opening a new topic for this stupidity  :cow: . Thanks Irene by the way, you are right, it works!!! :D

 

#7 Irenë Hawnetyne

Irenë Hawnetyne

    -

  • Hosted
  • 3,073 posts

Posted 17 July 2013 - 06:50 PM

Nah, easy mistake to make, it's all cool man.


"Everyone's a hero when there's nowhere left to run."

 

Auxiliary Skarn, 2333rd Cohort





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users