Raised This Month: $51 Target: $400
 12% 

All Seeing Eye (See Damage)


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   General Purpose       
Streamy
Member
Join Date: Jun 2008
Old 06-04-2008 , 04:51   All Seeing Eye (See Damage)
Reply With Quote #1

How this plugin came about:
Okay basically I've seen a couple of servers where you can see the damage which you deal to enemies. Pretty much like Anubis w/o the dead chat thing.

This plugin is very simple and easy to install.
Only requires AMX Mod X module. And has little CVARs.

CVARs:
eye_on 1
eye_damage_only 0
eye_showselfhurt 0
eye_toggle 1

For more info on what the CVARs do, theres a detailed description in the source code.

Client Command:
- To toggle ON/OFF: /eye
- It can be typed in chat , team chat or console.
- It toggles the client's ability to see damage dealt / sustained. As some people find it distracting.

Status of plugin:
- Clean and compiled w/o errors or warnings.
- Tested. (Screenshot attached)
- Source code is attached at the bottom.

NEW! - Message:
Every 100s or so (can be changed with a define in the source code), a message will be shown which explains to users how to toggle showing of damage. (command: /eye). However, this message is only shown if the plugin is enabled (DUH!) and if they're allowed to toggle (eye_toggle 1).

Updates

Version 2.1 - Added line.
Version 2.0 -Tested. Works perfectly.
Version 1.9 - New positioning.
Version 1.8 - Added new CVAR.
Version 1.7 - Fixed major bugs.
Version 1.6 - Used pcvars.
Version 1.5 - Corrected indentations.
Version 1.4 - Fixed gEye.
Version 1.3 - Added Message.
Version 1.2 - Revised Code.
Version 1.1 - Fixed a major bug.
Version 1.0 - Release.

Version 2.1 has been uploaded.

FAQ: Whats the difference between this plugin and this plugin?

Although there are many differences but I'll just name the most significant one - My plugin allows clients to toggle their seeing damage ability on/off.
So basically mine is slightly more flexible as it does not force clients to have to use the ability. Some people just prefer normal CS I guess.

Notes:

Yay finally I've released version 2.0 of my plugin after like 2-3 weeks of inactivity. Yes I haven't been slacking all this while I've made many updates thought I chose not to post until I could test it properly. (My network was screwed at that time so I could only run it through the compiler and not test it on an actual server.) It is now tested thoroughly and with a screenshot attached. (I had to resize it to a very small size because the forums didn't allow attaching the full-screen screenshot due to its size.)

P.s. I'm using a large crosshair (training aiming hehe...) so take that into account when you see the screenshot. And the reason why the damages are the same was because I threw a grenade at myself and my cvar was on (eye_showselfhurt 1). Ouch 86 damage ><'.

Tags:
damage bullet done dealt show see toggle eye hud counter display sustained hurt

Thanks for reading! ^^

Attached Images
File Type: bmp test.bmp (14.1 KB, 678 views)
Attached Files
File Type: sma Get Plugin or Get Source (allseeingeye.sma - 1379 views - 6.5 KB)
__________________
[IMG]http://img392.**************/img392/2875/final02cn8.jpg[/IMG]

Last edited by Streamy; 07-10-2008 at 04:07. Reason: Version 2.1 uploaded.
Streamy is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 06-04-2008 , 08:36   Re: All Seeing Eye (See Damage)
Reply With Quote #2

Binary removed.


What is the difference between this one and the other show damage plugin?
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
Streamy
Member
Join Date: Jun 2008
Old 06-04-2008 , 21:52   Re: All Seeing Eye (See Damage)
Reply With Quote #3

Oh sorry I didn't know that it'll auto compile and add the plugin for you.

Thanks ^^.
__________________
[IMG]http://img392.**************/img392/2875/final02cn8.jpg[/IMG]
Streamy is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 06-05-2008 , 01:01   Re: All Seeing Eye (See Damage)
Reply With Quote #4

Quote:
Originally Posted by YamiKaitou View Post
Binary removed.


What is the difference between this one and the other show damage plugin?
This one has no pcvars and includes an amx module.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 06-05-2008 , 08:14   Re: All Seeing Eye (See Damage)
Reply With Quote #5

Quote:
Originally Posted by connorr View Post
This one has no pcvars and includes an amx module.
Ah yes. If you want this approved, this will have to be fixed.

Also, doing "new bool:gEye[33] = true" doesn't set all to true, use arrayset
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
DA
Veteran Member
Join Date: Nov 2005
Location: Germany/Münster
Old 06-05-2008 , 08:41   Re: All Seeing Eye (See Damage)
Reply With Quote #6

Quote:
Originally Posted by YamiKaitou View Post
Ah yes. If you want this approved, this will have to be fixed.

Also, doing "new bool:gEye[33] = true" doesn't set all to true, use arrayset
Are you sure? The Pawn tutorial say something else ( http://wiki.amxmodx.org/Pawn_Tutorial )
__________________
DA is offline
Streamy
Member
Join Date: Jun 2008
Old 06-05-2008 , 09:10   Re: All Seeing Eye (See Damage)
Reply With Quote #7

Yeah I got it from:

Quote:
//Array of booleans. Note this sets every slot to true. <---?
new bool:playerHasGun[32] = true

P.s. Theres another show damage plugin? I've been searching like crazy.

-Working on plugin-
__________________
[IMG]http://img392.**************/img392/2875/final02cn8.jpg[/IMG]
Streamy is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 06-05-2008 , 09:23   Re: All Seeing Eye (See Damage)
Reply With Quote #8

Quote:
Also, doing "new bool:gEye[33] = true" doesn't set all to true, use arrayset
or : new bool:gEye[33] = { true, ... };
__________________
Arkshine is offline
Streamy
Member
Join Date: Jun 2008
Old 06-05-2008 , 09:45   Re: All Seeing Eye (See Damage)
Reply With Quote #9

I don't get how to use:
arrayset(array[], value, size) //Some explain plz. ><

Insane guess: arrayset(gEye[33], true) //Will this work?

I've never seen this native.. Always seen the array[] = true.
__________________
[IMG]http://img392.**************/img392/2875/final02cn8.jpg[/IMG]

Last edited by Streamy; 06-05-2008 at 09:47.
Streamy is offline
Old 06-05-2008, 09:46
Streamy
This message has been deleted by Streamy. Reason: Lagged so had an accidental double post...
Alka
AMX Mod X Plugin Approver
Join Date: Dec 2006
Location: malloc(null)
Old 06-05-2008 , 10:17   Re: All Seeing Eye (See Damage)
Reply With Quote #10

Quote:
Originally Posted by Streamy View Post
I don't get how to use:
arrayset(array[], value, size) //Some explain plz. ><

Insane guess: arrayset(gEye[33], true) //Will this work?

I've never seen this native.. Always seen the array[] = true.
arrayset(gEye, true, 33);
__________________
Still...lovin' . Connor noob! Hello
Alka 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:35.


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