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

SleepMod Advanced 1.0b


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Fun Stuff        Approver:   GHW_Chronic (70)
Dark Killer
Senior Member
Join Date: May 2005
Location: Kowloon, Hong Kong
Old 03-27-2006 , 07:16   SleepMod Advanced 1.0b
Reply With Quote #1

SleepMod Advanced
Version 1.0b
By pcboy

Description
Allows users to sleep. They glow in a specified color, the screen changes to black, and they gain hp for a specified hp each second for a specified maximum hp.

CVARS
slm_allow 0|1 [Default: 1]
Allow (1) or disallow (0) players to sleep
slm_glowr 0 - 255 [Default: 0]
How much player glows in red.
slm_glowg 0 - 255 [Default: 255]
How much player glows in green.
slm_glowb 0 - 255 [Default: 0]
How much player glows in blue.
slm_regainhp Any integers [Default: 1]
How much player regains the hp in each second.
slm_maxregainhp Any integers [Default: 150]
The maximum hp after regain of the player.
slm_transperancy 0 - 255 [Default: 25]
Change the transperancy of the sleeping players. 0 = Fully transperant, 255 = No transperant

Clients commands
say /sleep
Sleep and regain hp
say /zzz
Sleep and regain hp (= say /sleep)
say /wake
Wake up
say /wakeup
Wake up (= say /wake)
say /sleephelp
SleepMod Related Help

Bugs
If you set slm_regainhp to 3 or more that not divisible for 150, your hp will regain more than slm_maxregainhp, i.e. 153.

Todo list
1.1
1. Remove slm_regainhp :-( sorry
2. Tiredness System
3. You can specify or disable the sound

Credits
GHW_Chronic - Original creator of SleepMod

Required Modules
Fun

Moonshine
For AMX Version:
http://djeyl.net/forum/index.php?showtopic=49589

Changelog
(+) Bug fix, (#) Optimization, (-) Removed, (^) Added, (*) Others
1.0b
^ Change players transperancy by using slm_transperancy
^ Client command say /zzz
^ Client command say /sleephelp
^ When you type a message that include the word "sleep", a message will come up, that tells you can find for help
1.0
* Release
Attached Files
File Type: sma Get Plugin or Get Source (sleepmod_advanced.sma - 2341 views - 4.8 KB)
File Type: zip sleepmod_advanced_misc.zip (304.2 KB, 1123 views)
__________________
Dark Killer is offline
Lord_Destros
Veteran Member
Join Date: Jul 2004
Location: With stupid.
Old 03-27-2006 , 08:35  
Reply With Quote #2

1. Wasn't this already created?
2. Will this work with harbu's plugins (tsrp)?
3. Select mod (i assume tsrp)
__________________
Quote:
Originally Posted by Twilight Suzuka
Don't worry m'lord. The turtles day will come.
Lord_Destros is offline
Send a message via AIM to Lord_Destros
Dark Killer
Senior Member
Join Date: May 2005
Location: Kowloon, Hong Kong
Old 03-28-2006 , 04:34  
Reply With Quote #3

Quote:
Originally Posted by Lord_Destros
1. Wasn't this already created?
2. Will this work with harbu's plugins (tsrp)?
3. Select mod (i assume tsrp)
1. Yes, created by GHW_Chronic, I just made it more functions
2, 3. What is that??
__________________
Dark Killer is offline
HuTcH
Member
Join Date: Aug 2005
Location: Denmark
Old 03-28-2006 , 04:45  
Reply With Quote #4

Then i'll assume that it's not for tsrp.
__________________
HuTcH is offline
Send a message via MSN to HuTcH
Dark Killer
Senior Member
Join Date: May 2005
Location: Kowloon, Hong Kong
Old 03-28-2006 , 07:21  
Reply With Quote #5

** UPDATE **

Find the changes in the changelog! ;-)
__________________
Dark Killer is offline
SlimDog
Junior Member
Join Date: Mar 2006
Location: Lithuania
Old 03-28-2006 , 09:22  
Reply With Quote #6

Fun mod You could make it like some cynd away system... by adding sleeping reason, nick changer (nick + [sleeping]) and smt. like that Good luck!
__________________
SlimDog is offline
Sir Apocalypse
Member
Join Date: Jul 2005
Location: Finland
Old 03-28-2006 , 09:29  
Reply With Quote #7

Like when you sleep your name is: "*your name* [Sleeping]"
Is this ment for, when you go low hp, you can go and sleep in a corner and gain hp and attack again?
__________________
[img]http://img56.**************/img56/864/sirapocalypse1yh.gif[/img]
Sir Apocalypse is offline
Send a message via MSN to Sir Apocalypse
Lord_Destros
Veteran Member
Join Date: Jul 2004
Location: With stupid.
Old 03-28-2006 , 19:55  
Reply With Quote #8

Quote:
Originally Posted by alanboy888
Quote:
Originally Posted by Lord_Destros
1. Wasn't this already created?
2. Will this work with harbu's plugins (tsrp)?
3. Select mod (i assume tsrp)
1. Yes, created by GHW_Chronic, I just made it more functions
2, 3. What is that??
oh, ok, so its not for tsrp

TSRP = The Specialists Role Play

Harbu = Basically the original creator of RP features of TS (as far as I know)

However, for chronics plugin, wasn't that one intended for TSRP?
__________________
Quote:
Originally Posted by Twilight Suzuka
Don't worry m'lord. The turtles day will come.
Lord_Destros is offline
Send a message via AIM to Lord_Destros
HuTcH
Member
Join Date: Aug 2005
Location: Denmark
Old 03-29-2006 , 06:54  
Reply With Quote #9

Don't think so, but this is -- http://forums.alliedmods.net/showthread.php?t=24724
__________________
HuTcH is offline
Send a message via MSN to HuTcH
Dark Killer
Senior Member
Join Date: May 2005
Location: Kowloon, Hong Kong
Old 03-29-2006 , 07:11  
Reply With Quote #10

Omg It was created already, again...
__________________
Dark Killer is offline
Reply


Thread Tools
Display Modes

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:43.


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