Spawning and hero attacks

_Phoenix_

New Member
Reaction score
4
Please answer: Qs on Spawning, hero attacks and miscellaneous stuff

Hi all,

I'm new here and I am a hot fan of the World Editor... Okay, for all the experts at this forum, I have some questions on the World Editor to ask, cause I can't figure out how to do it.

1) Demon Hunter's ultimate Metamorphosis changes his attack from Hero type to Chaos, while Mountain Giant's War Club changes its attack from Normal to Siege. So, for any other spells, how do you add this attribute where it would change the type of attack (e.g. Bloodlust now also changes your attack to Chaos)?

2) To cause units spawned to attack units in a particular area, you use attack-move trigger. Yet how do you prevent them from escaping? (They go back to the base, but not going to attack)

3) How do you set the number of waves for spells like Starfall or Tranquility, just like Blizzard? (You only get to set the duration of spell.)

4) How do you prevent a unit from entering a transport (Goblin Zepplin, etc.)? (For example, Goblin Sappers cannot enter Zepplins) What do you set at the transported size?

5) How do you remove the food cap and the upkeep?

6) To prevent units and town hall to generate at Start Location, you can delete the trigger "Generate player units at start location" (can't remember exactly), then add the stuff you want. In Night Elves, if the start location is next to a Gold Mine, the Tree of Life generated will automatically entangle it. However, if you removed the trigger and place a Tree of Eternity manually there, how do you set the gold mine to be entangled once you come into play (without even the construction time)?

That's all I have for now (but it's quite a lot)... I'm not sure if some questions have already been answered before, but pls tell me how again if there is... A thousand thanks!

Best wishes,
_Phoenix_
 
1. metamorphasis does not directly alter anything. All it does is switch the unit with another unit. The other unit has the chaos damage. War club is very unique compared to other abilities, and doesn't apply in most cases. The only way, off the top of my head, is to use an upgrade that enables attack type 2, and set attack type 2 to chaos, siege, etc. just like the human seige tank. (There may be some item abilities that could help you)

2. Yepp! Common problem. Two ways. More check points big enough to catch retreiting units, and reissue the move order. Or, every time a unit gets to the destination, use AI - Ignore unit guard position. He'll forget where he came from. Note, if you tell him to move after that, he'll have a new guard position, and you'll have to call that trigger action again.

3. You can't. not without creating a bunch of dummy units, dummy abilities, and custom scripts. But logically, the duration diveded by damage interval, equals waves. Yes?

4. Make the units transport size larger than the capacity of the goblin zepplin.

5. Check under advanced -> game play constants. You can also change each units food requirement. I've seen that on BNET before, heh heh.

6. Try this. If not, then add the entangle ability to the new tree.
Unit - Order (Last created unit) to Night Elf Tree Of Life - Entangle Nearby Gold Mine (Instant)
 
WOW! You are indeed a genius! Thanks once more for your reply! I tried it out and it works!

I have a comment for Q6 (entangling the gold mine with a map-placed unit): If the Tree isn't near the Gold Mine enough, it may try to refuse this command and the trigger will not work; yet if it is near enough the trigger is absolutely fine.

I have some supplement questions for my previous ones:

1 i) On my map, my idea is to defeat Archimonde with new heroes and spells. One of the heroes, which has high agility, is to have a spell which will have Chaos attack for a limited time so that he can break through Archimonde's Divine armor. In doing research, you have to set a trigger in which when that unit activates the spell the upgrade will be researched instantly; but in this case how do you "unresearch" the upgrade once the spell wears off (the buff disappears)?

4 i) Your suggestion will work fine for Goblin Zepplins as it has 8 capacity, and you can set the transported size to 9. However, what if it was a transport (ship)? It has 10 capacity, but if you have played with the World Editor, you should find that its max number which allows you to put in is 9. How do you prevent a unit from entering a transport?
4 ii) What happens if you set the Transported Size to 0?
4 iii) Goblin Sappers cannot enter Transports. Is this a default attribute which you cannot edit?

