Archived copy of warcraft-source.com, the Warcraft: Source (WCS) forum (2007–2011), rebuilt from the Internet Archive by wc3mods.net. This page was captured on 2011-07-21 (original capture). Home · Forum · All archived topics · Downloads

Author Topic: Nice idea, but will it work?  (Read 221 times)

E.o $

  • Level 2 Apprentice
  • Posts: 59
  • Amateur Coder
Nice idea, but will it work?
« on: July 17, 2011, 08:54:34 AM »
Hey, i thaught about a Skill. War Stomp or something like that. You jump pretty high up and when you come down to earth its like a warstomp. Pushback every near enemies and damage them.

Is this possible?


PreDominance

  • Level 7 Expert
  • Posts: 331
  • Creativity is your biggest restriction
Re: Nice idea, but will it work?
« Reply #1 on: July 17, 2011, 10:31:18 AM »
It's very possible from what I've theorized and I'm already working on a skill similar to it (ever played Metroid? Screw Attack?).
Need help?

Steam:penumbra789                                      
Clan:?WwT? Wcs/Zm mod.                  
ClanWeb:wwt-clan.info

E.o $

  • Level 2 Apprentice
  • Posts: 59
  • Amateur Coder
Re: Nice idea, but will it work?
« Reply #2 on: July 17, 2011, 03:25:48 PM »
No, never seen it. I think it should not be difficult to code. it. I´ll try it by my self soon. Something like a weak teleport  just higher. After this something like the Undead ulti. But the part with the pushback is very difficult. a simple push is easy. but in that case every1 gets pushed in the same direction. That every1 gets a pushbach right away from the userid would be very difficult and probly much work for the cpu i think

PreDominance

  • Level 7 Expert
  • Posts: 331
  • Creativity is your biggest restriction
Re: Nice idea, but will it work?
« Reply #3 on: July 17, 2011, 06:23:05 PM »
Actually the most server-hogging part of this entire thing is running a check 10 times every second to see if the user is on the ground or not.
Need help?

Steam:penumbra789                                      
Clan:?WwT? Wcs/Zm mod.                  
ClanWeb:wwt-clan.info

E.o $

  • Level 2 Apprentice
  • Posts: 59
  • Amateur Coder
Re: Nice idea, but will it work?
« Reply #4 on: July 18, 2011, 03:50:45 AM »
If we define a fixed value for the range, the jump always takes the same time. Then we need no calculation if the user is on the ground. We could then use with es_delay for further action.

dAn!EL

  • Level 1 Trained Beginner
  • Posts: 26
  • ...running WCS server(s) :)
Re: Nice idea, but will it work?
« Reply #5 on: July 18, 2011, 09:53:01 AM »
Because of the different height levels on the maps, there would always be different time intervals for the "in-air-being" (think of wc3_dust2, if you jump from the roof in relation to a normal jump).
It would be better if we had a "touchdown"-event, however it would have to be coded :-/
« Last Edit: July 18, 2011, 09:54:36 AM by dAn!EL »


E.o $

  • Level 2 Apprentice
  • Posts: 59
  • Amateur Coder
Re: Nice idea, but will it work?
« Reply #6 on: July 18, 2011, 12:39:38 PM »
it could be look like longjump. not really high but effective

E.o $

  • Level 2 Apprentice
  • Posts: 59
  • Amateur Coder
Re: Nice idea, but will it work?
« Reply #7 on: July 19, 2011, 09:15:59 AM »
Ok, i want to use a push effect. But i don´t know how to push myself i the direktory i´m looking. i think es playerget viewcoord is not the right thing, becaus the distance dont worc, and if he looks up it will be failed.

So i need to createvectrostring maybe. i have no idea.
but if i would push myself 10meter to my front i get a fixed time to fall on ground.
just like longjump.

Texno

  • Level 7 Expert
  • Posts: 1103
  • Yes, It's me.
Re: Nice idea, but will it work?
« Reply #8 on: July 19, 2011, 02:39:30 PM »
Has been done, it was actually quite easy made.
STEAM: texno755
Skype: gameren755

PreDominance

  • Level 7 Expert
  • Posts: 331
  • Creativity is your biggest restriction
Re: Nice idea, but will it work?
« Reply #9 on: July 19, 2011, 04:22:40 PM »
I doubt it.
Need help?

Steam:penumbra789                                      
Clan:?WwT? Wcs/Zm mod.                  
ClanWeb:wwt-clan.info

MiB

  • Level 7 Expert
  • Posts: 1601
Re: Nice idea, but will it work?
« Reply #10 on: July 19, 2011, 09:16:30 PM »
http://addons.eventscripts.com/addons/view/extendedevents
Provides alot of extra events including player_land, so after the push/jump use wcsgroup to set like warstomp_jump to 1 and then check and see if its 1 on player_land AND then reset to 0.

~MiB
Quote from: MiB
«₥ٱβ»: Pwned.
Tha Pwned: What?
«₥ٱβ»: Learn general herpies.... I mean general python lol.

PreDominance

  • Level 7 Expert
  • Posts: 331
  • Creativity is your biggest restriction
Re: Nice idea, but will it work?
« Reply #11 on: Today at 04:13:03 PM »
Well that sure as heck beats my idea! Forgot about EE...I read it once and considered them pretty useless (GIVE ME PRE-EVENTS PLEASE!).
Need help?

Steam:penumbra789                                      
Clan:?WwT? Wcs/Zm mod.                  
ClanWeb:wwt-clan.info

Kami

  • Moderator
  • Level 7 Expert
  • Posts: 568
  • Pokemon Master!
Re: Nice idea, but will it work?
« Reply #12 on: Today at 04:27:03 PM »
Learn python for prehooks :> its rly easy ;)

PreDominance

  • Level 7 Expert
  • Posts: 331
  • Creativity is your biggest restriction
Re: Nice idea, but will it work?
« Reply #13 on: Today at 06:00:29 PM »
Nuuu Python actually takes time and skill to learn >.>

I'd learn Sourcepawn before anything.
Need help?

Steam:penumbra789                                      
Clan:?WwT? Wcs/Zm mod.                  
ClanWeb:wwt-clan.info

MiB

  • Level 7 Expert
  • Posts: 1601
Re: Nice idea, but will it work?
« Reply #14 on: Today at 08:19:22 PM »
(WARNING: ADVANCED CODERS ONLY!)

Well with the support SPE(source python extensions) that allows ESP coders to hook functions directly and call them AND even creating types for C to Python/Python to C go between handling, with that coming soon I'm pretty sure ESP will become just as powerful. But the only thing that sucks about this is that it removes SPE's native event hooking though its better that you can hook the stuff like OnTakeDamage directly instead of player_hurt. And also with being able to create our own go between types, we can start making effects.

Sources:
http://code.google.com/p/source-python-extensions/wiki/SpeModule
http://code.google.com/p/source-python-extensions/wiki/HookingSystem
http://source-python-extensions.googlecode.com/svn/branches/source-python-extensions-hooks/

Remember this isn't the only new features part of the new SPE which is coming out soon :P.

~MiB
« Last Edit: Today at 08:21:47 PM by MiB »
Quote from: MiB
«₥ٱβ»: Pwned.
Tha Pwned: What?
«₥ٱβ»: Learn general herpies.... I mean general python lol.


 


* Ads