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

Forum Info
Forum Members: 18,644
Total Threads: 8,746
Posts: 95,530

Administrators:
DeeZire, Redemption

There are currently 19 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 05-15-2004, 04:06 AM   #1 (permalink)
Junior Member
 
Join Date: Jan 2004
Posts: 13
Default Another noob question :p

Just experimenting here. I'm trying to change the laser guided missile upgrade from an overal upgrade to an individualized upgrade. Meaning, the upgrade is available for purchase at the raptor itself, not in the airfield. This is so that if you purchased the upgrade from that raptor, only THAT raptor has the upgrade.

At the moment, all I did was removed the upgrade command from the airfield commandset and placed it in the raptor commandset.

I'm pretty sure I'm missing something but I can't figure out what. Any thoughts?
Pint0_Xtreme is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-15-2004, 05:27 AM   #2 (permalink)
Senior Member
 
Join Date: Feb 2003
Location: USA
Posts: 196
Send a message via AIM to trex238 Send a message via MSN to trex238
Default

Could you narrow the problem a bit? Is it now on the Raptor & not buyable or is buyable & it gives it to all?

If it's the first then add this tag
Code:
  Behavior = ProductionUpdate ModuleTag_XX
    MaxQueueEntries = 1; For the command set switching upgrade
  End
If it's the second I'll need to look at code.
trex238 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-15-2004, 08:11 AM   #3 (permalink)
Senior Member
 
Join Date: May 2003
Location: Eindhoven, Netherlands
Posts: 2,278
Send a message via ICQ to CodeCat Send a message via MSN to CodeCat
Default

There's a few other things too...

Change Command = PLAYER_UPGRADE to Command = OBJECT_UPGRADE in the Command_UpgradeAmericaLaserMissiles entry in CommandButton.ini.

Remove Type = OBJECT from the Upgrade_AmericaLaserMissiles entry in Upgrade.ini.

That should do it.
CodeCat is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-15-2004, 12:16 PM   #4 (permalink)
Junior Member
 
Join Date: Jan 2004
Posts: 13
Default

Interesting...

ImmoMan: Wouldn't that change things though? Like I mean, would you now need to change the Weapon Conditions of the raptor from PLAYER_UPGRADE to OBJECT_UPGRADE as well?

trex238: Okay, I'll give it a shot and add that. But for future reference, what does that tag do?
Pint0_Xtreme is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-15-2004, 01:06 PM   #5 (permalink)
Senior Member
 
Join Date: May 2003
Location: Eindhoven, Netherlands
Posts: 2,278
Send a message via ICQ to CodeCat Send a message via MSN to CodeCat
Default

Common newbie mistake, but no. For WeaponSets, PLAYER_UPGRADE means ANY upgrade. The WeaponSetUpgrade module ALWAYS triggers the PLAYER_UPGRADE WeaponSet condition, independent of whether the original upgrade was an OBJECT or PLAYER type upgrade. So the distinction between OBJECT and PLAYER is lost once the WeaponSetUpgrade module is triggered.

About trex' thingy: The tag does nothing. It's the module that does it. The ProductionUpdate module allows an object to produce other objects and upgrades, by using the right part of the command bar to display what it is currently building. Anything that you want to build with a unit, that will appear in that part while it is building, will require a ProductionUpdate module to be able to be built. If you don't have it, the build or upgrade button will be greyed out, like what happens when you don't have the prerequisites for somthing.
CodeCat is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-15-2004, 08:06 PM   #6 (permalink)
Junior Member
 
Join Date: Jan 2004
Posts: 13
Default

awesome! it works! Thanks guys!
Pint0_Xtreme 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
Noob Render Question GametagAeonFlux Generals & Zero Hour Editing 18 08-16-2004 01:55 AM
Another Noob Question GametagAeonFlux Generals & Zero Hour Editing 1 08-15-2004 09:31 PM
A really really noob question about importing w3d's to gmax Vapor Generals & Zero Hour Editing 17 07-01-2004 09:09 PM
A stupid nOOb question bullethead Red Alert 2 & Yuri's Revenge Editing 4 08-20-2003 03:47 AM
another nOOB question-- .MIX files? rotten78 Red Alert 2 & Yuri's Revenge Editing 5 01-25-2003 09:04 AM


All times are GMT -4. The time now is 10:09 PM.


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