• 0

    posted a message on How to teleport a unit to its home base?

    I have attempted to make a spell in the data editor that works like this:

    A spellcaster casts "Teleport" at target unit. That unit is immediately teleported back to the closest Nexus, CC or Hatchery owned by that player.

     

    For example, player A casts Teleport at Player B's Hydralisk. It is teleported to the closest Hatchery owned by Player B.

     

    I just can not get this spell to work properly in the data editor. Units are always teleported to the wrong structure - Player A's units are teleported to Player B's Hatchery, and so on...  >.<


    Is it possible to build this spell in the trigger editor?

    I am decent at the data editor and can build most of the stuff I want, but I am quite weak at the trigger editor. Instructions suitable for a dummy would be appreciated! : D

    Posted in: Triggers
  • 0

    posted a message on How to create a planet in orbit?

    Hmm... I can not figure out how to setup the trigger so it affects each star, meaning that the planets circle around the star that created the planets

    Any advice?

     

     

    Posted in: Data
  • 0

    posted a message on How to create a planet in orbit?

    Great!

     

    Being able to create stars is a late-game thing in my map. Most games, there will be no stars in the game. When there are, players will have only a few at the same time. After a few minutes, a star will blow up in a supernova, destroying the nearby planets. (And thus cancelling the trigger..?)

     

    Is there a risk that if two stars are created close to each other, planets spawned by the first star start orbiting the other star?

    Posted in: Data
  • 0

    posted a message on How to make the Phoenix focus fire on a unit while moving?

     Thanks, but would this mean that other Phoenixes would search for that unit too? So if Phoenix A attacks a unit and adds a buff on it, Phoenix B and C would all of a sudden focus fire on that unit too, without being given the order?

     

    Anyways, I will experiment in the editor and see if I can get it to work!

    Posted in: Data
  • 0

    posted a message on How to make the Phoenix focus fire on a unit while moving?

    Thanks for your reply, but I don't understand what you mean with "target sort with caster history".

     

    I assume the principle is that the Phoenix weapon adds a buff on the enemy and then the Phoenix searches for that buff on units the next time it attacks, thus keeping its focus.

     

    Would you mind to clarify? This would require an Array to be created for the field "Acquire target sorts" in the weapon, right?

    Posted in: Data
  • 0

    posted a message on How to create a planet in orbit?

    Wow, thanks a lot!


    In my map, players can create stars with an ability. Each star spawns six planets around itself. (Buff at the star with persistent effect with offset to determine where the planers are created.) The stars explode in supernovas after a few minutes.

     

    I see that you use a fixed star in the middle of the map as a part of your trigger.

     

    Would it be possible to modify your trigger to make the planets spawned by a star ONLY circle around that star, no matter how many stars there are in the game?

     

     

     

     

    Posted in: Data
  • 0

    posted a message on How to make the Phoenix focus fire on a unit while moving?

    When a Phoenix moves close to enemy air units, it shoots at the closest target while moving. The problem is that the Phoenix never keeps focus fire on a unit. As soon as an other unit comes closer, the Phoenix attacks it instead.

     

    I am trying to make the Phoenix KEEP focus fire on a unit that it is ordered to attack, even if other units come closer to the Phoenix. When the focused unit gets out of range from the Phoenix, or it dies, the Phoenix will shoot at the closest unit again, as normal.

     

    Similar to how the Cyclone has the Lock On ability.

     

    Any ideas how to make this WITHOUT having to add an activated ability to the Phoenix?

    Posted in: Data
  • 0

    posted a message on How to create a planet in orbit?

    Circular would be preferable

     

    Seems like the reply you posted yesterday has disappeared from this thread, Doctor :O

     

    Is there anything in the editor I can look at as a reference? I can't think of anything that works like this..

     

    I intend to make the planets be units. But I have no idea how to set them in motion so they follow a specific path... O_o

     

    Been playing around with constantly adding issue move order in front of the planets with a persistent offset, but that does not really work..

     

    Posted in: Data
  • 0

    posted a message on How to create a planet in orbit?

    I have a unit that is a sun. The sun spawns a planet every X seconds. I want the planets to move in an orbit around the sun... Around and around... In a smooth manner...

     

    Is that even possible to make? If so, any ideas how to make it?

     

    Posted in: Data
  • 0

    posted a message on Why do models become black ingame sometimes? [Picture]

    Thanks Doctor, I will check it out!

    Posted in: Data
  • 0

    posted a message on Why do models become black ingame sometimes? [Picture]

    Aha, seems like the models that sometimes appear black in game do not have any lightning at all! I have custom made them and not added any lightning.

     

    Hm.. But I see now that for example the Nexus has no lightning either...

     

    Is lightning a necessity?

     

    Posted in: Data
  • 0

    posted a message on Why do models become black ingame sometimes? [Picture]

    Sometimes models become black, both in game and in the editor. See picture below.

    Any ideas why that happen? Just gotta live with it?

    Posted in: Data
  • 0

    posted a message on How to cover the entire map in creep?

    Aha, I want my upgrade to work on all sizes of maps. Another approach I have in mind is once the upgrade is finished, it activates a behavior on Hatcheries that creates 25-100 invisible dummy units all over the map. Each invisible dummy unit starts spreading creep and provides vision.

     

    Preferably, the dummy units are only spawned at pathable terrain.. Not sure how to make the dummy unit spawn in a somewhat systematic way. It would be bad if 50 dummy units are spawned on almost the same location .. : /

     
    Still, it would need to work on maps of all size.

     

    Any ideas?

    Posted in: Data
  • 0

    posted a message on How to cover the entire map in creep?

    Thanks, the issue is that there seems to be no way to make a footprint larger than 48x48, which is too small to cover the whole map : /

     

    Or am I missing something?

    Posted in: Data
  • 0

    posted a message on How to cover the entire map in creep?

    Hello,

    when a Zerg player researches a specific upgrade, the entire map is slowly becoming covered in creep and the player gains vision over the entire map. Preferably shall the creep start coming out of Hatcheries or some other building. The upgrade shall work on all types of maps, including Island maps. This was more tricky to build than I thought... 

    Any ideas how to approach this?

    Posted in: Data
  • To post a comment, please or register a new account.