View Single Post
Old 02-19-2006, 01:15 AM   #1 (permalink)
Telekin
Junior Member
 
Join Date: Oct 2003
Posts: 11
Default FIXED: unbuildable heroes, please update tutorial!

I've followed the tutorials at http://the3rdage.net to add a new faction and it worked. I can play as my new faction, I've added my strings and edited my base, added new plots and new buildings. However, even though I've added my heroes to my playertemplate, they still don't show up at my citadel. The following is my playertemplate for my new faction.

Code:
; New faction
PlayerTemplate FactionNew
	Side = New ;My side name, referenced by units, structures etc
	PlayableSide = Yes ;I want to be able to use the New army
	Evil = No ;New fights on the side of Good
	StartMoney = 0
	MaxLevelMP = 34 ;Don't change this
	MaxLevelSP = 78 ;Or this
	PreferredColor = R:42 G:190 B:53
	IntrinsicSciences = SCIENCE_GOOD ;Because I'm good, i'm going to have the Good Sciences
	IntrinsicSciencesMP = SCIENCE_NEW SCIENCE_GONDOR SCIENCE_MORDOR ;I need to create this Science in Science.ini later
	SpellBook = GoodSpellBook
	SpellBookMp = NewSpellBook ;The spells you'll get in Multiplayer
	PurchaseScienceCommandSet = GoodSpellStoreCommandSet
	PurchaseScienceCommandSetMP = NewSpellStoreCommandSet
	DisplayName = INI:FactionNew ;This is so it says New in game, but we'll need to add this.
	DefaultPlayerAIType = GondorSkirmishAI
	BeaconName = MultiplayerBeacon
	LightPointsUpSound = GondorLightPointsUp
	ObjectiveAddedSound = Gui_MissionObjectiveNew
	ObjectiveCompletedSound = Gui_MissionObjectiveCompleted
	InitialUpgrades = Upgrade_NewFaction Upgrade_GondorFaction Upgrade_GandalfWhite ;Any upgrades this player template is born with.
	BuildableHeroesMP = GondorGandalf GondorBoromir GondorFaramir GondorAragornMP NewHero ;Your Hero Units for this faction go here.
	SpellStoreCurrentPowerLabel = APT:SpellStoreCurrentEvenstarPower
	SpellStoreMaximumPowerLabel = APT:SpellStoreMaximumEvenstarPower
End
As you can see, I've based my new faction on Gondor. I've also copied the Gondor castle base and edited it by changing the player to FactionNew and I've changed all the building plots to my new building foundations. The NewHero is just a copy of aragorn only renamed and the side is set to "New". This NewHero DOES work correctly if I try to create him from another faction (Rohan for example).

As you can see in my playertemplate for the new faction, I've set the buildable heroes to be gandalf, boromir, faramir, aragorn, and my new hero. Unfortunately, NONE of them show up to be built (meaning it's not just a problem with my new hero).

The heroes don't even have icons to click on my castle citadel. Does anyone see why I wouldn't be able to build any hero with my new faction? Any suggestions are most welcome!
Telekin is offline   Reply With Quote