• 0

    posted a message on Text Tags for Damage

    Unhelpful *and* condescending. A nice combination.

    Posted in: Miscellaneous Development
  • 0

    posted a message on SCV refuses to forget to build stuff

    @corwin323: Go

    Just remove the other buildings from the SCV's command card.

    Posted in: Miscellaneous Development
  • 0

    posted a message on Text Tags for Damage

    @zifoon: Go

    That's not very helpful. Needing to manually calculate the damage amount in a trigger is not really feasible when you have dozens and dozens of behaviors which can modify damage in various ways.

    Posted in: Miscellaneous Development
  • 0

    posted a message on Orcs in Space II "Final Tribute to WC3 Editor"

    Neat. I actually expected that it was WC3 running in the SC2 engine, now that the model exporter is working. But this is good too :)

    Posted in: General Chat
  • 0

    posted a message on Ending an Animation

    Why don't you post your actor events (or a screenshot of them) so people actually have the context to answer your question?

    If we don't know what we've done we can't really tell you how to fix it.

    Posted in: Miscellaneous Development
  • 0

    posted a message on [RESOLVED] Refresh all buff durations whenever 1 is applied.

    @redpand: Go

    I solved this by using two behaviors. One of them was the actual poison and had a duration of zero. The other was the poison applicator and was hidden, had a timer, and had the initial and refresh effects set to add an additional stack of the actual poison effect, and the final effect set to remove all stacks of the poison.

    edit: Important to make sure to set the maximum stack count for the applicator effect to 1.

    Posted in: Miscellaneous Development
  • 0

    posted a message on Set Height under Actor Events+

    Instead of using actor events to set the height, use a Site Operation actor. Look up "SOpHigherBy5" for an example.

    Posted in: Miscellaneous Development
  • 0

    posted a message on Reveal Debuff

    I believe it's under the behavior tab, down under state flags. Share Vision I think.

    Posted in: Miscellaneous Development
  • 0

    posted a message on Death Actor - Need Help
    Quote from Southpaw444: Go

    @RileyStarcraft: Go

    I know it's a sound, but when you look at the list of components on the marine, under Actors, there are two...Marine, and Marine Death. It is a sound actor but i believe it triggers an animation event. My hero doesn't have this actor for some reason, and I cant figure out how to give it to him.

    No, it doesn't trigger any animation, it's just a sound.

    The death animations are controlled via the "Death Effects" field under the main actor.

    The reason that there's an extra actor for the death sound is that some units actually have two death sounds, an explosion as well as a scream, so it needs the second actor to play the scream.

    Posted in: Miscellaneous Development
  • 0

    posted a message on Death Actor - Need Help
    Quote from Southpaw444: Go

    I have a hero that i copied from a marine but for some reason it didnt copy the marines death actor. Is there a way to add this to him? I want to be able to send the actor a message via triggers, but the actor isnt there, so nothing happens. Thanks for reading. (=

    What do you mean, death actor?

    The only "death actor" for a marine is just a sound that plays when they die.

    Posted in: Miscellaneous Development
  • 0

    posted a message on How to fix an attack animation that is shooting from the base of a unit.

    There's a much simpler way to do it. In the Attack actor, under Launch Site Operations add the line "SOpHigherBy5". That will orientate the launch site 5 units above the model's origin.

    For more flexibility, you can dupe the SOpHigherBy5 actor (yes site ops are actors themselves) and change the Offset field to whatever you want. You can also combine site operations, for example "SOpAttachCenter SOpHigherBy5" will position the launch site at 5 units above the models center.

    Hope that helps.

    Posted in: Miscellaneous Development
  • 0

    posted a message on Solid flying buildings?
    Quote from theGreyWolf: Go

    I'd like to make a building that can be built over normal buildings and will block the movement of flying units, like normal buildings do for ground units. Is there A way?

    The basic problem you're going to face is that collision for flying units is hardcoded to be soft (as opposed to hard collision for ground units.) I am not sure if anyone has or will be able to figure out a way to make flying units use hard collision.

    However workarounds are possible. A very simple one is a behavior that periodically searches the area around the building for flying units and applies a positive force to them. That'll essentially push them away from the building, although it still won't give them hard collision and I don't believe they will pathfind around the obstacle which is kind of a deal killer.

    Posted in: Miscellaneous Development
  • 0

    posted a message on Text Tags for Damage

    Okay, implementing scrolling combat text is simple enough. Create a Unit is Damaged trigger and then make a text tag over the unit with the Triggering Damage Amount.

    Until you start playing with Damage Response behaviors that modify the damage amount, and then you realize that the trigger is fired before any damage responses occur, so things like critical strikes don't register correctly.

    I've considered using a Unit HP Changes trigger, and my workaround is to use a unit custom value to store the old HP of each unit, and whenever it changes if the difference is greater than a threshold (typically 1.0) I create the text tag. There are some problems with this approach though, specifically that I really want to be able to know the player and unit that caused the change.

    So has anyone implemented a robust combat text tag system that works properly with damage response behaviors?

    Posted in: Miscellaneous Development
  • 0

    posted a message on Making Units Mirror the Actions of Another Unit?

    The cleanest way to implement this is going to be via a hangar ability.

    Posted in: Miscellaneous Development
  • 0

    posted a message on Applying an attribute to a unit via effect/behavior

    Try having it morph into a different unit for 60 seconds. Morphs aren't that bad of a workaround as they allow the unit to retain all of its stats/

    This is how burrowing is implemented, since burrowed units gain a Buried attribute.

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