[Log in / Register]
| News | Chat | Pastebin | Donations | Tutorials | Rules | Forums |
| Maps | Skins | Icons | Models | Spells | Tools | Jass | Packs | Hosted Projects | Starcraft II Modding | Starcraft II Resources | Galaxy Wiki |
(Keeps Hive Alive)
Go Back   The Hive Workshop > Warcraft III Modding > WarCraft III Tutorials > General Mapping Tutorials


General Mapping Tutorials This board contains tutorials that provide generic mapping information.
Read the Rules before posting.

Closed Thread
 
Thread Tools
Old 02-09-2012, 05:30 AM   #1 (permalink)
Registered User Arisato
Roughly Online
 
Arisato's Avatar
 
Join Date: Dec 2009
Posts: 1,064
Arisato is a jewel in the rough (168)
Weekend Mapping Madness - Winner: Aerial Attack 
Question Passive ability with a cooldown (attack-based)

Tutorial
Passive Abilities With Cooldown

Tutorial
Introduction

I seen many people posted some threads about it and most people who knew how to make a passive ability with a cooldown wouldn't answer it, so here are the tricks to do this yourself (example:Geminate Attack from DotA!(Well IceFrog's spell is triggered too, but making the passive cooldown is the same like the one provided in this tutorial))

Well the trick is actually simple, NO TRIGGERING SKILLS NEEDED!
Yes i mean it, even if you have no actual knowledge about triggering, and you only know HOW to use Object Editor etc etc, you can make it.


Start Here

The Actions


So lets get started

What will you be needing:
-World Edit
-Knowledge about the Object Editor
-A Brain

First of all , create an ability which you want it to be cast passively , doesn't matter if the ability is an active ability, i will use chain lightning as my passive ability,and i will name the ability "Twin Lightning", doesn't matter.

Here's the image:
Image


Now create an ability based off the Orb of Lightning.

Here's the image:

Prove


Now here's the deal

Set the "Data - Effect Ability" in the ability you've just made to Twin Lightning or what name/ability you want, you can set the chance too, it's all yours



I guess that covers it all, let me show you a gameplay screenshot if you don't believe me

Twin Lightning Learned


Twin Lightning Casted


Twin Lightning Cooldown


Notes
Notes:

The icon will appear to be darker than the actual icon. To fix this, you should import a custom version of the icon and make the regular icon have a path prefix of "DISPAS" and make the actual DISPAS have a path prefix of "PAS". For example, if you have a custom version of an icon named "MyPassiveAbility.blp", then you would make the normal PASBTN have a path of:
ReplaceableTextures\CommandButtonsDisabled\DISPASMyPassiveAbility.blp

And make the other disabled version have a path of:
ReplaceableTextures\CommandButtons\PASMyPassiveAbility.blp

Then in the object editor, assign it to the icon with the path:
ReplaceableTextures\CommandButtons\PASMyPassiveAbility.blp

