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

Forum Info
Forum Members: 18,677
Total Threads: 8,798
Posts: 95,842

Administrators:
DeeZire, Redemption

There are currently 34 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 » First Mini Mod Creation Problem, Help Needed!

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

Reply
 
LinkBack Thread Tools
Old 06-29-2006, 11:53 AM   #11 (permalink)
Senior Member
 
Join Date: Aug 2003
Posts: 134
Default

You'll need your own commandset, and use a modified command button instead of Colonel Burton's button, since the command buttons control the sound effect.

Since both buttons have the UnitSpecificSound attached to the button.
Code:
CommandButton Command_ColonelBurtonTimedDemoCharge
  Command                 = SPECIAL_POWER
  SpecialPower            = SpecialAbilityColonelBurtonTimedCharges
  Options                 = NEED_SPECIAL_POWER_SCIENCE OK_FOR_MULTI_SELECT NEED_TARGET_ENEMY_OBJECT NEED_TARGET_NEUTRAL_OBJECT
  TextLabel               = CONTROLBAR:TimedDemoCharge
  ButtonImage             = SSTimedDemo
  CursorName              = PlaceTimedCharge
  InvalidCursorName       = PlaceChargeInvalid
  ButtonBorderType        = ACTION ; Identifier for the User as to what kind of button this is
  DescriptLabel           = CONTROLBAR:ToolTipUSAFireBurtonTimedDemo
  UnitSpecificSound       = ColonelBurtonVoiceModeTimedCharge
End

CommandButton Command_ColonelBurtonRemoteDemoCharge
  Command                 = SPECIAL_POWER
  SpecialPower            = SpecialAbilityColonelBurtonRemoteCharges
  Options                 = NEED_SPECIAL_POWER_SCIENCE OK_FOR_MULTI_SELECT NEED_TARGET_ENEMY_OBJECT NEED_TARGET_NEUTRAL_OBJECT CONTEXTMODE_COMMAND
  TextLabel               = CONTROLBAR:RemoteDemoCharge
  ButtonImage             = SSRemoteDemo
  CursorName              = PlaceRemoteCharge
  InvalidCursorName       = PlaceChargeInvalid
  ButtonBorderType        = ACTION ; Identifier for the User as to what kind of button this is
  DescriptLabel           = CONTROLBAR:ToolTipUSABurtonPlaceRemoteCharge
  UnitSpecificSound       = ColonelBurtonVoiceModeRemoteCharge
End
just change the 'ColonelBurtonVoiceModeTimedCharge' to 'OfficerVoicePlantRemoteCharge' or whatever sound you want. Then in your commandset for the unit, make sure that the commandbutton's names are included.

Also make sure the new buttons have a unique name, or else Generals will complain.
GuyInTheWindow is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-05-2006, 06:33 PM   #12 (permalink)
Junior Member
 
Join Date: Jun 2006
Posts: 11
Default

Thanks a lot guys everything is sorted now, you've all been a great help
Fezwald 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
object creation and same direction creation LtZack Generals & Zero Hour Editing 14 08-17-2008 08:20 PM
Zelda Mini-mod TibMoon Generals & Zero Hour Editing 26 09-14-2004 07:33 AM
Really weird graphic problem. Urgent help needed juanmanuelsanchez Generals & Zero Hour Editing 19 07-26-2004 05:19 PM
Mini Map Window - WND Problem or Hardcoded? UlthuanDefender Generals & Zero Hour Editing 15 06-03-2004 11:02 PM
Mini Kirov Naming :) TangyTom Red Alert 2 & Yuri's Revenge Editing 45 01-08-2003 04:24 PM


All times are GMT -4. The time now is 09:38 PM.


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