 |
Forum Info
|
 |
Forum Members: 18,617
Total Threads: 8,723
Posts: 95,213
Administrators:
DeeZire, Redemption
There are currently 34 users online.
|
 |
Partner Links
|
 |
 |
Advertisements
|
 |
|
| Generals & Zero Hour Editing Discuss any modding related issues to do with Generals and Zero Hour here. |
07-25-2005, 10:44 AM
|
#1 (permalink)
|
|
Senior Member
Join Date: Oct 2003
Location: In front of my computer...
Posts: 215
|
Oil Derrick only gives $$$ if you have a supply center.
Can this be done?
|
|
|
07-25-2005, 01:55 PM
|
#2 (permalink)
|
|
Senior Member
Join Date: Jun 2003
Location: Germany
Posts: 363
|
I think that's not possible :/
|
|
|
07-25-2005, 02:27 PM
|
#3 (permalink)
|
|
Senior Member
Join Date: Aug 2003
Posts: 134
|
You could do it, but then you would have to sacrifice the power system by making the supply center provide power and make the tech buildings require power. However, you would need to have all your other buildings not use/generate power.
|
|
|
07-25-2005, 02:30 PM
|
#4 (permalink)
|
|
Senior Member
Join Date: Oct 2003
Location: In front of my computer...
Posts: 215
|
Thanks, that really doesn't work too well for what i want though, what i was trying to do was make an Ore Purifier type thing.
Would upgrades like the supplylines upgrade work there?
Like have the Purifier grant an upgrade on creation then remove it when sold or destroyed?
|
|
|
07-25-2005, 04:05 PM
|
#5 (permalink)
|
|
Senior Member
Join Date: Aug 2003
Posts: 134
|
Check the drone code to find out how to remove the upgrade and supplylines upgrade does effect oil derricks, check the module for autogeneration of money. I actually don't have zh installed since im low on hd space, otherwise I would check for you.
|
|
|
07-25-2005, 04:21 PM
|
#6 (permalink)
|
|
Senior Member
Join Date: Oct 2003
Location: In front of my computer...
Posts: 215
|
Ok, thanks. It seems to be simple enough.
Simple, but the code I use doesn't work:
Behavior = GrantUpgradeCreate ModuleTag_97
UpgradeToGrant = Upgrade_AmericaSupplyLines
ExemptStatus = UNDER_CONSTRUCTION
End
Behavior = UpgradeDie ModuleTag_99
;This frees the object based upgrade for the producer object.
DeathTypes = ALL
UpgradeToRemove = Upgrade_AmericaSupplyLines ModuleTag_98
End
When the building is sold or destroyed the upgrade doesn't deactivate, so I still get the bonus supply value.
|
|
|
07-25-2005, 05:04 PM
|
#7 (permalink)
|
|
Senior Member
Join Date: Jun 2003
Location: Germany
Posts: 363
|
try to change the Upgrade_AmericaSupplyLines from PLAYER_UPGRADE to OBJECT_UPGRADE.
|
|
|
07-25-2005, 05:05 PM
|
#8 (permalink)
|
|
Senior Member
Join Date: Oct 2003
Location: In front of my computer...
Posts: 215
|
Ok, one question though, would that cause it only to affect the Strat. Center or not?
EDIT: Yea, it has no effect on anything now, this might be a dead end.
|
|
|
07-26-2005, 06:06 PM
|
#9 (permalink)
|
|
Senior Member
Join Date: Oct 2003
Location: In front of my computer...
Posts: 215
|
Well, since this isn't working too well; is it possible to have a supply gatherer that can only dock at one resoure building, like chinnoks only dock at American Supply Center, Chinese Supply Trucks only dock at Chinese supply center, GLA Worker only dock at Supply Stash?
|
|
|
07-26-2005, 08:20 PM
|
#10 (permalink)
|
|
Senior Member
Join Date: Jan 2004
Posts: 128
|
chinooks, supply trucks and workers can dock at any supply center it doesnt matter if its american or chinese or gla supply stash as long as ure building has FS_SUPPLY_CENTER i think its that ,i'm prety sure, so any thing that gatters can dock at it so it wont work ether :/
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -4. The time now is 03:15 PM.
|