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.
  • tom_mai78101 tom_mai78101:
    Make sure you keep checking out my news..
    +2
  • Jesus4Lyf Jesus4Lyf:
    Man, I made this account 15 years ago? Wild. :)
  • Ghan Ghan:
    Seeing J4L is definitely a blast from the past.
  • Jesus4Lyf Jesus4Lyf:
    Oh hey Ghan! Long time. :)
    +1
  • jonas jonas:
    J4L! What has happened in your life
  • Jesus4Lyf Jesus4Lyf:
    Hmm, how to summarize... Moved to the USA and got married. Became a professional software engineer and solution lead. Learning Godot for game dev. :)
  • jonas jonas:
    So you are pursuing game dev as a hobby? What industry is your dayjob in?
  • jonas jonas:
    FAANG?
  • Jesus4Lyf Jesus4Lyf:
    Not quite FAANG, less pay for a less hours/stress. Yeah, game dev as a hobby.
  • jonas jonas:
    makes sense. Do we have a hobby game dev subforum to showcase some work?
  • Blackveiled Blackveiled:
    Happy Thursday
    +1
  • The Helper The Helper:
    Happy Thursday!
  • The Helper The Helper:
    TGIF!
  • The Helper The Helper:
    hey tom_mai please do not archive anymore news
  • Ghan Ghan:
    AMD Ryzen 7000 next week :D
    +1
  • The Helper The Helper:
    noice!
  • tom_mai78101 tom_mai78101:
    "hey tom_mai please do not archive anymore news" ----> Got it. What should we do with the "News Archive" subforum?
  • The Helper The Helper:
    I think leave it for real old news that cannot be sorted the reason we had it in the first place was a server issue that we do not have anymore. I don't want to get rid of the archive just not put anything in it for now until we figure it out more
  • The Helper The Helper:
    The side chat has nothing on the discord. it is not possible but the biggest thing on my wish list right now is a sidechat channel on the disord that hooks up to this...
  • Ghan Ghan:
    I've been selected for the Diablo IV beta.
    +1
  • Ghan Ghan:
    Woo!
    +1
  • The Helper The Helper:
    that is so cool
  • V-SNES V-SNES:
    Eh just noticed the new discord section on the side. Looks great!
    +1
  • Blackveiled Blackveiled:
    :( feels bad I can't ever get selected for any beta I sign up for. It's annoying as heck.
    +1

    The Helper Discord

    Affiliates

    Hive Workshop NUON Dome World Editor Tutorials

    Network Sponsors

    Apex Steel Pipe - Buys and sells Steel Pipe.
    Top