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-02-01 (original capture). Home · Forum · All archived topics · Downloads
Warcraft-Source.com - WCS mod for CSS
February 01, 2010, 09:37:07 AM *
Welcome, Guest. Please login or register.
Login with username, password and session length
News: Hall of Fame
Must Visit it
Google  
  Home   Forum   Help Search Login Register   *
Pages: [1]   Go Down
  Print  
This topic has not yet been rated! You have not rated this topic. Select a rating:
Author Topic: Healer - New full custom race. Healing Wards - Healer  (Read 2146 times)
NovaKiller
<WCS coder>
Level 7 Expert
*****
Offline Offline

Denmark Denmark

Posts: 783

Loves WCS. Loves to make races. Loves to play WCS


WWW
PlaxGunner
« on: August 20, 2007, 04:46:27 PM »

So i found out how to fix the Healing Wave. Now works. Great. So here it is. The Healer. The name says almost all things about it HeHe. So i got new name to the Chain Healing. Strider came whit the idea and i like it more than Chain Healing.
Code:
""
  {
    "name"              "Healer"
    "author"            "NovaKiller DK"
    "shortdescription"  "0"
    "required_level"    "50"
    "allow_only"        "0"
    "preloadcmd"        "0"
    "player_spawn_cmd"  "0"
    "round_start_cmd"   "0"
    "round_end_cmd"     "0"
    "numberofskills"    "4"
    "numberoflevels"    "5"
    "skillnames"        "Healing Wards|Defensive HP|Poison Sting|Healing Wave"
    "skilldescr"        "Get 1-3 wardens that heal teammates and yourself to 150-200 HP whit 2-5 HP in 10-30 ft. Last for 10-30 seconds|20%-35% chance. 10%-30% of damage done to you gets to teammates as HP|20%-40% chance to poison enemy and deal 1-3 damage in 5 seconds|Heal teammates and yourself in 20-60 ft whit 10-30 HP"
    "skillcfg"          "player_spawn|player_victim|player_attacker|player_ultimate"

    // params are duration, heal and radius
    "skill1_setting"    "es_xsetinfo wcs_healcount 1;es_xsetinfo wcs_healparams 10_2_150_100|es_xsetinfo wcs_healcount 1;es_xsetinfo wcs_healparams 15_3_160_150|es_xsetinfo wcs_healcount 2;es_xsetinfo wcs_healparams 20_4_170_200|es_xsetinfo wcs_healcount 2;es_xsetinfo wcs_healparams 25_5_190_250|es_xsetinfo wcs_healcount 3;es_xsetinfo wcs_healparams 30_5_200_300"
    "skill1_cmd"        "es es_xkeysetvalue WCSuserdata event_var(userid) heal healwarden;es es_xkeysetvalue WCSuserdata event_var(userid) heal_count server_var(wcs_healcount);es es_xkeysetvalue WCSuserdata event_var(userid) heal_parameter server_var(wcs_healparams)"
    "skill1_sfx"        "0"

    "skill2_setting"    "es_xsetinfo wcs_divider 10;es_xsetinfo wcs_chance 20;es_xsetinfo wcs_alpha 50|es_xsetinfo wcs_divider 6.5;es_xsetinfo wcs_chance 24;es_xsetinfo wcs_alpha 70|es_xsetinfo wcs_divider 5;es_xsetinfo wcs_chance 28;es_xsetinfo wcs_alpha 90|es_xsetinfo wcs_divider 4;es_xsetinfo wcs_chance 32;es_xsetinfo wcs_alpha 110|es_xsetinfo wcs_divider 3.5;es_xsetinfo wcs_chance 35;es_xsetinfo wcs_alpha 130"
    "racealias_defhp"   "es_getplayerteam wcs_team event_var(userid);es es_xsetinfo wcs_dmg event_var(dmg_health);es es_xif (server_var(wcs_game) != server_var(wcs_game_css)) then es_xrand wcs_dmg 1 20;es_xmath wcs_dmg float;es es_xmath wcs_dmg / server_var(wcs_divider);es est_RoundDecimal wcs_dmg server_var(wcs_dmg) 0;es es_xif (server_var(wcs_team) = 2) then est_Health #t!d + server_var(wcs_dmg);es es_xif (server_var(wcs_team) = 3) then est_Health #ct!d + server_var(wcs_dmg);es es_xformat wcs_lng server_var(wcs_lng) server_var(wcs_dmg);esnq est_csay event_var(userid) All teammates got server_Var(wcs_dmg);es es_xdelayed 1 wcs_dealdamage event_var(attacker) event_var(userid) server_var(wcs_dmg)"
    "skill2_cmd"        "es es_xif (server_var(wcs_dice) <= server_var(wcs_chance)) then racealias_defhp"
    "skill2_sfx"        "0"

    "skill3_setting"    "es_xsetinfo wcs_poison 1;es_xsetinfo wcs_chance 20|es_xsetinfo wcs_poison 2;es_xsetinfo wcs_chance 25|es_xsetinfo wcs_poison 2;es_xsetinfo wcs_chance 30|es_xsetinfo wcs_poison 2;es_xsetinfo wcs_chance 35|es_xsetinfo wcs_poison 3;es_xsetinfo wcs_chance 40"
    "racealias_poison" "es es_xdelayed 1 wcs_dealdamage event_var(attacker) event_var(userid) server_var(wcs_poison);es es_xdelayed 1 es_xtell event_var(userid) #Lightgreen You got hit by #Green event_var(es_attackername) 's poison sting getting #Green server_var(wcs_poison) #Lightgreen in some time;es es_xdelayed 2 wcs_dealdamage event_var(attacker) event_var(userid) server_var(wcs_poison);es es_xdelayed 3 wcs_dealdamage event_var(attacker) event_var(userid) server_var(wcs_poison);es es_xdelayed 4 wcs_dealdamage event_var(attacker) event_var(userid) server_var(wcs_poison);es es_xdelayed 5 wcs_dealdamage event_var(attacker) event_var(userid) server_var(wcs_poison)"
    "skill3_cmd"        "es es_xif (server_var(wcs_dice) <= server_var(wcs_chance)) then racealias_poison;es es_xif (server_var(wcs_dice) <= server_var(wcs_chance)) then es_xtell event_var(attacker) #multi #Lightgreen You have #Green poisoned event_var(es_username) #Lightgreen dealing #Green server_var(wcs_poison) #Lightgreen over some time"
    "skill3_sfx"        "0"

    "skill4_setting"    "es_xsetinfo wcs_maxtargets 20;es_xsetinfo wcs_radius 200;es_xsetinfo wcs_heal 10|es_xsetinfo wcs_maxtargets 20;es_xsetinfo wcs_radius 300;es_xsetinfo wcs_heal 15|es_xsetinfo wcs_maxtargets 20;es_xsetinfo wcs_radius 400;es_xsetinfo wcs_heal 20|es_xsetinfo wcs_maxtargets 20;es_xsetinfo wcs_radius 500;es_xsetinfo wcs_heal 25|es_xsetinfo wcs_maxtargets 20;es_xsetinfo wcs_radius 600;es_xsetinfo wcs_heal 30"
    "skill4_cmd"        "es_xdoblock wcs/WCSultimates/wcs_waveheal"
    "skill4_sfx"        "0"
    "ultimate_cooldown" "25"
  }

