A potencial method to have some custom non-static abilities

User avatar

Topic author
Ricky_Honejasi
Xel'naga Solar Moderator
Xel'naga Solar Moderator
Posts: 2023
Joined: Wed Aug 16, 2006 3:50 pm
Status: Offline

A potencial method to have some custom non-static abilities

Postby Ricky_Honejasi » Wed Nov 09, 2011 8:13 pm

Mostly made as an attempt to find a way for Mucky to have some custom pickable spells for his future SC2 TGS rather than static spells per hero due to how the SC2 engine is made.

The whole thing mostly relies on having a dummy ability (of type aoe, self-casted, etc.) with a dummy effect then having a trigger of the event "Effect Used" then depending on the player, it uses a different effect (or apply behavior if preferred) rather than being completely stuck on the ability's innate effect.

So far, the only flaw in the grand scheme of things is being unable to modify a button's image icon for said dummy ability (while the name, tooltip and even hotkey is possible) but it's possible to live with it.

I attached the map to show concretely how it is done. It's quite possible that it's has been known a long time ago by some others but it's new to me.
Attachments
Custom Effect Ability.SC2Map
(220.43 KiB) Downloaded 100 times

User avatar

Xenon
Zerg Queen's Nest Slave Trainee
Zerg Queen's Nest Slave Trainee
Posts: 759
Joined: Mon Oct 23, 2006 3:29 pm
Status: Offline

Re: A potencial method to have some custom non-static abilit

Postby Xenon » Thu Nov 10, 2011 4:09 pm

You might still have to have different dummy spells for different target types, AOEs, and such for the proper targeting cursor unless you can alter those catalog values through triggers or validate which AOE actor based on a behavior or something. I don't think you can alter a unit's buttons by trigger.

Another option is to use a separate item inventory for ability "items", I think Blizzard enabled AOE and other targeting cursors for those. Not sure if you can hotkey them.

User avatar

Topic author
Ricky_Honejasi
Xel'naga Solar Moderator
Xel'naga Solar Moderator
Posts: 2023
Joined: Wed Aug 16, 2006 3:50 pm
Status: Offline

Re: A potencial method to have some custom non-static abilit

Postby Ricky_Honejasi » Thu Nov 10, 2011 5:48 pm

Xenon wrote:Another option is to use a separate item inventory for ability "items", I think Blizzard enabled AOE and other targeting cursors for those. Not sure if you can hotkey them.
From memory, I think it is possible to edit the hotkeys for the Inventory items based on some SC2 maps played in the past.

User avatar

Master Jademus Sreg
Terran Battlecruiser Janitor
Terran Battlecruiser Janitor
Posts: 190
Joined: Mon Sep 25, 2006 2:32 am
Status: Offline

Re: A potencial method to have some custom non-static abilit

Postby Master Jademus Sreg » Sat Nov 26, 2011 1:12 pm

I concur with Xenon with regards to the use of items as custom picked abilities. Catalog approach may or may not be viable; in principle, it should work, but some things are simply locked out of catalog modification.


Return to “StarCraft II Discussion”

Who is online

Users browsing this forum: No registered users and 2 guests