AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   CS Peeking v1.5 (https://forums.alliedmods.net/showthread.php?t=132804)

ot_207 07-19-2010 03:26

CS Peeking v1.5
 
1 Attachment(s)

Description:
This plugin allows players to peek over the corner.

Usage:
The plugin offers 2 modes of control:
1. Hold the CAN PEEK key and press LEFT or RIGHT and the player will try to peek.
You cannot move/shoot while peeking. But you can look around.
Advantage is that you only need one key bind.
2. Press PEEK RIGHT or PEEK LEFT and hold them for peeking.
Here you can move while peeking.
The disadvantage is that you need 2 key binds.

Commands:
+canpeek - If a user holds this key he will be able to peek around the corners.
+peekleft - If a user holds this key he will peek on the left.
+peekright - If a user holds this key he will peek on the right.
Example how to bind it: bind v +canpeek

Porting the plugin to other mods:
If you want this mod to be ported to other mods (ex DOD) you need to post this:
- The weapons that behave like grenades
- The weapons that behave like knives

Screens:
[IMG]http://img844.**************/img844/6158/peak0.th.jpg[/IMG] | [IMG]http://img197.**************/img197/9339/peak1.th.jpg[/IMG] | [IMG]http://img839.**************/img839/4964/peak2.th.jpg[/IMG]

Changelog:
PHP Code:

1.5  added support for my block wallhack plugin!
1.4  added wall detection via TRACE_HULLthe plugin is closer to realityall bugs fixed!
1.3  - +peekleft;+peekright commands for players that do want to use 2 keys! [You can move arround when using these two]
1.2  changed the method of blocking so that the plugin can be easily adapted with other mods
1.1  fixed client animationadded +canpeek command
1.0  initial release 


Aykay 07-19-2010 05:26

Re: CS Peaking
 
Very nice - makes hl gameplay more realistic!

Edit: Thanks grimvh2.

grimvh2 07-19-2010 05:58

Re: CS Peaking
 
Quote:

Originally Posted by Aykay (Post 1244217)
Also I have no recoil and my pistols fire at a really fast rate and are automatic :S Sorry for the triple post, I'll delete and edit them all in one once my edit button works :S unless a mod can do it for me?

You should test it with 2 players, sometimes it looks like you are shooting, but thats fake. (ill take a look at the code). Anyway nice idea here. Just 1 question, won't it be frustrating when you are pressing +use and walking to the right or left? I sometimes do that. (To get higher walking speed ~265)

edit: The weapon fire is blocked, so what ur seeing is fake (because of server lag or other reasons)

Alucard^ 07-19-2010 06:05

Re: CS Peaking
 
Quote:

Originally Posted by grimvh2 (Post 1244235)
You should test it with 2 players, sometimes it looks like you are shooting, but thats fake. (ill take a look at the code). Anyway nice idea here. Just 1 question, won't it be frustrating when you are pressing +use and walking to the right or left? I sometimes do that. (To get higher walking speed ~265)

edit: The weapon fire is blocked, so what ur seeing is fake (because of server lag or other reasons)

But you don't need +use to get higher walking speed xd. But appart of that, yes... i think that would be better if use another command and not +use, but good job for the plugin, nice idea... i will use this in a future proyect mod.

Alka 07-19-2010 06:15

Re: CS Peaking
 
Oh, already done? Good job!

eD. 07-19-2010 07:22

Re: CS Peaking
 
Nice, good job!

grimvh2 07-19-2010 08:32

Re: CS Peaking
 
Quote:

Originally Posted by Alucard^ (Post 1244241)
But you don't need +use to get higher walking speed xd. But appart of that, yes... i think that would be better if use another command and not +use, but good job for the plugin, nice idea... i will use this in a future proyect mod.

I know, but sometimes i randomly press it for fun :p

ot_207 07-19-2010 11:44

Re: CS Peaking v1.1
 
@all:
Fixed everything! Added a special command.
Check main post.

Hunter-Digital 07-19-2010 21:20

Re: CS Peeking v1.2
 
I always had a problem in games that uses this style of peeking (one button in combination with movement keys) because I can't always stop in the right spot and I can't adjust my position after I peeked :/

Two buttons and restricting movement speed to a verry small value while peeking is much easier to use, IMO.

You could add this too, not changeable by cvar, but by player preference... +peek for usage with movement keys and +peekleft and +peekright for instant direction peeking with ability to move verry slowly

grimvh2 07-20-2010 03:37

Re: CS Peeking v1.2
 
Quote:

Originally Posted by Hunter-Digital (Post 1245107)
I always had a problem in games that uses this style of peeking (one button in combination with movement keys) because I can't always stop in the right spot and I can't adjust my position after I peeked :/

Two buttons and restricting movement speed to a verry small value while peeking is much easier to use, IMO.

You could add this too, not changeable by cvar, but by player preference... +peek for usage with movement keys and +peekleft and +peekright for instant direction peeking with ability to move verry slowly

That would be more realistic, since u should be able to move ur head a little farther or a little closer.


All times are GMT -4. The time now is 15:59.

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