First - you need experience with the Actors - i will not explain why to do things, or how to set specific datas. Just give you a quick Guide to do this.
To actually do OTF (On-the-fly or live) terrain deformations you need 2 things:
a hook - in terms of something to activate the actor, which is i.e. in the Tech-Demo the baneling explosion
So let's take these little cute banelings and make their explosion look really dangerous (well not really - lol)
Create a new map - whatever you like and size, i would advice you to edit the triggers so you see the whole map. (in techdemo i also have a 'place baneling on M4 click position' trigger)
Place a baneling on your map. That's all you need to do with the map so far with Units.
next go into your data editor (F7), and go to Actors
Create a new Actors Object and choose ActorType: 'Terrain Deforming' (simple huh) ...
First adjust some values like:
Blend Time - Time over which the deformation will be "animated"
Footprint - Shape of the Peak of your deformation (i prefer Creep Tumor as it is a circle)
height delta - the amount of height added/subtracted by the deformation
Influence range - Radius/size of deformation
next go into Events+ (Events Array) and add a new Event
Msg Type: Effect
SourceName: Baneling - Suicide (Unit Damage) - or just until left appears Effect.BanelingU - can also be anything else of the baneling attack set
that's all - you are done - launch map - select baneling, let it explode
ah yea here another demo i just recorded yesterday (this is not the demo)
Hati. I was wondering what you did to allow a click action ability that would create the deformations I have been trying to duplicates this with little luck. Would you be willing a map with this setup? Thank!
If you have Raw Data toggled on (if you do your first field will be CActor_AcceptedHostedProp Transfers) then you can get to the Events+ array dialog mentioned by double-clicking in the data field for CActorBase_On_Send.
(Big thanks to Sholdak for pointing that out to me)
I have just found a much much easier way to apply actors (if you want to let it get done through triggers, like player does this or time elapsed is this:
Actor - Create actor <actorname> at point (Center of region).
You can change it so it puts the actor at either a region, point and much more. Using this I could make a hole or bump in the terrain by putting a region there and letting the actor get created at that region. You also do not need to create dummy units or custom abilities for this to work.
This is just a quick deformation I made so don't expect this to be the most efficient, it should show enough info for you to make it yourself though.
Ok, i got the problem, it was a selection in the Actor Object Properties it was set to "defines Default Values" for me. Thanks :)
I created a Marauder for testing purposes and equipped it with a Siege Unit. I realized that if the banelings impacted my Marauder then something odd happened: my Marauder started to deform the terrain like the banelings. I figured out that it is better to use Unit Death > Baneling instead of Effect > Baneling Suicide because it fixes this bug (or maybe it is not a bug) and I still get the craters left by the banelings. :)