Healing Wave:
Code:
// Healing Wave : By NovaKiller
block wcs_waveheal
{
es es_xif (server_var(wcs_debug) = 1) then echo wcs_waveheal start
  es_xsetinfo wcs_team_target 0
  es es_xgetplayerteam wcs_team server_var(wcs_userid)
  // check teams (T=2, CT=3)
  es es_xif (server_var(wcs_team) = 2) do
  {
    es_xsetinfo wcs_team_target 2
    es_xsetinfo wcs_team_targetn "#t!d"
  }
  es es_xif (server_var(wcs_team) = 3) do
  {
    es_xsetinfo wcs_team_target 3
    es_xsetinfo wcs_team_targetn "#c!d"
  }
  es es_xif (server_var(wcs_team_target) != "0") do
  {
    es_xsetinfo wcs_pcount 0
    es es_xgetlivingplayercount wcs_pcount server_var(wcs_team_target)
    es es_xif (server_var(wcs_pcount) > 0) do
    {
    es est_Fade server_var(wcs_userid) 0 2 1 0 191 255 100
    es_xsetinfo wcs_wall "1"
      alias wcs_run_chainheal1 "es es es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 server_var(wcs_userid);es_xgetplayerlocation wcs_x2 wcs_y2 wcs_z2 server_var(wcs_targetid);es_xmath wcs_z1 + 50;es_xmath wcs_z2 + 50;es est_getwallbetween wcs_wall server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) server_var(wcs_x2) server_var(wcs_y2) server_var(wcs_z2);es es_xif (server_var(wcs_wall) = 0) then wcs_run_chainheal2"
      alias wcs_run_chainheal2 "es_xmath wcs_counter + 1;es es_xif (server_var(wcs_graphicfx) = 1) then est_effect 3 #a 0 sprites/lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) server_var(wcs_x2) server_var(wcs_y2) server_var(wcs_z2) 1 10 10 0 0 255 255;es est_healthadd server_var(wcs_targetid) server_var(wcs_heal);es es_xdelayed 0.3 es_xmath server_var(wcs_heal) / 2;es es_xdelayed 0.5 est_healthadd server_var(wcs_userid) server_var(wcs_heal)"
      es_xsetinfo wcs_counter 0
      es est_Near wcs_targetid server_var(wcs_team_targetn) server_var(wcs_radius) server_var(wcs_userid) "es es_xexists wcs_exists userid server_var(wcs_targetid);es es_xif (server_var(wcs_exists) = 1) then es_xif (server_var(wcs_counter) < server_var(wcs_maxtargets)) then wcs_run_chainheal1"
      es es_xif (server_var(wcs_counter) > 0) do
      {
        esnq est_csay server_var(wcs_userid) Healing Wave : Healed server_var(wcs_counter) and yourself whit server_var(wcs_heal) HP
        esnq est_csay server_var(wcs_targetid) Healing Wave : Healed by event_var(es_username) whit server_var(wcs_heal) HP
      }
      es_xelse do
      {
        es_xsetinfo wcs_ultinotexec 1
      }
    }
    es_xelse do
    {
      es_xsetinfo wcs_ultinotexec 1
    }
  }
  es es_xif (server_var(wcs_ultinotexec) = 1) then es_xtell server_var(wcs_userid) #multi #Green Healing Wave #Lightgreen : No #Green allies #Lightgreen close enough to #Green heal
es es_xif (server_var(wcs_debug) = 1) then echo wcs_waveheal end
}
Remeber the Healing Wards code. They are here : http://www.warcraft-source.com/board/index.php?topic=1376.0
« Last Edit: September 22, 2007, 09:42:19 AM by NovaKiller » Logged

