EventScripts Forums
Mattie's EventScripts and Source Forums
Mattie recommends...
Premier Sponsor:Platinum Sponsor:
 
Script Categories
addon (49) admin (269) admins (14) advert (15) adverts (19) afk (15) alerts (12) ammo (23) anti (15) auth (16) automatic (11) awp (23) ban (18) ba_jail (17) bhop (19) block (18) bomb (40) bonus (23) bot (24) bot-management (19) bots (17) bunnyhop (11) Buy (21) cash (65) chat (57) cheat (11) clan (16) classes (22) color (21) colors (18) command (20) commands (18) config (22) connect (42) CS:S (16) css (2513) Damage (36) database (11) dead (15) death (19) deathmatch (70) deathrun (12) disconnect (18) Dissolve (11) dm (20) dod:s (11) dods (389) easy (18) effects (120) English (15) entity (21) es_tools (12) Eventscript (12) flashbang (25) français (99) french (36) fun (288) funny (16) Gabeee (11) gameplay (174) give (16) gravity (11) grenade (25) grenades (29) gun (14) GunGame (26) GunGame5 (11) guns (17) Hack (15) headshot (32) health (55) hegrenade (13) hl2dm (332) HP (13) info (48) information (16) IP (11) jail (26) jailbreak (11) join (23) jump (12) kick (22) kill (44) kills (22) knife (57) leveling (36) management (14) mani (14) map (25) map-management (27) maps (15) match (17) menu (106) message (20) messaging (52) mod (109) model (14) models (32) money (42) motd (13) music (29) mute (17) nades (18) name (13) noblock (35) player (40) player-management (31) player-tracking (28) popup (56) props (23) protection (27) punishment (49) python (63) quake (18) radio (21) random (36) rank (35) rates (16) rcon (13) realism (21) respawn (61) restrict (36) round (20) rpg (24) rules (41) say (11) scout (19) Script (20) script-helper (25) scriptpack (33) sdk (151) server (44) server-tools (42) shop (12) silly (31) simple (27) skins (25) slay (13) soccer (11) sound (45) sounds (92) spanish (11) spawn (63) speed (25) statistics (13) stats (48) status (11) STEAMID (24) Superhero (13) surf (31) Team (25) team-balance (14) teleport (12) text (14) TF2 (143) time (17) timer (14) tools (15) tracers (17) triggers (11) uedi (18) uses_auth (18) utility (11) vip (12) vote (36) voting (22) war (20) wcs (24) wcs:Python (32) weapon (77) weapons (114) web (14) welcome (12) zm (24) zombie (90) zombiemod (51) zombies (11)
Script Authors
*XYZ*SaYnt (12) .:MiB:. (11) .eMko* (6) 101satoon101 (10) 3R10N (24) 4u571n91 (5) 7355608 (9) Absolute (8) Ace Rimmer (40) adminc (5) Adz (8) AgathaKnuppelkuh (8) aidden (8) ajax (5) ak_47 (6) Al3c Tr3v3lyan (6) allstareng (5) ashbash1987 (9) ATAMAH (7) aznone (5) B00M (5) BackRaw (41) BFH_RedBull (8) bigfabi (7) Bioko (7) Blade (10) bladesback (13) bobdole (11) bodzsar1 (8) bonbon (36) Brainsucker (30) cagemonkey (8) carbon-14 (10) CaskioUTF (5) cbirou (15) ChaCaLz2psy4 (5) CharlesT (5) Chrisber (5) chrismrulz (9) Chun (6) cladiron (10) clipz934 (8) Colster (21) Cookieman8 (7) craziest (10) DanielB (19) Darkness123 (8) Dave (9) dbozan99 (7) deathx9 (5) Deathyy (16) dhack (16) Di[M]aN (12) DoCky (27) Don (15) dordtcore (8) DragonFreddo (8) Drassil (5) Einlanzers (42) EmbouT (10) emilplov (7) Errant (10) Eun (6) Fantole (9) Franc1sco (10) freddukes (18) Frequency (6) Fulmine (5) GAMEREN2 (8) german9114 (13) GODJonez (38) GoodfellaDeal (5) Hansi (6) HitThePipe (7) HOLLDIDAY (9) Icetouch (6) ichthys (25) infamous1 (9) Jeff91 (45) JoeyT2006 (30) Juba_PornBorn (12) jxl180 (10) KDBFame (6) L'In20Cible (7) Largo Usagi (10) Lobe (11) loKkdoKk (7) lolo-le-haricot (7) LosNir (5) Lumpi@Work (9) M4rc3L-XCN (7) macshot (6) Matth (6) Mattie (20) MBchrono (15) McFly (20) Medda (5) Memphis-84 (10) Messiah93 (12) Mickyy (5) micmacx (6) Mitchell (5) Mordavolt (7) MrScriptaz (5) mryoung (6) Nicolous (26) ojii (31) Omega_K2 (9) Owned|Myself (8) P3N (7) pand3mic (5) parsimba (5) Pascal257 (9) PatPeter (7) PDrop (10) Phaedrus (18) PhantOm Fury (7) phoenix131 (9) pinkyyy -.- (5) pitbull0993 (7) randomknifer (9) Ratzee (6) ReaCtioN2oo9 (6) Rennnyyy (17) revolutionfighters (6) RideGuy (12) Rio (9) Roeliekt (6) runamagic (13) sandking220 (6) Sarcasm_Poisoning (10) saRs| Johnny-5 (13) Schubaal (10) sea212 (5) sega74rus (7) sgt.angel (6) sicilia (5) sicman_adrian (22) skillz92 (7) sn4k3 (18) Snake12 (7) snake38 (10) sonicsight (7) spoonman184 (8) stabby (22) stas (22) Strontium Dog (30) SumGuy14 (25) SuperDave (45) surfteam (5) TaCo (5) TanaToS (17) Tealk (6) teowow (16) TheCheeTaH (20) TheDonFather (5) theresthatguy (6) Tiny Tod (7) Totyahun (9) uedi (38) Undead (25) usernamesaretaken (15) Warren (13) westham (6) WhiteAvenger (7) Wonder (14) X-Mania (5) XE_ManUp (13) xfalcon61 (5) zSweetXz (5) [Cs]Lord_Inferno2 (11) [NATO]Hunter (28) ||Wolf|| (10)
Search

