HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Possible "Jump" Button?

06-01-2003, 09:31 PM#1
l)ark_Link
Call me a newb if you must, but there is an idea ive had that I want to ad to my map. I was wondering if its humanly possible to make a feature in a map, that makes it so that your player can jump. But not only jump, but be able to go from level to level by doing so. Its sorta mandatory that I figure something like this out for my map, or it wont work at all....So if any of you guys have some ideas, it would be great if you could sorta.....help a newb out. :D
06-01-2003, 09:38 PM#2
mikedogdude
Ok, try this:
Make a hero, and make another that looks like him but can fly
Make an abilitiy that takes no mana and has no effects
When the player casts that ability, hide the hero and put the flying unit where he is, move him forward and adjust his flying height
Then move the original hero to X distance facing (facing of hero)
Then after his flying height reaches zero again, unhide the original hero
I dont know how well this will work, you probobly will have to find a way to see if the point wher he is jumping to is pathable
06-01-2003, 09:43 PM#3
l)ark_Link
I was thinking along those lines, but im not sure how to make an ability....etc etc. I know how to do the rest, i just cant figure out the ability, or how to move the hero forward, and adjust his hight. It seems hard.....

PS. Sorry for my newbish answers, I used to be good at this stuff, but Its been a long long time.....
06-01-2003, 09:50 PM#4
mikedogdude
Ok, for the ability, go into the .slk file, find war stomp or somthing, and set all the mana, damage, stun time, and any other effects values to zero, then goto the txt files, make the necesarry changes, and then leave the sections where it asks for a model blank
For the moving forward, you should make another unit that looks like the hero, but can fly, then when you cast it, hide the hero, create the flying hero, use another trigger to move him forward like 5 every .05 seconds (or whatever speed you want him to go forward) in the direction the original hero is facing
Then theres an action (i think its under animations) that adjusts the units flying height, make him go up, then back down (and make sure the original flying height is zero) then move the original hero to the flying hero's position, remove the flying hero, and unhide the original
06-01-2003, 09:54 PM#5
l)ark_Link
Thats crazy enough to work...Thanks a lot man. But there is still 1 last thing, When the flying unit goes through the "jumping" process, he still walks. What would I do to make it so that he just stays still? Seriously though, you rock man :)
06-01-2003, 09:59 PM#6
combatken
But is there a way to change the unit's movement type? If that were possible, you wouldn't have to unit swap (which is a real pain sometimes)
06-01-2003, 10:07 PM#7
mikedogdude
Set his animation time to like 25%, so then it looks like his just kinda swinging his legs rather than walking
06-01-2003, 10:37 PM#8
l)ark_Link
You sir, are a god! Thanks for all the help d00d.
06-02-2003, 04:38 AM#9
l)ark_Link
A new conflict in the plan......I cant make it so that the if the unit isnt moving, it jumps straight up. I cant figure out how to make it so that if the unit is moving, it jumps to the side, that way, but if its standing still, it just jumps straight up.....its harder to do than i thought.....
06-02-2003, 07:53 AM#10
blindead
possibly using the attack ground might help somehow

what i have in mind is, you can change the projectile of the unit to the model of the jumping unit, and it will fire the unit.

when the unit attacks ground, you can hide the attacking unit, and when the projectile hits the location, you can move the attacking unit to the region, and unhide it.

i've got this working in my map once, but the biggest problem with this is that the projectile plays its death animation when it lands on the surface or target. if there is only way to disable this, then this might be the solution to ur problem
06-02-2003, 01:04 PM#11
l)ark_Link
Ya, I thought about that, but then theres the normal attacking that the Hero might need to do....And all the changing of the projectile art, etc etc. I just dont know how to apporch changing projectile arts, and/or making abilities.....
06-02-2003, 01:25 PM#12
TEC_Ghost
Lol the FPS Mod has already done this, we have collision detection, falling damage, double jumping :P
06-02-2003, 02:58 PM#13
l)ark_Link
I dont mind if the FPS mod has done this, I just want to know the processes in by which you can make units jump, and/or double jump. Heh, double jumping should technically be in my map, but meh...Id be fine with normal jumping.
06-02-2003, 03:37 PM#14
Panto
Quote:
but then theres the normal attacking that the Hero might need to do....
Then give him two attacks, one which satisfies his normal attacking needs, and the other of which is used for the attack ground.

Alternatively, use something like Blink and accept that there isn't a good model between the starting and ending points.
06-02-2003, 06:09 PM#15
Vaderman
Play around with sine curves and changing the flying height through the sine curve. It can work wonders.