|
本帖最后由 沧海流星 于 2013-1-13 16:13 编辑
我还是玩不转光束Beam,做了个中立“补蓝泉”可以同时给周围的单位补篮,但是用Beam做的视觉有问题。
如图,此时,护士和隐性的机枪,都是缺蓝的,补蓝是正常进行的,但是2条光线都在护士身上。
(这个单位的ID是 XelNagaRelic,光束演算体的id是 Relic_Pow2unit_BeamActor)
求指教~~~
- <CBehaviorBuff id="Relic_Pow2unit_Buff">
- <InfoFlags index="Hidden" value="1"/>
- <Period value="1"/>
- <PeriodicEffect value="Relic_Pow2unit_Search"/>
- </CBehaviorBuff>
- <CBehaviorBuff id="Relic_Pow2unitMark_Buff">
- <Modification>
- <VitalRegenArray index="Energy" value="10"/>
- </Modification>
- <InfoIcon value="Assets\Textures\btn-research-zerg-regenerativebio-steel.dds"/>
- <RemoveValidatorArray value="NotMaxEnergy"/>
- <RemoveValidatorArray value="TargetNotComa_Validator"/>
- <Duration value="1.25"/>
- </CBehaviorBuff>
- <CEffectEnumArea id="Relic_Pow2unit_Search">
- <ImpactLocation Value="TargetUnit"/>
- <SearchFilters value="HasEnergy;Self,RawResource,HarvestableResource,Missile,UnderConstruction,Dead,Hidden"/>
- <AreaArray Radius="5" Effect="Relic_Pow2unit_AppBeh"/>
- <SearchFlags index="SameCliff" value="1"/>
- </CEffectEnumArea>
- <CEffectApplyBehavior id="Relic_Pow2unit_AppBeh">
- <Behavior value="Relic_Pow2unitMark_Buff"/>
- <ValidatorArray index="0" value="NotMaxEnergy"/>
- <ValidatorArray value="TargetNotComa_Validator"/>
- </CEffectApplyBehavior>
- <CActorBeamSimple id="Relic_Pow2unit_BeamActor" parent="BeamSimpleAnimationStyleContinuous">
- <Model value="Relic_Pow2unit_BeamModel"/>
- <HostLaunchSiteOps Ops="SOpAttachCenter"/>
- <HostImpactSiteOps Ops="SOpAttachCenter"/>
- <HostLaunch Subject="_Unit" Scope="Caster" Actor="Find"/>
- <HostImpact Subject="_Unit" Scope="Target" Actor="Find"/>
- <On Terms="Behavior.Relic_Pow2unitMark_Buff.Create" Send="Create"/>
- <On Terms="Behavior.Relic_Pow2unitMark_Buff.Destroy" Send="Destroy"/>
- <On Terms="Behavior.Relic_Pow2unitMark_Buff.On" Send="Create"/>
- <On Terms="Behavior.Relic_Pow2unitMark_Buff.Off" Send="Destroy"/>
- </CActorBeamSimple>
复制代码
5v5行星掠夺v0.17.zip
(2.6 MB, 下载次数: 3)
|
|