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 » Need Help - Upgrades + Buildings requiring upgrades to build

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 12-30-2004, 08:27 AM   #1 (permalink)
Member
 
Join Date: Feb 2004
Posts: 41
Default Need Help - Upgrades + Buildings requiring upgrades to build

1. How do I make upgrades come into effect without having to research it on every individual unit?

2. How do I make buildings require upgrades? E.g. an upgrade is needed first to make an Armoury? (I did it in generals but can't seem to work it out in BFME)

Any help would be greatly appreciated. Thanks for your time
Azad0r is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-31-2004, 02:18 PM   #2 (permalink)
Member
 
Join Date: Feb 2004
Posts: 41
Default

I have found out how to make buildings require upgrades, but I need help with the first question alot. Please could someone spare a thought. Thanks
Azad0r is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-31-2004, 08:52 PM   #3 (permalink)
Senior Member
 
Join Date: Feb 2004
Posts: 872
Default

You should post your solution for number 2 as I am also interested in that.
Hostile is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-01-2005, 05:30 AM   #4 (permalink)
Member
 
Join Date: Feb 2004
Posts: 41
Default

To make a building require an upgrade you must enter these lines of code:

Code:
	Options				= NEED_UPGRADE CANCELABLE
	NeededUpgrade		= <insertupgradenamehere>
Heres an example of this - the haradrim palace requires the fire arrow upgrade:

Code:
CommandButton Command_ConstructMordorHaradrimPalace
  Command          = FOUNDATION_CONSTRUCT
  Object           = MordorHaradrimPalace
  Options	   = NEED_UPGRADE CANCELABLE
  NeededUpgrade    = Upgrade_TechnologyMordorFireArrows
  TextLabel        = CONTROLBAR:ConstructMordorHaradrimPalace
  ButtonImage      = BMHaradrimPalace
  ButtonBorderType = BUILD ; Identifier for the User as to what kind of button this is
  DescriptLabel    = CONTROLBAR:ToolTipMordorHaradrimPalace
  Radial           = Yes  
End
Hope this helped, but I still need the answer to question 1.
Azad0r is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-01-2005, 06:26 PM   #5 (permalink)
Administrator
 
DeeZire's Avatar
 
Join Date: Dec 2002
Posts: 1,913
Send a message via ICQ to DeeZire
Default

For question one, its quite tricky.

Most upgrades that affect units and hordes come in two stages - first you purchase the 'technology' upgrade from a structure - and second, this then allows you to purchase the 'real' upgrade for the units and hordes on an individual basis.

To make an upgrade from a structure affect all units, you will have to edit every unit and horde. Look for the upgrade modules and remove RequiresAllTriggers = Yes and change the TriggeredBy = so it includes only the Technology upgrade. Make sure the relevent Technology upgrade in Upgrade.INI is of the PLAYER type and it should work fine.
DeeZire is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-02-2005, 04:37 AM   #6 (permalink)
Member
 
Join Date: Feb 2004
Posts: 41
Default

Quote:
you will have to edit every unit and horde
Does this mean that I cannot have both types of upgrade in the same version? (e.g. generals style upgrades and BFME style upgrades)
Azad0r 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
Can unit upgrades change cost and build time as well? schtoogie Generals & Zero Hour Editing 10 12-24-2004 02:27 AM
object upgrades for buildings,needs help SJG Generals & Zero Hour Editing 11 02-14-2004 02:02 AM
Getting flags on buildings using upgrades... smurfbizkit Generals & Zero Hour Editing 20 10-29-2003 09:22 AM
Buildings upgrades JhonnyRey Red Alert 2 & Yuri's Revenge Editing 2 04-19-2003 10:26 PM
adding upgrades to buildings using Final alert 2 Ed Red Alert 2 & Yuri's Revenge Editing 10 01-20-2003 02:36 PM


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


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