Raised This Month: $ Target: $400
 0% 

NS Monitor V1.0


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Natural Selection        Category:   General Purpose       
Ramirez
Member
Join Date: Aug 2004
Old 01-08-2005 , 01:10   NS Monitor V1.0
Reply With Quote #1

Quote:
/* Natural-selection Health Monitor v1.1
*
* BY: Ramirez
*
*
* Description:
* This plugin alerts players when their health is below a defined limit.
* The screen flashes red or green depending on team,shakes and a
* "Heartbeat" sound can be heard on a certain rate depending on the class.
*
* ****You can change the health value at wich the alert starts below.****
*
*
* Feel free to post any suggestions/bugs or email me:
*
* [email protected]
*
* This is my first plugin so don't be mean ;)
* I made a lot of comments so begginers(like me) could use this script as
* a reference.
*
* Special thanks to johnjg75, Freecode, Votorx , Peli , BAILOPAN ...
* They gave me a big help at understanding the basics of Small...
* Hope you like this plugin please tell me if you like it or not
* Happy new year!
*/

UPDATED TO V1.1

CHANGES:
  • Added Different Colors for Each teams
  • Added different heartbeat rate for each class
  • Screen now flashes black when life is critical ( -10 )
  • Fixed prechaching of the sound wich was looking in (sound/sound/monitor/beat.wav)
  • Now works on Egg state
  • Fixed bad indenting in script (Thanks to xxAvalanchexx)


Put "beat.wav" in the following directory:
"ns/sound/monitor/monitor.wav"
You'll have to create the directory "monitor".
Attached Files
File Type: zip monitor.zip (27.0 KB, 316 views)
Ramirez is offline
Johnny got his gun
Veteran Member
Join Date: Jan 2004
Location: Tokyo
Old 01-08-2005 , 06:44  
Reply With Quote #2

Fix the indenting...
Johnny got his gun is offline
Ramirez
Member
Join Date: Aug 2004
Old 01-08-2005 , 15:02  
Reply With Quote #3

Well... Indenting isn't a big deal..
I added
Code:
#pragma tabsize 0
to my code so it doesnt show up when I compile...

Anyone tested my plugin?
Ramirez is offline
Johnny got his gun
Veteran Member
Join Date: Jan 2004
Location: Tokyo
Old 01-08-2005 , 22:57  
Reply With Quote #4

It is a big deal. Your code is unreadable.
Johnny got his gun is offline
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 01-08-2005 , 23:53  
Reply With Quote #5

Is it only those two(ish) closing brackets that aren't properly indented that makes the entire code unreadable? Anyway, this plugin seems pretty cool, although I haven't exactly tested it. Maybe you should call it "NS Heart Monitor" or something.
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS
XxAvalanchexX is offline
Ramirez
Member
Join Date: Aug 2004
Old 01-09-2005 , 00:12  
Reply With Quote #6

Quote:
Originally Posted by Johnny got his gun
It is a big deal. Your code is unreadable.
Huh?
Is it that hard to read...?
It's easy to read...
Maybe theres a problem somewhere because when I open it its all tabbed and everything.
Ramirez is offline
Ramirez
Member
Join Date: Aug 2004
Old 01-09-2005 , 03:25  
Reply With Quote #7

New Version released.
More details in first post.
Ramirez is offline
Ramirez
Member
Join Date: Aug 2004
Old 01-10-2005 , 16:41  
Reply With Quote #8

Alright, XxAvalanchexX fixed the indenting in my script.
A big thanks to you and I updated it so it can be readable
There you go JGHG
Will this plugin be approved?
Ramirez is offline
Geesu
Veteran Member
Join Date: Mar 2004
Location: Cincinnati, OH
Old 12-13-2005 , 10:51  
Reply With Quote #9

Post sma, not zip...

Author PM me to have this plugin approved
__________________
Need war3ft help? DO NOT PM ME... Check the forums
Geesu is offline
Send a message via AIM to Geesu Send a message via MSN to Geesu
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 02:31.


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