• 0

    posted a message on More than one CActorUnit persisting in the same unit scope:

    @Azizh: Go

    This same error occurred for me when I had two "unit" actors under the same unit. What actors do you have under the listed unit?

    Posted in: Data
  • 0

    posted a message on Please help me figure out why my ability doesn't work

    Thanks, we're certainly getting somewhere. That fixed the fact that I wasn't doing damage to enemies. It's still hitting me and not applying the debuff though. Any other things you noticed?

    Posted in: Data
  • 0

    posted a message on Balancing ability costs.

    @fishy77: Go

    IMHO, you should balance ability costs by things like how often you want players to have to go out of combat to restore their combat resource. Play around a bit with each character, adjust the costs and fiddle with the cooldowns. Balance doesn't mean things have to be the same; if you want your map to be interesting, you might want one character to be very resource dependent and another not to be.

    Posted in: Data
  • 0

    posted a message on Please help me figure out why my ability doesn't work

    Update: I managed to get the damage to stop hitting me with an "Impact Unit Validator" on my damage. I'm still not getting the behavior to apply along with the damage though. Still playing with it but can't think of anything still.

    So I wanted to develop an ability for a unit in my game. I'm not attempting anything exceedingly fancy: the unit does a small AoE damage/stun around itself and gets a speed buff in order to aid kiting. Thus far, although the ability does successfully provide the speed buff and damage surrounding units, the search function is not working for either the damage or the stun, and is instead damaging the casting unit now I still can't figure out how to get the debuff to apply to enemies as it should. Here's all the relevant info I can think of, please let me know if I forgot anything:

    Ability: Effect - Instant (CAbilEffectInstant)

    • Cost: Time Use 9.0
    • Effect: (Set)
    • Editor Categories: Zerg

    Behavior (Buff): Buff (CBehaviorBuff)

    • Alignment: Positive
    • Categories: Temporary
    • Modification: Movement Speed Multiplier 2.2
    • Duration: 3.5
    • Editor Categories: Zerg

    Behavior (Debuff): Buff (CBehaviorBuff)

    • Alignment: Negative
    • Categories: Restorable, Temporary
    • Modification: Modify Flags - Supress Turning, State Flags - Stun
    • Duration: 1.5
    • Editor Categories: Zerg

    Buttons: Generic (CButton)

    • Editor Categories: Zerg

    Effects (Damage): Damage (CEffectDamage)

    • Amount: 40
    • Impact Location: (None):Caster UnitTarget Unit
    • Editor Categories: Zerg
    • Response Flags: Acquire, Flee
    • Impact Unit Validtor: (Target is Enemy or Neutral)

    Effect (Search): Search Area (CEffectEnumArea)

    • Areas: 0,360,Effect(Damage),-1,1.5,0 ; 1,360,Effect(Stun),-1,1.5,0
    • Search Filters: Excluded - Ally, Player, Air, Dead, Destructible, Invulnerable, Missile, Self, Stasis, Structure
    • Impact Location: (None):Caster Unit
    • Editor Categories: Zerg
    • AI Notify Flags: Hurt Enemy
    • Search Flags: Extend by Unit Radius, Offset Area by Angle

    Effect (Set): Set (CEffectSet)

    • Effects: Effect (Search), Effect (Damage), Effect (Stun), Effect (Speed Buff)
    • Editor Categories: Zerg

    Effect (Speed Buff): Apply Behavior (CEffectApplyBehavior)

    • Behavior: Behavior (Buff)
    • Unit: (None):Caster
    • Editor Categories: Zerg

    Effect (Stun): Apply Behavior (CEffectApplyBehavior)

    • Behavior: Behavior (Debuff)
    • Unit: (None):Target
    • Editor Categories: Zerg
    • Validtors: (Target is Enemy or Neutral)

    As I said, the buff seems to work, but the damage is for some reason applying to my own unit and the debuff is not occurring at all. I've fiddled with every category I can think to fiddle with. Can someone please explain to me what I've done wrong?

    Posted in: Data
  • 0

    posted a message on Trouble Scaling Merc Medic Model

    @DrSuperEvil: Go

    The merc medic won't change size. I want to make it bigger but the model for some reason won't change size. I know how to do this in general but it's not working in this case.

    Posted in: Data
  • 0

    posted a message on Hold Fire ability preventing enemy attacks - how to fix?

    Misread that. Please disregard.

    Posted in: Data
  • 0

    posted a message on Trouble Scaling Merc Medic Model

    I've figured out how to use the actor data and the model data to scale models as I need, but for some reason I can't get either of these methods to work with the merc medic model. Has anyone else encountered this and/or found a way around it? I'm working on a simple PvP map and I want to reduce the size discrepancy without having to resize everything to match the merc medic.

    Posted in: Data
  • To post a comment, please or register a new account.