HOLLIDAY
<Race Maker>
Watchdogs
Level 7 Expert
*****
Offline Offline

Posts: 2333


of all the things ive lost i miss my mind the most


WWW
Wc3_HOLLIDAY_Wc3
wc3hollidaywc3

myServer 8.2.0.222:27015
(Warning: click connects through Steam)
« Reply #1 on: August 20, 2007, 08:02:02 PM »

lol chain healing...
it heals your teammates not your enemies?
Logged

NovaKiller
<WCS coder>
Level 7 Expert
*****
Offline Offline

Denmark Denmark

Posts: 783

Loves WCS. Loves to make races. Loves to play WCS


WWW
PlaxGunner
« Reply #2 on: August 20, 2007, 08:50:03 PM »

Yes. I coulndt find a better name XD.
Logged

OmegaNemesis28
Level 3 Trained Apprentice
***
Offline Offline

United States United States

Posts: 74


S.T.A.R.S!!


WWW
« Reply #3 on: August 20, 2007, 10:29:57 PM »

where do you place chain healing?  :?:
Logged

HOLLIDAY
<Race Maker>
Watchdogs
Level 7 Expert
*****
Offline Offline

Posts: 2333


of all the things ive lost i miss my mind the most


WWW
Wc3_HOLLIDAY_Wc3
wc3hollidaywc3

myServer 8.2.0.222:27015
(Warning: click connects through Steam)
« Reply #4 on: August 20, 2007, 10:40:09 PM »

at the bottom of your es_WCSultimates.txt
Logged

NovaKiller
<WCS coder>
Level 7 Expert
*****
Offline Offline

Denmark Denmark

Posts: 783

Loves WCS. Loves to make races. Loves to play WCS


WWW
PlaxGunner
« Reply #5 on: September 22, 2007, 09:39:03 AM »

Yeah strider Healing Wave sounds good i have edit it.
Logged

Onslaught
Level 7 Expert
*****
Offline Offline

United States United States

Posts: 439


WWW.SNK-KLAN.NET


WWW
breezefesty
onslaught87
« Reply #6 on: September 27, 2008, 08:12:13 PM »

Nice coincidence, we posted the same time about the same issue.  This happens to me as well, not sure why nobody else has ever reported it till now.

I've tried both codes as you pointed out, they are indeed different.  Does same effect.

Also, when i had a friend cast the healing ward near me we both crashed out.  So it is my understanding that it effects anyone within the radius, at least immediately when casted. 



Oddity had this to say in the other topic, idk if it helps or not:


