Blight Spread By Time

LichKingIsMe

Member
Reaction score
0
Hello people, I'm new to this forum and to the world editor. I want the blight tileset to spread all over the map in a circle that would increase over seconds or minutes. Can anyone help me. Any answers are appredciated
 

Imp Midna

Active Member
Reaction score
52
Do you only have one spot from where the blight is growing? Multiple spots? Do you know them all when the map starts?
 

LichKingIsMe

Member
Reaction score
0
It is starting at the middle that there was no blight in the start and that in minutes or seconds, there was blight spreading in a circle like in the Blue Dragon anime that the darkness is spreading all over the world but in my map the blight is spreading to corrupt the enemy's making the corrupted ones be controlled by the undead and that when the ones who spread the blight will be killed the blight will spread slower and slower. and when the hero dies the enemies win and the blight will go back at the center imprisoned forever. Image 1 is the begginning and image 2 ins the time the blight is spreading. I edited the map to show what i meant
 

Attachments

  • 1.PNG
    1.PNG
    1.4 MB · Views: 292
  • 2.PNG
    2.PNG
    1.7 MB · Views: 315

Imp Midna

Active Member
Reaction score
52
Ok, there are two ways to do that.
Thats because, in the Trigger editor, there are two ways to create blight on the map: in a circle and in a square. Then again, for the square solution, you have again two ways to do that.
The pictures you uploaded look like a square, so i will go with that solution.

First of all, you need the region the blight is gonna be created on. As for those, you have two ways to create them:
1: you place them in your editor. Every step will then fill the next region. The Problem with this methoid is that, if you want it to grow fluently (like every one or two seconds), you have to create a shitloads of regions. The good thing is that you can exactly controll the regions so it wont... look ugly.
2: you calculate the regions. For this, you need a mathmatical function telling you how fast the region grows with the time, m*x, x^2, log(x), e^-x or something like that. It can be a pitty to get a function that looks neat, but its easy to create a fluent growth with it.

First, you need to variables. To create them, press that little x on the trigger editor. You need:
- a integer variable to count the time
and, if you took method 1:
- a region array (check the checkbox)
or if you took methoid 2:
- a region.

Remember to give them appropriate names.

Now, if you took method 1, you need to safe the regions you created into the region array. To do this, you create a new trigger. Set the Event to "Map initialization". In the Actions, you need to insert the regions you created into your array. click on "New Action" - "Set Variable" - Click on the red word that says "Variable" and Select your Region Array, in the index, put a ascending number (0,1,2,3...) and in the Value, put the regions you created from the smallest to the biggest. The Trigger will look like this:
Trigger:
  • Blight Initialisation
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Set Region[0] = Blight 1 <gen>
      • Set Region[1] = Blight 2 <gen>
      • ...


If you took method 2, you can skip that step

Now you need a second Trigger where the blight is created and where you count how much blight has allready been created.

If you took method one, it would look something like this:
Trigger:
  • Blight Creation
    • Events
      • Every 2.00 seconds of game time
    • Conditions
    • Actions
      • Environment - Creat Blight for Player 1 (Red) across Region[BlightCounter]
      • Set BlightCounter = (BlightCounter + 1)

Note that you would have to turn the trigger off once everything is blighted.

Using Methoid two, the trigger would be something like this:

Trigger:
  • Blight Creation
    • Events
      • Every 2.00 seconds of game time
    • Conditions
    • Actions
      • Set Region = (Region centered at (Center of (Playable map area)) with size (((Real(BlightCounter)) x 12.00), ((Real(BlightCounter)) x 12.00)))
      • Umgebung - Erzeugen Blight for Spieler 1 (Rot) across Region
      • Set BlightCounter = (BlightCounter + 1)

(This example uses x*12, that means it grows 12 meters every 2 seconds. Note that warcraft will only create a new blight like every 100 meters or so).
 

LichKingIsMe

Member
Reaction score
0
I can't make the Set Region and Set Blight Counter on the Method 2. Can you please specify what action to choose on the selection because I'm almost complete
 

KaerfNomekop

Swim, fishies. Swim through the veil of steel.
Reaction score
613
I think they're both Set Variable actions, where Region is a region variable and BlightCounter is an integer variable.
 

LichKingIsMe

Member
Reaction score
0
Your answers were almost understanded but this is what i got yet. I still can't complete it.
 

Attachments

  • Capture.PNG
    Capture.PNG
    20.5 KB · Views: 229

Juno**

