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

Forum Info
Forum Members: 18,617
Total Threads: 8,723
Posts: 95,213

Administrators:
DeeZire, Redemption

There are currently 34 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-19-2004, 04:52 PM   #1 (permalink)
Senior Member
 
Join Date: Jun 2003
Posts: 462
Send a message via AIM to Kelso Send a message via MSN to Kelso
Default WeaponSet upgrade problems

I was trying to make a tower that had no weapons until you did an upgrade for it. But when I click on the tower to upgrade it, the upgrade icon is grayed out and the game gives me no explanation as to why I can't purchase the upgrade. (Insufficient funds, lacking prerequisites etc). Any ideas?
Kelso is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-19-2004, 05:26 PM   #2 (permalink)
Senior Member
 
Join Date: May 2004
Posts: 181
Default

Do you have a dummy weaponset or no weaponset? I'm using a dummy weaponset and my upgrade works fine.
Capt_Pickles is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-19-2004, 11:14 PM   #3 (permalink)
Senior Member
 
Join Date: Feb 2004
Posts: 872
Default

usually that happens when the upgrade code isn't correct. I think you'll find some missing parameter or typo in the code.
Hostile is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-20-2004, 01:25 AM   #4 (permalink)
Senior Member
 
Join Date: Feb 2003
Location: USA
Posts: 306
Send a message via AIM to Vger Send a message via MSN to Vger Send a message via Yahoo to Vger
Default

In order to upgrade a weaponset you need a weaponset. Give it a fake one and make sure there are no typos, errant spaces, or tab characters in your code since they cause problems.
Vger is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-20-2004, 01:58 PM   #5 (permalink)
Senior Member
 
Join Date: Jun 2003
Posts: 462
Send a message via AIM to Kelso Send a message via MSN to Kelso
Default

Thanks, I'll give it a shot.

-UPDATE-

Gave it a default weaponset using the already coded DummyWeapon entry and it still doesn't work. I'll show the relevant code.

Quote:
DefaultConditionState
Model = ELYTower
Turret = TURRET01
TurretPitch = TURRETTEL
WeaponLaunchBone = PRIMARY WEAPONA01
WeaponLaunchBone = SECONDARY WEAPONA01
WeaponLaunchBone = TERTIARY WEAPONA01
WeaponFireFXBone = PRIMARY WEAPONA01
WeaponFireFXBone = SECONDARY WEAPONA01
WeaponFireFXBone = TERTIARY WEAPONA01
End
AliasConditionState = NIGHT

ConditionState = WEAPONSET_PLAYER_UPGRADE
Model = ELYTower
Turret = TURRET01
TurretPitch = TURRETEL
WeaponLaunchBone = PRIMARY WEAPONA01
WeaponLaunchBone = SECONDARY WEAPONA01
WeaponLaunchBone = TERTIARY WEAPONA01
WeaponFireFXBone = PRIMARY WEAPONA01
WeaponFireFXBone = SECONDARY WEAPONA01
WeaponFireFXBone = TERTIARY WEAPONA01
End
End
Quote:
WeaponSet
Conditions = None
Weapon = PRIMARY DummyWeapon
Weapon = SECONDARY DummyWeapon
Weapon = TERTIARY DummyWeapon
End
WeaponSet
Conditions = PLAYER_UPGRADE
Weapon = PRIMARY TeslaShock02; TeslaShock01 ; TeslaShock
Weapon = SECONDARY TeslaShock02; TeslaShock01 ; TeslaShock
Weapon = TERTIARY TeslaShock02; TeslaShock01 ; TeslaShock
AutoChooseSources = PRIMARY FROM_PLAYER FROM_AI FROM_SCRIPT
AutoChooseSources = SECONDARY FROM_PLAYER FROM_AI FROM_SCRIPT
AutoChooseSources = TERTIARY FROM_PLAYER FROM_AI FROM_SCRIPT
PreferredAgainst = PRIMARY VEHICLE INFANTRY
PreferredAgainst = SECONDARY VEHICLE INFANTRY
PreferredAgainst = TERTIARY VEHICLE INFANTRY
ShareWeaponReloadTime = Yes
End
Quote:
Behavior = WeaponSetUpgrade ModuleTag_15
TriggeredBy = Upgrade_ElysiumProtection
End
Quote:
Upgrade Upgrade_ElysiumProtection
DisplayName = UPGRADE:Protection
Type = OBJECT
BuildTime = 100.0
BuildCost = 750
ButtonImage = SSMineBunker
End
Kelso 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
Problems with upgrade Matt23 Generals & Zero Hour Editing 2 09-17-2006 11:45 PM
Removing a weaponset upgrade Xenomorph Generals & Zero Hour Editing 3 03-17-2006 04:18 AM
Reversible Weaponset Upgrade? 2312222 Generals & Zero Hour Editing 5 06-06-2005 03:50 PM
How to discard a WeaponSet upgrade? coolfile Generals & Zero Hour Editing 7 08-06-2004 01:40 AM
Problems with upgrade Rubra Generals & Zero Hour Editing 4 04-23-2003 12:48 PM


All times are GMT -4. The time now is 02:04 AM.


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