Post new topic Reply to topic
Go to page 1, 2, 3  Next
Author Message
User avatar
EventScripts Administrator
EventScripts Administrator
Profile

Posts: 12911
Location:
irc://irc.gamesurge.net/eventscripts
 
New postPosted: 2007-05-10, 5:25 am 
   Post subject: HealMates release 7

HealMates release 7

Requirements:Description:
    Allows players to heal surrounding teammates. Compatible with bots! Requires only ES 2.0.0.248+

    Options:
    ES:
      // HealMates release 6 options
      // ./addons/eventscripts/healmates/healmates.cfg
      // <!-- m --><a class="postlink" href="http://addons.eventscripts.com/addons/view/healmates">http://addons.eventscripts.com/addons/view/healmates</a><!-- m -->

      // Load this addon with: es_load healmates


      // To configure language settings for HealMates please see healmates_languages.ini


      // ***** Ability purchasing options *****

      // Cost of the ability to heal teammates--set to 0 for players to automatically receive the healing ability
         healmates_ability_cost 2000

      // 0 = players can buy the ability to heal teammates anywhere, 1 = players must be in a buy zone to purchase the ability to heal teammates
         healmates_ability_buyzone 1

      // Command players must say to purchase the ability to heal teammates
         healmates_ability_trigger "!buyheal"

      // 0 = players keep the ability to heal players when killed, 1 = players lose the ability to heal players when killed
         healmates_ability_loseondeath 1


      // ***** General healing options *****

      // Cost of healing another player one health point--set to 0 for no cost
         healmates_heal_cost 10

      // Maximum amount of health a player can gain from being healed
         healmates_heal_maxgain 30

      // Maximum amount of health a player can be healed to
         healmates_heal_maxendhealth 85

      // Maximum distance a player can be from a healing player to be healed
         healmates_heal_distance 150

      // Percent of the health possible to gain from healing a player at the maximum distance will gain--set to 100 for players at the maximum healing distance to be healed the maximum amount
         healmates_heal_distance_percent 65

      // Percent of the map that can hear when a player heals teammates--set to 0 for no sound
         healmates_heal_sound 35

      // 0 = no change, 1 = when CheapBleed is enabled, healing a teammate also stops bleeding
         healmates_heal_cheapbleed 1
      // CheapBleed can be found here: <!-- m --><a class="postlink" href="http://addons.eventscripts.com/addons/view/cheapbleed">http://addons.eventscripts.com/addons/view/cheapbleed</a><!-- m -->


      // ***** Healing trigger options *****

      // Command players must say to heal teammates
         healmates_heal_trigger "!heal"

      // Number of seconds required between heal attempts
         healmates_heal_trigger_attemptdelay 4


      // ***** Automatic healing options *****

      // 0 = players must trigger healing of teammates, 1 = healing of teammates is handled automatically
         healmates_heal_autoheal 0

      // Number of seconds between forcing players with the healing ability to heal surrounding teammates--set to 0 to eliminate
         healmates_heal_autoheal_delay 6

      // Minimum amount of money player will have after automatically healing
         healmates_heal_autoheal_ecolimit 6000
      // Once players reach the minimum amount of money they will control their healing until they once again reach the minimum amount.


      // ***** Bot options *****

      // 0 = bots will neither buy the healing ability nor heal teammates randomly, 1 = bots will buy the healing ability and heal teammates randomly
         healmates_bot 1

      // Percent chance that a bot with enough money will buy the ability to heal teammates
         healmates_bot_buychance 70

      // Amount of money a bot must have to attempt buying the healing ability
         healmates_bot_ecolimit_buy 8000

      // Amount of money bots will refrain from spending on healing teammates
         healmates_bot_ecolimit_heal 4000

      // Minimum number of seconds from healing teammates until a bot randomly heals teammates again
         healmates_bot_delay_min 4

      // Maximum number of seconds from healing teammates until a bot randomly heals teammates again
         healmates_bot_delay_max 25


      // ***** Announce options *****

      // 0 = no change, 1 = announce command to purchase the healing ability each spawn
         healmates_announce_ability_command 1

      // 0 = no change, 1 = announce feedback from purchasing the healing ability in chat area
         healmates_announce_ability_chat 0

      // 0 = no change, 1 = announce feedback from purchasing the healing ability in center text
         healmates_announce_ability_center 1

      // 0 = no change, 1 = announce feedback from purchasing the healing ability in a HUD message
         healmates_announce_ability_hud 1


      // 0 = no change, 1 = announce command to heal teammates only when a player acquires the healing ability, 2 = announce command to heal teammates each spawn
         healmates_announce_heal_command 2

      // 0 = no change, 1 = announce feedback from healing teammates in chat area
         healmates_announce_heal_chat 0

      // 0 = no change, 1 = announce feedback from healing teammates in center text
         healmates_announce_heal_center 1

      // 0 = no change, 1 = announce feedback from healing teammates in a HUD message
         healmates_announce_heal_hud 1

      // 0 = no change, 1 = announce to players each player they heal on the console, 2 = announce to players each player they heal in chat area
         healmates_announce_heal_individual 2


      // 0 = no change, 1 = announce to players when they were healed by another player on the console, 2 = announce to players when they were healed by another player in chat area
         healmates_announce_healed_chat 2

      // 0 = no change, 1 = announce to players when they were healed by another player in center text
         healmates_announce_healed_center 0

      // 0 = no change, 1 = announce to players when they were healed by another player in a HUD message
         healmates_announce_healed_hud 1


      // 0 = no change, 1 = announce to teammates when a player is healed by another player on the console, 2 = announce to teammates when a player is healed by another player in chat area
         healmates_announce_heal_sameteam 1

      // 0 = no change, 1 = announce to members of the opposing team when a player is healed by another player on the console, 2 = announce to members of the opposing team when a player is healed by another player in chat area
         healmates_announce_heal_opposingteam 0


      // ***** Heal sound options *****

      // Use the following server command to add heal sounds:

      // healmates_addsound <"sound relative to ./sound/">

      // Sounds are marked for download automatically.


      // Place your healmates_addsound commands below:


      // Uncomment the following default options if you wish to use them:

      // healmates_addsound "vo/npc/male01/health01.wav"
      // healmates_addsound "vo/npc/male01/health02.wav"
      // healmates_addsound "vo/npc/male01/health03.wav"
      // healmates_addsound "vo/npc/male01/health04.wav"
      // healmates_addsound "vo/npc/male01/health05.wav"


      // Heal sounds can be removed with the following server command:

      // healmates_removesound <"sound relative to ./sound/">

      // Due to the fact heal sounds can be added and removed above, this command will not be used by most users


      // ***** Event documentation *****

      // The following events will fire when HealMates is loaded:

      // player_buyheal
      //    event_var(userid)          - Player who bought the ability to heal teammates

      // player_healed
      //    event_var(userid)          - Player who was healed
      //    event_var(attacker)        - Player who performed the healing
      //    event_var(amount)          - Amount of health the healed player received

      // These events also provide event_var(es_steamid), event_var(es_username), and all the other event_vars that accompany
      // event_var(userid). More information can be found here: <!-- m --><a class="postlink" href="http://www.eventscripts.com/pages/Extended_event_variables">http://www.eventscripts.com/pages/Exten ... _variables</a><!-- m -->
