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,539

Administrators:
DeeZire, Redemption

There are currently 45 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 03-09-2006, 12:43 PM   #1 (permalink)
Senior Member
 
Join Date: Aug 2003
Posts: 109
Default PurchaseScience CarpetBomb

I'm trying to replace the LeafletDrop with the CarpetBomb in the America Science menu, but for some reason my CarpetBomb icon isn't showing up. Here is the code - please let me know what's wrong ...

The icon doesn't show up at all. What am I missing here? This will replace the Leaflet Drop.

; Rank 8 has 3 positions
CommandSet SCIENCE_AMERICA_CommandSetRank8
1 = Command_PurchaseScienceDaisyCutter
2 = Command_PurchaseScienceCarpetBomb
3 = Command_PurchaseScienceSpectreGunship
4 = Command_FAKECOMMAND_PurchaseScienceMOAB .
END

CommandButton Command_PurchaseScienceCarpetBomb
Command = PURCHASE_SCIENCE
Science = SCIENCE_CarpetBomb
ButtonImage = SSCarpetBomb
ButtonBorderType = UPGRADE ; Identifier for the User as to what kind of button this is
End

CommandButton Command_CarpetBomb
Command = SPECIAL_POWER
SpecialPower = SuperweaponCarpetBomb
Options = NEED_SPECIAL_POWER_SCIENCE NEED_TARGET_POS CONTEXTMODE_COMMAND
TextLabel = CONTROLBAR:CarpetBomb
ButtonImage = SSCarpetBomb
ButtonBorderType = ACTION
DescriptLabel = CONTROLBAR:TempDescription
RadiusCursorType = CARPETBOMB
InvalidCursorName = GenericInvalid
End

;-- LEVEL 8 POWERS--
Science SCIENCE_CarpetBomb
PrerequisiteSciences = SCIENCE_AMERICA SCIENCE_Rank5
SciencePurchasePointCost = 1
IsGrantable = Yes
DisplayName = SCIENCE:TempName
Description = SCIENCE:TempDescription
End

SpecialPower SuperweaponCarpetBomb
Enum = SPECIAL_CARPET_BOMB
ReloadTime = 240000
RequiredScience = SCIENCE_CarpetBomb
InitiateSound = AirRaidSiren
PublicTimer = No
SharedSyncedTimer = Yes
ViewObjectDuration = 40000
ViewObjectRange = 250
RadiusCursorRadius = 100
ShortcutPower = Yes ;Capable of being fired by the side-bar shortcut.
AcademyClassify = ACT_SUPERPOWER
End

These are all in the correct .ini files. Help!

- Colton
Colton is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-09-2006, 05:58 PM   #2 (permalink)
Senior Member
 
Join Date: Aug 2003
Posts: 134
Default

Are you using the existing Carpet bomb for the USA or a new one from scratch? If its from scratch, you might need to rename the science and command buttons since they already exist in the files.

Also, did you change the appropriate moduletag in the command center? The module tag is the one to link all the stuff for the special power.
GuyInTheWindow is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-10-2006, 07:46 AM   #3 (permalink)
Senior Member
 
Join Date: Aug 2003
Posts: 109
Default

Yeah, the problem was that China has a duplicate name "SuperweaponCarpetBomb", so I just renamed mine. Thanks for you help!
Colton 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
A 10 Carpetbomb USMC76 Red Alert 2 & Yuri's Revenge Editing 1 07-16-2004 03:59 AM


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


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