Archived copy of warcraft-source.com, the Warcraft: Source (WCS) forum (2007–2011), rebuilt from the Internet Archive by wc3mods.net. This page was captured on 2010-10-21 (original capture). Home · Forum · All archived topics · Downloads

Author Topic: Approved ~ [Addon] Healing Ward  (Read 137 times)

Tha Pwned

  • Custom Coder
  • Level 3 Trained Apprentice
  • Posts: 70
  • Free time coder
Approved ~ [Addon] Healing Ward
« on: September 30, 2010, 12:25:31 PM »
Features:
  • Create a healing ward with 1 single command!

Requirement:
  • EventScripts OB v2.1.1.338

Commands:
Code: [Select]
wcs_healingcmd <userid> <rounds> <damage> <radius>
Example:
  es wcs_healingcmd event_var(userid) 30 5 100
  es_msg #green event_var(es_username) created a healing ward in our spawn!

Installation:
  • Extract the zip file into your cstrike/ folder.
  • Add es_load healingward in your autoexec.cfg file.
  • Restart your server.
  • Done.

Version notes:
Code: [Select]
1.0 - Initial release
Post any ideas/improvements/bugs in this topic. Thanks!
« Last Edit: September 30, 2010, 04:09:03 PM by La Muerte »

Strickened

  • Custom Coder
  • Level 7 Expert
  • Posts: 170
  • <3 WCS :)
Re: [Addon] Healing Ward
« Reply #1 on: September 30, 2010, 01:23:44 PM »
Suggestion:

Make it so that only the team you are on see the message about the ward.

Edit: nvm, just realised it's not part of the addon.

You could make it an option, an extra arguement to tell no one, your team, or everyone <0/1/2>
« Last Edit: September 30, 2010, 01:27:40 PM by Strickened »

Tha Pwned

  • Custom Coder
  • Level 3 Trained Apprentice
  • Posts: 70
  • Free time coder
Re: [Addon] Healing Ward
« Reply #2 on: September 30, 2010, 01:31:04 PM »
Suggestion:

Make it so that only the team you are on see the message about the ward.

Edit: nvm, just realised it's not part of the addon.

You could make it an option, an extra arguement to tell no one, your team, or everyone <0/1/2>
What you mean? Like, get the message about being healed by a ward?

darkstardark

  • Level 1 Trained Beginner
  • Posts: 33
  • <3 WCS :)
Re: [Addon] Healing Ward
« Reply #3 on: September 30, 2010, 01:54:43 PM »
thanks Pwned.

darkstardark

  • Level 1 Trained Beginner
  • Posts: 33
  • <3 WCS :)
Re: [Addon] Healing Ward
« Reply #4 on: September 30, 2010, 02:05:27 PM »
is there anything that needs to go into the es_WCSskills file?

Tha Pwned

  • Custom Coder
  • Level 3 Trained Apprentice
  • Posts: 70
  • Free time coder
Re: [Addon] Healing Ward
« Reply #5 on: September 30, 2010, 02:11:15 PM »
is there anything that needs to go into the es_WCSskills file?
Nope, just call the command with the needed arguments.

stormleader

  • Level 2 Apprentice
  • Posts: 56
  • <3 WCS :)
Re: [Addon] Healing Ward
« Reply #6 on: September 30, 2010, 02:19:13 PM »
is there anything that needs to go into the es_WCSskills file?

After everything installed correctly.

Try this way:

Code: [Select]
"player_spawn_cmd"  "es wcs_healingcmd event_var(userid) 30 5 200;es_msg #green event_var(es_username) created a healing ward in our spawn!"

stormleader

  • Level 2 Apprentice
  • Posts: 56
  • <3 WCS :)
Re: [Addon] Healing Ward
« Reply #7 on: September 30, 2010, 02:30:21 PM »
Each player is within the area to spawn, receives a radius that will increase your life

Is it possible to put the Rays out of the player that creates the healing zone at the spawn area?

Tha Pwned

  • Custom Coder
  • Level 3 Trained Apprentice
  • Posts: 70
  • Free time coder
Re: [Addon] Healing Ward
« Reply #8 on: September 30, 2010, 02:42:17 PM »
Is it possible to put the Rays out of the player that creates the healing zone at the spawn area?
Could you explain a bit more? I don't quite understand you what you mean.

stormleader

  • Level 2 Apprentice
  • Posts: 56
  • <3 WCS :)
Re: [Addon] Healing Ward
« Reply #9 on: September 30, 2010, 03:01:07 PM »
Is it possible to put the Rays out of the player that creates the healing zone at the spawn area?
Could you explain a bit more? I don't quite understand you what you mean.


Excuse my English.

I've tested a Healing Ward on my server and works fine, I noticed that every player who is within this area is struck by lightning orange, right?

Is it possible that ray orange exit the player who creates a healing ward directly to other players?

Tha Pwned

  • Custom Coder
  • Level 3 Trained Apprentice
  • Posts: 70
  • Free time coder
Re: [Addon] Healing Ward
« Reply #10 on: September 30, 2010, 03:10:27 PM »
Is it possible to put the Rays out of the player that creates the healing zone at the spawn area?
Could you explain a bit more? I don't quite understand you what you mean.


Excuse my English.

I've tested a Healing Ward on my server and works fine, I noticed that every player who is within this area is struck by lightning orange, right?

Is it possible that ray orange exit the player who creates a healing ward directly to other players?
You mean, area regeneration which follows the player? If so, you can just WCS's own regeneration command.
Example:
Code: [Select]
    "skill1_setting"    "es_xset wcs_hp 2;es_xset wcs_time 6;es_xset wcs_waves 10|es_xset wcs_hp 3;es_xset wcs_time 8;es_xset wcs_waves 12|es_xset wcs_hp 4;es_xset wcs_time 8;es_xset wcs_waves 14|es_xset wcs_hp 5;es_xset wcs_time 7;es_xset wcs_waves 12|es_xset wcs_hp 6;es_xset wcs_time 8;es_xset wcs_waves 12"
    "skill1_cmd"        "es_keysetvalue WCSuserdata event_var(userid) regeneration 1;es_keysetvalue WCSuserdata event_var(userid) regen_round server_var(wcs_roundcounter);es_delayed 1 wcs_regeneration event_var(userid) server_var(wcs_hp) server_var(wcs_time) 150 server_var(wcs_waves) 150"
    "skill1_sfx"        "0"
« Last Edit: September 30, 2010, 03:15:41 PM by Tha Pwned »

Warcraft-Source.com

« on: »