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 2009-10-28 (original capture). Home · Forum · All archived topics · Downloads
Warcraft-Source.com - WCS mod for CSS
October 28, 2009, 07:10:49 PM *
Welcome, Guest. Please login or register.
Login with username, password and session length
News: Join the new Facebook Warcraft-Source.com Group! It has been currently opened!
Join!
Google  
  Home   Forum   Help Search Login Register   *
Pages: 1 [2]   Go Down
  Print  
This topic has not yet been rated! You have not rated this topic. Select a rating:
Author Topic: Help at coding a skill.  (Read 145 times)
VIPPERS Colt
Level 7 Expert
*****
Offline Offline

Brazil Brazil

Posts: 232



« Reply #15 on: October 20, 2009, 04:21:42 PM »

Zawmbee, i'm really sorry to let you down but.. I'm a He not a She.
Not your fault, i know.. xD

hehe, I think it was not his intention to offend you.
Logged
Zawmbee
Level 7 Expert
*****
Offline Offline

United States United States

Posts: 632


Watch Tower


« Reply #16 on: October 20, 2009, 05:37:14 PM »

Zawmbee, i'm really sorry to let you down but.. I'm a He not a She.
Not your fault, i know.. xD

Heh, sorry, didn't mean to have the mix-up.  Just thought the picture was of a girl, I apologize.  Your skills will be made up shortly.
Logged


