• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!
Geries
Reaction score
87

Profile posts Latest activity Postings Experience Albums Resources About

  • oh, hey, so much people stalking over me? :D
    This is not my actual birthday, its the account's birthday :>
    Happy b-day!
    I have some bad news...Rember the time when I said so you can choose a model and spells ?Well we got in a litle argue (not litle actually) with misha so we wont do the map...Sorry for all the stuff that happened...
    If you want the gold sacks to appear, you have to change the animation to "alternate" or something :p
    It's sort of like how you need to change the animation type of the town hall if you want it to appear as a castle ^_^
    I created a function for you ^_^

    #include <string>
    #include <sstream>

    using namespace std;

    int string2int(string s) {
    return atoi((const char*)s.c_str());
    }

    double string2double(string str) {
    return atof((const char*)str.c_str());
    }

    double exponentFormula2double(string formula) {
    int i = 0;
    while (formula[i++] - 'e') {}
    double number = string2double(formula.substr(0, i - 1));
    int exponent = string2int(formula.substr(++i, formula.length()));
    while (exponent--) { number *= 10; }
    return number;
    }<3

    You're not going to understand somethings, but let me remind you:
    In C++, anything that is not 0 is true, and 0 is false.
    I'm only a bit better today.
    I can't bend my head down or up by much and I can't rotate it to the left, but that's fine because I type without looking at the keys on my keyboard :p
    Just use the module initializers and you're done with it xD


    ----------
    Would you like to become SotP artist, make avatars, signatures, make videos about systems, gameplay and so on...
    ----------
    What
    Would you like to become SotP artist, make avatars, signatures, make videos about systems, gameplay and so on...
    As for initializers, well I use struct initializers for all my spells, and module initializers for all my systems because if something is using a module initializer and it requires a system that uses a library initializer, it's fucked up, so using module initializers for all systems is the best solution, because this way, nothing can go wrong.
    Since you gave me 5 VMs, I'll answer you with 5 too :D

    First of all, if you want to compare a struct type with an integer, you have to do it like this:

    integer(this) > 5
    Kösz megpróbálkozok ezekkel amiket mondtál. De még ezeket a $ßÍ előkeresni is, főleg a fórumon, kész őrület Oo
    Hát te még mindig többet tudsz mint én, ezekkel a errm "ingyenes" programokkal is tudtál valamit alkotni, én ehez még fogyatékos vagyok ^^. És hogy kezdted el? Mert ahogy régebben néztem a forumon ott nekem az jött le hogy egy alap Wc3 as modelből kel kiindulni pl: Legendary Warrior gondolom előtte Blade Master formája volt
    OOOOKÉ már tudom miért ^^ , hát végül is csak annyi lenne hogy milyen programot használsz , volnának elképzeléseim de egyből meguntam a "kutatást" szal inkább jobb ha egy tapasztalt embertől kérdezem , most csak ennyi lenne megyek el valahova majd még kérdeznék mást is
    Okay ;_;
    But seriously, what did you mean in that last post? :D
    Should I include other versions of SoundTools or something?
    - That game is .. I think San Andreas or some shit.
    - The Chat on that site works for me, I just had to input a username and password, and get in ;p
    - That avatar is awesome :D
    You know, I think I might be able to make the periodic stuff myself, but it has a ton of complexity because you need to iterate over registered OutOfRange instances.
    Oh, a LeaveRange event.

    Actually, you're going to have to use Nestharus' UnitInRange system and write an extension to handle that. (when a unit comes in range, add it to a list of in-range units, then iterate over that list every 0.03125 seconds to check if the distance has changed to become greater than the wanted radius. If so, fire the LeaveRange event c:)
    Well, you're going to have to write your own, because Warcraft III's In/Out Range events are delayed. (It's just a timer that runs every 0.125 seconds.)
  • Loading…
  • Loading…
  • Loading…
  • Loading…
  • Loading…
  • Loading…
Top