• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Hero map with bosses ;)

Status
Not open for further replies.
Level 3
Joined
Aug 12, 2008
Messages
34
Hey guys :wink:!

I have been practicing and experimented with the model editor for a while now and I really love making maps (which I guess everyone on the hive does :grin:), especially boss maps.

So I recently started on a new map and decided to make it a some sort of a instance-based map (boss, loot, etc...). And I came up with 10 heroes with 15 custom abilties each (3 talent trees with 5 spells each), bosses and a fairly long instance with many mobs / adds.

And I am writing this thread because I need help. My main problem with my map is... I DONT GET THE TRIGGERS! :eekani:
I get the basics, but when it gets complicated (variables...) - I get stuck. And getting nowhere. And as it's the only way (besides JASS) to get my spells function properly, I have no other choice than asking for help :)

As I am only familiar with the GUI trigger system, please, if you should be that kind and reply my thread, don't reply with JASS solutions :wink: - because I am completely lost with "trying" to understand the actual purpose of that program / system. :thumbs_up:

So I ask you guys, could anyone help me getting further? :grin:
(Sorry for my poor language)

~Razorwind~
 
Level 3
Joined
Aug 12, 2008
Messages
34
Stuck with what? We can only help you if you tell us what it is you need help with.

I got a shadow hunter "boss" and I got plenty ideas for making spells for this guy.

1. spell - So it will spawn a "shadow spawn" on a random place within the boss field. It has to be killed within 12 seconds or it will explode and place a AoE field (a black fog) upon the ground that will deal massive dmg to all players that stands in it.

2. spell - the boss will focus on 1 unit and after 3 seconds throw a corrupted spear on a random picked unit. The spear will deal dmg and movement speed decreased over 10 seconds.


I've got these two so far... I am just wondering - is this way to complicated for my expertise? :p
 
Level 24
Joined
Oct 12, 2008
Messages
1,783
I've got these two so far... I am just wondering - is this way to complicated for my expertise? :p

Doubt it :p

Anyways, spell 1): One very simple way to acheive this is to give the Shadow Spawn a channeling ability, use a dummy Strafall/Tranquility although Channel is probbably best due to no side effects. You simply need to detect when it finishes channeling ie. 12 seconds, before inflicting AOE damage.

Spell 2): Honestly you dont even need scirpts for this unless you really, really want to. Computers use Shadow Strike by default without any need to force them to. You coul easily base your ability on Shadow Strike.
 
Level 3
Joined
Aug 12, 2008
Messages
34
Spell 1, how do I get the dummy to do damage? I tried this:

  • Spawn cast
    • Events
      • Time - Every 25.00 seconds of game time
    • Conditions
      • (Za' kish the Shadow Dancer 0011 <gen> is alive) Equal to True
    • Actions
      • Unit - Order Za' kish the Shadow Dancer 0011 <gen> to Orc Far Seer - Feral Spirit
      • Wait 0.10 seconds
      • Unit - Move (Last created unit) instantly to (Position of (Random unit from (Units within 1500.00 of (Position of Za' kish the Shadow Dancer 0011 <gen>) matching (((Matching unit) belongs to an enemy of Player 3 (Teal)) Equal to True))))
      • Unit - Order (Last created unit) to Attack (Random unit from (Units within 1500.00 of (Position of (Last created unit)) matching (((Matching unit) belongs to an enemy of Player 3 (Teal)) Equal to True)))
      • Wait 0.10 seconds
      • Countdown Timer - Create a timer window for SpawnTimer[1] with title Spawn of Blood
      • Countdown Timer - Start SpawnTimer[1] as a One-shot timer that will expire in 12.00 seconds
      • Wait 12.00 seconds
      • Countdown Timer - Destroy (Last created timer window)
  • Spawn die
    • Events
      • Unit - A unit Dies
    • Conditions
      • (Unit-type of (Dying unit)) Equal to Spawn of Blood
    • Actions
      • Special Effect - Create a special effect at (Position of (Dying unit)) using war3mapImported\BlackCloudOfFog.mdx
      • Wait 0.01 seconds
      • Unit - Cause Za' kish the Shadow Dancer 0011 <gen> to damage circular area after 0.00 seconds of radius 450.00 at (Position of (Dying unit)), dealing 5000.00 damage of attack type Chaos and damage type Normal
I hope you understand the triggers, boss is teal - I use feral spirit ID for the spawn summon and a countdown timer when add is active.
The action will repeat 12 times, as the fog deals dmg every second for 12 seconds. I would also like the boss to regenerate hp while standing in it, instead of losing dmg like everyone else.

Suggestions? :D
 
Level 24
Joined
Oct 12, 2008
Messages
1,783
You know all the extra 0.1 second waits are really unecessary..

Ok now to your question. Using damage area will inflict damage on everything boss included. Also you do realise that by making it trigger off unit dies, theres really no way to avoid the explosion?

I would also like the boss to regenerate hp while standing in it, instead of losing dmg like everyone else.

You could give the Shadow Spawn an aura that buffs nearby allies ie. the Boss. Then of course script the regen, whenever the aura is up.
 
Level 3
Joined
Aug 12, 2008
Messages
34
Is there a way to damage everything (upon explosion) BESIDES the boss? (New action maybe? :D)

And yeah, I am aware of that. Using wrong event and I am not quite sure which one to use, as it ain't supposed to explode if killed within 12 sec...
 
Level 24
Joined
Oct 12, 2008
Messages
1,783
Is there a way to damage everything (upon explosion) BESIDES the boss? (New action maybe? :D)

Most people prefer to use Unit Groups, pick every unit thats not an ally of the boss and inflict damage.

And yeah, I am aware of that. Using wrong event and I am not quite sure which one to use, as it ain't supposed to explode if killed within 12 sec...

Thats why i suggested to use a dummy channel, in that instance the trigger will occur off unit finishes casting and not on death.
 
Level 3
Joined
Aug 12, 2008
Messages
34
OK - I'll see if I can figure this out ;)

Thanks alot for your help (so far :D) mate, I really appreciate it as I am not quite comforted using triggers :)
 
Status
Not open for further replies.
Top