|
|
我的想法是实现一个攻击时能加速的坦克,使用phobo的feedback逻辑,feedback武器上挂上奎秃斯的AE,同时为了做特效,给AE绑了个替身,替身加上phobo的尾焰,在AE时间内产生激光尾焰。
就是个小小的应用,还是有bug
这替身尾焰载入游戏的时候不生效,当使用DP动态改变了ini内容(加个空行),点击保存的时候才生效,
单独测试AE有效,尾焰直接加在单位上有效,就是这样组合出了点问题
我不清楚这其中的逻辑,求大佬指导
- [WeaponTypes]
- +=SpeedUPWeapon
- +=GUERRILLAWeapon
- [Warheads]
- +=LaserHW
- +=LaserHW2
- [AttachEffectTypes]
- +=EnemySpeedAE
- [VehicleTypes]
- +=GUERRILLA;Guerrilla car 嘲讽单位
- +=SubGUERRILLA ;替身用于生成尾焰
- [SubGUERRILLA]:[GUERRILLA]
- Image=MTNKSUB
- LaserTrail.Types=GUERRILLATRAIL ; list of LaserTrailTypes
- Primary=none
- Trainable=false
- Turret=no
- ;白日鼠 嘲讽单位 加速反馈武器 FeedBack Weapon Speed UP
- [SpeedUPWeapon]
- Range=1
- Speed=4
- Damage=1
- Projectile=Invisible
- Warhead=SpeedUPWeaponEA
- InfDeath=1
- Rocker=no
- AllowZeroDamage=yes
- [SpeedUPWeaponEA]
- CellSpread=1
- PercentAtMax=1
- Verses=3%,3%,3%,3%,3%,3%,0%,0%,0%,0%,0%
- AttachEffectTypes=EnemySpeedAE
- ;AnimList=CRIVEXP
- PreventScatter=yes
- AffectsOwner=yes
- AffectsEnemies=no
- AffectsAllies=no
- [EnemySpeedAE]
- Duration=300
- Cumulative=no
- ActiveAnim=SPEED
- OwnerTarget=yes
- AffectTypes=GUERRILLA
- HoldDuration=no ;不进行有效期计时,即无限时间
- ResetDurationOnReapply=no ;如果不允许叠加,持续过程中重复赋予时是否重置计时器
- InitialDelay=0 ;获得AE后多久生效
- Anim.TranslucentInCloak=yes
- Status.SpeedMultiplier=1.5
- ResetDurationOnReapply=no
- ;Stand 替身用于生成尾焰
- Stand.Type=SubGUERRILLA
- Stand.LockDirection=yes
- Stand.SameTarget=yes
- Stand.SameLoseTarget=yes ;使者失去目标同时替身也失去
- Stand.VirtualUnit=no ; 虚拟单位,不存在于地图上的单位
- [LaserHW]
- Wall=no
- Wood=yes
- CellSpread=.3
- PercentAtMax=.5
- Verses=200%,200%,150%,150%,150%,90%,60%,60%,60%,150%,80%
- PreventScatter=yes
- Sparky=no
- InfDeath=4
- AnimList=;EXPLOLBP
- Bright=yes
- CLDisableGreen=true
- CLDisableRed=true
- [LaserHW2]
- Wall=no
- Wood=yes
- CellSpread=.3
- PercentAtMax=.5
- Verses=250%,250%,180%,200%,200%,150%,100%,100%,100%,150%,150%
- PreventScatter=yes
- Sparky=no
- InfDeath=4
- AnimList=;EXPLOLBP
- Bright=yes
- CLDisableGreen=true
- CLDisableRed=true
- [GUERRILLAWeapon]
- Range=8
- Damage=5
- ROF=35
- Warhead=LaserHW
- Projectile=InvisibleLow
- FeedbackWeapon=SpeedUPWeapon
- Speed=2
- Report=PrismTankAttack
- LaserOuterSpread=123,123,123
- LaserInnerSpread=123,123,123
- LaserOuterColor=255,123,163
- LaserInnerColor=255,123,163
- LaserDuration=4
- IsLaser=true
- IsHouseColor=false
- [GUERRILLAWeaponE]
- Range=8
- Damage=5
- ROF=35
- Warhead=LaserHW2
- Projectile=InvisibleLow
- FeedbackWeapon=SpeedUPWeapon
- Speed=2
- Report = PrismTankAttack
- LaserOuterSpread= 123,123,123
- LaserInnerSpread= 123,123,123
- LaserOuterColor= 255,153,193
- LaserInnerColor= 255,153,193
- LaserDuration = 4
- IsLaser=true
- IsHouseColor=false
- [GUERRILLA]
- UIName=Name:MTNK
- Name=Guerrilla car
- Image=MTNK
- Speed=7
- Strength=150
- Primary=GUERRILLAWeapon
- ElitePrimary=GUERRILLAWeaponE
- Prerequisite=GAWEAP
- EliteAbilities=CLOAK
- Armor=Plate
- Trainable=yes
- Cost=600
- Turret=yes
- Sight=8
- Category=AFV
- Crusher=yes
- Soylent=600
- Points=25
- IsSelectableCombatant=yes
- TooBigToFitUnderBridge=true
- ROT=5
- IsTilter=yes
- TechLevel=2
- Owner=Americans
- Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
- VoiceSelect=PrismTankSelect
- VoiceMove=PrismTankMove
- VoiceAttack=PrismTankAttackCommand
- VoiceFeedback=
- DieSound=GenVehicleDie
- Locomotor={4A582741-9839-11d1-B709-00A024DDAFD1}
- MovementZone=Normal
- ThreatPosed=10
- DamageParticleSystems=SparkSys,SmallGreySSys
- Size=2
- BuildTimeMultiplier=1.2
- MoveSound=PrismTankMoveStart
- AttackBeacon.Enable=yes
- AttackBeacon.Types=E1,GGI,E2,FLAKT,SHK,INIT,BRUTE,MTNK,FV,HTNK,HTK ;炒粉谁
- AttackBeacon.Num=5,5,5,5,5,5,5,5,5,5,5,5 ;每个类型最多炒几个
- AttackBeacon.Rate=30 ;多少帧炒粉一次
- AttackBeacon.Delay=0 ;初始启动延迟
- AttackBeacon.RangeMin=1 ;炒粉的最小范围
- AttackBeacon.RangeMax=11 ;炒粉的最大范围
- AttackBeacon.Close=yes ;是否优先炒粉最近的目标
- AttackBeacon.Force=yes;不论目标单位在做什么,都强制转换目标为自己
- AttackBeacon.Count=5 ;不管是谁,每次炒粉的总数量上限,-1是无限制
- AttackBeacon.TargetToCell=no ;被炒粉的单位强制攻击炒粉者的脚下
- AttackBeacon.AffectsOwner=no
- AttackBeacon.AffectsAllies=no
- AttackBeacon.AffectsEnemies=yes
- AttackBeacon.AffectsCivilian=no
复制代码 |
|