Raised This Month: $32 Target: $400
 8% 

[L4D2] Zed Time v1.4


Post New Thread Reply   
 
Thread Tools Display Modes
McFlurry
Veteran Member
Join Date: Mar 2010
Location: RemoveEdict(0);
Old 07-17-2010 , 13:33   Re: [L4D2] Zed Time v1.3.1
Reply With Quote #21

I decided to use FadeClientVolume for the meantime.
__________________
McFlurry is offline
Send a message via Skype™ to McFlurry
alexip121093
Senior Member
Join Date: Dec 2009
Location: Hong Kong
Old 07-20-2010 , 03:38   Re: [L4D2] Zed Time v1.3.1
Reply With Quote #22

some players in my server have a connection problem after each slow motion time
alexip121093 is offline
Send a message via MSN to alexip121093
McFlurry
Veteran Member
Join Date: Mar 2010
Location: RemoveEdict(0);
Old 07-20-2010 , 17:47   Re: [L4D2] Zed Time v1.3.1
Reply With Quote #23

Do they start timing out or do they get really high pings?
__________________
McFlurry is offline
Send a message via Skype™ to McFlurry
ghosthunterfool
Senior Member
Join Date: Mar 2010
Old 07-23-2010 , 11:27   Re: [L4D2] Zed Time v1.3.1
Reply With Quote #24

do u think u can add a feature by slowing down the time when the tank throw the stone? i wan to dodge stones in matrix style =X maybe set 2 seconds activation when tank begin to throw the stone? would be cool =D
ghosthunterfool is offline
step
Senior Member
Join Date: May 2010
Old 07-26-2010 , 07:29   Re: [L4D2] Zed Time v1.3.1
Reply With Quote #25

Good idea, but what about switching the players not involved to a fake third-person spectator mode when the slow-mo happens? It would be really cool.
step is offline
McFlurry
Veteran Member
Join Date: Mar 2010
Location: RemoveEdict(0);
Old 07-27-2010 , 15:12   Re: [L4D2] Zed Time v1.3.2
Reply With Quote #26

@ghosthunterfool I'll look into that.
@step I doubt that is possible I don't know of any way to create a camera entity.

Update 1.3.2 released: Fixed Zed Time activating even when it was disabled.
__________________
McFlurry is offline
Send a message via Skype™ to McFlurry
Greyscale
SourceMod Plugin Approver
Join Date: Dec 2007
Location: strYoMommasHouse[you];
Old 07-27-2010 , 15:55   Re: [L4D2] Zed Time v1.3.2
Reply With Quote #27

You can create an entity, make it invisible, set it's angles to face wherever, and then use SetClientViewEntity(client, entity);

It should be ok for this purpose because the player won't have to see themself. The source engine doesn't let a client see the world model of themselves.
__________________
Greyscale is offline
McFlurry
Veteran Member
Join Date: Mar 2010
Location: RemoveEdict(0);
Old 07-27-2010 , 16:54   Re: [L4D2] Zed Time v1.3.2
Reply With Quote #28

Thanks for the info, but wouldn't I need to run that to all valid clients? And how would I get every client.
__________________
McFlurry is offline
Send a message via Skype™ to McFlurry
step
Senior Member
Join Date: May 2010
Old 07-27-2010 , 19:08   Re: [L4D2] Zed Time v1.3.2
Reply With Quote #29

Alien Swarm has something similar when one of the player dies. The other alive players will get a third-person view of the player dying in slow motion. I don't know if the Alien Swarm SDK is available yet, but the game is based on the L4D2 engine, so it's probably possible to do it. :P
step is offline
dirka_dirka
Veteran Member
Join Date: Nov 2009
Old 07-27-2010 , 19:30   Re: [L4D2] Zed Time v1.3.2
Reply With Quote #30

Quote:
Originally Posted by McFlurry View Post
Thanks for the info, but wouldn't I need to run that to all valid clients? And how would I get every client.
you dont know how to find valid clients? heres how to get all humans in the server:
PHP Code:
for (new i=1i<=MaxClientsi++) {
    if (
IsClientInGame(i) {
        if (!
IsFakeClient(i)) {
            <
any other checks you might wantegteamalive>
            if (!
ISPLAYERINVOLVED) {
                
doit();
            }
        }
    }

ISPLAYERINVOLVED would be attacker or victim or whatever.
dirka_dirka is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:53.


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