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

Forum Info
Forum Members: 18,537
Total Threads: 8,626
Posts: 94,205

Administrators:
DeeZire, Redemption

There are currently 103 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 06-05-2005, 04:05 PM   #1 (permalink)
Senior Member
 
Join Date: Jul 2003
Location: Germany
Posts: 303
Default Reversible Weaponset Upgrade?

Hey there,

I just wanted to know whether anyone has been able to create reversible weaponset upgrades. I am currently using a combination of OCLs and drones which doesn't work correctly. While the upgrade is removed by the killed drone, the parent unit's weaponset does not return to the original state.

I don't want to use Combatbike-Logic nor the Switch-Weapon command known from the Ranger.

So basically, is there a way to reverse a weaponset upgrade? The upgrade would be OBJECT type, of course.

Thanks for any help,

cya 2312222
2312222 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-05-2005, 07:16 PM   #2 (permalink)
Member
 
Join Date: Dec 2004
Location: USA
Posts: 38
Send a message via AIM to catman Send a message via MSN to catman
Default

Don't think so, Seems like the Ranger Switch is your best option, but to make it automatically switch back after the drone is dead shouldn't work either, Give more info about what your trying to do and i'll try to fint a way around it.
catman is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-06-2005, 02:39 AM   #3 (permalink)
Senior Member
 
Join Date: Jul 2003
Location: Germany
Posts: 303
Default

Well my main unit has these modules:

Code:
  Behavior = WeaponSetUpgrade ModuleTag_05
    TriggeredBy = Upgrade_TankGun_HEAT
  End

  Behavior = ObjectCreationUpgrade ModuleTag_06
    UpgradeObject = OCL_TankGun_HEAT
    TriggeredBy   = Upgrade_TankGun_HEAT
  End

  Behavior = ProductionUpdate ModuleTag_07
    MaxQueueEntries = 1; So you can't build multiple upgrades in the same frame
  End
So the upgrade "Upgrade_TankGun_HEAT" switches the tank's weapon to another weapon type. At the same time the dummy drone is created (currently an exact copy of the US Battledrone).

Code:
ObjectCreationList OCL_TankGun_HEAT
  CreateObject
    Offset = X:0 Y:0 Z:40
    ObjectNames = TankGun_HEAT_Dummy
    IgnorePrimaryObstacle = Yes
    Disposition = LIKE_EXISTING
    Count = 1
    RequiresLivePlayer = Yes
  End
End
The drone has that module:

Code:
  Behavior = UpgradeDie  ModuleTag_12
    ;This frees the object based upgrade for the producer object.
    DeathTypes = ALL
    UpgradeToRemove     = Upgrade_TankGun_HEAT ModuleTag_13
  End
That means whenever the drone is killed, I am just shooting it by an AA-weapon at the moment, the upgrade should be removed and the weapon restored.

Well, the upgrade is removed, but the weapon stays. So that's my problem.
2312222 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-06-2005, 02:42 PM   #4 (permalink)
Member
 
Join Date: Dec 2004
Location: USA
Posts: 38
Send a message via AIM to catman Send a message via MSN to catman
Default

Try to make an OCL that spawns the Turret with the weapon you want, and make that a second OCL that comes with that upgrade, and when that upgrade goes away, so should it, and I'm pretty sure you can't get rid of weapons upgrades but I hope sombody can prove me wrong.
catman is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-06-2005, 02:48 PM   #5 (permalink)
Senior Member
 
Join Date: Jul 2003
Location: Germany
Posts: 303
Default

I am currently trying something different, let's see whether I am successfull.

Edit: I decided to use the weapon switch method known from the Ranger. The other option is just to complicated
2312222 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-06-2005, 03:50 PM   #6 (permalink)
Member
 
Join Date: Dec 2004
Location: USA
Posts: 38
Send a message via AIM to catman Send a message via MSN to catman
Default

Yeah. thats what I thought would be the best option.
catman 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
Removing a weaponset upgrade Xenomorph Generals & Zero Hour Editing 3 03-17-2006 04:18 AM
WeaponSet Dibelius Generals & Zero Hour Editing 2 11-06-2005 01:05 PM
How to discard a WeaponSet upgrade? coolfile Generals & Zero Hour Editing 7 08-06-2004 01:40 AM
WeaponSet upgrade problems Kelso Generals & Zero Hour Editing 4 06-20-2004 01:58 PM
Multiple Weaponset upgrades. Jim-Bob Generals & Zero Hour Editing 7 07-21-2003 10:05 PM


All times are GMT -4. The time now is 11:39 AM.


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