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 46 users online.
Partner Links

Free Credit Repair

Learn the Ticket Broker Secrets
Advertisements


Generals & Zero Hour Editing Discuss any modding related issues to do with Generals and Zero Hour here.

Reply
 
LinkBack Thread Tools
Old 09-25-2004, 12:26 AM   #1 (permalink)
Senior Member
 
Join Date: Feb 2004
Location: China
Posts: 356
Default 2 player_upgrades conflict each other?

how to make 2 player_upgrades conflict each other, just like the america drone upgrades? or is it possible? please help, thanks.
coolfile is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-25-2004, 05:00 AM   #2 (permalink)
Senior Member
 
Join Date: Jul 2004
Location: London, UK
Posts: 376
Send a message via MSN to AntiSocialKindaGuy
Default

Isn't it just ConflictsWith = [entry(s) from Upgrade.INI] added to a module? Or is that too obvious and I'm missing something? ^_^
AntiSocialKindaGuy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-25-2004, 10:30 AM   #3 (permalink)
Senior Member
 
Join Date: Feb 2004
Location: China
Posts: 356
Default

I just tested it with the america drone upgrades by changing the command buttons from object_upgrade to play_upgrade.
coolfile is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-26-2004, 04:10 AM   #4 (permalink)
Senior Member
 
Join Date: Feb 2004
Location: China
Posts: 356
Default

Let me explain more. There are 3 upgrades to enhance 3 kinds of China Tank, BattleMaster, Gattling and Dragon. But only one of them can be applied at one time. if the BattleMaster's upgrade is applied, the others will not be available.
coolfile is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-26-2004, 05:32 AM   #5 (permalink)
Senior Member
 
Join Date: Jul 2004
Location: London, UK
Posts: 376
Send a message via MSN to AntiSocialKindaGuy
Default

So still, couldn't it just be:

ObjectCreationUpgrade
TriggeredBy = UpgradeChinaGattling
ConflictsWith = UpgradeChinaBattle UpgradeChinaDragon
UpgradeObject = OCL_ChinaGattling
End

or something along those lines? And the upgrades would be Type = OBJECT I think for it to work correctly. And if you are wanting to take them off, just use the RemovesUpgrades line.

If I'm missing the point, do tell
AntiSocialKindaGuy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-26-2004, 09:36 AM   #6 (permalink)
Senior Member
 
Join Date: Feb 2004
Location: China
Posts: 356
Default

I tried that. It doesn't work when the upgrades are PLAYER_UPGRADE.
Code:
CommandButton Command_ConstructAmericaVehicleBattleDrone
  Command       = PLAYER_UPGRADE ;OBJECT_UPGRADE
coolfile is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-27-2004, 02:14 AM   #7 (permalink)
SJG
Senior Member
 
Join Date: Dec 2002
Location: China
Posts: 180
Default

You means select one upgrade for one kind of unit and stop the player from using the other 2?
Well,use CommandSetUpgrade module for the war factory,build one upgrade and change the command buttons,which can make the player unable to build the other two upgrades
and for the upgrade's type,it is defined in upgrade.ini.the 2 types of upgrades are OBJECT and PLAYER
SJG is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-27-2004, 05:54 AM   #8 (permalink)
Senior Member
 
Join Date: Feb 2004
Location: China
Posts: 356
Default

Thanks, SJG. it just is an example that I gave, not all the codes.
coolfile 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
Final Conflict Mod Info Goldeagle Red Alert 2 & Yuri's Revenge Editing 75 10-18-2005 12:04 PM
Conflict Bosnia Monkeystuff Generals & Zero Hour Editing 11 02-18-2005 01:26 PM
Conflict: Somalia is being switched to BFME amdahlj LOTR: Battle For Middle Earth I & II Editing 6 09-12-2004 12:45 PM
Fixing artillery training/black napalm conflict - how? Sponge Generals & Zero Hour Editing 0 06-04-2003 03:49 AM
How do I make Sciences conflict? Kuja Generals & Zero Hour Editing 3 05-03-2003 08:14 PM


All times are GMT -4. The time now is 03:21 PM.


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