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,669
Posts: 94,548

Administrators:
DeeZire, Redemption

There are currently 51 users online.
Partner Links

Free Credit Repair

Learn the Ticket Broker Secrets
Advertisements


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 05-24-2005, 08:29 PM   #1 (permalink)
Senior Member
 
Join Date: Feb 2004
Posts: 872
Default Commandset upgrade?

Has anyone gotten a commandset upgrade to work in BFME. No present units use it that I can think of. But it's in the game.dat file. I tried basic commandset upgrades. It does not error out but remains greyed out.

This is the behaviors:
Code:
Behavior = CommandSetUpgrade ModuleTag_SwitchToSecond
		TriggeredBy = Upgrade_GalDockCommandSet
		RemovesUpgrades = Upgrade_GalFireCommandSet
		CommandSet = GalDockCommandSet
	End

	Behavior = CommandSetUpgrade ModuleTag_SwitchToFirst
		TriggeredBy = Upgrade_GalFireCommandSet
		RemovesUpgrades = Upgrade_GalDockCommandSet Upgrade_GalFireCommandSet
		CommandSet = GalacticaCommandSet
	End
Fairly cut and dried. The upgrades that go with it:
Code:
Upgrade Upgrade_GalDockCommandSet
	DisplayName       = UPGRADE:MordorBasicTraining
	Type              = OBJECT
	;Tooltip		= TOOLTIP:MordorFireArrows
	BuildCost		= 0
	BuildTime		= 0
	ResearchSound	= CampOrcCreateRedEyeBanner
End

Upgrade Upgrade_GalFireCommandSet
	DisplayName       = UPGRADE:MordorBasicTraining
	Type              = OBJECT
	;Tooltip		= TOOLTIP:MordorFireArrows
	BuildCost		= 0
	BuildTime		= 0
	ResearchSound	= CampOrcCreateRedEyeBanner
End
Coincides just right. Finally the buttons:
Code:
CommandButton Command_SwitchtoGalDockMenu
	Command				= OBJECT_UPGRADE
	Options				= CANCELABLE
	Upgrade				= Upgrade_GalDockCommandSet 
	NeededUpgrade		= NONE;Upgrade_TechnologyGondorBasicTraining
	TextLabel			= CONTROLBAR:PurchaseUpgradeGondorBasicTraining
	ButtonImage			= BGBlacksmith_SilverTreeBanner
	ButtonBorderType	= UPGRADE
	DescriptLabel		= CONTROLBAR:ToolTipPurchaseUpgradeGondorBasicTraining
	InPalantir			= Yes
	LacksPrerequisiteLabel		= TOOLTIP:LackGondorBasicTraining
End

CommandButton Command_SwitchtoGalFireMenu
	Command				= OBJECT_UPGRADE
	Options				= CANCELABLE
	Upgrade				= Upgrade_GalFireCommandSet 
	NeededUpgrade		= NONE;Upgrade_TechnologyGondorBasicTraining
	TextLabel			= CONTROLBAR:PurchaseUpgradeGondorBasicTraining
	ButtonImage			= BGBlacksmith_SilverTreeBanner
	ButtonBorderType	= UPGRADE
	DescriptLabel		= CONTROLBAR:ToolTipPurchaseUpgradeGondorBasicTraining
	InPalantir			= Yes
	LacksPrerequisiteLabel		= TOOLTIP:LackGondorBasicTraining
End
I've tried more simplified version. Nothing seems to work. I'd like a commandset to switch between the default and the upgraded one. Even a simple commandset upgrade does ot seem to be possible. Any insight on this one?

The button shows up but greyed out. So the commandset has nothing to do with it.
Hostile is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-25-2005, 03:13 AM   #2 (permalink)
Administrator
 
DeeZire's Avatar
 
Join Date: Dec 2002
Posts: 1,913
Send a message via ICQ to DeeZire
Default

I upgraded a command set and it seemed to work fine but I couldnt get a switchable one working as I wanted - when I did one, I found that it only worked once and would never toggle back

Check your Upgrades are OBJECT type - strangely the switchable one I did worked only with PLAYER type...
DeeZire is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-25-2005, 10:26 AM   #3 (permalink)
Junior Member
 
Join Date: Apr 2005
Posts: 14
Send a message via MSN to ched
Default

can i ask how you find stuff like that in game.dat ?

guess it works with the hex editor but i only see numbers related to a letter on the table next to it, how do you guys do ? do you just browse through the 25000000000000 lines to see the word you are looking for ?
ched is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-25-2005, 03:21 PM   #4 (permalink)
Senior Member
 
Join Date: Jun 2003
Posts: 462
Send a message via AIM to Kelso Send a message via MSN to Kelso
Default

Open it in notepad and use the Find function.
Kelso is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-25-2005, 06:24 PM   #5 (permalink)
Senior Member
 
Join Date: Feb 2004
Posts: 872
Default

Use the string search function in the hex editor to find it also.
Hostile is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-26-2005, 09:04 PM   #6 (permalink)
Junior Member
 
Join Date: May 2005
Posts: 14
Default

i could never get one to work...
|MeMw| Haldir 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
Need help with Commandset Waraddict Generals & Zero Hour Editing 5 09-26-2004 04:06 AM
Question about CommandSet and .ini GametagAeonFlux Generals & Zero Hour Editing 4 05-26-2004 12:29 PM
CommandSet Upgrade Problem 4hammer Generals & Zero Hour Editing 2 05-24-2004 01:52 PM
CommandSet.ini Errors Chronomaw Generals & Zero Hour Editing 1 05-14-2003 06:56 PM
CommandSet.ini Dunenewt Generals & Zero Hour Editing 1 03-23-2003 03:43 PM


All times are GMT -4. The time now is 06:40 PM.


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