• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!
Xonok
Reaction score
103

Profile posts Latest activity Postings Experience Resources About

  • None of that worked in hiding a spellbook. Now my best option is to store what spell the unit had used last and use that spellbook he had opened.
    Opening a spellbook doesn't count as an ability cast? Detecting if a spellbook is open is not a problem. Problem is knowing which spell book is open.
    I understand that, but your way seems more elegant. I guess I can just talk about both ways in the tutorial.
    Note. Your way of closing spell book works.. But it is not instant.

    Like you cannot un-select and reselect and order to open another spell book with the press key.
    Alright, added your way into the list of bugs/features and specifically noted, that it can be used to close spellbooks.

    You might be able to change the cancel button in one of the files at war3local.mpq
    If you find the right file, then extract and modify it however you want, then you can put it in the map on the same path that it was in the mpq.
    There's 2 possible reasons why this won't work:
    1. There is no such file(I wouldn't want to believe that)
    2. This file can not be overwritten.
    Rather than closing the spellbooks this way, use the bug when a spellbook closes when another spell book of the same base order id.

    The selection takes some delay like 0.3 to 0.4 seconds. Like If you use
    Selection - Clear selection for Player 1 (Red)
    Selection - Select (Triggering unit) for Player 1 (Red)
    Game - Force Player 1 (Red) to press the key A

    It won't work. You need to add a wait after selecting the unit.(At-least in my case)

    But when you remove and add a spell to the spell book, the spell book instantly closes.




    I don't mind cancel button changing everywhere. The reason I want to change is that in my system, there is already an use fore the escape button. So here my escape button also closes the spellbook.
    I got no idea how that system works.. Can you some way edit it so that.. If I enter a new attack speed, it would remove all previous bonuses of attackspeed in that unit and replace it with the new attack speed?

    Like first I give attack speed 100
    It would check if it got any previous bonus, If it has remove it then put the new attackspeed.

    If I put it 20 then It would remove all bonus and again put bonus of 20

    A built in mechanism is I guess needed.
    The function is in Stats - Global stats

    Its just to make sure no previous bonus are affecting... Not really needed there though.

    If i give same bonus like first 40 then another 40, they don't add up.
    Hey the bonus mod system you gave me is kind of showing me errors.

    eg. If I put the attack speed as
    128 attack speed the time between the attacks are 1.14 second
    but if i put it as 127 attack speed, the time between attacks are 1.34 second..

    I am providing you my map.. Can you check it? The item spells are in the right order I checked still you can recheck. I was making a spell then I saw the values are really messed up. I tried everything but I couldn't make it work.

    ////// testmap

    To test the map press dh in chat and a hero will spawn.. It has a spell called blade dance. When you first use it it gives 127 bonus attack speed. Second time you use it, it gives you 128 attack speed extra one. You will see the time between the attacks change too much for just 1 attack speed.

    To check the bonus speeds, there is a Abomination in the center of the map. It will show you the time between attacks. Help is possible
    I wrote it, in another post since I was in need of multi quote. But yes I deleted it 4 seconds later
    Yes, local variables to leak when returned. The best in such a situation is to use a function argument local (which do not suffer the reference leak problem) to hold and return the value or to use a global variable like a register to hold and return the value.
    Dude, please show me that trigger of the reviving undead after a living unit dies. You know with a pic or whatever, I need it for a map.
    Im not too busy, but ask ABGM. Tell him I sent you. He's my buddy. He is great with decoration.. Not sure if he is better than me at terrain, but I love laying out the map and gameplay.

    I may work with you soon.
    Ohh um. I might be busy. Object editor and terrain layout? Im average at doodads and not that good with triggers.

    Great for layout of games. Terrain, ideas, pace, etc.
    So it still doesn't work? The link was an updated one? Have you tried using the .mdx file?
  • Loading…
  • Loading…
  • Loading…
  • Loading…
  • Loading…
Top