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,537

Administrators:
DeeZire, Redemption

There are currently 51 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 04-29-2003, 10:26 AM   #1 (permalink)
Senior Member
 
Join Date: Feb 2003
Location: USA
Posts: 853
Send a message via AIM to mastermind2003 Send a message via MSN to mastermind2003
Default Conflicting Upgrades

How do you get it so that it is possible to build two different upgrades on one unit (ex. battle drone, scout drone). I have the exact code from the Crusader that does this, and have changed it with new upgrades and such, but I have one upgrade that works, and the second that is copy paste and renamed shows up but says conflicting upgrade cannot be purchased. I have tried with the Conflicts with = tag commented out, and put in with correct upgrade names. Both ways it doesn't work. I'll post the code later, unless someone knows how to fix this first.
mastermind2003 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-29-2003, 11:26 AM   #2 (permalink)
Senior Member
 
Join Date: Dec 2002
Location: Norway
Posts: 101
Default

from what i have heard, a unit cannot have more than one upgrade.
Stone is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-29-2003, 03:03 PM   #3 (permalink)
Senior Member
 
Join Date: Feb 2003
Location: USA
Posts: 335
Send a message via MSN to Tebrey
Default

nonsense, the armor and experience upgrades still work on the unit.

Bomb trucks can upgrade to anthax and high explosive (hint here)

That should get you started
Tebrey is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-29-2003, 05:23 PM   #4 (permalink)
Senior Member
 
Join Date: Feb 2003
Location: USA
Posts: 853
Send a message via AIM to mastermind2003 Send a message via MSN to mastermind2003
Default

What I'm trying to do is get the unit to switch through multiple commandsets with drones for the downgrade. I have the logic working with one commandset, but if I add a second set the second set says "conflicting upgrade cannot be purchased" and is grayed out. I'll post a screenie if you don't understand, otherwise I'll post the code in a bit here.
mastermind2003 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-29-2003, 05:35 PM   #5 (permalink)
Member
 
Join Date: Mar 2003
Location: Ireland
Posts: 83
Default

You can only upgrade a atribute once. For example you can have multiple upgrades which change the command set but the command set can only be upgraded once. I think
Zainal is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-29-2003, 05:52 PM   #6 (permalink)
Senior Member
 
Join Date: Feb 2003
Location: USA
Posts: 853
Send a message via AIM to mastermind2003 Send a message via MSN to mastermind2003
Default

Here's my faction unit command set upgrade code:
Code:
  Behavior = ObjectCreationUpgrade ModuleTag_30
    UpgradeObject = OCL_DropRanger
    TriggeredBy   = Upgrade_DropRanger
    ConflictsWith = Upgrade_DropHumvee
  End
  Behavior = ObjectCreationUpgrade ModuleTag_31
    UpgradeObject = OCL_DropHumvee
    TriggeredBy   = Upgrade_DropHumvee
    ConflictsWith = Upgrade_DropRanger
  End

  Behavior = CommandSetUpgrade ModuleTag_40
    CommandSet = AmericaJetHerculesRangerCommandSet
    TriggeredBy   = Upgrade_RangerDropUpgrade
Upgrade_ChinaOverlordBattleBunker
  End
Behavior = CommandSetUpgrade ModuleTag_41
    CommandSet = AmericaJetHerculesHumveeCommandSet
    TriggeredBy   = Upgrade_DropRanger
 Upgrade_ChinaOverlordBattleBunker
  End
  Behavior = CommandSetUpgrade ModuleTag_42
    CommandSet = AmericaJetHerculesCommandSet
    TriggeredBy   = Upgrade_DropRanger
Upgrade_ChinaOverlordBattleBunker
  End
Behavior = CommandSetUpgrade ModuleTag_43
    CommandSet = AmericaJetHerculesCommandSet
    TriggeredBy   = Upgrade_DropHumvee
  End
The first one works, fine, along with the two ranger command set changes, but the others don't work, and thats where I get the conflicting upgrade problem.

