hook

L

lordpredator

Guest
my mistake... i wanted to tell missile art... but i realized that the missile art can´t be tinted... anyway... it can still be a custom missile art, the chain that follows the glaive is custom... so all the glaive attack can be custom textured.

i´m not telling that can´t be a unit... but i don´t think that you can change the flying height of the unit via triggers (i dont know if JASS can do it)
 

waaaks!

Zinctified
Reaction score
255
yes u can change the flying height , if its movement type is fly then u can just do the animation chage flying height on unit, and when it is in ground then add the ability crow form and removing it then u can make the unit fly above.....
 

Vulcansurge

Ultra Cool Member
Reaction score
27
i´m not telling that can´t be a unit... but i don´t think that you can change the flying height of the unit via triggers (i dont know if JASS can do it)

ever heard of a jump spell?

Anyway, when i played the game, I didnt look like the meat hook was jumping.
 

substance

New Member
Reaction score
34
D.K. this an extremely advanced spell, if you dont know JASS I suggest going with a more simple GUI hook.

That may not be what you want but even if you manage to 'steal' this spell it wont be optimized for your specific map because you wont know how it works.
 

D.K.

New Member
Reaction score
11
im sure someone can make a gui of this like the other meat hook or i can just use the hook and add some modes into it.. or i can just learn jass
 

trigger_newb

Active Member
Reaction score
3
Off Topic

well, im not sure if anyone noticed or not
but when the hook comes back and there is sumthing in the way it immediately hooks that too
also
can't you just copy the spell off the map, including the trigger and dummy units and all??
when i saw the triggers for the map i realized how short the triggers are for meat hook why is that??
 

Vulcansurge

Ultra Cool Member
Reaction score
27
hey DK do you want the simplest hook?

i have one from emjl3 but give credit to emjlr3 when used the code get it here
Villan Wars just find pudge spells there or the "dummy" folder at the triggers

DK wanted the one that was featured in Pudge Wars advanced, because it looked better.

Ill first try taking the one out of pudge wars, before i decide if i need to make one especially for you... Im sure if its only a few lines so i wont be hard.
 

trigger_newb

Active Member
Reaction score
3
im not trying to be offensive
but shouldn't you guyz (somewhat advanced jass/triggers dudes) know how to import abilities pretty easily??
or is it just that this skill is extremely hard to import
 

substance

New Member
Reaction score
34
im not trying to be offensive
but shouldn't you guyz (somewhat advanced jass/triggers dudes) know how to import abilities pretty easily??
or is it just that this skill is extremely hard to import

no, it isnt.

Look at the script in the map header.
 

Vulcansurge

Ultra Cool Member
Reaction score
27
Ok that seems like the easiest idea. Ill import everying. DK attach your map.

If i cant, as i said b4, I might be able to try and make the trigger myself, but i cant guarantee anything.
 

trigger_newb

Active Member
Reaction score
3
Off Topic

this is extremely off topic
but sorry if it bother you to see that i posted it
i think we should call this meat hook 'glaive hook'
doesn't it sound a lot much cooler??
 

Tossrock

New Member
Reaction score
11
Evening chaps, glad to see the interest in my map! As a note, the current version is 1.17c, which is available at http://pudgewars.informe.com

Anyway, as someone pointed out earlier it does indeed use structs. You'll need Grimoire by PipeDream and Jasshelper by Vexorian to compile them.

How it works:

A trigger detects when a unit casts a spell. If the spell is equal to the Meat Hook ability, then it creates a MeatHook struct object, calculates the angle between the target point and the caster, stores a bunch of data onto the struct, then calls a spawner method on MeatHook object.

The spawner method just initializes more variables and then starts a timer which runs every .02 seconds and calls the HookForward method.

The spell relies on a linkedlist implementation I wrote for the map; there's a List struct object and then a Node struct object. If you don't know what a linked list is, well, I suggest you read up on it. I'm sure wikipedia could tell you about it.

Anyway, the HookForward method reads data from the MeatHook struct object; if it's the first iteration then it intializes the list and creates the Glaive. Each iteration it creates a new chain link at the position of the caster, and loops through the linked list moving each unit toward the angle between the current node and the next (or previous, depending on how you look at it).

On the first iteration a local trigger which detects units in range of the Glaive hook head is also created; when that trigger executes it sets a boolean variable to true so that the hook then switches to retraction mode, doing effectively the same thing as HookForward, only in reverse.