Download: Installation:
  • Extract .zip to game directory (./cstrike/) or use:
    ES:
      es_install healmates
  • Add the following to autoexec.cfg:
    ES:
      es_load healmates
  • Restart your server.
  • The first time the addon is loaded healmates.cfg will appear in the addon's directory. Configure your options and then again restart your server.

Current language file:
./addons/eventscripts/healmates/healmates_languages.ini wrote:
# ./addons/eventscripts/healmates/healmates_languages.ini
# >>> For general addon configuration see healmates.cfg <<<

# DO NOT translate words with $ or # in front!
# For a list of language abbreviations please see ./addons/eventscripts/_libs/python/deflangs.ini


[ability purchase]
en="#defaultSay #lightgreen$purchase#default to purchase the ability to heal surrounding teammates for #lightgreen$$$cost#default."

[heal teammates]
en="#defaultSay #lightgreen$heal#default to heal surrounding teammates. Follow the command with an amount to specify an amount to spend."

[heal cost]
en="#defaultEach health point you restore for a teammate will cost #lightgreen$$$cost#default."

[ability success]
en="#defaultYou now have the ability to heal your teammates."

[ability dead]
en="#defaultYou must be alive to purchase the ability to heal your teammates."

[ability twice]
en="#defaultYou already have the ability to heal your teammates."