Member
Reaction score
6
U can place a dummy unit (no model, locust, invulnerable) in the center of the map as the source of the blight then make triggers similar to this

  • Creation of blight
    • Events
      • Every ___ seconds of game time
    • Conditions
    • Actions
      • Create Blight for (Player) from (Position of (Dummy_Unit)) to a radius of Size of the Blight Circle

That was from the source of the blight... and to control the corrupted ones within the blight, you can use the trigger action Unit - Change Owner... (Suggestion: To make it look cool, u can add a special effect at the position of the corrupted unit and make it spread blight too) Then as you described. when the corruptor dies, u can remove the blight by the trigger action Environment - Create/Remove Blight Circle...

NOTE: These are just my suggestions but Imp Midna's suggestion looks much more cooler and more pro-like.
 

LichKingIsMe

Member
Reaction score
0
U can place a dummy unit (no model, locust, invulnerable) in the center of the map as the source of the blight then make triggers similar to this

  • Creation of blight
    • Events
      • Every ___ seconds of game time
    • Conditions
    • Actions
      • Create Blight for (Player) from (Position of (Dummy_Unit)) to a radius of Size of the Blight Circle

That was from the source of the blight... and to control the corrupted ones within the blight, you can use the trigger action Unit - Change Owner... (Suggestion: To make it look cool, u can add a special effect at the position of the corrupted unit and make it spread blight too) Then as you described. when the corruptor dies, u can remove the blight by the trigger action Environment - Create/Remove Blight Circle...

NOTE: These are just my suggestions but Imp Midna's suggestion looks much more cooler and more pro-like.

Your idea was cool but the idea of Imp Midna was really great and almost easy to understand but if Imp Midna's guide can't be complete for my map I'll try yours
 

Solu9

You can change this now in User CP.
Reaction score
216
Ehm. I have a simple solution for you. With this solution the blight will not spread slower and slower though. It will spawn at a constant rate. But hey, you might find it useful.

Like Juno** posted before, create a dummy unit with no model, locust ability and the neutral invulnerable ability.
Then create an ability base on the undead "blight growth".

Expansion amount: I would leave it at 64
Area of effect: How far the blight will spread
Duration: This is how often the blight will spread outwards

Give the ability to your dummy unit and your are done. Try it and see if you can use it.
 

LichKingIsMe

Member
Reaction score
0
I made a duplicate of the map and tried the idea of Juno** but I can't complete the position of Dummy Unit. If can be helped completely, ultimately appreciated

I didn't understand the whole thing. Can you please explain it. Thanks
 

Solu9

You can change this now in User CP.
Reaction score
216
What do you mean by "can't complete the position of the Dummy Unit"?

There are several ways to place the dummy. Here are two.

Either of the following will do the job.
1. Place the dummy unit in the map editor.
2. Create a region and make a trigger where you create the dummy when the game begins.
 

Solu9

You can change this now in User CP.
Reaction score
216
Event: elapsed time 0.5 second
Condition:
Action: Unit - create dummy unit at center of X region.

If you are really paranoid about the single point leak then set the point with a point variable.
 

Juno**

Member
Reaction score
6
I didn't know if Solu9 is making one but I had nothin' to do so I made it. :D
 

Attachments

  • BlightGrowth.zip
    17.2 KB · Views: 190

LichKingIsMe

Member
Reaction score
0
I didn't know if Solu9 is making one but I had nothin' to do so I made it. :D

Almost completed on the blight spread part but I want that when they aren't seen they will not show the green circle because they will think there is an enemy there. I want to remove the black thing that protects the enemies from being seen. Can you help me in that?
 

LichKingIsMe

Member
Reaction score
0
I also want to make the enemies who are in the circle of blight be changed to a corrupted version which are some models I will edit from their normal selves and be controlled at the same time... Help!!!!!!!!!!!!!!

I also want the water to change into the felwood corrupted waters.
 

Solu9

You can change this now in User CP.
Reaction score
216
Almost completed on the blight spread part but I want that when they aren't seen they will not show the green circle because they will think there is an enemy there. I want to remove the black thing that protects the enemies from being seen. Can you help me in that?

Give the unit the Locust ability and change its model to nothing (I usually change the model to "...")
On a second note. You should really read or see some tutorials about the map editor. You seem to lack some of the very basic knowledge about it. Correct me if I am wrong.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • 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 The Helper:
    New recipe is another summer dessert Berry and Peach Cheesecake - https://www.thehelper.net/threads/recipe-berry-and-peach-cheesecake.194169/

      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