Jump to content


Photo

Is it possible to add units or upgrades to a fortress commandset in map.ini?

commandset fortress

Best Answer Jokuc , 21 March 2019 - 01:19 PM

What do the commandbuttons and commandsets of the keep look like?

 
Thanks for replying, right now I just want to crawl into a corner
 
I should have figured but I just saw the problem occurred because of a typoo. I had written comandbutton instead of commandbutton  :facepalm:
 
Edit: I also just learned that you can change the images of commandbuttons by editing the textures of the mappedimage.ini files :O
Go to the full post


  • Please log in to reply
2 replies to this topic

#1 Jokuc

Jokuc

    Hardcore Procrastinator

  • Members
  • 187 posts
  • Location:Sweden
  •  Mapper

Posted 19 March 2019 - 08:24 PM

Hey! I want to add a new hero I created for Mordor to one of my maps. The hero is based on Elrond, but as you can't change the icons for commandbuttons in map.ini, my workaround has been to add an "empty" unit or upgrade (depending on what icon I want) to an orc pit, then spawning the hero on the map with wb scripts once that upgrade or unit has been purchased.

 

Now, I'm making some changes to my map since I want more heroes and as I've learned, adding heroes to regular buildings is not the best idea. There are multiple reasons, one of them being that the building will stop producing units if a hero and a unit is purchased at the same time.

 

So now I want to add a fortress, or rather these small citadels from bfme1 to my map and add the heroes to that. I am using the object MordorCampKeep and the heroes are working just fine. The problem is, if I add ElvenElrond to the PlayerTemplate for Mordor, the Elrond commandbutton will show up in the citadel. I want the commandbutton for the upgrade which I used earlier, but whenever I try to add it to the commandset of the CampKeep, nothing happens.

 

Is it possible to add upgrades to the commandset of a Citadel? I feel like it must be possible since the regular Fortresses have fortress upgrades. If yes, how can it be done? If no, is there any other way around this?


Edited by Jokuc, 22 March 2019 - 04:50 PM.


#2 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 20 March 2019 - 12:02 PM

What do the commandbuttons and commandsets of the keep look like?


Ridder Geel

#3 Jokuc

Jokuc

    Hardcore Procrastinator

  • Members
  • 187 posts
  • Location:Sweden
  •  Mapper

Posted 21 March 2019 - 01:19 PM   Best Answer

What do the commandbuttons and commandsets of the keep look like?

 
Thanks for replying, right now I just want to crawl into a corner
 
I should have figured but I just saw the problem occurred because of a typoo. I had written comandbutton instead of commandbutton  :facepalm:
 
Edit: I also just learned that you can change the images of commandbuttons by editing the textures of the mappedimage.ini files :O

Edited by Jokuc, 22 March 2019 - 04:51 PM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users