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-03 (original capture). Home · Forum · All archived topics · Downloads
Warcraft-Source.com - WCS mod for CSS
February 03, 2010, 09:49:26 AM *
Welcome, Guest. Please login or register.
Login with username, password and session length
News: Races and Items added into Download section from our great Race Coders!
Such as... HOLLIDAY|NovaKiller|Stinkyfax|Frodo|TeacherCreature|Phat_Wizard
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: Necrolyte, H&S Project  (Read 2037 times)
Jareth
iRRex|Gaming / Deutscher forum Helfer
Moderator
Level 7 Expert
*****
Offline Offline

Germany Germany

Posts: 431


Ich helfe Gernen allen Deutschen =)


WWW
WCS_Jar3th
xjarethx

myServer 195.3.216.36:27100
(Warning: click connects through Steam)
« Reply #15 on: July 28, 2009, 07:54:43 PM »

look here http://source-scripts.com/
Logged

Wcs 0.77 German Beta v1.01 Download Link: Download
M.R.
Level 5 Trained Intermediate
*****
Offline Offline

Denmark Denmark

Posts: 104




ansix

myServer 77.92.67.252:27016
(Warning: click connects through Steam)
« Reply #16 on: July 28, 2009, 07:58:17 PM »

Code:
"42"
 {
    "name"              "Necrolyte"
    "author"            "H&S Project"
    "shortdescription"  "0"
    "required_level"    "550"
    "maximum_level"     "0"
    "allow_only"        "0"
    "teamlimit"         "0"
    "preloadcmd"        "0"
    "player_spawn_cmd"  "0"
    "round_start_cmd"   "0"
    "round_end_cmd"     "0"
    "numberofskills"    "4"
    "numberoflevels"    "5"
    "skillnames"        "Reaper's Scythe|Shadow Lightning|Aura|Sonic Wave"
    "skilldescr"        "Deals extra damage based on enemy's lost hp|Cast shadow lightning to \ndamage and stun enemy, 5-17%.|Shadow Aura damages nearby enemies for 2-6 hp.|Creates a gigantic wave of sound which \ndeals heavy damage to all units in a line, \nHigher level - higher distance."
    "skillcfg"          "player_attacker|player_attacker|player_spawn|player_ultimate"

    "skill1_setting"    "es_xset wcs_bonus 3|es_xset wcs_bonus 4|es_xset wcs_bonus 5|es_xset wcs_bonus 6|es_xset wcs_bonus 7"
    "racealias_1p1"     "es wcs_dealdamage event_var(attacker) event_var(userid) server_var(wcs_hpvictim);es es_xtell event_var(attacker) #multi #Lightgreen : Your Reaper's Scythe #Green increased damage by #Lightgreen server_var(wcs_hpvictim) !!"
    "skill1_cmd"        "es_xset wcs_hpvictim 0;es est_gethealth wcs_hpvictim event_var(userid);es_math wcs_hpvictim float;es es_xmath wcs_bonus float;es es_xmath wcs_hpvictim - 100;es es_xmath wcs_hpvictim * -1;es es_xmath wcs_hpvictim / 35;es es_xmath wcs_hpvictim * server_var(wcs_bonus);es est_rounddecimal wcs_hpvictim server_var(wcs_hpvictim) 0;if (server_var(wcs_hpvictim) > 0) then racealias_1p1"
    "skill1_sfx"        "es es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(attacker);es es_xgetplayerlocation wcs_x2 wcs_y2 wcs_z2 event_var(userid);es_xmath wcs_z1 + 40;es_xmath wcs_z2 + 40;es est_Effect 2 #a 0 sprites/bluelight1.vmt event_var(userid) event_var(attacker) 3 1 2 0 0 64 255"


    "skill2_setting"    "es_xset wcs_chance 5|es_xset wcs_chance 8|es_xset wcs_chance 11|es_xset wcs_chance 14|es_xset wcs_chance 17"
    "racealias_1p2"     "racealias_1p21;es es_xsetplayerprop event_var(userid) CBasePlayer.m_fFlags 32.0;es es_xdelayed 0.45 wcs_removefx freeze event_var(userid);es wcs_dealdamage event_var(attacker) event_var(userid) 15;es_tell event_var(userid) #green You was hit by event_var(es_attackername) with Shadow Lightning for extra 15 damage and stun.;es_tell event_var(attacker) #green You hit event_var(es_username) with Shadow Lightning for extra 15 damage and stun."
    "racealias_1p21"    "es es_xgetplayerlocation wcs_x2 wcs_y2 wcs_z2 event_var(userid);es_setinfo wcs_z1 server_var(wcs_z2);es_xmath wcs_z1 + 1620;es_xmath wcs_z2 + 20;es est_Effect 3 #a 0 sprites/lgtning_noz.vmt server_var(wcs_x2) server_var(wcs_y2) server_var(wcs_z1) server_var(wcs_x2) server_var(wcs_y2) server_var(wcs_z2) 0.7 28 18 51 0 102 255;es_xmath wcs_z2 - 20;es est_effect 10 #a 0 effects/ar2_altfire1.vmt server_var(wcs_x2) server_var(wcs_y2) server_var(wcs_z2) 100 300 0.5 90 20 0 15 0 255 255 20"
    "skill2_cmd"        "if (server_var(wcs_dice) <= server_var(wcs_chance)) then es_xif (event_var(es_userdead) = 0) then racealias_1p2"
    "skill2_sfx"        "0"

    "skill3_setting"    "es_xset wcs_tmp4 2;es_xset wcs_tmp3 300|es_xset wcs_tmp4 3;es_xset wcs_tmp3 340|es_xset wcs_tmp4 4;;es_xset wcs_tmp3 380|es_xset wcs_tmp4 5;es_xset wcs_tmp3 410|es_xset wcs_tmp4 6;es_xset wcs_tmp3 435"
    "racealias_1p32"    "es_getplayerprop wcs_dead server_var(wcs_tmp2) CCSPlayer.baseclass.pl.deadflag;if (server_var(wcs_dead) = 0) then racealias_1p33"
    "racealias_1p33"    "es_getplayerteam wcs_team server_var(wcs_tmp2);if (server_var(wcs_team) = 2) then es_xset wcs_team #c!d;if (server_var(wcs_team) = 3) then es_xset wcs_team #t!d;es est_Near wcs_targetid server_var(wcs_team) server_var(wcs_tmp3) server_var(wcs_tmp2) racealias_1p34;racealias_1p31"
    "racealias_1p34"    "es_playsound server_var(wcs_targetid) npc/combine_gunship/ping_search.wav 0.6;es_getplayerlocation wcs_x1 wcs_y1 wcs_z1 server_var(wcs_targetid);es_xmath wcs_z1 + 50;es est_effect 11 #a 0 effects/ar2_altfire1.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 0.7 0.5 255;es est_effect 11 #a 0 sprites/physring1.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 0.7 0.8 255;es_getplayername wcs_name server_var(wcs_targetid);es_getplayername wcs_name2 server_var(wcs_tmp2);es wcs_dealdamage server_var(wcs_tmp2) server_var(wcs_targetid) server_var(wcs_tmp4);es_tell server_var(wcs_tmp2) Your Aura damaged server_var(wcs_name) for server_var(wcs_tmp4);es_tell server_var(wcs_targetid) Aura from server_var(wcs_name2) damaged you for server_var(wcs_tmp4), run away if you don't want get aura damage."
    "racealias_1p31"    "es_keygetvalue wcs_round WCSuserdata server_var(wcs_tmp2) aura_round;if (server_var(wcs_roundcounter) = server_var(wcs_round)) then es_xdelayed 1.7 wcs_dalias racealias_1p32 server_var(wcs_tmp2) server_var(wcs_tmp3) server_var(wcs_tmp4)"
    "skill3_cmd"        "es_xset wcs_name2 0;es_xset wcs_round 0;es_keysetvalue WCSUserdata event_var(userid) aura_round server_var(wcs_roundcounter);es_setinfo wcs_tmp2 event_var(userid);racealias_1p31"
    "skill3_sfx"        "0"
    // wcs_max  - maximum distance ((variable + 1) * 250), wcs_tmp11  - damage dealth with 1 wave (person will get often 1-2 hits, don't set too high)
    "skill4_setting"    "es_xset wcs_max 4;es_xset wcs_tmp11 14|es_xset wcs_max 5;es_xset wcs_tmp11 14|es_xset wcs_max 6;es_xset wcs_tmp11 14|es_xset wcs_max 7;es_xset wcs_tmp11 14|es_xset wcs_max 8;es_xset wcs_tmp11 14"
    "racealias_1p41"   "es_getplayerlocation wcs_x1 wcs_y1 wcs_z1 server_var(wcs_userid);es est_getviewcoord server_var(wcs_userid) wcs_x2 wcs_y2 wcs_z2;es_math wcs_x2 - server_var(wcs_x1);es_math wcs_y2 - server_var(wcs_y1);es_math wcs_z2 - server_var(wcs_z1);es_math wcs_x2 * server_var(wcs_x2);es_math wcs_y2 * server_var(wcs_y2);es_math wcs_z2 * server_var(wcs_z2);es_setinfo wcs_distance server_var(wcs_x2);es_math wcs_distance + server_var(wcs_y2);es_math wcs_distance + server_var(wcs_z2);es_xmath wcs_distance root 2;es_xmath wcs_distance / 250;es est_rounddecimal wcs_distance server_var(wcs_distance) 0;racealias_1p42"
    "racealias_1p42"   "es est_getviewcoord server_var(wcs_userid) wcs_x2 wcs_y2 wcs_z2;es_math wcs_x2 - server_var(wcs_x1);es_math wcs_y2 - server_var(wcs_y1);es_math wcs_z2 - server_var(wcs_z1);es_math wcs_x2 / server_var(wcs_distance);es_math wcs_y2 / server_Var(wcs_distance);es_math wcs_z2 / server_var(wcs_distance);es_xset wcs_tmp1 racealias_1p44;es_setinfo wcs_tmp2 server_var(wcs_userid);es_setinfo wcs_tmp3 server_var(wcs_x1);es_setinfo wcs_tmp4 server_var(wcs_y1);es_setinfo wcs_tmp5 server_var(wcs_z1);es_setinfo wcs_tmp6 server_var(wcs_x2);es_setinfo wcs_tmp7 server_var(wcs_y2);es_setinfo wcs_tmp8 server_var(wcs_z2);if (server_var(wcs_distance) > server_var(wcs_max)) then es_xset wcs_distance server_var(wcs_max);es_xmath wcs_distance + 1;es_setinfo wcs_tmp9 server_var(wcs_distance);racealias_1p43"
    "racealias_1p43"   "es wcs_dalias racealias_1p44 server_var(wcs_tmp2) server_var(wcs_tmp3) server_var(wcs_tmp4) server_var(wcs_tmp5) server_var(wcs_tmp6) server_var(wcs_tmp7) server_var(wcs_tmp8) server_var(wcs_tmp9) server_var(wcs_tmp10) server_var(wcs_tmp11)"
    "racealias_1p44"   "if (server_var(wcs_tmp9) > 0) then racealias_1p45"
    "racealias_1p45"   "es_math wcs_tmp3 + server_var(wcs_tmp6);es_math wcs_tmp4 + server_var(wcs_tmp7);es_math wcs_tmp5 + server_var(wcs_tmp8);es est_effect 10 #a 0 sprites/lgtning_noz.vmt server_var(wcs_tmp3) server_var(wcs_tmp4) server_var(wcs_tmp5) 40 300 2 800 300 0 20 15 164 255 100;es nearcoord wcs_targetid server_var(wcs_tmp10) server_var(wcs_tmp3) server_var(wcs_tmp4) server_var(wcs_tmp5) 300 300 300 racealias_1p46;es_xmath wcs_tmp9 - 1;es_delayed 0.4  wcs_dalias racealias_1p44 server_var(wcs_tmp2) server_var(wcs_tmp3) server_var(wcs_tmp4) server_var(wcs_tmp5) server_var(wcs_tmp6) server_var(wcs_tmp7) server_var(wcs_tmp8) server_var(wcs_tmp9) server_var(wcs_tmp10) server_var(wcs_tmp11)"
    "racealias_1p46"   "es_getplayerprop wcs_dead server_var(wcs_targetid) CCSPlayer.baseclass.pl.deadflag;if (server_var(wcs_dead) = 0) then racealias_1p47"
    "racealias_1p47"   "es wcs_dealdamage server_var(wcs_tmp2) server_var(wcs_targetid) server_var(wcs_tmp11);es_xset wcs_nameattacker 0;es_xset wcs_nametarget 0;es est_getname wcs_nameattacker server_var(wcs_tmp2);es est_getname wcs_nametarget server_var(wcs_targetid);es_tell server_var(wcs_targetid) #Green You are hit by server_var(wcs_nameattacker) with Sonic Wave Ultimate;es_tell server_var(wcs_tmp2) #Green You hit server_var(wcs_nametarget) with Sonic Wave Ultimate"
    "skill4_cmd"   "es_xset wcs_tmp10 0;es_getplayerteam wcs_tmp10 server_var(wcs_userid);if (server_var(wcs_tmp10) = 2) then es_xset wcs_tmp10 #ct;if (server_var(wcs_tmp10) = 3) then es_xset wcs_tmp10 #t;racealias_1p41"
    "skill4_sfx"        "0"
    "ultimate_cooldown" "28"
  }


