 |
Forum Info
|
 |
Forum Members: 18,617
Total Threads: 8,723
Posts: 95,217
Administrators:
DeeZire, Redemption
There are currently 42 users online.
|
 |
Partner Links
|
 |
 |
Advertisements
|
 |
|
| Generals & Zero Hour Editing Discuss any modding related issues to do with Generals and Zero Hour here. |
02-09-2004, 12:35 AM
|
#1 (permalink)
|
|
Senior Member
Join Date: Dec 2002
Location: China
Posts: 180
|
object upgrades for buildings,needs help
I got the idea to upgrade a defense building,but i failed when doing that experiment.
It's like the overlord,but this time it's on a building,here's the code i made for it.
Behavior = ObjectCreationUpgrade ModuleTag_07
UpgradeObject = OCL_OverlordGattlingCannon
TriggeredBy = Upgrade_ChinaOverlordGattlingCannon
ConflictsWith = Upgrade_ChinaOverlordPropagandaTower Upgrade_ChinaOverlordBattleBunker
End
Behavior = ObjectCreationUpgrade ModuleTag_08
UpgradeObject = OCL_OverlordPropagandaTower
TriggeredBy = Upgrade_ChinaOverlordPropagandaTower
ConflictsWith = Upgrade_ChinaOverlordGattlingCannon Upgrade_ChinaOverlordBattleBunker
End
Behavior = ObjectCreationUpgrade ModuleTag_09
UpgradeObject = OCL_OverlordBattleBunker
TriggeredBy = Upgrade_ChinaOverlordBattleBunker
ConflictsWith = Upgrade_ChinaOverlordGattlingCannon Upgrade_ChinaOverlordPropagandaTower
End
Behavior = CommandSetUpgrade ModuleTag_11
CommandSet = ChinaTankOverlordGattlingCannonCommandSet
TriggeredBy = Upgrade_ChinaOverlordGattlingCannon
ConflictsWith = Upgrade_ChinaOverlordPropagandaTower Upgrade_ChinaOverlordBattleBunker
End
Behavior = CommandSetUpgrade ModuleTag_12
CommandSet = ChinaTankOverlordPropagandaTowerCommandSet
TriggeredBy = Upgrade_ChinaOverlordPropagandaTower
ConflictsWith = Upgrade_ChinaOverlordGattlingCannon Upgrade_ChinaOverlordBattleBunker
End
Behavior = CommandSetUpgrade ModuleTag_13
CommandSet = ChinaTankOverlordBattleBunkerCommandSet
TriggeredBy = Upgrade_ChinaOverlordBattleBunker
ConflictsWith = Upgrade_ChinaOverlordGattlingCannon Upgrade_ChinaOverlordPropagandaTower
End
(here i only use the upgrades of the overlord for making it easier when tweaking)
but when i enter the game and try,i found there's no effect.could anyone point out where the problem is?Thanks.
|
|
|
02-09-2004, 02:14 AM
|
#2 (permalink)
|
|
Senior Member
Join Date: Sep 2003
Location: the mighty planet of doom (NZ)
Posts: 269
|
good idea but i cant see where you went wrong
i dont even see any difference
but it could be that like the drones they update there position more often than the buildings
or that there is a fixed place for the upgrades to mount on the over lord that the building lacks
|
|
|
02-09-2004, 03:28 AM
|
#3 (permalink)
|
|
Senior Member
Join Date: May 2003
Location: Eindhoven, Netherlands
Posts: 2,278
|
Did you give the building a transport slot like the Overlord?
|
|
|
02-09-2004, 04:03 AM
|
#4 (permalink)
|
|
Senior Member
Join Date: Feb 2004
Location: China
Posts: 356
|
It's me
Hi, SJG. It's me, coolfile.
Please tell me what you cannot accomplish: appearance, functions or neither?
To make it work, 3 Modules are needed, such as W3DOverlordTankDraw, OverlordContain and ProductionUpdate. In this case, there must be a Bone named FIREPOINT01 in your W3D model.
|
|
|
02-09-2004, 11:50 PM
|
#5 (permalink)
|
|
Senior Member
Join Date: Dec 2002
Location: China
Posts: 180
|
Quote:
|
Originally Posted by ImmoMan
Did you give the building a transport slot like the Overlord?
|
u mean the OverlordContain?
Hmm...i would go and have a try
and to coolfile,i think i'd like to try without the W3DOverlordDraw first,then use it if it doesnt work 
|
|
|
02-10-2004, 12:56 AM
|
#6 (permalink)
|
|
Senior Member
Join Date: Sep 2003
Location: the mighty planet of doom (NZ)
Posts: 269
|
you could always do it like the palice and make it so that when you get the upgrade it puts that in the building (make a imobile gattling cannon, etc)
that wat it should stay garrisoned although it wont look as cool
it should do the job
just make it so it only allows inside kindof ship, building or something like that
That way since the building is on land the ship wont disimbark and you cant put in a ship either so it only excepts the upgrades you pick
or the building thing as buildings are imobile
|
|
|
02-10-2004, 11:51 PM
|
#7 (permalink)
|
|
Senior Member
Join Date: Dec 2002
Location: China
Posts: 180
|
Now there's no result yet,but i got a weird event.when i sell the defense on which built a prop tower,at the ending frame, i found the dozer beside got a redcross suddenly and it only remains one sec.what's happening?
and to ccs,i dont quite understand wat u said. a IMMOBILE KindOf for the gattling cannon?(sorry, i have to say u should put more comma in your reply)
|
|
|
02-11-2004, 12:02 AM
|
#8 (permalink)
|
|
Senior Member
Join Date: Sep 2003
Location: the mighty planet of doom (NZ)
Posts: 269
|
whats comma
and what i mean is "KindOf: IMOBILE" i belive that is the kind of for buildings (i have not edited for a wee while) but essentaly just make the unit imobile so that it cant get in and out of the building and is built in the building
|
|
|
02-11-2004, 06:26 AM
|
#9 (permalink)
|
|
Senior Member
Join Date: Dec 2002
Location: Sydney, Australia
Posts: 202
|
Erm...
If you triggering it with those fields I'm not entirely sure it would work. Considering your (probably) missing overlord contain modules and well those upgrades are meant for units, you might have to change the upgrades etc. to fir the buildings not units
|
|
|
02-11-2004, 11:17 PM
|
#10 (permalink)
|
|
Senior Member
Join Date: Sep 2003
Location: the mighty planet of doom (NZ)
Posts: 269
|
i posted a message like that another time
and it did not seem to work
and i posted a message highlighting that at the beginning of this forum
|
|
|
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 01:55 PM.
|