5 i) I don't think it is possible to remove the food cap for an individual player, is it?

Thanks for answering!
 
I cant answer all of those just yet. But here.

1) Awe, sorry man. You can't unreasearch something. At least you'll know that much though. I can do more testing on attack types later tonight, but it will be a while.

4i) There is no easy, quick setting in that case. a transport size of 10 could be speculation, unless you really wanted it. You would need to use a trigger otherwise.

Event
Unit - A unit is issued an order
Condition
Issued order equal to 'load' (in lower case)

We did a lot with load and unload earlier for our cars. Do a search for it to get the exact needed actions & conditions.

4b) I dunno! Try it, heh heh.
4c) Not sure, I wasn't aware sappers couldn't get on the transport. Either its hard wired in, or there is an object editor field your not seeing. Whats the sappers transport size?

5) Probobly not. But you could set his food cap to 100 right off the bat, which would allow him a little freedom.

[EDIT] Q6 Comment:
Is that not the same effect of manually building it too far away?
 
Ever tried to, instead of just double-clicking a value in the Object Editor,
to use <shift> + double-click?

It turns of the limit checks, which means you can enter whatever you like.

Whether the game will still work... depends greatly of what values you changed :)


HTH
AceHart
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • The Helper The Helper:
    Wow - the change in the stats are major. I kind of knew it was all bots but wow, to see the effect. Why the social media sites cant do something like this I have no idea.
  • Ghan Ghan:
    Probably inflates their numbers so they look better to advertisers.
  • The Helper The Helper:
    Yeah google does not filter those bots. I remember when Apex was doing Google ads I saw the same IPs in there as I was seeing here - google is totally tracking all those bots as traffic and most google traffic, at least ours, was all bots
  • The Helper The Helper:
    oh wow, i bet i can post x links now and do the webp pics now giggity
  • The Helper The Helper:
    ahh anubis blocks anyone that has javascript turned off
  • The Helper The Helper:
    Robot: HTTP client library - i love the new robot :)
  • The Helper The Helper:
    New Science News Forum and it starts out with 420 threads :)
  • The Helper The Helper:
    Technical Support forum name changed To Technology News, there is now a Tech, sci/tech and science forums now :)
  • The Helper The Helper:
    Happy Saturday! Hope everyone has a fantastic weekend!
  • Ghan Ghan:
    We are now on Ubuntu 24.04. Had some issues with the style after the OS/PHP upgrade but now resolved.
    +1
  • Ghan Ghan:
    PHP 8.3 now live
    +1
  • The Helper The Helper:
    Weekend went by too fast. Next weekend I am going to try to do a nature thing - buddy of mine lives by the Colorado river and has some kayaks and invited me to do some kayaking from a place he knows to get on the river.
  • Ghan Ghan:
    That sounds like an adventure.
  • The Helper The Helper:
    400 users all online all looking at latest content
  • The Helper The Helper:
    I wonder how all these bots that sit on the lastest content page get passed anubis or maybe they did not but they are just registering on whos online
  • The Helper The Helper:
    showing up on whos online not registration
  • Ghan Ghan:
    The first gate is stopping all the bots that don't execute javascript.
  • Ghan Ghan:
    That's the main thing with Anubis - no Javascript, no site. Typically you can still get the site to load without Javascript.
  • The Helper The Helper:
    I remember the whole javascript thing, question - how many real people disable that?
  • The Helper The Helper:
    Hell I guess I could go back on the stats to know that - we probably capture that and we know the before and after
  • Ghan Ghan:
    Real users can't really disable Javascript anymore these days.
  • Ghan Ghan:
    The internet is broken without it.
  • Ghan Ghan:
    Bot readable, not human usable.
  • The Helper The Helper:
    got it
  • The Helper The Helper:
    Happy Thursday!

The Helper Discord

Members online

No members online now.

Affiliates

Hive Workshop NUON Dome World Editor Tutorials
Back
Top