for the ultimate

Code:
es_xexists wcs_exists command wcs_dalias
  if (server_var(wcs_exists) = 0) then es_xregcmd wcs_dalias wcs/WCSultimates/wcs_dalias "Executes alias with delay without loosing data"

Code:
block wcs_dalias
{

if (server_var(wcs_debug) = "1") then echo wcs_dalias start
  es_xset wcs_tmp1 0
es_xset wcs_tmp2 0
es_xset wcs_tmp3 0
es_xset wcs_tmp4 0
es_xset wcs_tmp5 0
  es_xset wcs_tmp6 0
es_xset wcs_tmp7 0
es_xset wcs_tmp8 0
es_xset wcs_tmp9 0
es_xset wcs_tmp10 0
  es_xset wcs_tmp11 0
es_xset wcs_tmp12 0
es_xset wcs_tmp13 0
es_xset wcs_tmp14 0
es_xset wcs_tmp15 0
es_xgetargv wcs_tmp1 1
es_xgetargv wcs_tmp2 2
es_xgetargv wcs_tmp3 3
es_xgetargv wcs_tmp4 4
es_xgetargv wcs_tmp5 5
es_xgetargv wcs_tmp6 6
es_xgetargv wcs_tmp7 7
es_xgetargv wcs_tmp8 8
es_xgetargv wcs_tmp9 9
es_xgetargv wcs_tmp10 10
es_xgetargv wcs_tmp11 11
es_xgetargv wcs_tmp12 12
es_xgetargv wcs_tmp13 13
es_xgetargv wcs_tmp14 14
es_xgetargv wcs_tmp15 15
es server_var(wcs_tmp1)
if (server_var(wcs_debug) = "1") then echo wcs_dalias end
}

