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-07-29 (original capture). Home · Forum · All archived topics · Downloads

Author Topic: Captain Smoker [One Piece]  (Read 113 times)

Kami

  • Level 1 Trained Beginner
  • Posts: 24
  • Country:
  • Pokemon Master!
Captain Smoker [One Piece]
« on: July 23, 2010, 11:37:58 AM »


Captain Smoker - by Kami

Smokepush - Smoker uses his smoke to push enemys away.
Smokepunsh - Smoker uses his smoke to damage his enemys.
Smokeblind -  Smoker uses  his smoke to blind enemys.
Smokepunish - With a small chance, Smoker is able to hit the enemy so hard that he dies!

He only trusts in his sword and his smoke, so be prepared to use it



Code: [Select]
"1"
  {
    "name"              "Captain Smoker"
    "author"            "Kami"
    "required_level"    "0"
    "maximum_level"     "0"
    "allow_only"        "0"
    "teamlimit"         "0"
    "preloadcmd"        "0"
    "player_spawn_cmd"  "es est_restrictall event_var(userid);es_delayed 0.1 est_unrestrict event_var(userid) weapon_smokegrenade;es_delayed 0.1 est_unrestrict event_var(userid) weapon_knife;es_delayed 0.2 est_give event_var(userid) weapon_knife;es_delayed .2 est_give event_var(userid) weapon_smokegrenade;es_delayed .3 est_setammo event_var(userid) weapon_smokegrenade 30"
    "round_start_cmd"   "0"
    "round_end_cmd"     "0"
    "numberofskills"    "4"
    "numberoflevels"    "4"
    "skillnames"        "Smokepush|Smokepunsh|Smokeblind|Smokepunish"
    "skilldescr"        "Smoker uses his smoke to push enemys away.|Smoker uses his smoke to damage his enemys.|Your Smokes blind others|With a small chance, Smoker is able to hit the enemy so hard that he dies!"
    "skillcfg"          "player_attacker|player_attacker|player_attacker|player_attacker"

    "skill1_setting"    "es_xset wcs_chance 10|es_xset wcs_chance 20|es_xset wcs_chance 45|es_xset wcs_chance 55"
    "skill1_cmd"        "if (server_var(wcs_dice) <= server_var(wcs_chance)) then est_isalive wcs_alive event_var(userid);if (server_var(wcs_alive) = 1) then if (event_var(weapon) = smokegrenade) then racealias_smokpu"
    "racealias_smokpu"  "es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(attacker); es_xgetplayerlocation wcs_x2 wcs_y2 wcs_z2 event_var(userid);es_xmath wcs_z1 + 30;es est_pushto event_var(userid) server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) -5"
    "skill1_sfx"        "0"

    "skill2_setting"    "es_xset wcs_multiplier 20|es_xset wcs_multiplier 30|es_xset wcs_multiplier 40|es_xset wcs_multiplier 50"
    "racealias_smokepun"     "es_set wcs_m 0;es_set wcs_m event_var(dmg_health);es_xmath wcs_m float;es_xmath wcs_m * 3.0;es_math wcs_m * server_var(wcs_multiplier);es est_RoundDecimal wcs_m server_var(wcs_m) 0;es wcs_explode event_var(attacker) event_var(userid) server_var(wcs_m) 50;es_tell event_var(userid) You were punshed by Captain Smoker;es_tell event_var(attacker) You punshed your enemy."
    "skill2_cmd"        "es est_isalive wcs_alive event_var(userid);if (server_var(wcs_alive) = 1) then if (event_var(weapon) = smokegrenade) then racealias_smokepun"
    "skill2_sfx"        "0"

    "skill3_setting"    "es_xset wcs_chance 20|es_xset wcs_chance 30|es_xset wcs_chance 40|es_xset wcs_chance 50"
    "racealias_smokebl""es est_fade event_var(userid) 0 2.3 2.3 25 25 25 250"
    "skill3_cmd"        "if (server_var(wcs_dice) <= server_var(wcs_chance)) then est_isalive wcs_alive event_var(userid);if (server_var(wcs_alive) = 1) then if (event_var(weapon) = smokegrenade) then racealias_smokebl"
    "skill3_sfx"        "0"

    "skill4_setting"    "es_xset wcs_chance 1;es_xset wcs_chance 2;es_xset wcs_chance 3;es_xset wcs_chance 4"
    "skill4_cmd"        "if (server_var(wcs_dice) <= server_var(wcs_chance)) then est_isalive wcs_alive event_var(userid);if (server_var(wcs_alive) = 1) then if (event_var(weapon) = smokegrenade) then racealias_smokeb"
    "racealias_smokeb"  "es est_slay event_var(userid)"
    "skill4_sfx"        "0"

} 
   

Hope you like it. Would be glad if anyone could tell me how to disable the smoke effect, as it can get quite "smokey" with 30 smokegrenades xD     
« Last Edit: July 24, 2010, 04:08:29 PM by La Muerte »

heru

  • Level 3 Trained Apprentice
  • Posts: 69
Re: Captain Smoker [One Piece]
« Reply #1 on: July 23, 2010, 12:14:23 PM »
Glad you got done with it =)
i was way to tired last night to keep on testing it ;)
ill put it up on my server though if you don't mind =)
« Last Edit: July 24, 2010, 02:57:26 PM by La Muerte »

Scyther

  • Level 3 Trained Apprentice
  • Posts: 67
  • <3 WCS :)
Re: Captain Smoker [One Piece]
« Reply #2 on: July 24, 2010, 02:55:55 PM »
So the actual smoke does these effects or the nade needs to hit the person? =O

heru

  • Level 3 Trained Apprentice
  • Posts: 69
Re: Captain Smoker [One Piece]
« Reply #3 on: July 24, 2010, 03:01:21 PM »
So the actual smoke does these effects or the nade needs to hit the person? =O

So far its the nade have to hit the person, and i think its a 5% instant kill on the first nade. So a very hard race to use, though the blind didn't work again for some reason.
I'm not sure if Kami have fixed it yet. I'll ask him later

Strickened

  • Level 1 Trained Beginner
  • Posts: 36
  • Country:
  • <3 WCS :)
Re: Captain Smoker [One Piece]
« Reply #4 on: July 24, 2010, 03:03:32 PM »
I believe that
Code: [Select]
"skill4_setting"    "es_xset wcs_change 1;es_xset wcs_change 2;es_xset wcs_change 3;es_xset wcs_change 4"
Should be
Code: [Select]
"skill4_setting"    "es_xset wcs_chance 1;es_xset wcs_chance 2;es_xset wcs_chance 3;es_xset wcs_chance 4"

heru

  • Level 3 Trained Apprentice
  • Posts: 69
Re: Captain Smoker [One Piece]
« Reply #5 on: July 24, 2010, 03:15:04 PM »
I believe that
Code: [Select]
"skill4_setting"    "es_xset wcs_change 1;es_xset wcs_change 2;es_xset wcs_change 3;es_xset wcs_change 4"
Should be
Code: [Select]
"skill4_setting"    "es_xset wcs_chance 1;es_xset wcs_chance 2;es_xset wcs_chance 3;es_xset wcs_chance 4"

its true though we have spottet this problem before, but as mentioned before, think Kami is sleeping or having a rest, ill talk to him when he finally wakes up ^^,

Kami

  • Level 1 Trained Beginner
  • Posts: 24
  • Country:
  • Pokemon Master!
Re: Captain Smoker [One Piece]
« Reply #6 on: July 24, 2010, 03:55:15 PM »
uhm sorry guys right now im very busy. Ill fix the race until monday I think. I will propably change some skills too.