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

CS Peeking v1.5


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Fun Stuff        Approver:   Arkshine (91)
ot_207
Veteran Member
Join Date: Jan 2008
Location: Romania The Love Country
Old 07-19-2010 , 03:26   CS Peeking v1.5
Reply With Quote #1


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 
Attached Files
File Type: sma Get Plugin or Get Source (peek.sma - 3008 views - 10.7 KB)
__________________
My approved plug-ins | Good for newbies! | Problems?

Back, will come around when I have time.

Last edited by ot_207; 09-03-2010 at 08:56. Reason: v1.5 released
ot_207 is offline
Aykay
Senior Member
Join Date: Jul 2009
Location: Australia
Old 07-19-2010 , 05:26   Re: CS Peaking
Reply With Quote #2

Very nice - makes hl gameplay more realistic!

Edit: Thanks grimvh2.
__________________


Last edited by Aykay; 07-20-2010 at 04:33. Reason: My error - not plugin.
Aykay is offline
Send a message via MSN to Aykay
Old 07-19-2010, 05:31
Aykay
This message has been deleted by Aykay. Reason: Doublepost
Old 07-19-2010, 05:40
Aykay
This message has been deleted by Aykay. Reason: Triplepost
grimvh2
Veteran Member
Join Date: Nov 2007
Location: Fishdot Nation
Old 07-19-2010 , 05:58   Re: CS Peaking
Reply With Quote #3

Quote:
Originally Posted by Aykay View Post
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)
__________________
I am out of order!
grimvh2 is offline
Alucard^
AMXX Moderator: Others
Join Date: Sep 2007
Location: Street
Old 07-19-2010 , 06:05   Re: CS Peaking
Reply With Quote #4

Quote:
Originally Posted by grimvh2 View Post
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.
__________________
Approved Plugins - Steam Profile

Public non-terminated projects:
All Admins Menu, HLTV parameters, Subnick,
Second Password (cool style), InfoZone,
Binary C4 plant/defuse, and more...

Private projects:
NoSpec (+menu), NV Surf Management,
PM Adanved System, KZ longjump2, and more...
Alucard^ is offline
Send a message via Skype™ to Alucard^
Alka
AMX Mod X Plugin Approver
Join Date: Dec 2006
Location: malloc(null)
Old 07-19-2010 , 06:15   Re: CS Peaking
Reply With Quote #5

Oh, already done? Good job!
__________________
Still...lovin' . Connor noob! Hello
Alka is offline
eD.
Senior Member
Join Date: Oct 2009
Old 07-19-2010 , 07:22   Re: CS Peaking
Reply With Quote #6

Nice, good job!
eD. is offline
grimvh2
Veteran Member
Join Date: Nov 2007
Location: Fishdot Nation
Old 07-19-2010 , 08:32   Re: CS Peaking
Reply With Quote #7

Quote:
Originally Posted by Alucard^ View Post
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
__________________
I am out of order!
grimvh2 is offline
Old 07-19-2010, 10:28
Hawk552
This message has been deleted by Hawk552.
ot_207
Veteran Member
Join Date: Jan 2008
Location: Romania The Love Country
Old 07-19-2010 , 11:44   Re: CS Peaking v1.1
Reply With Quote #8

@all:
Fixed everything! Added a special command.
Check main post.
__________________
My approved plug-ins | Good for newbies! | Problems?

Back, will come around when I have time.
ot_207 is offline
Old 07-19-2010, 11:49
Hawk552
This message has been deleted by Hawk552.
Old 07-19-2010, 11:52
ot_207
This message has been deleted by ot_207. Reason: Repost
Old 07-19-2010, 16:14
ot_207
This message has been deleted by Hawk552.
Hunter-Digital
Veteran Member
Join Date: Aug 2006
Location: In the Game [ro]
Old 07-19-2010 , 21:20   Re: CS Peeking v1.2
Reply With Quote #9

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
__________________
Hunter-Digital is offline
grimvh2
Veteran Member
Join Date: Nov 2007
Location: Fishdot Nation
Old 07-20-2010 , 03:37   Re: CS Peeking v1.2
Reply With Quote #10

Quote:
Originally Posted by Hunter-Digital View Post
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.
__________________
I am out of order!
grimvh2 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 18:28.


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