i think that all you need for this race

Ty but what do u mean with the code in the middle where shall i put that?
Logged

Stinkyfax
I <3 WCS
Level 7 Expert
*****
Offline Offline

United Kingdom

Posts: 1902



WWW
Xrushiov

myServer 84.55.62.45:27016
(Warning: click connects through Steam)
« Reply #17 on: July 28, 2009, 08:02:49 PM »

somewhere in top of ultimates file, but not "1st line" ofc.
Logged



ALDi
Level 1 Trained Beginner
*
Offline Offline

Germany Germany

Posts: 28




sosiehtsaus07
« Reply #18 on: July 28, 2009, 08:27:15 PM »

have a look at this


Code:
////////////////////////////////////////
// WCS - Warcraft:Source              //
// ---------------------------------- //
//  by kRypT0n!Te                     //
//      http://wc3source.de           //
// ---------------------------------- //
// Content of this subscript          //
// - all ultimates                    //
////////////////////////////////////////
// commands:
// wcs_mole_activate <userid>
// wcs_regeneration <userid> <amount> <time> <maxHP> <maxHeal> <radius>
// wcs_warden  <userid> <duration> <damage> <radius> <target team> <team target name> <x> <y> <z> <round>
//
////////////////////////////////////////
// You can define here new ultimates, then use the command
// es_xdoblock wcs/WCSultimates/wcs_YOURSCRIPT
// to execute wcs_YOURSCRIPT block.
//

