D.V.D
Reaction score
73

Profile posts Latest activity Postings About

  • Yeah, the whole IDE work flow doesn't really appeal to me. The process I am using right now consists of writing in vim (a terminal text editor) and then compiling via a Makefile. It's way better in my opinion than an IDE, they're too bloated.
    You should really look into really developing skill in the Command Prompt. And maybe use Cygwin, a *nix like terminal for Windows.
    Then for the movment, you use:

    JASS:
    
    // This is meant to happen periodically:
    call position.add(velocity)
    // The above will add the velocity to the position, making it move.
    
    // Then:
    call SetUnitX(YourUnit,position.x)
    call SetUnitY(YourUnit,position.y)
    // The above will move the actual unit.


    I hope that helps...

    You can ask more questions if you want, it might just take me time to answer.
    For the velocity vector, you must set up the direction you want the projectile/unit to head. To do that, do something like this:

    JASS:
    // For 2D movement (not including z height):
    set velocity = vector.create(0.00,0.00,0.00)
    
    set velocity.x = Cos(Angle) * SpeedPerInterval
    set velocity.y = Sin(Angle) * SpeedPerInterval
    
    // For 3D movement:
    set velocity = vector.create(0.00,0.00,0.00)
    
    set velocity.x = Sin(Pitch) * Cos(Angle) * SpeedPerInterval
    set velocity.y = Sin(Pitch) * Sin(Angle) * SpeedPerInterval
    set velocity.z = Cos(Pitch) * SpeedPerInterval


    That should give the movement per interval for a projectile or unit or something.

    Pitch is the angle including z height.

    Angle is in radians.
    Heya,

    I'm pretty swamped with work at the moment, so I probably wont have time for a full crash course in vectors, but I'll try to explain it as simply as I can.

    Basically vectors are just a set of 3D coordinates that correspond to a location on the map.

    The vector struct has an x, y and z member (referring to the respective coordinates of a point on the map).

    Basically, for movement, you should have a:

    - position vector
    - velocity vector
    - acceleration vector (only needed for vectors that change speed depending on different factors)

    The position vector is the current position of a unit.

    The velocity vector is what is added to the unit's position every interval to make it move.

    The acceleration vector may contain constraints such as gravity, friction and air density (I don't think you want to mess with these).

    So to create the position vector, do something like:

    JASS:
    
    local vector position = vector.create(GetUnitX(Unit),GetUnitY(Unit),50.00)
    I've got about 700 threads, so "your thread" isn't helpful at all.

    Look in the TESH Folder in your newgen files. There should be a folder in it called Scripts or Jass or something; I've forgotten.

    Make a text file with the functions you want highlighted.
    Yes but which functions in that system do what? I cna't figure out what the functions do so I can't set the view.
    Whoops. Second is supposed to be false, anywho, it doesn't fire. At all. (Yes, I tested.) So far, none of my actions (for clicks L or R) fire.

    Do you have MSN/AIM/w/e?

    Oh, one more thing, when my window (the picture) updates, its size gets screwed up >_>
    Wait. Everything is fixed EXCEPT for the fact that my clicks aren't working. I've looked through the demo and added actions exactly like it's done in the demo, but they still aren't firing.
    >Camera

    Copied exactly.

    >Models

    The ones on the Demo map don't show up either.

    Let me make this clear, the buttons show up on the game when I loop the show function, but not when I only use show once (like is done with the demo). Except, it is never locked to my camera. It shows up either a bit lower on the screen (scroll down a little).

    OR it's shown on the bottom left corner of the map.
    If you're saying 'B000' doesn't exist, then you obviously haven't checked >_>

    If they must be tree destructables, then how come there aren't any in the demo.

    As I said, I directly copied from the demo. Save for CreateInterface.
  • Loading…
  • Loading…
  • Loading…
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Varine Varine:
    +1
  • Varine Varine:
    I've been really into this
  • Varine Varine:
    It's a musical retelling of The Odyssey
  • Varine Varine:
    Also if you want mixed drinks without alcohol, there's a handful of non-alcoholic 'spirits'. Ritual Zero and Free Spirit are the two brands I've tried and they are alright. They don't have a TON of options, but they have some gin and whiskey alternatives that are fun to play with.
  • Varine Varine:
    I got a couple bottles to make some mixy drinks around holidays when I mostly want to drink, they aren't exact replacements but they are surprisingly close.
  • Varine Varine:
    I ended up with some hop water things that I really like instead for when I want to feel like I'm participating
  • Varine Varine:
    I just got moved to unsupervised probation, so I can get away with drinking a bit now. I technically am not supposed to, but I don't think I get checked anymore. I really want to smoke weed but it scares me
  • The Helper The Helper:
    Happy Wednesday! I am not feeling it today, my teeth are bothering me, or the fragments that were left behind are coming up and it is extra painful today. Don't ever let them tell you that getting full dental implants is easy. They have to pull all your teeth to do those and apparently they are not very good at getting all the teeth out all the time.
    +1
  • The Helper The Helper:
    That is true with Dentures too. I am taking the day off and working from home. The big difference is though, I am not drinking anymore so I have a nice tea and coffee regimen set up :)
  • Varine Varine:
    I wish i had a 3D scanner
  • Varine Varine:
    That would make what I'm doing SO much easier
  • Varine Varine:
    I guess I could just take a picture of it and then use that as a reference. I have a circuit board with some weird holes I can't get measured right
  • Varine Varine:
    Oh I got a Klipper mod for my big printer! It comes with a bunch of parts and I don't totally understand what it does but apparently it's way better than Marlin, which is I think what it currently runs
    +1
  • The Helper The Helper:
    Nice!
  • Varine Varine:
    You're people in Florida safe? The only couple I know are safe but I think they evacuated.
  • The Helper The Helper:
    They are without power but safe. Flood damage and stuff alot of tornados hit east Florida. No fatalities or injuries to any of my people that I know of
  • The Helper The Helper:
    They have been through all the Florida hurricanes they are like me I have been through every texas hurricane for the last 50 years.
  • The Helper The Helper:
    Never evacuated.
  • The Helper The Helper:
    Check out this bad ass Chicken Noodle soup recipe - https://www.thehelper.net/threads/crack-chicken-noodle-soup.196687/
  • The Helper The Helper:
    Happy Saturday!
    +1

      The Helper Discord

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top