• 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.

Runic TD has what I want but...

Status
Not open for further replies.
Level 13
Joined
May 10, 2009
Messages
868
The author probably used a 3rd party software on their map, removing some editor-only files. Resulting in your editor failing to open that map.

OFF: I thought you managed to make that ability, judging from that other topic of yours.
 
Level 6
Joined
Aug 5, 2017
Messages
251
The author probably used a 3rd party software on their map, removing some editor-only files. Resulting in your editor failing to open that map.

OFF: I thought you managed to make that ability, judging from that other topic of yours.
I did try to use Kaijyuu's method. That had no effect and then I tried the tutorial Rheiko showed, but no result there either.
 
Level 13
Joined
May 10, 2009
Messages
868
Weird... it works for me.
  • Enforce OOL to work properly
    • Events
      • Unit - A unit Is attacked
    • Conditions
      • (Level of Chain Lightning [OOL] for (Attacking unit)) Greater than 0
    • Actions
      • Trigger - Turn off (This trigger)
      • Unit - Order (Attacking unit) to Attack (Triggering unit)
      • Trigger - Turn on (This trigger)
Anyway, I'm attaching a map so you can compare it with yours.
 

Attachments

  • Lightning Tower.w3x
    17.1 KB · Views: 43
Level 6
Joined
Aug 5, 2017
Messages
251
Okay. I'll check it out.
Except changing the name from Chain Lightning to Additional Charge and included it in the Demon Tower, I did everything right. Does the damage have to be 1-1?
Can I send you the map and tell me what's wrong? I did everything right this time and still no result. And it would have been wise to make the spell passive and also had a chance.
 
Last edited:
Level 13
Joined
May 10, 2009
Messages
868
Well, the tower base damage is configured as 1-1 because I thought the chain lightning should be the real source of damage. So, increasing it to any other value will damage the primary target twice. Also, do note when transferring object editor data from a map to another, generally, makes the RawID of objects to change. So, you need to make sure these fields are configured correctly:

Ability
Untitled-3.png

Unit - Give OOL to your tower
Untitled-4.png

Make sure your trigger has its condition block configured properly
  • (Level of Chain Lightning [OOL] for (Attacking unit)) Greater than 0

NOTE: The OOL ability is the one where you should configure the chance to cast chain lightning at enemy units. That was just an example, and I forgot that you have mentioned the 20% chance.

EDIT: Post your map here if you can't make it work.
 
Last edited:

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,286
One can use MPQ Editor to access the map files directly. One can look up how certain triggers are implemented by looking at the JASS map script file. This file might be obfuscated so can be hard to read. Search for the appropriate event constants for what you want to do, that can help find the starting point of the triggers you are interested in.

I suggest trying to contact the map author and ask if he can give a copy of the desired triggers. If he does not respond then resort to the reverse engineering approach described above.
 
Status
Not open for further replies.
Top