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

Forum Info
Forum Members: 18,575
Total Threads: 8,657
Posts: 94,430

Administrators:
DeeZire, Redemption

There are currently 56 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-13-2004, 01:57 AM   #1 (permalink)
Senior Member
 
Join Date: May 2004
Posts: 191
Default Generals Power doesn't work

I've made a new General Power for General Tao called Tactical Nuclear Strike. Everything works fine with it, apart from one thing.
When I click on the button to launch it on the Command Center the A-10 radius cursor comes up, like it's meant to, but I can't launch it

Please can someone tell me how to get it to work?
Granger is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-13-2004, 07:23 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

Doesn't launch as in: you click and the cursor disappears but nothing happens, or as in: you click but the cursor gives an "invalid" message of some kind and the "click" doesn't actually take effect?
CodeCat is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-13-2004, 12:47 PM   #3 (permalink)
Senior Member
 
Join Date: May 2004
Posts: 191
Default

It doesn't launch as in there is an invalid cursor. So when I click it doesn't take affect :/
Granger is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-13-2004, 01:29 PM   #4 (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

Sounds like an Enum or a CommandButton problem, post the code for your SpecialPower and your CommandButton entries.
CodeCat is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-13-2004, 02:39 PM   #5 (permalink)
Senior Member
 
Join Date: May 2004
Posts: 191
Default

CommandButton.ini

Quote:
CommandButton Command_PurchaseScienceTacticalNuclearStrike
Command = PURCHASE_SCIENCE
Science = SCIENCE_TacticalNuclearStrike
ButtonImage = SNMig
ButtonBorderType = UPGRADE ; Identifier for the User as to what kind of button this is
End




CommandButton Command_TacticalNuclearStrike
Command = SPECIAL_POWER
SpecialPower = SuperweaponTacticalNuclearStrike
Options = NEED_SPECIAL_POWER_SCIENCE NEED_TARGET_POS CONTEXTMODE_COMMAND
Science = SCIENCE_TacticalNuclearStrike
TextLabel = CONTROLBAR:A10ThunderboltMissileStrike
ButtonImage = SNMig
ButtonBorderType = ACTION ; Identifier for the User as to what kind of button this is
DescriptLabel = CONTROLBAR:TooltipA10Strike
RadiusCursorType = A10STRIKE
InvalidCursorName = GenericInvalid
End

SpecialPower.ini

Quote:
SpecialPower SuperweaponTacticalNuclearStrike
Enum = SPECIAL_A10_THUNDERBOLT_STRIKE
ReloadTime = 240000 ; in milliseconds
RequiredScience = SCIENCE_TacticalNuclearStrike
PublicTimer = No
SharedSyncedTimer = Yes
ViewObjectDuration = 30000
ViewObjectRange = 250
RadiusCursorRadius = 50
ShortcutPower = Yes ;Capable of being fired by the side-bar shortcut.
AcademyClassify = ACT_SUPERPOWER ;Considered a powerful special power that a player could fire. Not for simpler unit based powers.
End
Granger is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-13-2004, 03:47 PM   #6 (permalink)
Senior Member
 
Join Date: May 2004
Posts: 191
Default

Quote:
SpecialPower SuperweaponTacticalNuclearStrike
Enum = SPECIAL_A10_THUNDERBOLT_STRIKE
ReloadTime = 240000 ; in milliseconds
RequiredScience = SCIENCE_TacticalNuclearStrike
PublicTimer = No
SharedSyncedTimer = Yes
ViewObjectDuration = 30000
ViewObjectRange = 250
RadiusCursorRadius = 50
ShortcutPower = Yes ;Capable of being fired by the side-bar shortcut.
AcademyClassify = ACT_SUPERPOWER ;Considered a powerful special power that a player could fire. Not for simpler unit based powers.
End
What do I need to change the Enum to?
Granger 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
Giving a generals power to a faction Valdez Generals & Zero Hour Editing 2 12-10-2004 11:12 PM
Coding Question on a Generals Power Juggernaut1985 Generals & Zero Hour Editing 5 05-19-2004 11:44 AM
Generals crash - Worldbuilder Gen / ZH work 2312222 Generals & Zero Hour Editing 2 02-10-2004 12:25 PM
Adding new Generals point... can't seem to get to work! Pint0_Xtreme Generals & Zero Hour Editing 6 01-25-2004 03:12 AM
Will work for Generals! Proclone Generals & Zero Hour Editing 15 04-24-2003 01:19 PM


All times are GMT -4. The time now is 11:08 AM.


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