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

Forum Info
Forum Members: 18,581
Total Threads: 8,668
Posts: 94,540

Administrators:
DeeZire, Redemption

There are currently 43 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-21-2004, 07:00 PM   #1 (permalink)
Senior Member
 
Join Date: Feb 2004
Posts: 872
Default Adding Prop tower as an object upgrade?

I'm ready to change a structure with a prop function to one that gets it after an object upgrade. This is new territory and it seems harder than I thought. I looked at the prop code and it either exists or it doesn't. The upgrade in the code only changes the existing prop tower not add it.

Behavior = PropagandaTowerBehavior ModuleTag_30
Radius = 125.0
DelayBetweenUpdates = 3000 ; in milliseconds
HealPercentEachSecond = 4% ; get this % of max health every second
PulseFX = FX_IsraelSettlementPulse ;plays as often as DelayBetweenUpdates
UpgradeRequired = Upgrade_ChinaSubliminalMessaging
UpgradedHealPercentEachSecond = 4% ; get this % of max health every second
UpgradedPulseFX = FX_PropagandaTowerSubliminalPulse ;plays as often as DelayBetweenUpdates
End

I don't see any triggered_by listing in Deezires module listing to accomodate this. Any clues?
Hostile is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-22-2004, 07:56 AM   #2 (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

You could try to make the upgrade replace the original tower, and the new verion would be the one with the effect. Look at the ReplaceObjectUpgrade module on the GLA fake buildings.
CodeCat is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-22-2004, 10:22 AM   #3 (permalink)
Senior Member
 
Join Date: Feb 2004
Posts: 872
Default

When I get outta class and get home I'm gonna try to set the original tower with no healing rate and no FX, so it looks like nothing than use the upgrade to actually make it appear.

EDIT I think I like your way better Immoman...
Hostile 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
Adding upgrade to heroes? Nertea LOTR: Battle For Middle Earth I & II Editing 0 01-06-2005 01:17 AM
OBJECT UPGRADE VS PLAYER UPGRADE Hostile Generals & Zero Hour Editing 2 05-24-2004 04:58 AM
adding smoke trail to animated object ? DeathAngel Generals & Zero Hour Editing 7 09-16-2003 05:14 PM
How to Destroy Object with Upgrade? Panzerfather Generals & Zero Hour Editing 9 08-20-2003 05:47 AM
Help, Adding an Object Upgrade to the Terrorist.. ice Generals & Zero Hour Editing 16 06-20-2003 06:30 AM


All times are GMT -4. The time now is 03:58 PM.


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