• 0

    posted a message on Effect on unit Kill[Solved]

    Don't know why Preserver says it is only for taking damage. Location: Attacker is a totally useful part of the damage response, and you can use it to do all kinds of things on attack/spell damage.

    The only downside is that the combination of Location: Attacker and Fatal does not work, for reasons unknown.

    Posted in: Data
  • 0

    posted a message on Few questions
    Quote from Xirxies: Go

    2. Is it possible to do kinda like a expansion type thing? Something like, You complete the quests and the boss for that map and your char is saved and the expansion type thing allows you to load your char from the first map/area to next map/area and continue the quests and what not. Kinda like your typical mmo's.

    Welcome!

    This is certainly possible. Using bank files, you can store players' character data on their computers and then load it in any map you create. The players only need to leave one game that you create and join another.

    As for making heroes, there is a quite old tutorial on Youtube by OneTwoSC: They're quite long and thorough so you'll have to play close attention.

    Posted in: Miscellaneous Development
  • 0

    posted a message on How do I create a whole Custom Unit in melee?

    @xideran: Go

    I believe that in order to make a Hercules unit, you will have to use the campaign dependencies, as otherwise you will not be able to access the model.

    There's really very little downside to using the campaign dependencies, though, so just do it.

    Posted in: General Chat
  • 0

    posted a message on Code Obfuscation & Map Security

    @Apollys: Go

    Less effective than my previous suggestion, but you can obfuscate things very easily by saving them in the global DataTable. Then you can break apart the key used to store/retrieve in the DataTable so that it can't simply be searched in your map script.

    You could partially encrypt values in one location of the script and then use some trigger magic or function pointers to finish encrypting them elsewhere, retrieving them via the DataTable.

    Edit:

    And you could simply obfuscate your code by making it excessively complicated, at least in appearance.

    Posted in: Triggers
  • 0

    posted a message on Code Obfuscation & Map Security

    If the encryption keys are the only thing that you are worried about, simply put them into a data field somewhere and look them up via catalog functions on initialization. If they can't obtain your data, then they can't obtain your keys.

    Posted in: Triggers
  • 0

    posted a message on How does armor work?

    If you want to do percentage armor, rather than flat reduction, you will have to use Combat: Damage Response with a Location of Defender.

    I know nobody asked, but could be relevant.

    Posted in: Data
  • 0

    posted a message on How to permanently kill a trigger? (Getting error: too many threads)

    @Apollys: Go

    TriggerDestroy(trigger t);

    Posted in: Triggers
  • 0

    posted a message on Health and Energy bars? (Not a StatusFrame)

    @Ahli634: Go

    How do these labels behave when you select more than one unit? The info panel goes away of course when you select more than one. :)

    Posted in: UI Development
  • 0

    posted a message on Damage-over-time deaths do not give bounty

    @Stormahawk: Go

    Negative regeneration doesn't work that way. You will have to replace it with a behavior with a periodic damage effect.

    I assume Tya misunderstood and didn't read the bit about negative regeneration, as he/she referred to the damage effect as well.

    Posted in: Data
  • 0

    posted a message on Health and Energy bars? (Not a StatusFrame)

    I don't believe it's possible.

    Posted in: UI Development
  • 0

    posted a message on Circular Effect
    Quote from Reul123: Go

    I saw from Sotis on what they did with the Circular Effect Create Unit stuff, just wondering, how did they do it? XD any ideas?

    Search Effect?

    Persistent Effect?

    or whut?

    If you clarify what specifically you are referring to I have no doubt that I can answer you as I have worked on this map.

    Posted in: Data
  • 0

    posted a message on Warcraft III Portraits - Moba RPG

    @Reul123: Go

    They look good. Any way to add backgrounds?

    Posted in: Data
  • 0

    posted a message on Disable Chat

    @Charysmatic: Go

    It worked. I noticed, though, that if you disable the edit box, it can still be opened with enter, but not closed with enter.

    To solve this, I hooked up the chat bar itself as well, and moved it offscreen when necessary.

    Posted in: Triggers
  • 0

    posted a message on Disable Chat

    @Charysmatic: Go

    Thanks. I kind of expected that it wouldn't let me hook it up, but I will give this a try.

    Don't want to go to the trouble of a custom chat at the moment... Especially because it doesn't exactly gel with private messaging.

    Posted in: Triggers
  • 0

    posted a message on Disable Chat

    I want to disable the chat for individual players at different times. Has anybody done this? There's no obvious support for it in the triggers. I haven't tried any of my ideas yet, but if somebody has already done it, there's no need.

    I'm considering testing hooking up the chat bar and doing something with it. My guess is it won't let me though. I could move the chat display, but that would only prevent the player from seeing the chat, not from typing into it. I could also use the clear messages action, but this doesn't exactly have the desired functionality either.

    Posted in: Triggers
  • To post a comment, please or register a new account.