Real-like projectile?

The Undaddy

Creating with the power of rage
Reaction score
55
Is it possible to create an attack that fires a projectile which hits the first unit it encounters and then disappears using only the data editor?

Also if not what kind of unit would be best for a dummy missile?
 

Severon

New Member
Reaction score
7
Ummm. I think we need more information cause what you make it sound like is:
Is it possible to make a maruader shoot a missile and hit an object using the data editor.(maruader,stalker, any single target attack disapperas after it hits the first target)
 

Flare

Stops copies me!
Reaction score
662
Ummm. I think we need more information cause what you make it sound like is:
Is it possible to make a maruader shoot a missile and hit an object using the data editor.(maruader,stalker, any single target attack disapperas after it hits the first target)

I think he means something along the line of an unguided projectile (AFAIK, the Marauder Missile is guided) like Shockwave from Warcraft3 so that when the unit fires, the missile travels in the direction of firing until it collides with something (whatever that something may be)

As regards doing that, I don't have a clue... I suppose you'd have to try out various standard units and see if any of those have that sort of functionality (I get the feeling the Air-To-Surface batteries on the Battlecruiser may be capable of this, I played a map a few days ago which had very little unit modification, and the Battlecruiser projectiles seemed to miss regularly against moving targets, so they could be unguided)
 

Cheekything

TH.net Regular
Reaction score
5
The closest ability I've seen that might work like the shockwave is the Penetrator that Raynor uses in the campaign mission Belly of the beast.

I dont know if this helps but it might be a good dummy let me know if it is.
 

The Undaddy

Creating with the power of rage
Reaction score
55
Well it shouldn't exactly work like a shockwave, more like just a single bullet that travels and hits only one target, but that target isn't necessarily the one the unit was shooting at.Just the first one it collides with.You know, real life? :p

>the Penetrator that Raynor
Well, I can't find any penetrator (I am using the campaign dependencies) but I found "Railgun Snipe" which is linked to some penetrator stuff, but its not exactly what I need.

I guess I will have to trigger it (finally, I was getting annoyed with the data editor doing everything).

I'm just not sure if I should use a locust-type unit-type unit or a missile-type unit, guess I'll find out which works better.
 

Flare

Stops copies me!
Reaction score
662
Hmm, would you look at that... I was just playing a map (before my internet crapped out...) called Heroes of the Ancient Temple. One of the heroes, the Infestor, had an ability which seemed to be just what you're looking for - the Hero launches a rolling Baneling (I think) which slowly travelled across the map until it collides with an enemy unit. Upon collision, it would blow up and damage stuff nearby - is that the sort of thing you're looking for?

If so, I'll try and dig up the map in the editor and see how it works.

Well it shouldn't exactly work like a shockwave
It was the first unguided 'projectile' that sprung to mind :p

EDIT: /victorydance - found the correct map! OK, from my very brief investigation, it appears that the ability does the following
  • Launch Missile behaviour to propel the projectile (it's using the InfestedTerranLayEggWeapon mover, I'm not sure of the importance of this particular bit though) towards an Impact Location - Target Point offset by (0, -44), I think negative values are required to offset in the direction the caster faces
  • From there, it's using a Search Area effect to determine when the projectile impacts a unit
  • Upon detecting an elligible target in that Search Area, it applies a Set effect to Search Area (i.e. the AoE damage component), force the projectile to kill itself (with a Damage effect) and apply some behaviour (which I can't figure out the use of).
  • If the the first Search Area doesn't grab a unit before the (0, -44) offset is reached, the projectile will execute a series of Effects in the same way as #3 of this list (this is only a guess)


I'm not sure if I can upload the map for you to see for yourself (given that there are no protective features surrounding it and I don't want to put the map at risk of being 'stolen' or having people mess with it for their own gain), but I'll see what I can do.
 

The Undaddy

Creating with the power of rage
Reaction score
55
No need to upload the map but where exactly do I need to put the search area effect?

EDIT: On a side note wtf is wrong with the timers, 15 executions with a 0.0125 period
 

Flare

Stops copies me!
Reaction score
662
No need to upload the map but where exactly do I need to put the search area effect?
I have no idea - one way is to give your projectile unit a Buff Behaviour which periodically executes the Search Area (which in turn links to everything else, as described previously) but that's not the way it's being done in this map.

It's an extremely confusing setup - there's a whole bunch of Effects here, just for this spell
  • Expire Set - same Effect set as the Set below, but this one occurs when projectile expires
  • Apply Behaviour - applies some behaviour to create a Baneling death sound, I think
  • Damage - this one is obvious :p
  • Launch Missile - launches the projectile, and is linked back to the Baneling Egg ability
  • Search - periodically searches for elligible targets and executes the Set effect
  • Search when Expire - executed when Search has ended, executes the Set effect
  • Set - links to Damage/Suicide/Apply Behaviour
  • SnS Persistent - a Create Persistent wrapper for the Search effect
  • Suicide - does damage to kill the projectile

I can't really figure out how in the hell this guy managed to link up this stuff - SnS Persistent links to Search, and Search links to Damage/Apply Behaviour/Suicide which makes sense... but I don't see where anything is linking up SnS Persistent or Search, which is making this whole thing very very confusing...

Not the way I would have thought about doing it (which probably makes it even more confusing), but I'm going to try and investigate it further. Perhaps I can lay my hands on the author sometime

EDIT: OK, I got a response from the author - apparently, the SnS Persistent effect is done via triggers, but the map file I opened doesn't seem to have any triggers... I'm guessing that's some sort of map protection functionality :X
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • 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
    +2
  • V-SNES V-SNES:
    Happy Friday!
    +1

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top