As for creating a GUI clone of it...

It could probably be done, but multi-instanceability would be quite difficult, and the code would be ugly as sin. Not like mine isn't already >_>

I hope this was helpful to you all, and again, get the newest version! It has powerups!
f_Picture1m_35c5915.png
 

Vulcansurge

Ultra Cool Member
Reaction score
27
There is a small problem with your map that you need to fix tossrock. When you cast the hook, it dissapears becuase it goes out on visibilty and it doesnt look nice. Have you tried creating a few dummy units along the line with a small sight range (something like 200). Create these as soon as the spell starts and add a timer to them?
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • The Helper The Helper:
    The bots will show up as users online in the forum software but they do not show up in my stats tracking. I am sure there are bots in the stats but the way alot of the bots treat the site do not show up on the stats
  • Varine Varine:
    I want to build a filtration system for my 3d printer, and that shit is so much more complicated than I thought it would be
  • Varine Varine:
    Apparently ABS emits styrene particulates which can be like .2 micrometers, which idk if the VOC detectors I have can even catch that
  • Varine Varine:
    Anyway I need to get some of those sensors and two air pressure sensors installed before an after the filters, which I need to figure out how to calculate the necessary pressure for and I have yet to find anything that tells me how to actually do that, just the cfm ratings
  • Varine Varine:
    And then I have to set up an arduino board to read those sensors, which I also don't know very much about but I have a whole bunch of crash course things for that
  • Varine Varine:
    These sensors are also a lot more than I thought they would be. Like 5 to 10 each, idk why but I assumed they would be like 2 dollars
  • Varine Varine:
    Another issue I'm learning is that a lot of the air quality sensors don't work at very high ambient temperatures. I'm planning on heating this enclosure to like 60C or so, and that's the upper limit of their functionality
  • Varine Varine:
    Although I don't know if I need to actually actively heat it or just let the plate and hotend bring the ambient temp to whatever it will, but even then I need to figure out an exfiltration for hot air. I think I kind of know what to do but it's still fucking confusing
  • The Helper The Helper:
    Maybe you could find some of that information from AC tech - like how they detect freon and such
  • Varine Varine:
    That's mostly what I've been looking at
  • Varine Varine:
    I don't think I'm dealing with quite the same pressures though, at the very least its a significantly smaller system. For the time being I'm just going to put together a quick scrubby box though and hope it works good enough to not make my house toxic
  • Varine Varine:
    I mean I don't use this enough to pose any significant danger I don't think, but I would still rather not be throwing styrene all over the air
  • The Helper The Helper:
    New dessert added to recipes Southern Pecan Praline Cake https://www.thehelper.net/threads/recipe-southern-pecan-praline-cake.193555/
  • The Helper The Helper:
    Another bot invasion 493 members online most of them bots that do not show up on stats
  • Varine Varine:
    I'm looking at a solid 378 guests, but 3 members. Of which two are me and VSNES. The third is unlisted, which makes me think its a ghost.
    +1
  • The Helper The Helper:
    Some members choose invisibility mode
    +1
  • The Helper The Helper:
    I bitch about Xenforo sometimes but it really is full featured you just have to really know what you are doing to get the most out of it.
  • The Helper The Helper:
    It is just not easy to fix styles and customize but it definitely can be done
  • The Helper The Helper:
    I do know this - xenforo dropped the ball by not keeping the vbulletin reputation comments as a feature. The loss of the Reputation comments data when we switched to Xenforo really was the death knell for the site when it came to all the users that left. I know I missed it so much and I got way less interested in the site when that feature was gone and I run the site.
  • Blackveiled Blackveiled:
    People love rep, lol
    +1
  • The Helper The Helper:
    The recipe today is Sloppy Joe Casserole - one of my faves LOL https://www.thehelper.net/threads/sloppy-joe-casserole-with-manwich.193585/
  • The Helper The Helper:
    Decided to put up a healthier type recipe to mix it up - Honey Garlic Shrimp Stir-Fry https://www.thehelper.net/threads/recipe-honey-garlic-shrimp-stir-fry.193595/
  • The Helper The Helper:
    Here is another comfort food favorite - Million Dollar Casserole - https://www.thehelper.net/threads/recipe-million-dollar-casserole.193614/

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top