[ability buy zone]
en="#defaultYou must be in a buy zone to purchase the ability to heal your teammates."

[ability cash]
en="#defaultYou need #lightgreen$$$cash#default to purchase the ability to heal your teammates."

[heal fail]
en="#defaultYou must first purchase the ability to heal your teammates."

[heal dead]
en="#defaultYou must be alive to heal your teammates."

[heal cash]
en="#defaultYou need #lightgreen$$$cash#default to heal a teammate one health point."

[heal limit]
en="#defaultYou cannot heal your teammates so soon after your last heal."

[healer cost]
en="#defaultYou gave #lightgreen$player $health#default health for #lightgreen$$$cost#default."

[healer no cost]
en="#defaultYou gave #lightgreen$player $health#default health."

[healed]
en="#lightgreen$healer#default gave you #lightgreen$health#default health."

[heal broadcast]
en="#lightgreen$healer#default gave #lightgreen$player $health#default health."

Please post if you have questions, comments, or help with translation!

_________________
Image
EventScripts Wiki --- #eventscripts --- Python.org --- es_install FAQ


Last edited by SuperDave on 2008-09-14, 7:44 pm, edited 7 times in total.




User avatar
Helper
Profile

Posts: 234
Location:
C:/
 
New postPosted: 2007-05-10, 5:41 am 

pretty nice script you got there, keep up your work

_________________
Image


User avatar
EventScripts Administrator
EventScripts Administrator
Profile

Posts: 12911
Location:
irc://irc.gamesurge.net/eventscripts
 
New postPosted: 2007-05-10, 6:03 am 

bloodshot1337 wrote:
pretty nice script you got there, keep up your work
:D Thanks! If you have any suggestions as to how this script could be improved, please let me know!
- Dave


User avatar
Professor
Professor
Profile

Posts: 1877
Location:
Erionville
 
New postPosted: 2007-05-10, 6:51 am 

w00t i love this very nice perfect.

_________________
Image

Nacht der lebenden Toten


User avatar
EventScripts Administrator
EventScripts Administrator
Profile

Posts: 12911
Location:
irc://irc.gamesurge.net/eventscripts
 
New postPosted: 2007-05-10, 7:25 am 

Thanks, 3R10N! I know this idea has been around for a while, but I cannot recall ever seeing a script for it?

...and if you want something done right, do it yourself and wait for Jonez or Hunter to fix your stupidity :wink:
- Dave


User avatar
EventScripts Administrator
EventScripts Administrator
Profile

Posts: 5793
Location:
I am nowhere to be found

Steam Friends Name: godjonez
 
New postPosted: 2007-05-10, 8:12 am 

SuperDave wrote:
...and if you want something done right, do it yourself and wait for Jonez or Hunter to fix your stupidity :wink:
:shock: what's that supposed to mean...

This?

ES:
       es_xkeygroupcreate healmateshealers



       if (server_var(healmates_abilitycost) equalto 0) do

       {

          es_xcreateplayerlist healmateshealers

       }

       else do

       {

          es_xkeygroupcreate healmateshealers

       }


You are creating the same keygroup twice?

_________________
Would you like something new?
popuplib2


