Needed help with sc2 editor : Baneling suicide

Discussion in 'Starcraft 2 (SC2) Editor Help' started by Srajan, Sep 13, 2013.

  1. Srajan

    Srajan New Member

    Ratings:
    +0 / 0 / -0
    Hey! I have basic knowledge of sc2 editor.
    I just wanna make a map in which the banelings dont die on explosion!

    like this :
     
  2. Siretu

    Siretu Starcraft 2 Editor Moderator Staff Member

    Ratings:
    +295 / 0 / -0
    There are three things which activate the baneling explosion:
    * The baneling attacking(weapon)
    * The baneling explode ability(ability)
    * The baneling's death response(behavior).

    Here's how you do it:

    Fortunately for you, all of these use the same effect so you just have to modify that single effect and it should work.

    Open up the data editor, press the plus sign and open the Effects tab. Find the effect called "Baneling - Volatile Burst (Set)". Open the field called: "(Basic) Effect: Effects +". At the top there will be a list of effects:

    * Baneling - Suicide (Remove Buff)
    * Baneling - Suicide (Target Friendly Switch)
    * Baneling - Volatile Burst (Building Damage)
    * Baneling - Volatile Burst (Unit Damage)
    * Suicide.

    Select Suicide and right-click it and press delete. Press okay to close the effects window.

    That should be all.

    TL;DR:
    * Open data editor
    * Open Effects tab
    * Find Baneling - Volatile Burst (Set)
    * Open (Basic) Effect: Effects + field
    * Remove Suicide from the list
     
    • Like Like x 2
  3. Srajan

    Srajan New Member

    Ratings:
    +0 / 0 / -0
    Wow! thanks for the detailed explanation!
    Also am i supposed to remove both the suicide effects ? (the friendly and the remove buff)
    or only the remove buff?

    Also, messing about the editor i saw many hidden upgrades for banelings which are not used in normal games.
    So is there anyway to unlock them?
     
  4. Siretu

    Siretu Starcraft 2 Editor Moderator Staff Member

    Ratings:
    +295 / 0 / -0
    You should remove neither, I think. You should remove the one at the bottom which is only called "Suicide", nothing else.

    Can you give an example of one of the hidden upgrades you found?
     
    • Like Like x 1
  5. Srajan

    Srajan New Member

    Ratings:
    +0 / 0 / -0
    Under banelings,
    There's "Tunneling Jaws" and "Abdominal Fortitude" under upgrades.

    EDIT: I just tried doing what u said above, no dice :( . Have you tried to do it? Cause, it doesn't work for me.
     
  6. Srajan

    Srajan New Member

    Ratings:
    +0 / 0 / -0
    Helpity bump
     
  7. Srajan

    Srajan New Member

    Ratings:
    +0 / 0 / -0
    Siretu help please!!
     
  8. Siretu

    Siretu Starcraft 2 Editor Moderator Staff Member

    Ratings:
    +295 / 0 / -0
    Please tell me more about your problems. What do you mean with: "It doesn't work"?
     
    • Like Like x 1
  9. Srajan

    Srajan New Member

    Ratings:
    +0 / 0 / -0
    The map doesn't work!
    banelings still die after explosion! (which they aren't supposed to )

    also , how to unlock the hidden upgrades (as stated above) ?
     
  10. Dave312

    Dave312 Censored for your safe viewing

    Ratings:
    +269 / 0 / -0
    In HotS, Blizzard remade the Baneling weapon so Siretu's instruction will only work in WoL. The solution is very similar in HotS. Find the Hot SBaneling Explode Large Set effect and remove Suicide Delay from the Effect: Effects + property.

    To enable the "hidden" upgrades, all you need to do is add the research upgrade button to the appropriate structures command card. So as an example, the Tunneling Jaws upgrade is supposed to be researched at the Baneling Nest. So find the Baneling Nest unit in the Data Editor, edit the Ability: Command Card + property, add the Evolve Tunneling Jaws button to an empty slot, and set Command Type to Ability Command, Ability to Research (Baneling Nest) and Ability Command to Evolve Tunneling Jaws. If done correctly, the upgrade will now be available to be researched.
     
    • Like Like x 1
  11. Srajan

    Srajan New Member

    Ratings:
    +0 / 0 / -0
    I'm sorry for being such a bother.
    I got the upgrades done.
    But there isn't anything under the name "SBaneling Explode Large Set" under effects!
     
  12. Dave312

    Dave312 Censored for your safe viewing

    Ratings:
    +269 / 0 / -0
    It should be Hot SBaneling Explode Large Set.

    If you still can't find it, are you using the Heart of the Swarm dependencies and did you include the Campaign data?
     
  13. Srajan

    Srajan New Member

    Ratings:
    +0 / 0 / -0
    But i don't want it to be a campaign game!
     
  14. Dave312

    Dave312 Censored for your safe viewing

    Ratings:
    +269 / 0 / -0
    You won't have the campaign data in that map so that is why you can't find that effect. In which case Siretu's instructions should work - I'm not quite sure why it isn't. It's time for me to go to bed but I'll look into it tomorrow.
     
  15. Siretu

    Siretu Starcraft 2 Editor Moderator Staff Member

    Ratings:
    +295 / 0 / -0
    Remember that if you don't change the baneling health, it will still be at 30 which means your enemy units might kill it. What I described wont make the unit invincible, it'll just make the unit doesn't suicide when attacking or using the "explode" ability.
     
  16. Srajan

    Srajan New Member

    Ratings:
    +0 / 0 / -0
    But they're still dying even on manual exploding.
     
  17. Dave312

    Dave312 Censored for your safe viewing

    Ratings:
    +269 / 0 / -0
    The problem you are having is that although the baneling is not committing suicide when it attacks, it is still dealing damage to itself which is causing it to be killed. If you change the life of the baneling to 500, you can see this. I have been trying to stop it from dealing damage to itself, but I just can't seem to make it work.
     
    • Like Like x 1
  18. Srajan

    Srajan New Member

    Ratings:
    +0 / 0 / -0
    Yep, i tried that. the banelings do the damage but dont die. but also the explode animation doesn't take place.I'm guessing the animation is linked with the banelings suicide.
    can we instead link the animation with the attack (rather than the death) and give the baneling a huge amount of health. that way it'll work

    what if we make a mechanism that whenever a banelings attacks (explodes) a new baneling instantly replaces it (at that particular co-ordinate)? is this possible? im not very skilled with the editor.
     
  19. Siretu

    Siretu Starcraft 2 Editor Moderator Staff Member

    Ratings:
    +295 / 0 / -0
    This post goes through how to do what you want with data. It looks long, but that is just because I tried to explain everything as detailed as possible. If there's something that's still unclear, just ask. In addition, I made you a test map that you can look at, which I uploaded with this post.

    According to the guy who made it, he did just what you suggested. He made a trigger that looked like this:
    Trigger:
    • Baneling spawn
      • Events
        • Unit - Any Unit dies
      • Local Variables
      • Conditions
        • (Unit type of (Triggering unit)) == Baneling
      • Actions
        • Unit - Create 1 Baneling for player (Triggering player) at (Position of (Triggering unit)) using default facing (No Options)

    It's a pretty ugly solution though. If your baneling has any buffs or is saved in some other trigger, it'll be reset.

    The reason the baneling takes damage when it uses the explode ability is because the "Baneling - Volatile Burst (Unit Damage)" and "Baneling - Volatile Burst (Building Damage)" effects deals damage in a circle around it(including itself). To fix this, go into both effects and open the "(Basic) Search : Search Filters" field.

    Double-click on the "Self" row until it says "Excluded".

    Also open the "(Basic) Target : Impact Location" field and change it from "Caster Unit" to "Caster Point".

    To fix the animation, you have to add the death animation manually. Normally, it is automatically played due to the death but since it doesn't die, it doesn't play the animation. This is a little tricky to fix manually, but it is a very good learning experience and I'll guide you through it completely.

    First of all, you have to create a new actor. This actor will handle the death animation. When we want to show the explosion, we'll create this actor and have it play the explosion animation.

    * Create the animation and call it "Baneling Death". Press the suggest button and set the actor type to "Model"

    * In the actor you just made, open the "(Basic) Event: Events + " field. Right-click in the list and select "Add event". Set the event to "Actor creation" and the message(the row below it) to "Animation Play". The animation needs a name so press the customize button and write the name "Death", press the green "+" to add it to the list and THEN press okay (Remember to press the "+" BEFORE you press okay). Finally set the Animation Properties to "Death" as well. Press okay and exit out of the events field.

    * In the same actor (the one you just made, Baneling Death), open the "(Basic) Art: Model" field and set it to "Baneling Ex1 Death".

    ### So what have we done so far? We've setup the death animation to automatically play the death animation when it is created. Now we have to make sure to create it when it's supposed to ###

    * Select the normal Baneling actor, which is just called "Baneling". Open up the "(Basic) Event: Events +" field. You have to create two event/messages that looks like this:
    Code:
    Abil.Explode.SourceCastStart
        Create BanelingDeath
    WeaponStart.VolatileBurst.AttackStart
        Create BanelingDeath
    
    You can either right-click, add new events and set them to ability and such. The faster way is to find the events in the list that looks like this:
    Code:
    Abil.Explode.SourceCastStart
        StatusSet DeathSuicide 1
    WeaponStart.VolatileBurst.AttackStart
        StatusSet DeathSuicide 1
    
    Copy these events, and change "StatusSet DeathSuicide 1" into a Create message.

    * In the create message, set the type to "Actor" and choose the actor you made, Baneling Death.
     

    Attached Files:

    • Like Like x 2
  20. Srajan

    Srajan New Member

    Ratings:
    +0 / 0 / -0
    Thanks a lot!

    :D
     

Share This Page