• 🏆 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!
Deuterium
Reaction score
106

Profile posts Latest activity Postings Experience Resources About

  • well if you mean u want function which returns parabola height depending on terrain then use this one!


    function GetFloorParabolicHeight takes real dist, real max_dist, real max_height, real fl_c, real fl_n returns real
    return E_GetParabolicHeight(max_dist, max_height, dist)+fl_c-fl_n
    endfunction


    dist = current travel distance, dist is >= 0 and <= max_dist
    max_dist = maximum travel distance (x axes of parabola, width)
    max_height = maximum parabola height (y axes, height)
    fl_c = current floor height (terrain z)
    fl_n = new floor height, of point where unit will be moved next (terrain z)

    to calculate (get) quickly floor z you can use: function DD_GetFloorZ takes real x, real y returns real

    and now cnp this "GetFloorParabolicHeight" function to your map and use it!

    hope this helps and if you did mean smth else feel free to ask again!

    Greets!
    ~DD
    Btw one point you could mention in your tutorial is that waits aren't good mainly because of the reason that as soon you play maps or spell using waits in the internet/bnet the waits are just asynchronous. That means for example for a host the wait is just 5 seconds and for an other player who's not host (since he got delay) have more seconds to wait (Hint: So faster the connection of an user to the host is so better the wait work). The biggest example for this case is the map Uthers Party (I guess everyone who's mapping should know this map). If you play Uthers Party online in the bnet the intro will be pretty much fucked up at least for the players who aren't host. So yeah that's the main reason. And the second reason how you already said in your tutorial is that waits are already pretty unprecise offline (also the fact that TSA/Waits have a min wait time of 0.2 seconds or something).
    huh? are you mod by now or something like that?

    cause i saw one of your reviews in that mod-review box.
    dude, how do you have 3x more posts than me OMG! ) well now that i guess ur a mod your going to post even more lmfao >_> btw you need to go to a higher level than spell making, cus spellmaking goes toa level where its a tad too easy )
    unless if you like :p
    Wait. Promo? By the way, I hear globals for instant spells are only SLIGHTLY, REALLY SLIGHTLY, more efficient then locals.
    By the way, does that mean you can review my stuff for the future now xD?
    congratulation for becoming a moderator too :thumbs_up:

    I saw you have links in your signature
    how do you make them?
    Reputation (+2):
    (Post) Well remember when we are spell-makers and now you are mod and i am a Famous spell maker :S .. :p lol .... +2 cookies i think
    Wow you are Moderator .. that's weird .. well congrats for the PROMOTION :p :D
    hey deut... am i starting to be an asshole that makes people feel sad because i focus on efficiency now? :( ;p if so im sry (boyish XOXOXOXXO LOL)
    Well normally both should be used. There's no "I just use locals" or "I just use globals". It's up to the user to make a efficient mix of both.
    Not really... it's like mods got some extra filters like a filter which shows all rejected/deleted spells... I could make an screenshot if you want :p
    hmm sure but I'll try to add some more examples also I think I have to make a better explaination since right now the readme is kinda confusing...
    Yeah well, my time for wc3 modding is over. I am going on a university now where I study for a masters examin in game and softwaredevelopment. So, more or less, if I am programming anything, it would not be for wc3. Rather C++/Java/DirectX/OpenGL etc
    I still wish for sc2 Galaxy tho:p
    Hm bleh, but I totally have lost the interest. Sorry =/ My wc3 modding will be gone, most likely for good.
    Oh no it's fine at least the last guy was funny for me... xD setting a variable to an other variable which got the same value like the variable he wanted to set...
    Dunno I just know that most of the spells I reviewed till now aren't perfect at all...
    no this are custom made functions... i checked common.j myself and there are no such a funcs as well blizz never said anything about them so its 100% they dont exist... maybe guy who wrote them misunderstanded them with custom funcs.

    Greets!
    ~DD
    So you mean the internal DD library from JNGPS ? So can i disable DD´s libraries which you put in the categories ?
    Checked the Apostate ability again and it worx when i hit a units back =)
    But there is still the issue with DD corrupted libraries
    Reputation (+4):
    (Post) Free cookies :p Thanks for testing that map, it seems I've made it to work, so now it's polishing time :D
    i already did. anyway did you notice i am not interested in spells any longer and i once before failed to develop a new system? that once before we got ignored? i think you will fail again, but ok, i am gonna look at it.
  • Loading…
  • Loading…
  • Loading…
  • Loading…
  • Loading…
Top