Jump to content


Photo

Purchasing Heroes


  • Please log in to reply
7 replies to this topic

#1 Vahagn

Vahagn
  • Members
  • 126 posts

Posted 23 February 2013 - 12:19 PM

Hey guys! I'm trying to add Legolas to the Men Faction, so he can be purchased like all the other ones. But I experienced some problems, so I'm posting the things I changed, in hope that someone will help. Ok, I went to playertemplate.ini and added "ElvenLegolas" to the buildable heroes of the Men Faction, so now it looks like this:
 

BuildableHeroesMP		= CreateAHero RohanEowyn RohanEomer GondorBoromir RohanTheoden GondorFaramir GondorAragornMP GondorGandalf ElvenLegolas

 

So, there should be 9 heroes visible when I click on "Heroes" section, one of them being the CaH. But the problem now is that when I start the game, I can't see Gandalf's icon, to purchase him. However, when I recruit anyone of the Heroes, Gandalf's icon comes back but Aragorn's disappears. After that if I recruit Gandalf, the icon of Faramir disappears and so forth. I don't get what I did wrong. Please, help.



#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 23 February 2013 - 12:39 PM

Post the men fortress's commandset, and then I should be able to explain what you need to do :)

Most likely you need to add a revive button in order to have enough place for all the heroes :D

This has been asked before though, ill see if i can find the topic...

 

---There you go lad, this is what you need to do (its for the mordor fortress, but the same idea applies to men, all thats different is the commandset):

http://forums.revora...ts-to-fortress/

 

You need to add more revival buttons to the commandset of the men fortress, and then increase the hero selection button range by 1 or more, depending on how many buttons you add :)

If you have any more questions, let me know :)


Edited by Ridder Geel, 23 February 2013 - 12:44 PM.

Ridder Geel

#3 Vahagn

Vahagn
  • Members
  • 126 posts

Posted 23 February 2013 - 02:15 PM

CommandSet MenFortressCommandSet
	InitialVisible = 7
	//Main Menu
	1	= Command_ConstructMenPorter
;	2	= Command_ConstructGondorKnightsofDolHorde
	2   	= Command_SelectRevivablesMenFortress	
	3	= Command_FireWeaponMenFortressBoilingOil
	4	= Command_SpecialAbilityIvoryTowerVision
	6	= Command_Sell
	5   	= Command_SelectUpgradesMenFortress

	//Upgrades Menu
	8	= Command_PurchaseUpgradeMenFortressBanners
	9	= Command_PurchaseUpgradeMenFortressHouseOfHealing
	10	= Command_PurchaseUpgradeMenFortressFlamingMunitions
	11	= Command_PurchaseUpgradeMenFortressBoilingOil
	12	= Command_PurchaseUpgradeMenFortressNumenorStonework
	13	= Command_PurchaseUpgradeMenFortressIvoryTower
	14	= Command_RadialBack

	//Hero Menu
	15	= Command_RingHeroReviveSlot
	16	= Command_CreateAHeroReviveSlot		// Note we also need an extra slot for the Create A Hero
	17	= Command_GenericReviveSlot1		//Revives any hero. keep them UNIQUE within the same commandset! 
	18	= Command_GenericReviveSlot2		
	19	= Command_GenericReviveSlot3		
	20	= Command_GenericReviveSlot4		
	21	= Command_GenericReviveSlot5		
	22	= Command_GenericReviveSlot6		
	23	= Command_GenericReviveSlot7		
	24	= Command_RadialBack				
End

 

Here's my commandset of the fortress. I'm sorry but I didn't understand what I have to do...  :unsure:  :blush:



#4 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 23 February 2013 - 02:48 PM

That's ok :p

Check the commandbutton ini for Command_GenericReviveSlot8, if it's there, add it as number 24 on the button list, and change the radialback to 25.

Let me know what the result there is, this way we do it step by step :D


Ridder Geel

#5 Vahagn

Vahagn
  • Members
  • 126 posts

Posted 23 February 2013 - 03:29 PM

Hey Ridder! Thanks for helping! Actually, I kinda could solve the problem but I got another one!  :laugh: Alright, I changed that //Hero Menu block a bit, so now it looks like you said!
 

//Hero Menu
	15	= Command_RingHeroReviveSlot
	16	= Command_CreateAHeroReviveSlot		// Note we also need an extra slot for the Create A Hero
	17	= Command_GenericReviveSlot1		//Revives any hero. keep them UNIQUE within the same commandset! 
	18	= Command_GenericReviveSlot2		
	19	= Command_GenericReviveSlot3		
	20	= Command_GenericReviveSlot4		
	21	= Command_GenericReviveSlot5		
	22	= Command_GenericReviveSlot6		
	23	= Command_GenericReviveSlot7
	24 	= Command_GenericReviveSlot8
	25	= Command_RadialBack				
End

 

I checked commandbutton, there was a ReviveSlot8 there. Now, I see all the heroes but the "Back" button is gone instead!  :whatoa:



#6 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 23 February 2013 - 03:35 PM

yep. that was the next step :D

Find this button:

Command_SelectRevivablesMenFortress

and increase the CommandRangeCount by 1 :)


Ridder Geel

#7 Vahagn

Vahagn
  • Members
  • 126 posts

Posted 23 February 2013 - 06:20 PM

Hey! I did it! Works perfectly now! I also added Gandalf to the Elven Faction with these hints you gave me! Thank you very much!



#8 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 23 February 2013 - 06:24 PM

No problem :)

Whenever you run into something you can't solve, come here :D


Ridder Geel




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users