Needed help with sc2 editor : Baneling suicide

Srajan

New Member
Hey! I have basic knowledge of sc2 editor.
I just wanna make a map in which the banelings dont die on explosion!

like this :
 

Siretu

Starcraft 2 Editor Moderator
Staff member
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
 

Srajan

New Member
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?
 

Siretu

Starcraft 2 Editor Moderator
Staff member
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?
 

Srajan

New Member
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.
 

Srajan

New Member
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) ?
 

Dave312

Censored for your safe viewing
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.
 

Srajan

New Member
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!
 

Dave312

Censored for your safe viewing
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?
 

Dave312

Censored for your safe viewing
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.
 

Siretu

Starcraft 2 Editor Moderator
Staff member
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.
 

Dave312

Censored for your safe viewing
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.
 

Srajan

New Member
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.
 

Siretu

Starcraft 2 Editor Moderator
Staff member
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.
 

Attachments

General chit-chat
Help Users
  • No one is chatting at the moment.
  • The Helper The Helper:
    Yeah that is a high price think I am going to wait a minute and see if it goes down some.
  • The Helper The Helper:
    Looking forward to doing some dungeon grinding again though.
  • The Helper The Helper:
    still 101 bots on the site constantly
  • midnight8 midnight8:
    my bots got out of their cage? oh no
  • The Helper The Helper:
    these bots are from russia, china and asia they are less than they were but more than they need to be I have no idea why they hover here
  • tom_mai78101 tom_mai78101:
    Probably because of my Headline News
  • The Helper The Helper:
    Facebook is getting fucked right now lol
  • The Helper The Helper:
    I learned one thing from the Facebook outage - BGP - I am sure Ghan is an expert in it but I did not know what the name of it was I knew there was something like that there though
  • The Helper The Helper:
    What is up Tom?
  • jonas jonas:
    We once considered doing a project on BGP looking for problems in the implementations. But we didn't get sufficient interest and Tony Li was mean to us so we said whatever
  • Varine Varine:
    hello, peeps. I got most of my computer back up to Idaho so I have passwords again after that nightmare of like 4 months
  • Varine Varine:
    We're all trying to get time off now, but holy shit. I did not expect it to be that busy. Every day was a historical record, and every week was a total sales record for like all of summer. My pay is going to almost double next summer, which makes cooking finally a viable career, I might actually afford to change industries soon!
  • Varine Varine:
    We had people ask if there was anything we could do about the fucking sun. There's like 30 inside tables and every outside table has a sunbrella thing.
  • Varine Varine:
    No, I'm sorry, I cannot move the sun and the umbrella doesn't go 90 degrees sideways. They unfortunately had to deal with a sunset across mountains and a lake, we can only imagine the horror they had to undergo by visiting our restaurant
  • Varine Varine:
    Well, they do, but they're big and blow away and a 10 foot runaway umbrella is a much bigger problem than some cunt with the sun sorta in her eyes
  • The Helper The Helper:
    What is up Varine? Good to see you buddy! Too bad you are not in Houston I have a friend that needs Cooking staff like desperately remember if you ever want to get a different landscape, not sunsets over mountains and a lake Houston has opportunity!
  • tom_mai78101 tom_mai78101:
    Nice to see Varine back in action.
  • The Helper The Helper:
    Welcome back Varine!
  • The Helper The Helper:
    can someone answer a question in the World Editor Help forum?
  • jonas jonas:
    ok
  • The Helper The Helper:
    thank you jonas!
  • Varine Varine:
    I'll probably be here through next summer at least, I get paid decent at the moment and I expect it to go up significantly next year. Plus I'm on contract through the end of the year
    +1
  • C CrusherX:
    Ay, sorry to spam here as well, but can someone check out my thread in World Editor? The reason for that is that I can't fix it and I've been trying for few days now :(
    +1
  • The Helper The Helper:
    Give it some time CrusherX we still have people that can answer questions they are just not on all the time as not that many questions these days. Make sure you set up a watch on the thread so you get an email when there is a reply.

    Members online

    No members online now.

    Affiliates

    Hive Workshop NUON Dome
    Top