May 22, 2019, 07:44:32 AM

Author Topic: undead  (Read 1837 times)

Offline -çÇ- Mr.BrightSide

  • Level 5 Trained Intermediate
  • *****
  • Posts: 108
  • Country: 00
    • Controlled Chaos
undead
« on: July 28, 2010, 10:22:10 PM »
skill r  +health,  -speed, toxic blood knife only

Code: [Select]
    {
    "name"               "undead"
    "author"             "Mr.BrightSide"
    "shortdescription"   "your dead u cant die"
    "required_level"     "250"
    "maximum_level"      "0"
    "allow_only"         "0"
    "teamlimit"          "0"
    "preloadcmd"         "0"
    "player_spawn_cmd"   "es_keysetvalue WCSuserdata event_var(userid) kniferace 1"
    "round_start_cmd"    "0"
    "round_end_cmd"      "0"
    "numberofskills"     "3"
    "numberoflevels"     "4"
    "skillnames"         "im die so it  hard to kill me again|dead people move fast?!?!|Toxic Blood"
    "skilldescr"         "+hp|speed|attacker get hit with you blood 40% of hitting"
    "skillcfg"           "player_spawn|player_spawn|player_victim"

    "skill1_settings"    "es_xset wcs_health 200|es_xset wcs_health 300|es_xset wcs_health 400|es_xset wcs_health 500"
    "skill1_cmd"         "es_delayed est_SetHealth event_var(userid) server_var(wcs_Health)"
    "skill1_sfx"         "0"

    "skill2_settings"    "es_xset wcs_speed .8|es_xset wcs_speed .6|es_xset wcs_speed .55|es_xset wcs_speed .50"
    "skill2_cmd"         "es_delayed 2 est_speed event_var(userid) server_var(wcs_speed)
    "skill2_sfx"         "0"

    "skill3_setting" "es_xset wcs_chance 10;es_xset wcs_dmg 5|es_xset wcs_chance 20;es_xset wcs_dmg 10|es_xset wcs_chance 30;es_xset wcs_dmg 15|es_xset wcs_chance 40;es_xset wcs_dmg 20"
    "skill3_cmd" "if (server_var(wcs_chance) >= server_var(wcs_dice)) then racealias_mirror1"
    "racealias_mirror1" "es_xset wcs_dead 0;es playerget isdead wcs_dead event_var(userid);if (server_var(wcs_dead) = 0) then racealias_mirror2"
    "racealias_mirror2" "es wcs_dealdamage event_var(userid) event_var(attacker) server_var(wcs_dmg);es_centertell event_var(attacker) Your enemy event_var(es_username) made you take server_var(wcs_dmg) mirror damage.;es_centertell event_var(userid) You made event_var(es_attackername) take server_var(wcs_dmg) mirror damage."
    "skill3_sfx" "0"-
« Last Edit: July 28, 2010, 10:27:44 PM by -SJ. Mr.BrightSide »


Offline Kami

  • Developer
  • Level 7 Expert
  • *****
  • Posts: 889
  • Country: de
  • Pokemon Master!
Re: undead
« Reply #1 on: July 28, 2010, 10:24:31 PM »
yeah right not bad for the begining, but with "speed" i meant not that much, i meant half the normal speed.

and that shouldn be skill bu preload cmd you know. Just add es est_speed 0.5 to playerspawn cmd

Offline -çÇ- Mr.BrightSide

  • Level 5 Trained Intermediate
  • *****
  • Posts: 108
  • Country: 00
    • Controlled Chaos
Re: undead
« Reply #2 on: July 28, 2010, 10:26:39 PM »
ops i fix that


Offline lolinger

  • Level 1 Trained Beginner
  • *
  • Posts: 23
  • <3 WCS :)
Re: undead
« Reply #3 on: July 28, 2010, 10:30:04 PM »
Why doesn't use you the old races before the update

Offline Kami

  • Developer
  • Level 7 Expert
  • *****
  • Posts: 889
  • Country: de
  • Pokemon Master!
Re: undead
« Reply #4 on: July 28, 2010, 10:35:00 PM »
The old races wont work anymore because of the CSS update.

@ Brightside: I thought of something like this:

