Needed help with sc2 editor : Baneling suicide

Srajan

New Member
Reaction score
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 :
 

Siretu

Starcraft 2 Editor Moderator
Reaction score
293
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
Reaction score
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?
 

Siretu

Starcraft 2 Editor Moderator
Reaction score
293
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
Reaction score
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.
 

Srajan

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

Dave312

Censored for your safe viewing
Reaction score
269
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
Reaction score
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!
 

Dave312

Censored for your safe viewing
Reaction score
269
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
Reaction score
269
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
Reaction score
293
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
Reaction score
269
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
Reaction score
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.
 

Siretu

Starcraft 2 Editor Moderator
Reaction score
293
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

  • ExplodeBaneling.SC2Map
    27.6 KB · Views: 355
General chit-chat
Help Users
  • Ghan Ghan:
    Howdy
  • Ghan Ghan:
    Still lurking
    +3
  • The Helper The Helper:
    I am great and it is fantastic to see you my friend!
    +1
  • The Helper The Helper:
    If you are new to the site please check out the Recipe and Food Forum https://www.thehelper.net/forums/recipes-and-food.220/
  • Monovertex Monovertex:
    How come you're so into recipes lately? Never saw this much interest in this topic in the old days of TH.net
  • Monovertex Monovertex:
    Hmm, how do I change my signature?
  • tom_mai78101 tom_mai78101:
    Signatures can be edit in your account profile. As for the old stuffs, I'm thinking it's because Blizzard is now under Microsoft, and because of Microsoft Xbox going the way it is, it's dreadful.
  • The Helper The Helper:
    I am not big on the recipes I am just promoting them - I use the site as a practice place promoting stuff
    +2
  • Monovertex Monovertex:
    @tom_mai78101 I must be blind. If I go on my profile I don't see any area to edit the signature; If I go to account details (settings) I don't see any signature area either.
  • The Helper The Helper:
    You can get there if you click the bell icon (alerts) and choose preferences from the bottom, signature will be in the menu on the left there https://www.thehelper.net/account/preferences
  • The Helper The Helper:
    I think I need to split the Sci/Tech news forum into 2 one for Science and one for Tech but I am hating all the moving of posts I would have to do
  • The Helper The Helper:
    What is up Old Mountain Shadow?
  • The Helper The Helper:
    Happy Thursday!
    +1
  • Varine Varine:
    Crazy how much 3d printing has come in the last few years. Sad that it's not as easily modifiable though
  • Varine Varine:
    I bought an Ender 3 during the pandemic and tinkered with it all the time. Just bought a Sovol, not as easy. I'm trying to make it use a different nozzle because I have a fuck ton of Volcanos, and they use what is basically a modified volcano that is just a smidge longer, and almost every part on this thing needs to be redone to make it work
  • Varine Varine:
    Luckily I have a 3d printer for that, I guess. But it's ridiculous. The regular volcanos are 21mm, these Sovol versions are about 23.5mm
  • Varine Varine:
    So, 2.5mm longer. But the thing that measures the bed is about 1.5mm above the nozzle, so if I swap it with a volcano then I'm 1mm behind it. So cool, new bracket to swap that, but THEN the fan shroud to direct air at the part is ALSO going to be .5mm to low, and so I need to redo that, but by doing that it is a little bit off where it should be blowing and it's throwing it at the heating block instead of the part, and fuck man
  • Varine Varine:
    I didn't realize they designed this entire thing to NOT be modded. I would have just got a fucking Bambu if I knew that, the whole point was I could fuck with this. And no one else makes shit for Sovol so I have to go through them, and they have... interesting pricing models. So I have a new extruder altogether that I'm taking apart and going to just design a whole new one to use my nozzles. Dumb design.
  • Varine Varine:
    Can't just buy a new heatblock, you need to get a whole hotend - so block, heater cartridge, thermistor, heatbreak, and nozzle. And they put this fucking paste in there so I can't take the thermistor or cartridge out with any ease, that's 30 dollars. Or you can get the whole extrudor with the direct driver AND that heatblock for like 50, but you still can't get any of it to come apart
  • Varine Varine:
    Partsbuilt has individual parts I found but they're expensive. I think I can get bits swapped around and make this work with generic shit though
  • Ghan Ghan:
    Heard Houston got hit pretty bad by storms last night. Hope all is well with TH.
  • The Helper The Helper:
    Power back on finally - all is good here no damage
    +1
  • V-SNES V-SNES:
    Happy Friday!
    +1

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top