AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugin/Gameplay Ideas and Requests (https://forums.alliedmods.net/forumdisplay.php?f=60)
-   -   [L4D]Getting Hurt from Flying Survivors (https://forums.alliedmods.net/showthread.php?t=101511)

Zverina 08-24-2009 15:48

[L4D]Getting Hurt from Flying Survivors
 
Okay, this one I can't think of any decent names but, another realistic plugin. If like, when a tank hits a survivor and that survivors fly's through another unharmed, instead of just flying through, possibly knocking the other survivor and and hurting them both slightly? Would be interesting to try and see a tank smack 2 survivors with 1 hit, or see a survivor trying to matrix his way out of the direction of his flying friend xD

olj 08-25-2009 02:40

Re: [L4D]Getting Hurt from Flying Survivors
 
Good idea. But can be hard for realization. Survivors have 0 collision with each other when flying from tank punches, and i have no idea how to knock survivor down with another survivor. Maybe use staggering instead (like when hunter pounce someone, all others nearby begin stuggering).

Zverina 08-25-2009 03:41

Re: [L4D]Getting Hurt from Flying Survivors
 
stagger would work, look forward to this being made!

olj 08-25-2009 04:15

Re: [L4D]Getting Hurt from Flying Survivors
 
Well i may need help from someone who knows better how to work with vector stuff.

Basic idea: Hook player_hurt event in pre-hook mode, get attacker's weapon and check if its "tank_claw", start 0.05 timer for victim, inside timer check if there are survivors neraby, if found survivors start staggering for them, stop timer if victim landed on ground.

The only REAL problem here is how to force survivors stugger. Should find a way to do this first.

Zverina 08-25-2009 16:09

Re: [L4D]Getting Hurt from Flying Survivors
 
holy crap... so thats in the codin stuff huh? dam idk if ill ever find this stuff out 0-o

Zverina 08-25-2009 16:09

Re: [L4D]Getting Hurt from Flying Survivors
 
Well good luck then

olj 08-29-2009 12:49

Re: [L4D]Getting Hurt from Flying Survivors
 
Ok, its almost done. I think i will post tomorrow after some testing. The workaround i found is just apply velocity vector to them.

And i didnt add damage yet, only pushing factor.

Zverina 08-30-2009 15:59

Re: [L4D]Getting Hurt from Flying Survivors
 
k sweet

olj 08-30-2009 21:35

Re: [L4D]Getting Hurt from Flying Survivors
 
Well, apparently i was too high yesterday to code anything, lol. Hope i post it soon though :mrgreen:

Zverina 09-05-2009 15:15

Re: [L4D]Getting Hurt from Flying Survivors
 
lulz ye xD


All times are GMT -4. The time now is 03:37.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.