Here's the upgrade.ini:
Code:
Upgrade Upgrade_DropRanger
  DisplayName        = UPGRADE:ScoutDrone
  Type               = OBJECT
  BuildTime          = 0.0;5.0
  BuildCost          = 0;100
  ButtonImage        = SAScout
  ResearchSound      = ScoutDroneVoiceCreate
End

Upgrade Upgrade_RangerDropUpgrade
  DisplayName        = UPGRADE:ScoutDrone
  Type               = OBJECT
  BuildTime          = 5.0;5.0
  BuildCost          = 225;100
  ButtonImage        = SAScout
  ResearchSound      = ScoutDroneVoiceCreate
End

Upgrade Upgrade_DropHumvee
  DisplayName        = UPGRADE:ScoutDrone
  Type               = OBJECT
  BuildTime          = 0.0;5.0
  BuildCost          = 0;100
  ButtonImage        = SAScout
  ResearchSound      = ScoutDroneVoiceCreate
End

Upgrade Upgrade_HumveeDropUpgrade
  DisplayName        = UPGRADE:ScoutDrone
  Type               = OBJECT
  BuildTime          = 9.0;5.0
  BuildCost          = 700;100
  ButtonImage        = SAScout
  ResearchSound      = ScoutDroneVoiceCreate
End
OCL:
Code:
ObjectCreationList OCL_AmericaDropRanger
  CreateObject
    ObjectNames = AmericaInfantryRanger
    PutInContainer = AmericaParachute
    IgnorePrimaryObstacle = Yes
    InheritsVeterancy = Yes
    Disposition = RANDOM_FORCE
    MinForceMagnitude = 10
    MaxForceMagnitude = 12
    MinForcePitch = 50
    MaxForcePitch = 60
    SpinRate = 0
    InvulnerableTime = 2000;milliseconds
    RequiresLivePlayer = Yes
  End
End
;-------------------------
ObjectCreationList OCL_DropRanger
  CreateObject
    Offset = X:-8 Y:0 Z:-5 ;Spawn at backpack offset
    ObjectNames = AmericaVehicleDropRanger
    IgnorePrimaryObstacle = Yes
    Disposition = LIKE_EXISTING
    Count = 1
    RequiresLivePlayer = Yes
  End
End

ObjectCreationList OCL_AmericaDropHumvee
  CreateObject
    ObjectNames = AmericaVehicleHumvee
    PutInContainer = AmericaParachute
    IgnorePrimaryObstacle = Yes
    InheritsVeterancy = Yes
    Disposition = RANDOM_FORCE
    MinForceMagnitude = 10
    MaxForceMagnitude = 12
    MinForcePitch = 50
    MaxForcePitch = 60
    SpinRate = 0
    InvulnerableTime = 2000;milliseconds
    RequiresLivePlayer = Yes
  End
End
;-------------------------
ObjectCreationList OCL_DropHumvee
  CreateObject
    Offset = X:-8 Y:0 Z:-5 ;Spawn at backpack offset
    ObjectNames = AmericaVehicleDropHumvee
    IgnorePrimaryObstacle = Yes
    Disposition = LIKE_EXISTING
    Count = 1
    RequiresLivePlayer = Yes
  End
End
If you need anything else to try and fix it, post.
mastermind2003 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-30-2003, 06:05 PM   #7 (permalink)
Senior Member
 
Join Date: Feb 2003
Location: USA
Posts: 853
Send a message via AIM to mastermind2003 Send a message via MSN to mastermind2003
Default

* bump?
:tard:
mastermind2003 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
RA2 upgrades tate Red Alert 2 & Yuri's Revenge Editing 17 09-29-2005 02:02 PM
Need Help - Upgrades + Buildings requiring upgrades to build Azad0r LOTR: Battle For Middle Earth I & II Editing 5 01-02-2005 04:37 AM
Conflicting Upgrade help? Oldfaq Generals & Zero Hour Editing 1 06-19-2003 02:39 AM
Conflicting Upgrades? Ozzy Generals & Zero Hour Editing 7 05-16-2003 05:41 PM
Conflicting Sciences Black_Eagle Generals & Zero Hour Editing 13 03-26-2003 02:19 PM


All times are GMT -4. The time now is 07:48 AM.


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