block load
{
es_xexists wcs_exists command wcs_dalias
  if (server_var(wcs_exists) = 0) then es_xregcmd wcs_dalias wcs/WCSultimates/wcs_dalias "Executes alias with delay without loosing data"
es_xexists ex command wcs_mole_activate
  if (server_var(ex) = 0) then es_xregcmd wcs_mole_activate wcs/WCSultimates/wcs_mole_activate "A player becomes a mole"
  es_xexists ex command wcs_regeneration
  if (server_var(ex) = 0) then es_xregcmd wcs_regeneration wcs/WCSultimates/wcs_regeneration "wcs_regeneration <userid> <amount> <time> <maxHP> <maxHeal> <radius> - Regenerate player for the current round"
  es_xexists ex command wcs_warden
  if (server_var(ex) = 0) then es_xregcmd wcs_warden wcs/WCSultimates/wcs_warden "Warden, deals damage on nearby enemies"
  es_xset wcs_maxhp 0
  es_xset wcs_maxheal 0
  // new event
  es_xloadevents declare addons/eventscripts/wcs/WCSultimates/es_WCSultimates.res
}

// >>>>>>>>>>>>>>>>> SPECIAL ULTIMATE SKILL CODE >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
block wcs_ulti_teleport
{
Logged

M.R.
Level 5 Trained Intermediate
*****
Offline Offline

Denmark Denmark

Posts: 104




ansix

myServer 77.92.67.252:27016
(Warning: click connects through Steam)
« Reply #19 on: July 28, 2009, 11:22:35 PM »

ok ty ;P
Logged

Frodo
Level 7 Expert
*****
Offline Offline

Posts: 853


Actinosphaerium eichhorni


WWW
ckenduro
aulix
« Reply #20 on: September 16, 2009, 08:39:32 PM »

QFT!
Logged


Actually I found it as best Bux ever. Everything's automated!
Stinkyfax
I <3 WCS
Level 7 Expert
*****
Offline Offline

United Kingdom

Posts: 1902



WWW
Xrushiov

myServer 84.55.62.45:27016
(Warning: click connects through Steam)
« Reply #21 on: September 17, 2009, 11:22:19 AM »

QFT!
frodoooo  Grin
Logged



Pages: 1 [2]   Go Up
  Print  
 
Jump to:  

Last 7 Shouts:
February 02, 2010, 10:43:30 AM
Yap, he mean eventscripter xD
February 02, 2010, 01:03:48 AM
Eventscripter. lol
February 02, 2010, 12:23:17 AM
A WCS scripter?
February 01, 2010, 06:12:18 PM
izh lookeh for 1 scripter to supp0t me
February 01, 2010, 05:14:04 PM
does anyone had a server problem that skin shows errors because people doesn't get .mdl file download....
February 01, 2010, 01:06:01 PM
Type any est_command in console and it will tell you it's syntax automatically Smiley
February 01, 2010, 12:40:20 AM
whats est_freeze syntax?

Recent
[Today at 09:24:35 AM]

[Today at 09:02:09 AM]

[Today at 08:26:32 AM]

[Today at 08:13:41 AM]

[Today at 07:23:26 AM]

[Today at 07:02:56 AM]

[Today at 03:11:55 AM]

[February 02, 2010, 07:24:36 PM]

[February 02, 2010, 06:06:19 PM]

[February 02, 2010, 06:02:56 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.131 seconds with 24 queries.