• 🏆 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!
Flux
Reaction score
140

Profile posts Latest activity Postings Experience Media Albums Resources About Medals

  • I read somewhere that when you use vJass or Jass, you should use vJass or Jass's systems. Now that I want to learn vJass or Jass, I should use vJass or Jass's systems right ? I hope I didn't misunderstand your question lol. And thanks for the link. And what about the Unit Indexer ? Do I need them ? :D
    Hi Flux, can you link me to a vJass DDS ? :D
    And do I need an Unit Indexer? Because in GUI, I used Bribe's DDS and Bribe's Unit Indexer. Or should I start with something simpler ? lol, I don't really know where to start.
    Thanks for the help on the parabola :3
    [STABLE][/STABLE]

    I made it so that the arc length is a percentage of the distance.
    Because you can, and I can't. We are the same age :D
    Because I'm an IT college student and you only have the basics (I guess)
    And lastly, I saw your first spell (I think) is coded in GUI, and every other spells are coded in vJass.
    I'm a spell maker myself, but I want to do it in vJass so badly! I can only do GUI :p
    So, how did you start your vJass journey ?
    Wait, so must I make it a missile so the length can be edited or a slice effect?
    Ok, I'll edit my lava missile so it looks suiting, hopefully...
    One problem is that particle can not travel as fast as the slice effect in the video
    What I get when I tried to save the map (It happened in the Trackables System)
    Did something happened to the award ? I recalled that you got the second place.. or I am just blind XD
    I don't really understand the scenario, but I trust your judgment. It was just a suggestion, not anything that would affect the rating.
    What I had in mind is that you could use IsUnitInRangeXY to determine if a unit is close enough for both effects.
    Anywhere on the red line.

    As shown in the concept of my previous post.
    Trackable on Hover
    Events
    Conditions
    Actions
    Custom script: local trackable track = GetTriggeringTrackable()
    Custom script: local integer id = GetHandleId(track)
    Custom script: set udg_x = LoadReal(udg_Trackable_Hash, id, 1)
    Custom script: set udg_y = LoadReal(udg_Trackable_Hash, id, 1)
    -------- Display coordinates --------
    Set p = (Position of Fighter)
    Set p2 = (Point(x, y))
    Unit - Make Fighter face (Angle from p to p2) over 0.00 seconds
    Custom script: call RemoveLocation(udg_p)
    Custom script: call RemoveLocation(udg_p2)
    Map Full of Trackables
    Events
    Time - Elapsed game time is 0.01 seconds
    Conditions
    Actions
    Custom script: local trackable track
    Custom script: local integer id
    Hashtable - Create a hashtable
    Set Trackable_Hash = (Last created hashtable)
    -------- Initialize --------
    Set xmax = (Max X of (Playable map area))
    Set xmin = (Min X of (Playable map area))
    Set ymax = (Max Y of (Playable map area))
    Set ymin = (Min Y of (Playable map area))
    -------- Start at bottom left corner of the rectangle --------
    Set x = xmin
    Set y = ymin
    -------- Loop --------
    Custom script: loop
    Set x = xmin
    Custom script: exitwhen udg_y > udg_ymax
    Custom script: loop
    Custom script: exitwhen udg_x > udg_xmax
    Custom script: set track = CreateTrackable("Doodads\\Terrain\\InvisiblePlatform\\InvisiblePlatform.mdl", udg_x, udg_y, 0)
    Custom script: set id = GetHandleId(track)
    -------- Save Trackable Data --------
    Custom script: call SaveReal(udg_Trackable_Hash, id, 1, udg_x)
    Custom script: call SaveReal(udg_Trackable_Hash, id, 2, udg_y)
    -------- Register Trackable Event --------
    Custom script: call TriggerRegisterTrackableHitEvent(gg_trg_Trackable_on_Click, track)
    Custom script: call TriggerRegisterTrackableTrackEvent(gg_trg_Trackable_on_Hover, track)
    Set x = (x + 100.00)
    Custom script: endloop
    Set y = (y + 100.00)
    Custom script: endloop

    Trackable on Hover
    Events
    Conditions
    Actions
    Custom script: local trackable track = GetTriggeringTrackable()
    Custom script: local integer id = GetHandleId(track)
    Custom script: set udg_x = LoadReal(udg_Trackable_Hash, id, 1)
    Custom script: set udg_y = LoadReal(udg_Trackable_Hash, id, 1)
    -------- Display coordinates --------
    Unit - Make Fighter face (Atan2(y, x)) over 0.00 seconds
    Thanks man! It's working now :wgrin:

    EDIT: Yea, working only in a diagonal line o_O
    The unit can only face on this red line:
    Same :3 I can confidentely say I've improved a lot from when it started to now, so I will be joining if the theme is interesting.
    Did you add credits for the effect?

    I think most authors don't want you to edit and republish it separately. Modifying it and using it in a map/spell is probably fine. Not for everybody though.
    I'm on my phone most of the time xD the only time I'm really on Hive is during the evening (7 PM PST)
    Yah, but most of the time they aren't serious so we can leave it to the EMTs. I can't really put an average on how many serious calls I actually get since they are so different :p
  • Loading…
  • Loading…
  • Loading…
  • Loading…
  • Loading…
  • Loading…
  • Loading…
  • Loading…
Top