(Anyone who C&P's my races, give credit, TY)
Minus
Level 1 Trained Beginner
*
Online Online

Denmark Denmark

Posts: 32



« Reply #17 on: October 23, 2009, 02:04:57 PM »

I'm kinda cry myself to sleep everynight when i check if your finish xD!
When will you be finish mate? Wink
Logged
Zawmbee
Level 7 Expert
*****
Offline Offline

United States United States

Posts: 632


Watch Tower


« Reply #18 on: October 23, 2009, 05:09:55 PM »

I'm kinda cry myself to sleep everynight when i check if your finish xD!
When will you be finish mate? Wink

Sorry, forgot all about it.  Here it is, spent the past half hour making it.

Code:
"247"                                 
 
  {
 
    "name"              "Hammerstorm"
    "author"            "Minus"         
    "shortdescription"  "From boyhood on, he has known nothing but battle, and his silent determination and deadly strength have earned him the epithet: Hammerstorm."               
    "required_level"    "7500"             
    "maximum_level"     "0"             
    "allow_only"        "0"
    "teamlimit"         "0" 
    "restrict_shop" "0"           
    "preloadcmd"        "0"             
    "player_spawn_cmd"  "es es_xtell event_var(userid) #multi #green You are now Hammerstorm [Race created by Minus];es est_Speed event_var(userid) 0.80"               
    "round_start_cmd"   "0"               
    "round_end_cmd"     "0"               
    "numberofskills"    "4"             
    "numberoflevels"    "8"             
    "skillnames"        "Hammer Throw|Mighty Swing|Galvanize|Brute Strength"
    "skilldescr"        "Hammerstorm throws his mighty hammer at a target enemy, stunning him completely.|Hammerstorm attacks with great might, causing splash damage|Hammerstorm’s awesomeness is so great that he influences nearby allies, buffing their armor and movement speed|Hammerstorm unleashes a savage fury within him, majorly increasing his attack damage temporarily."
    "skillcfg"          "player_attacker|player_attacker|player_spawn|player_ultimate"

    "skill1_setting"    "0"
    "skill1_cmd"        "0"
    "skill1_sfx"        "0"

    "skill2_setting"    "es_xset wcs_radius 100|es_xset wcs_radius 150|es_xset wcs_radius 200|es_xset wcs_radius 250|es_xset wcs_radius 300|es_xset wcs_radius 350|es_xset wcs_radius 400|es_xset wcs_radius 450"
    "skill2_cmd"        "es_xdoblock wcs/WCSultimates/wcs_mighty_swing"
    "skill2_sfx"        "0"

    "skill3_setting"    "es_xset wcs_speed .1;es_xset wcs_armor 20|es_xset wcs_speed .2;es_xset wcs_armor 40|es_xset wcs_speed .3;es_xset wcs_armor 60|es_xset wcs_speed .4;es_xset wcs_armor 80|es_xset wcs_speed .5;es_xset wcs_armor 100|es_xset wcs_speed .6;es_xset wcs_armor 120|es_xset wcs_speed .7;es_xset wcs_armor 140|es_xset wcs_speed .8;es_xset wcs_armor 160"
    "skill3_cmd"        "es_xdoblock wcs/WCSultimates/wcs_galvanize"
    "skill3_sfx"        "0"

    "skill4_setting"    "0"
    "skill4_cmd"        "0"
    "skill4_sfx"        "0"
    "ultimate_cooldown" "0"
}

Put these in your ultimate db, got too lazy to make events so just put them in there and they will still act as skills...

Code:
block wcs_galvanize
{
wcs_debuglog wcs_galvanize start
  es_xset wcs_team_target 0
  es_getplayerteam wcs_team event_var(userid)
  // check teams (T=2, CT=3)
  if (server_var(wcs_team) = 3) do
  {
    es_xset wcs_team_target 3
    es_xset wcs_team_targetn "#t!d"
  }
  if (server_var(wcs_team) = 2) do
  {
    es_xset wcs_team_target 2
    es_xset wcs_team_targetn "#c!d"
  }
  if (server_var(wcs_team_target) != "0") do
  {
    es_xset wcs_pcount 0
    es_getlivingplayercount wcs_pcount server_var(wcs_team_target)
    if (server_var(wcs_pcount) > 0) do
    {
      alias wcs_run_galvanize1 "es est_armor server_var(wcs_targetid) + server_var(wcs_armor);es wcs_setfx speed server_var(wcs_targetid) + server_var(wcs_speed)"
      es est_Near wcs_targetid server_var(wcs_team_targetn) 10000 event_var(userid) "es_exists ex userid server_var(wcs_targetid);if (server_var(ex) = 1) then wcs_run_galvanize1"
    }
  }
wcs_debuglog wcs_galvanize end
}

block wcs_mighty_swing
{
wcs_debuglog wcs_mighty_swing start
  es_xset wcs_team_target 0
  es_getplayerteam wcs_team event_var(attacker)
  // check teams (T=2, CT=3)
  if (server_var(wcs_team) = 2) do
  {
    es_xset wcs_team_target 3
    es_xset wcs_team_targetn "#c!d"
  }
  if (server_var(wcs_team) = 3) do
  {
    es_xset wcs_team_target 2
    es_xset wcs_team_targetn "#t!d"
  }
  if (server_var(wcs_team_target) != "0") do
  {
    es_xset wcs_pcount 0
    es_getlivingplayercount wcs_pcount server_var(wcs_team_target)
    if (server_var(wcs_pcount) > 0) do
    {
      alias wcs_run_mighty_swing1 "es_xset splash_damage event_var(dmg_health);es_xmath splash_damage / 2;es wcs_dealdamage event_var(attacker) event_var(userid) server_var(splash_damage)"
      es_xset wcs_counter 0
      es est_Near wcs_targetid server_var(wcs_team_targetn) server_var(wcs_radius) event_var(userid) "es_exists ex userid server_var(wcs_targetid);if (server_var(ex) = 1) then wcs_run_mighty_swing1"
    }
  }
wcs_debuglog wcs_mighty_swing end
}
Logged


(Anyone who C&P's my races, give credit, TY)
Minus
Level 1 Trained Beginner
*
Online Online

Denmark Denmark

Posts: 32



« Reply #19 on: October 24, 2009, 03:54:19 PM »

Thanks! Cheesy
Logged
Pages: 1 [2]   Go Up
  Print  
 
Jump to:  

Last 7 Shouts:
Today at 06:42:52 PM
Zoras, don't diss someone you aren't educated enough to "diss".  Berett said he only watched stargate for the past year and stargate alone and asked if anyone else had done the same.  He did not 'diss' chuck in any way.
Today at 06:26:24 PM
What section should I post my set of races? Mah friend shut down his server, so I figure I'll just make 'em public.
Today at 12:03:53 PM
Dont diss my homie Chuck ;]
Today at 10:16:52 AM
anyone here watch more than every season of Stargate and Stargate Atlantis?
that's how much video i watched for over a couple years
-.-
Today at 08:14:58 AM
anyone here watch more than 13k videos at youtube... thats how many video i watched for last couple years lol
Today at 06:51:53 AM
There was supposed to be a / between them Smiley
Today at 04:45:49 AM
anyone here play halo
Recent
[Today at 07:06:47 PM]

[Today at 07:01:21 PM]

[Today at 05:56:11 PM]

by MiiX
[Today at 05:12:27 PM]

[Today at 04:10:15 PM]

[Today at 02:46:13 PM]

[Today at 12:58:20 PM]

[Today at 12:51:22 PM]

[Today at 12:49:04 PM]

[Today at 10:59:52 AM]
Theme switch

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