Note that this may appear as green when the game is paused. (I'm not positive about this, but I assume that would happen) However, the problem where it is darkened will be fixed.

Also note that this technique as a whole is subject to whatever bugs/quirks the orb abilities already have.


Test Map
Attached Thumbnails
example.png   example2.png   example3.png   twin-lightning-cooldown.png   twin-lightning-effect.png   twin-lightning-lol.png  
Attached Files
File Type: w3x Passive Testmap.w3x (47.2 KB, 316 views)

Last edited by Arisato; 06-28-2012 at 12:43 PM.
Arisato is offline  
Old 02-10-2012, 02:19 AM   #2 (permalink)
Forum Moderator PurgeandFire
ʕ•͡ᴥ•ʔ
 
PurgeandFire's Avatar
Resource & Tutorial Moderator
 
Join Date: Nov 2006
Posts: 3,664
PurgeandFire has much of which to be proud (1144)PurgeandFire has much of which to be proud (1144)PurgeandFire has much of which to be proud (1144)PurgeandFire has much of which to be proud (1144)PurgeandFire has much of which to be proud (1144)PurgeandFire has much of which to be proud (1144)PurgeandFire has much of which to be proud (1144)
Images in the [hidden] tags are not showing up for me. Make sure they are attached to the hiveworkshop and not an external image hosting website.
PurgeandFire is offline  
Old 02-10-2012, 03:11 AM   #3 (permalink)
Registered User watermelon_1234
User
 
watermelon_1234's Avatar
 
Join Date: Nov 2007
Posts: 1,055
watermelon_1234 is a glorious beacon of light (502)watermelon_1234 is a glorious beacon of light (502)watermelon_1234 is a glorious beacon of light (502)watermelon_1234 is a glorious beacon of light (502)
The reason images aren't showing is because he didn't put any image link there. :P
watermelon_1234 is offline  
Old 02-10-2012, 04:27 AM   #4 (permalink)
Registered User Arisato
Roughly Online
 
Arisato's Avatar
 
Join Date: Dec 2009
Posts: 1,064
Arisato is a jewel in the rough (168)
Weekend Mapping Madness - Winner: Aerial Attack 
Lol, it works for me?

Updated, image should appear ^^
__________________
Has something you submitted ever been rejected? Do you wish that you could still share it? Just click the banner and enter a site where nothing is rejected where you may submit all creations. Just register and join in on the fun. Note: The models in the banner are available there. And yes I have permission to do this from the Hive Site Moderators.
Arisato is offline  
Old 02-10-2012, 11:47 AM   #5 (permalink)
Registered User WaterKnight
User
 
Join Date: Aug 2009
Posts: 2,033
WaterKnight is a name known to all (626)
There are many more types of passive abilities than the crappy onAttack orb.
WaterKnight is online now  
Old 02-10-2012, 12:04 PM   #6 (permalink)
Registered User Arisato
Roughly Online
 
Arisato's Avatar
 
Join Date: Dec 2009
Posts: 1,064
Arisato is a jewel in the rough (168)
Weekend Mapping Madness - Winner: Aerial Attack 
What does that have to do with the tutorial?
__________________
Has something you submitted ever been rejected? Do you wish that you could still share it? Just click the banner and enter a site where nothing is rejected where you may submit all creations. Just register and join in on the fun. Note: The models in the banner are available there. And yes I have permission to do this from the Hive Site Moderators.
Arisato is offline  
Old 02-10-2012, 01:37 PM   #7 (permalink)
Registered User WaterKnight
User
 
Join Date: Aug 2009
Posts: 2,033
WaterKnight is a name known to all (626)
The title does not fit. I was hoping for a tutorial how to generally make passive abilities with cooldown.
WaterKnight is online now  
Old 02-11-2012, 03:48 PM   #8 (permalink)
Registered User fakedrake
User
 
fakedrake's Avatar
 
Join Date: Apr 2010
Posts: 38
fakedrake has little to show at this moment (6)
The reason that icon gets darker when you learn it is that it automatically becomes a DISBTN type icon. So use a brighter DISBTN can solve the problem, but then when you open the menu then everything goes dark except this icon XD, which is kinda annoying
__________________
Map Currently Maps:

Legend of the Elders v1.56
fakedrake is offline  
Old 02-13-2012, 05:55 AM   #9 (permalink)
Registered User Arisato
Roughly Online
 
Arisato's Avatar
 
Join Date: Dec 2009
Posts: 1,064
Arisato is a jewel in the rough (168)
Weekend Mapping Madness - Winner: Aerial Attack 
Quote:
Originally Posted by WaterKnight View Post
The title does not fit. I was hoping for a tutorial how to generally make passive abilities with cooldown.

You can set the ability to be a channel ability , and trigger what it would do, it will still have the cooldown, this is flexible if you don't know.

And Orb effects destroy this skill, missile modifiers don't seem to destroy this ability, (tested a poison arrow + this)

@fakedrake, you can change the BTN into brighter and leave the DISBTN dark, i think that's how i solved it? or vice versa?i can't seem to remember
__________________
Has something you submitted ever been rejected? Do you wish that you could still share it? Just click the banner and enter a site where nothing is rejected where you may submit all creations. Just register and join in on the fun. Note: The models in the banner are available there. And yes I have permission to do this from the Hive Site Moderators.
Arisato is offline  
Old 02-13-2012, 08:02 AM   #10 (permalink)
Registered User WaterKnight
User
 
Join Date: Aug 2009
Posts: 2,033
WaterKnight is a name known to all (626)
Quote:
Originally Posted by Arisato View Post
You can set the ability to be a channel ability , and trigger what it would do, it will still have the cooldown, this is flexible if you don't know.
And it will still go only onAttack. But passives can also fire on other ocassions such as a nearby unit dies, the unit gets healed, receives damage/drops below life, casts another spell/uses an item, kills a unit, idles, ...

The problem is that you cannot trigger the ability instantly via trigger, not immediately perform an attack against some dummy unit or get to cooldown otherwise. At least, I do not know of such a way and was hoping to get some clue as I was reading the thread title.

Btw, orb abilities have another bug. If a unit attacks automatically out of a nearby enemy aggravating, not because you ordered it, it won't have an order and orb effects won't trigger then.
WaterKnight is online now  
Old 02-15-2012, 08:58 AM   #11 (permalink)
Registered User Arisato
Roughly Online
 
Arisato's Avatar
 
Join Date: Dec 2009
Posts: 1,064
Arisato is a jewel in the rough (168)
Weekend Mapping Madness - Winner: Aerial Attack 
then you can trigger it if a unit is attacked, then order it to attack, but check if the unit has an ability that needs to be ordered to trigger the passive.
__________________
Has something you submitted ever been rejected? Do you wish that you could still share it? Just click the banner and enter a site where nothing is rejected where you may submit all creations. Just register and join in on the fun. Note: The models in the banner are available there. And yes I have permission to do this from the Hive Site Moderators.
Arisato is offline  
Old 04-01-2012, 08:56 AM   #12 (permalink)
Registered User Remixer
User
 
Remixer's Avatar
 
Join Date: Feb 2011
Posts: 766
Remixer is a jewel in the rough (216)Remixer is a jewel in the rough (216)Remixer is a jewel in the rough (216)
Maybe you could use "custom" icon and use "wrong" paths so the DISBTN icon looks like BTN version? Could work.
__________________
Remixer is offline  
Old 04-10-2012, 10:05 AM   #14 (permalink)
Registered User Arisato
Roughly Online
 
Arisato's Avatar
 
Join Date: Dec 2009
Posts: 1,064
Arisato is a jewel in the rough (168)
Weekend Mapping Madness - Winner: Aerial Attack 
Quote:
Originally Posted by Remixer View Post
Maybe you could use "custom" icon and use "wrong" paths so the DISBTN icon looks like BTN version? Could work.
Quote:
Originally Posted by Adiktuz View Post
it should be entitled, "Making an onAttack passive ability with cooldown"
@Yes, it could work.

@Adiktuz That's kinda too long.
__________________
Has something you submitted ever been rejected? Do you wish that you could still share it? Just click the banner and enter a site where nothing is rejected where you may submit all creations. Just register and join in on the fun. Note: The models in the banner are available there. And yes I have permission to do this from the Hive Site Moderators.
Arisato is offline  
Closed Thread

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


All times are GMT. The time now is 10:25 PM.





Powered by vBulletin
Copyright 2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.5.1 PL2
Copyright © Ralle