User avatar
EventScripts Administrator
EventScripts Administrator
Profile

Posts: 12911
Location:
irc://irc.gamesurge.net/eventscripts
 
New postPosted: 2007-05-10, 8:55 am 

Damn... I forgot to take that out... :oops:

That's why we have you around! :) Thanks for being my only download (the other was me).

So release 2 is mere minutes from the original release.

It would be nice if ES 1.5 called that an error... I'll zip that suggestion over to the 1.5 forum.


User avatar
EventScripts Administrator
EventScripts Administrator
Profile

Posts: 12911
Location:
irc://irc.gamesurge.net/eventscripts
 
New postPosted: 2007-05-10, 9:55 am 

I'm sorry, matrix4583, but doing that would require constantly checking the distance all players are from each other which would cause serious lag.

My suggestion would be to tell clients to bind a key to "say !heal" so they can press that key to heal surrounding teammates. Each client would have to type the following into their console:
Code:
bind "<key>" "say !heal"
Of course you would replace <key> with the desired key and you would change !heal if you changed the healmates_healphrase setting.

For a working example, to make the P key heal surrounding players you would type the following in your console:
Code:
bind "p" "say !heal"


Thank you for your interest! Please let me know if you have other thoughts/suggestions!
- Dave


User avatar
EventScripts Administrator
EventScripts Administrator
Profile

Posts: 12911
Location:
irc://irc.gamesurge.net/eventscripts
 
New postPosted: 2007-06-07, 11:44 pm 

Release 3 of HealMates is optimized for ES 1.5

Thoughts or suggestions are welcome!
- Dave


User avatar
Reader
Profile

Posts: 95
 
New postPosted: 2007-06-08, 12:40 am 

This and your other Regen script will probably be used in my new Fun server when I get it.

For now, *Bookmarked*

Nice job :P


User avatar
EventScripts Administrator
EventScripts Administrator
Profile

Posts: 12911
Location:
irc://irc.gamesurge.net/eventscripts
 
New postPosted: 2007-06-08, 12:49 am 

Thank you! :D

If you have any suggestions you would like to see, please let me know. Be sure to check out my other scripts to see if any more tickle your fancy. :wink:
- Dave


User avatar
EventScripts Administrator
EventScripts Administrator
Profile

Posts: 12911
Location:
irc://irc.gamesurge.net/eventscripts
 
New postPosted: 2007-10-23, 1:51 am 

Updated to ES 2.0 :D

_________________
Image
EventScripts Wiki --- #eventscripts --- Python.org --- es_install FAQ


User avatar
EventScripts Administrator
EventScripts Administrator
Profile

Posts: 12911
Location:
irc://irc.gamesurge.net/eventscripts
 
New postPosted: 2007-11-27, 10:52 pm 

Release 5:
Quote:
-Updated buy zone check
-Added HUD messages
-Added player_buyheal and player_healed events

_________________
Image
EventScripts Wiki --- #eventscripts --- Python.org --- es_install FAQ


User avatar
Newbie
Profile

Posts: 53
 
New postPosted: 2008-02-20, 12:50 pm 

alright, running autobuy, autoheal, after the first round, players just stop healing alltogether. It still works to say !heal. So I switched to that and added and advert to tell players to bind anykey to "say !heal". Works great other then that. I like the options to change prices and times between heals. Awesome script. As always with SuperDave.


User avatar
EventScripts Administrator
EventScripts Administrator
Profile

Posts: 12911
Location:
irc://irc.gamesurge.net/eventscripts
 
New postPosted: 2008-02-20, 5:42 pm 

Hmmm... I'll have to take a look. I run this addon on my server but I don't run the autoheal feature. Thanks for letting me know!

_________________
Image
EventScripts Wiki --- #eventscripts --- Python.org --- es_install FAQ


User avatar
EventScripts Administrator
EventScripts Administrator
Profile

Posts: 12911
Location:
irc://irc.gamesurge.net/eventscripts
 
New postPosted: 2008-02-22, 5:03 am 

I was rewriting this addon when the following option came to mind for this problem: healmates_heal_autoheal_ecolimit

Remember the automatic healing will stop when players reach or fall below the amount of money specified by this option. From that point players will be able to use the heal command manually until they have enough money for the automatic healing to resume.

_________________
Image
EventScripts Wiki --- #eventscripts --- Python.org --- es_install FAQ


User avatar
Newbie
Profile

Posts: 53
 
New postPosted: 2008-02-22, 11:35 pm 

I sent that thing to 0 though


Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 40 posts ]  Go to page 1, 2, 3  Next


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group