View Single Post
Old 08-27-2005, 10:57 AM   #1 (permalink)
Vodith
Junior Member
 
Join Date: Aug 2005
Posts: 12
Default Total noob at modding, need help

I have been trying to make a way to share money in lan games but I can't seem to find out how I can do so, I have tried to make a copy of cash hack general skill and setting it to no science and giving it to all command centers will target ally only but it doesnt seem to work, is there any way I can get it to work?

Or, if anyone has the abilty to do so, could someone help me out with making a unit that can make money crates?


What I have done is:

CommandButton.ini
Code:
CommandButton Command_CashTrade
  Command       = SPECIAL_POWER
  SpecialPower  = CashTrade
  Options       = NEED_TARGET_ALLY_OBJECT CONTEXTMODE_COMMAND
  Science       = SCIENCE_CashHack1 SCIENCE_CashHack2 SCIENCE_CashHack3 ;These will cause the buttons to change icons, nothing more
  TextLabel     = CONTROLBAR:CashHack
  ButtonImage   = SSCashHack
  ; TEMP CURSORS, needs real ones -- amit
  CursorName              = Hack
  InvalidCursorName       = GenericInvalid
  ButtonBorderType        = ACTION ; Identifier for the User as to what kind of button this is
  DescriptLabel           = CONTROLBAR:TooltipFireSuperWeaponCashHack
End
CommandSet.ini
Code:
 # = Command_CashTrade
on all command centers

SpecialPower.ini
Code:
;-----------------------------------------------------------------------------
SpecialPower CashTrade
  Enum              = SPECIAL_CASH_HACK
  ReloadTime        = 10000   ; in milliseconds
  PublicTimer       = No
  SharedSyncedTimer   = Yes
  InitiateAtLocationSound = CashHackActivate
End
edit: I have it so that it will appear on the command centers and won't crash, but I cannot target anything in the game with it without getting the red x cursor, I have tryed using it anyway on everything but it does not work.
Vodith is offline   Reply With Quote