Code? WHAT Code?

Talk about whatever - video games, sports, doesn't matter as long as it's not in another section.
Post Reply
User avatar
dracmeister
Elite Fraxian
Elite Fraxian
Posts: 526
Joined: Fri Nov 26, 2010 1:55 pm
Epicness: Sakura ∞ Friendship
Location: Philippines (?), that's a thing
Contact:

Code? WHAT Code?

Post by dracmeister »

Code: Select all

SpecialPower SuperweaponDaisyCutter
  Enum = SPECIAL_DAISY_CUTTER
  ReloadTime = 360000     ; in milliseconds
  RequiredScience = SCIENCE_DaisyCutter
  PublicTimer = No
  SharedSyncedTimer = Yes
  ViewObjectDuration = 30000     ; Lifetime of a Look done belonging to the firing player
  ViewObjectRange = 250     ; And how far it can see
  RadiusCursorRadius = 170     ; shared by MOAB
  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

Code: Select all

CommandButton Command_DaisyCutter
  Command = SPECIAL_POWER
  SpecialPower = SuperweaponDaisyCutter
  Options = NEED_SPECIAL_POWER_SCIENCE NEED_TARGET_POS CONTEXTMODE_COMMAND
  Science = SCIENCE_DaisyCutter SCIENCE_MOAB     ; These will cause the buttons to change icons, nothing more
  TextLabel = CONTROLBAR:DaisyCutter
  ButtonImage = SACDaisyCutter
  ButtonBorderType = ACTION
  DescriptLabel = CONTROLBAR:TooltipDaisyCutter
  RadiusCursorType = DAISYCUTTER
  InvalidCursorName = GenericInvalid
End
Just change a few things and I'm a happy vampire...
BEARS!!! BEARS!!!

Do not use this forum under the influence of alcohol or drugs.
A safety message by SUPRISEBUTSECS

[Bosses to remember:]
Team HouHouJigoku! mostly discontinued
'Gusty Storm' Armored Train
'Twin Sisters' Railgun Core
Archie and Tommy - Lightseeker Duo

User avatar
Garoslaw
VIP Member
VIP Member
Posts: 1650
Joined: Tue May 04, 2010 6:25 pm
Gold Stars: 4
Location: Poland
Contact:

Re: Code? WHAT Code?

Post by Garoslaw »

Firstly. Explain what is this all about.
Secondly. Elaborate.
:yap:

Post Reply
Users browsing this forum: No registered users and 9 guests