Anyway it is an easy code at this point just change the team checks to allies instead of enemies and change the deal damage to heal !

Also with a speed add in stead of a speed subtract..

but I suggest if you use it you make it duration 1 second so it is like a burst
Logged


         
[Ҳ]™
Level 5 Trained Intermediate
*****
Offline Offline

United States United States

Posts: 100



WWW
coldasice322
xTRUTHx

myServer 69.12.25.45:27016
(Warning: click connects through Steam)
« Reply #7 on: September 28, 2008, 07:29:37 AM »

=(  I really wish we could get this race to work.  I have been wanting more Healing races
on my server, as I have always been partial to playing Healers, Paladins, and the like
whenever I roleplayed in my good old days.

I actually created a ward, walked away from it, and someone was able to step into it and
receive some healing.  I was like, "Yay! It worx!"  Stepped into it myself, BOOM!  Crashed.

=|

Funny thing you quote that from TC.  I actually received a boost of speed sometimes when
I plant a ward.  I was like.. well, that's cool.  Gives me a chance to run away from the
crash!  LoL

Now... also... I think it's when you LOOK at the damn ward while it's effect is going off that
makes the crashes.

I wish we could get a team of people to look at this, as I think this is something that
everyone will love to have!
Logged



NovaKiller
<WCS coder>
Level 7 Expert
*****
Offline Offline

Denmark Denmark

Posts: 783

Loves WCS. Loves to make races. Loves to play WCS


WWW
PlaxGunner
« Reply #8 on: September 29, 2008, 02:03:56 PM »

I dont know why it only works for ohters and not for the caster himself. A unknown error i aint working with right now.
Logged

[Ҳ]™
Level 5 Trained Intermediate
*****
Offline Offline

United States United States

Posts: 100



WWW
coldasice322
xTRUTHx

myServer 69.12.25.45:27016
(Warning: click connects through Steam)
« Reply #9 on: September 29, 2008, 03:20:29 PM »

Perhaps there is some kind of looping check that is happening?  Perhaps it is
trying to heal the caster as a teammate and an ally, or something ridiculous like
that?

Are you saying you're not working on this race anymore?
Logged



NovaKiller
<WCS coder>
Level 7 Expert
*****
Offline Offline

Denmark Denmark

Posts: 783

Loves WCS. Loves to make races. Loves to play WCS


WWW
PlaxGunner
« Reply #10 on: September 29, 2008, 04:53:43 PM »

I will later but not now.
Logged

Onslaught
Level 7 Expert
*****
Offline Offline

United States United States

Posts: 439


WWW.SNK-KLAN.NET


WWW
breezefesty
onslaught87
« Reply #11 on: April 28, 2009, 05:29:50 AM »

Nova this is old, but i have ur ultimate on my server and the bug is pissing people off.  When they use the ultimate, it heals the user multiple times depending on ho wmany you heal.  EG if i heal 3 around me, and the heal is set to 10, it heals me for 30 instead of just 10 for everyone.  Do you know what is causing this?
Logged


         
Pages: [1]   Go Up
  Print  
 
Jump to:  

Last 7 Shouts:
Today at 12:40:20 AM
whats est_freeze syntax?

January 31, 2010, 06:00:01 PM
asap :p
January 31, 2010, 05:59:47 PM
ok berett no offense but we need to talk.
January 30, 2010, 08:48:38 PM
wcs_alpha is used for effects to determine how visible/bright/see-through an effect is.
January 30, 2010, 05:44:23 PM
Has nothing to do with the speed. wcs_alpha is just a variable which can be used anywhere.
January 30, 2010, 05:40:44 PM
oh and thank you ^.^
January 30, 2010, 05:40:32 PM
ohh... but it shouldnt be with the settings of speed right?
Recent
by amiq
[Today at 09:33:18 AM]

by amiq
[Today at 09:33:07 AM]

[Today at 09:32:25 AM]

[Today at 01:08:17 AM]

[Today at 12:58:25 AM]

[Today at 12:55:11 AM]

[January 31, 2010, 09:30:44 PM]

[January 31, 2010, 09:30:04 PM]

[January 31, 2010, 09:29:04 PM]

[January 31, 2010, 09:27:48 PM]
Theme switch

Powered by MySQL Powered by PHP Powered by SMF 1.1.4 | SMF © 2006-2009, Simple Machines LLC
TinyPortal v0.9.8 © Bloc
Valid XHTML 1.0! Valid CSS!
Page created in 0.115 seconds with 24 queries.