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

Forum Info
Forum Members: 18,537
Total Threads: 8,627
Posts: 94,210

Administrators:
DeeZire, Redemption

There are currently 112 users online.
Partner Links

Free Credit Repair

Learn the Ticket Broker Secrets
Advertisements

DeeZire Online > Editing Community > Command and Conquer Editing > Generals & Zero Hour Editing » Special Power just doesnt happen!! What am I doing wrong?

Generals & Zero Hour Editing Discuss any modding related issues to do with Generals and Zero Hour here.

Reply
 
LinkBack Thread Tools
Old 03-04-2004, 03:38 PM   #1 (permalink)
Junior Member
 
Join Date: Feb 2004
Posts: 1
Default Special Power just doesnt happen!! What am I doing wrong?

I've been modding Generals for some time now, and I've managed to put some new units in and stuff, but I've only recently tried to make a new special power. However, all my attempts at making one have failed. The problem is that when you select the Special Power and target it, the cursor is correct, the little red targeting cursor is there, you click, and the area is revealed, but nothing else happens! No bombers fly over, nothing happens. The button starts charging up again, and it appears as though the specialpower has worked, but it hasnt done anything. I'll post the code, and maybe someone can help me. BTW this is just original Generals, not Zero hour, and I know the MOAB bomb is already done, i just couldnt think of a better name!


;----------------Special Power.ini--------------
SpecialPower SuperweaponMOAB
Enum = SPECIAL_DAISY_CUTTER
ReloadTime = 250000 ; in milliseconds
; RequiredScience = SCIENCE_DaisyCutter
PublicTimer = No
SharedSyncedTimer = Yes
ViewObjectDuration = 250 ; Lifetime of a Look done belonging to the firing player
ViewObjectRange = 400 ; And how far it can see
RadiusCursorRadius = 300
End

;--------------CommandButton.ini----------------
CommandButton Command_MOAB
Command = SPECIAL_POWER
SpecialPower = SuperweaponMOAB
Options = NEED_TARGET_POS CONTEXTMODE_COMMAND
TextLabel = CONTROLBARaisyCutter
ButtonImage = SACDaisyCutter
ButtonBorderType = ACTION
DescriptLabel = CONTROLBAR:TooltipDaisyCutter
RadiusCursorType = DAISYCUTTER
InvalidCursorName = GenericInvalid
End

;--------FactionBuilding.ini (Under America Command Center engineering)
Behavior = OCLSpecialPower ModuleTag_20
SpecialPowerTemplate = SuperweaponMOAB
OCL = SUPERWEAPON_MOAB
CreateLocation = CREATE_AT_EDGE_NEAR_SOURCE
End

;--------ObjectCreationList.ini-----------------
ObjectCreationList SUPERWEAPON_MOAB
DeliverPayload
Transport = AmericaJetB52
StartAtPreferredHeight = Yes
FormationSize = 3
FormationSpacing = 150
StartAtMaxSpeed = Yes
MaxAttempts = 1
DropOffset = X:0 Y:0 Z:-10
Payload = DaisyCutterBomb
DeliveryDistance = 240
DeliveryDecalRadius = 300
DeliveryDecal
Texture = SCCFuelAirBomb_USA
Style = SHADOW_ALPHA_DECAL
OpacityMin = 25%
OpacityMax = 50%
OpacityThrobTime = 500
Color = R:255 G:0 B:0 A:255
OnlyVisibleToOwningPlayer = Yes
End
End
End

;------------------CommandSet.ini------------------
CommandSet AmericaCommandCenterCommandSet
1 = Command_ConstructAmericaDozer
5 = Command_A10ThunderboltMissileStrike
6 = Command_Paradrop
7 = Command_SpyDrone
8 = Command_EmergencyRepair
9 = Command_MOAB
10 = Command_CarpetBomb
11 = Command_ConstructAmericaAdvDozer
12 = Command_Sell
End

The power is deployed from the Command Center for ease of testing. Its not going to be an actual power, I just want to learn how to do these.

Any help would be appreciated (I just hope I haven't made a stupid mistake, but please tell me if I have)
Javier 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
Special Power - small mistake? Ambershee Generals & Zero Hour Editing 0 01-06-2006 01:35 AM
Special Power - small mistake? Ambershee Generals & Zero Hour Editing 0 01-06-2006 01:33 AM
Special Power Superweapon SamB Generals & Zero Hour Editing 2 11-28-2005 11:36 AM
Special power problems CodeCat Generals & Zero Hour Editing 16 09-30-2004 12:19 PM
Things that happen when you do something wrong The_Hunter Generals & Zero Hour Editing 9 08-12-2004 05:07 PM


All times are GMT -4. The time now is 04:33 PM.


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