Code: [Select]
  "X"

  {
    "name"               "undead"
    "author"             "Mr.BrightSide"
    "shortdescription"   "your dead u cant die"
    "required_level"     "250"
    "maximum_level"      "0"
    "allow_only"         "0"
    "teamlimit"          "0"
    "preloadcmd"         "0"
    "player_spawn_cmd"   "es_keysetvalue WCSuserdata event_var(userid) kniferace 1;es est_speed event_var(userid) 0.5"
    "round_start_cmd"    "0"
    "round_end_cmd"      "0"
    "numberofskills"     "3"
    "numberoflevels"     "4"
    "skillnames"         "I'm dead so its hard to kill me again|I'll bite you *yummy*|Toxic Blood"
    "skilldescr"         "+hp|lifesuck|attacker get hit with you blood 40% of hitting"
    "skillcfg"           "player_spawn|player_spawn|player_victim"

    "skill1_settings"    "es_xset wcs_health 200|es_xset wcs_health 300|es_xset wcs_health 400|es_xset wcs_health 500"
    "skill1_cmd"         "es_delayed est_SetHealth event_var(userid) server_var(wcs_Health)"
    "skill1_sfx"         "0"

    "skill2_setting"    "es_xset wcs_divider 8;es_xset wcs_alpha 50|es_xset wcs_divider 7;es_xset wcs_alpha 70|es_xset wcs_divider 6;es_xset wcs_alpha 90|es_xset wcs_divider 5;es_xset wcs_alpha 110|es_xset wcs_divider 4.5;es_xset wcs_alpha 130|es_xset wcs_divider 4;es_xset wcs_alpha 150|es_xset wcs_divider 3.5;es_xset wcs_alpha 170|es_xset wcs_divider 3;es_xset wcs_alpha 190"
    "racealias_ud"    "es_set wcs_dmg event_var(dmg_health);es_xmath wcs_dmg float;es_math wcs_dmg / server_var(wcs_divider);es est_RoundDecimal wcs_dmg server_var(wcs_dmg) 0;es est_Health event_var(attacker) + server_var(wcs_dmg);racealias_ud2"
    "racealias_ud2"    "wcs_getlanguage wcs_lng wcs_lng_r_vampiric1;es_format wcs_lng server_var(wcs_lng) server_var(wcs_dmg);es_tell event_var(attacker) #green server_var(wcs_lng);wcs_getlanguage wcs_lng wcs_lng_r_vampiric2;es_format wcs_lng server_var(wcs_lng) server_var(wcs_dmg);es_tell event_var(usedrid) #green server_var(wcs_lng)"
    "skill2_cmd"        "if (server_var(wcs_dice) <= 60) then racealias_ud"
    "skill2_sfx"        "0"

    "skill3_setting" "es_xset wcs_chance 10;es_xset wcs_dmg 5|es_xset wcs_chance 20;es_xset wcs_dmg 10|es_xset wcs_chance 30;es_xset wcs_dmg 15|es_xset wcs_chance 40;es_xset wcs_dmg 20"
    "skill3_cmd" "if (server_var(wcs_chance) >= server_var(wcs_dice)) then racealias_mirror1"
    "racealias_mirror1" "es_xset wcs_dead 0;es playerget isdead wcs_dead event_var(userid);if (server_var(wcs_dead) = 0) then racealias_mirror2"
    "racealias_mirror2" "es wcs_dealdamage event_var(userid) event_var(attacker) server_var(wcs_dmg);es_centertell event_var(attacker) Your enemy event_var(es_username) made you take server_var(wcs_dmg) mirror damage.;es_centertell event_var(userid) You made event_var(es_attackername) take server_var(wcs_dmg) mirror damage."
    "skill3_sfx" "0"

}

Offline lolinger

  • Level 1 Trained Beginner
  • *
  • Posts: 23
  • <3 WCS :)
Re: undead
« Reply #5 on: July 28, 2010, 10:37:39 PM »
What must be change that the races are work again ?  :o

Offline Kami

  • Developer
  • Level 7 Expert
  • *****
  • Posts: 889
  • Country: de
  • Pokemon Master!
Re: undead
« Reply #6 on: July 28, 2010, 10:38:25 PM »
There are already posts in the forum that tell you how to fix old races ;)

Offline lolinger

  • Level 1 Trained Beginner
  • *
  • Posts: 23
  • <3 WCS :)
Re: undead
« Reply #7 on: July 28, 2010, 10:40:46 PM »
Send me the link :D