心灵终结3ini吧 关注:11,951贴子:211,585
  • 4回复贴,共1

时间停止代码求助

取消只看楼主收藏回复

新人最近在自学代码,想要搞一个时间停止绑在一个建筑上虐电。麻烦大佬们帮看下代码有啥问题,目前游戏能正常进入但是没有显示这个建筑的建造选项。


IP属地:四川1楼2024-08-24 00:41回复
    首先是我注册的这个建筑:
    [CATIME]
    UIName=NAME:CATIME02
    Name=Time Machine
    Image=CATIME01
    BuildCat=Combat
    Prerequisite=GACNST,NACNST,YACNST,FACNST
    TechLevel=1
    Owner=Europeans,UnitedStates,Pacific,USSR,Latin,Chinese,PsiCorps,Headquaters,ScorpionCell,Guild1,Guild2,Guild3
    Cost=0
    Adjacent=12
    EligibileForAllyBuilding=yes
    BuildLimit=1
    Insignificant=no
    ProduceCashAmount=200
    ProduceCashDelay=100
    ProduceCashDisplay=yes
    AIBuildThis=no
    Strength=2000
    Nominal=yes
    Sight=8
    Points=5
    Armor=steel_b
    Explosion=GBLDEXP1,GBLDEXP2,GBLDEXP3,GBLDEXP4,GBLDEXP5,GBLDEXP6,GBLDEXP7,GBLDEXP8,GBLDEXP9,GBLDEXP10
    BaseNormal=no
    Sight=6
    MaxDebris=0
    ClickRepairable=yes
    LeaveRubble=yes
    Chronoshift.Allow=no
    SuperWeapon=TimeFreezeSpecialXE
    Superweapon2=GearChangeSpecialXE
    Primary=TimeFreezeWeaponXE
    EMPulseCannon=yes
    VoiceSelect=ChronosphereSelectSound
    WorkingSound=ChronosphereSelectSound


    IP属地:四川2楼2024-08-24 00:43
    回复
      这个是超武属性:
      [TimeFreezeSpecialXE]
      UIName=NAME:TimeFreeze
      Name=Time Freeze
      IsPowered=true
      RechargeTime=1
      Type=EMPulse
      Action=Custom
      SidebarPCX=frezicon.pcx
      ShowTimer=no
      DisableableFromShell=no
      Range=1.4
      LineMultiplier=1
      SW.FireIntoShroud=no
      EVA.Ready=EVA_BattlePowerReady
      SW.AITargeting=Self
      EMPulse.TargetSelf=yes
      FlashSidebarTabFrames=0
      SW.AffectsHouse=owner
      Text.Ready=NAME:ACTIVATE
      SW.CreateRadarEvent=no
      SW.Sound=HarmonizerPowerUpSingle
      Message.Launch=MISSION:TimeFreeze
      Message.Ready=MISSION:FreezeReady
      Light.Blue=75
      Light.Red=45
      Light.Green=45
      Light.Ambient=100
      EMPulse.Cannons=CATIME
      SW.AuxBuildings=CATIME
      EMPulse.PulseDelay=120
      EMPulse.PulseBall=BOIDCHARGE
      SW.Sound=HarmonizerPowerUP
      SW.ActivationSound=HarmonizerPowerUp
      Message.Firercolor=yes
      Message.Launch=NAME :TimeFreeze


      IP属地:四川3楼2024-08-24 00:44
      回复
        武器属性:
        [TimeFreezeWeaponXE]
        Damage=0
        Range=0.5
        ROF=450
        Projectile=WOCP
        Speed=100
        Warhead=TimeFreezeWHXE
        AreaFire=yes
        Anim=THORING
        OmniFire=yes
        FireOnce=yes
        Report=HarmonizerPowerUpSingle
        DistributedWeaponFire=yes


        IP属地:四川4楼2024-08-24 00:45
        回复
          最后的伤害率之类的:
          [TimeFreezeWHXE]
          Verses=3%,3%,3%,3%,3%,3%,3%,3%,3%,3%,3%
          CellSpread=225
          EMP.Duration=1850
          EMP.Cap=1850
          PercentAtMax=1
          AffectsAllies=no
          Conventional=no
          AffectsEnemies=yes
          PreventScatter=yes
          Sonar.Duration=600
          DisableWeapons.Duration=600
          AttachEffect.Duration=1850
          AttachEffect.Animation=SPHERE
          AttachEffect.ForceDecloak=yes
          AttachEffect.SpeedMultiplier=0
          AttachEffect.FirepowerMultiplier=0
          AttachEffect,PenetratesIronCurtain=yes


          IP属地:四川5楼2024-08-24 00:46
          回复