System UAC - Unit Aura Control

Romek

Super Moderator
Staff member
Reaction score
962
It's backwards compatible.
I didn't remove features, just added them. :)
(Or changed how they worked internally)
 

Jesus4Lyf

Good Idea™
Reaction score
397
I'm actually looking at writing a spell. I thought UAC may make it faster to write. Here's end-user style feedback as to why I didn't use it in the end.

Like most users, I spent all of 5 minutes trying to figure things out about the system. And, well, if it was going to take more than 5 minutes, it was faster for me to write myself for my application.
  1. I couldn't figure out whether or not this supported auras being added/removed from units.
  2. The documentation seems to suddenly mention "the struct". What struct? Maybe I missed this, but the documentation just seemed too bloated to find what I was looking for.
  3. I found H2I attachment, which I ban on principle. Nothing wrong with the way you've done it. I'm an end user. I don't need to justify my decisions or be "correct".
  4. When I glanced through the documentation I reached the end before I knew where to even begin using the system.

Now, sorry to provide such harsh feedback on something you no doubt spent ages creating, but this was the reality for me. Perhaps you need a 10-15 sentence tutorial on using this system.

And having the changelog and contact information first actually was really frustrating.

Edit: I finally found the "Usage" section in the documentation, but feel like killing you for putting it there. It was harder to find this section than to use the system. :banghead:

It still doesn't explain whether or not auras can be added and removed, so I still can't use the system.

Hope you find this feedback useful. :)

PS. My spell was not a hero ability. It was to be added and removed via triggers. :)
 

Romek

Super Moderator
Staff member
Reaction score
962
> I couldn't figure out whether or not this supported auras being added/removed from units.
Yes, it does.
There's even a 'single' operator, which automatically destroys the instance when the unit dies. :)

> I found H2I attachment, which I ban on principle. Nothing wrong with the way you've done it. I'm an end user. I don't need to justify my decisions or be "correct".
Most people don't have a problem with that. And unfortunately, H2I is the only way to do this without using UserData.

As for the documentation, I'll fix it up. :)
 

Jesus4Lyf

Good Idea™
Reaction score
397
Hm. I may give this another shot. I didn't end up making the spell yet, and may not at all. It was an alternate reality spell - the hero and all units the player owns goes into an alternate reality, and can only be seen and targetted by other units in it. So doing it as an aura seemed handy. :p (And cheap timewise.)

>only way to do this without using UserData
Is there a problem with using a UserData indexing system? o_O
Just wondering...
 

Rommel

New Member
Reaction score
13
Oooh, i love Romek..btw, Romek, can you make a tutorial about custom auto-cast spells like Impetus in DotA. Yes there is already one in the spell section but it seems old and complicated !
 

Romek

Super Moderator
Staff member
Reaction score
962
> Is there a problem with using a UserData indexing system? o_O
Yes. System independence is a fine thing.
Not like the current method is terrible either. You're just H2Iophobic.

> Oooh, i love Romek..btw
=)

> tutorial about custom auto-cast spells like Impetus in DotA
I don't even know what Impetus is.

> Yes there is already one in the spell section but it seems old and complicated !
I haven't seen it.

I've got vJass II and III to write. And II is delayed. So don't expect a tutorial like that anytime soon. :p
 

Romek

Super Moderator
Staff member
Reaction score
962
I just read about that new patch.
How annoying.

It's a little fix. I'll need to do it once I've patched though. Something that I can'd do so easily. (I've got WE from the wrong version. =|)
 

13lade619

is now a game developer :)
Reaction score
398
hey romek....... i have a request..

could you update the attachment system?
dont rely on H2I anymore, i mean also not GetHandleId()...

because it's a major system in my map and i use it for lots of spells.

maybe go back to PUI or any other..
just not H2I 'cause it will make maps that have it not 'backwards compatible' with other versions of warcraft.
 

Romek

Super Moderator
Staff member
Reaction score
962
Updated to 2.2.

Once I get time, I'll probably recode the whole thing again. Constantly adding methods can make things messy. And I don't think any more can be possibly added. :p

The Filter methods could probably be stub methods instead of interface methods.

It should maintain backwards compatibility, though I'm considering renaming the methods to match more common naming conventions. (UnitPeriodic -> unitPeriodic, etc).
Comments on that are appreciated.


..And the documentation will be updated. =)

That'll probably be the final update.
 

Romek

Super Moderator
Staff member
Reaction score
962
The PUI version is gone.
I'll make a PUI dependant one if you want, which I'll release with version 3.

Why do you want a PUI dependant one anyway? o_O
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Varine Varine:
    I'll also probably need to set up a server at some point because these scans take up a huge amount of space. I'll worry about that when I have an office though
  • The Helper The Helper:
    I am sure Ghan could give you some solid advice on the Server stuff
  • The Helper The Helper:
    I hear that the latest IPhones and Samsungs have some of the best cameras out there.
  • jonas jonas:
    phone cameras are good for sending pics on whatsapp, but no good for macro photography
  • jonas jonas:
    I think you should buy a used macro lens, do you already have a system camera?
  • Varine Varine:
    No, I'm still looking into them and kind of leaning towards a Rebel T7 at the moment because it's pretty cheap and lenses seem pretty easy to come by. Used ones are only like 3-400 dollars, which is much cheaper than I was planning
  • jonas jonas:
    I can't really recommend you any specific lens or body due to lack of knowledge, but in my experience camera shops are very helpful, especially those that also sell used parts
  • Varine Varine:
    There's only one camera shop in my town and they seem to specialize in film, but I have time before I need it. I'm not in a rush so I'll keep researching them
  • jonas jonas:
    I think since you have such specific needs, you should find a way to give a try for different systems without having to commit to one
  • jonas jonas:
    It would suck to spend 400$ on a system that doesn't have the capability you need
  • jonas jonas:
    and it will probably take a couple of tries to get the settings right
  • Varine Varine:
    It would but I can also just make sure I can return them. The system I have works, it's pretty straightforward and I tested it with a camera I have. All it really is is a little cartridge that holds the transparency film and a white light source behind it that projects the image into the lens
  • Varine Varine:
    I'll have to fuck with the light a bit and try some different lighting methods to get color accuracy, but I have IT8 targets for that
    +1
  • The Helper The Helper:
    get that color accuracy :)
  • Varine Varine:
    They're really helpful for calibrating things because I'm really colorblind, so I'm not great at doing it by eye
    +2
  • Varine Varine:
    Well the long, slow slog of winter has officially begun here
  • Varine Varine:
    I have a bunch of community service I have to do, and I have a feeling there will be a lot of snow shoveling involved now
  • The Helper The Helper:
    don't know why people choose to live in that kind of weather :)
  • Varine Varine:
    Well
  • Varine Varine:
    My job is here
  • Varine Varine:
    I was born here man I didn't choose shit
  • Varine Varine:
    And also, I keep moving away and it doesn't get any better. I moved to San Antonio and shit froze there AND we had blackouts

    The Helper Discord

    Members online

    No members online now.

    Affiliates

    Hive Workshop NUON Dome World Editor Tutorials

    Network Sponsors

    Apex Steel Pipe - Buys and sells Steel Pipe.
    Top