logo   login
right
Home Forums Downloads Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Forum Info
Forum Members: 18,581
Total Threads: 8,668
Posts: 94,539

Administrators:
DeeZire, Redemption

There are currently 47 users online.
Partner Links

Free Credit Repair

Learn the Ticket Broker Secrets
Advertisements

DeeZire Online > Editing Community > LOTR: Battle For Middle Earth I & II Editing » FIXED: unbuildable heroes, please update tutorial!

LOTR: Battle For Middle Earth I & II Editing Discuss any modding related issues to do with the Lord Of The Rings: Battle For Middle Earth I and II RTS games here.

Reply
 
LinkBack Thread Tools
Old 02-19-2006, 12:15 AM   #1 (permalink)
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  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-20-2006, 12:22 AM   #2 (permalink)
Junior Member
 
Join Date: Oct 2003
Posts: 11
Default FIXED, please update tutorial!

I finally figured it out. Whoever is in charge of the3rdage.net should add this to their tutorial on adding a new faction.

One vital part was left out of the tutorial when in the playertemplate.ini was specified the new faction's spell book would be "ElvesSpellBook", for example, and the commandset was defined, but never was it mentioned that in system.ini that the following code should be added:

Code:
; In system.ini
ChildObject ElvesSpellBook GoodSpellBook
	CommandSet	    = ElvesSpellBookCommandSet
End
I believe that without this segment, the engine seems to stop reading the playertemplate.ini and just ignores anything else specified about that faction (and no error messages either, silent errors are a plague!).

Someone please amend the tutorial to include the change in system.ini
Telekin is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-20-2006, 06:58 PM   #3 (permalink)
Senior Member
 
Join Date: Apr 2003
Location: Derby, UK / Den Haag, NL
Posts: 590
Default

I'll get on to looking at it, and getting it amended if need be ^^.
Ambershee is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Additional Heroes Twin Matrix LOTR: Battle For Middle Earth I & II Editing 4 01-12-2006 10:14 AM
Heroes Respawn Level DasGuteA LOTR: Battle For Middle Earth I & II Editing 3 06-02-2005 04:05 PM
Bases, Units and Heroes... Savrille LOTR: Battle For Middle Earth I & II Editing 14 03-28-2005 06:06 PM
large tutorial file (response) [UPDATE] Kelso Generals & Zero Hour Editing 13 07-15-2004 12:15 PM
NEW HEROES MORPHLING Red Alert 2 & Yuri's Revenge Editing 17 12-30-2002 08:09 AM


All times are GMT -4. The time now is 02:32 PM.


Design By: Miner Skinz.com
Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.