September 24, 2018, 04:40:34 AM

Author Topic: [Oddity] Warlock and [Oddity] Apprentice ~{double feature}~  (Read 3442 times)

Offline [Oddity]TeacherCreature

  • Level 7 Expert
  • *****
  • Posts: 1753
[Oddity] Warlock and [Oddity] Apprentice ~{double feature}~
« on: November 01, 2007, 04:27:37 AM »
This post includes two races WARLOCK which should be high level and APPRENTICE which is a lower level or less strong.
Warlocks are, among historic Christian traditions, said to be the male equivalent of witches (usually in the pejorative sense of Europe's Middle Ages), and were said to ride pitchforks instead of broomsticks which normally witches would ride. In traditional Scottish witchcraft, "warlock" was and is simply the term used for a wizard, or male witch.A synonym is sorcerer. The commonly accepted etymology derives warlock from the Old English wǣrloga meaning deceiver, or "oathbreaker". A derivation from the Old Norse varð-lokkur, "caller of spirits" has also been suggested.

Skills:
Magic Missle                     - Fire a basic Energy blast that never misses
Weapons of the Warlock     - Chance to get Warlock STAFF or WAND
Levitate                          - Energy surges you into a new area
Teleport                          - Use your powers to float above the ground
Elemental Surge                - Fireball Iceblast Tornado Earthquake


Install must include DALIAS see stinky FAQ post. (also sound shoudl be your own)

Code: [Select]
"oddity.counter-strike.com"
  {
    "name"              "[Oddity]Warlock"
    "author"            "[Oddity]TeacherCreature"
    "shortdescription"  "Ancient wizard"
    "required_level"    "0"
    "maximum_level"     "0"
    "allow_only"        "0"
    "teamlimit"         "2"
    "preloadcmd"        "0"
    "player_spawn_cmd"  "es ma_render_fx event_var(userid) 13;es es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(userid);es est_effect 11 #a 0 editor/phys_ballsocket.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 2 5 100;es es_xdelayed 0.5 est_removeweapon event_var(userid) 1;es es_xdelayed 0.6 est_removeweapon event_var(userid) 2;es es_xdelayed 0.8 est_RestrictAll event_var(userid);es es_xdelayed 1.1 est_unrestrict event_var(userid) weapon_knife;es es_xdelayed 1.4 est_unrestrict event_var(userid) weapon_c4;es es_xdelayed 1.6 est_unrestrict event_var(userid) weapon_usp;es es_xdelayed 1.9 est_unrestrict event_var(userid) weapon_glock;es es_xdelayed 2.1 es_give event_var(userid) weapon_knife"
    "round_start_cmd"   "0"
    "round_end_cmd"     "0"
    "numberofskills"    "5"
    "numberoflevels"    "5"
    "skillnames"        "Magic Missle|Weapons of the Warlock|Levitate|Teleport|Elemental Surge"
    "skilldescr"        "Fire a basic Energy blast that never misses|Use your powers to float above the ground|Chance to get Warlock STAFF or WAND|Energy surges you into a new area|Fireball Iceblast Tornado Earthquake"
    "skillcfg"          "player_attacker|player_spawn|player_spawn|player_victim|player_ultimate"

    "skill1_setting"    "es_xsetinfo wcs_chance 5|es_xsetinfo wcs_chance 10|es_xsetinfo wcs_chance 15|es_xsetinfo wcs_chance 20|es_xsetinfo wcs_chance 25"
    "racealias_wlk11" "es wcs_dealdamage event_var(attacker) event_var(userid) 25;es_setplayerprop event_var(userid) CBasePlayer.m_fFlags 32.0;es es_xdelayed 0.8 wcs_removefx freeze event_var(userid);es_xsetinfo wcs_nametarget 0;es_xsetinfo wcs_nameattacker 0;es est_getname wcs_nametarget event_var(userid);es est_getname wcs_nameattacker event_var(attacker);es_tell event_var(attacker) : You have hit server_var(wcs_nametarget) by a Magic Missle;es_tell event_var(userid) : server_var(wcs_nameattacker) have hit you with a Magic Missle;racealias_wlk12"
    "racealias_wlk12" "es_getplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(attacker);es_getplayerlocation wcs_x2 wcs_y2 wcs_z2 event_var(userid);es_xmath wcs_z1 + 40;es_xmath wcs_z2 + 40;es est_effect 3 #a 0 sprites/laserbeam.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) 2 2 2 154 209 209 220"
    "skill1_cmd"        "if (server_var(wcs_dice) <= server_var(wcs_chance)) then racealias_wlk11"
    "skill1_sfx"        "0"
 
    "skill2_setting"    "es_xsetinfo wcs_chance 20|es_xsetinfo wcs_chance 30|es_xsetinfo wcs_chance 40|es_xsetinfo wcs_chance 50|es_xsetinfo wcs_chance 60"
    "racealias_wlk21"   "es es_xdelayed 2.3 est_unrestrict event_var(userid) weapon_scout;es es_xdelayed 3.2 est_Give event_var(userid) weapon_scout;es es_xtell event_var(userid) #multi #lightgreen Warlock #greenSTAFF"
    "racealias_wlk22"   "es es_xdelayed 2.3 est_unrestrict event_var(userid) weapon_p228;es es_xdelayed 3.4 est_Give event_var(userid) weapon_p228;es es_xtell event_var(userid) #multi #lightgreen and Warlock #greenWAND"
    "skill2_cmd"        "es es_xif (server_var(wcs_dice) <= server_var(wcs_chance)) then racealias_wlk21;es es_xif (server_var(wcs_dice) <= 60) then racealias_wlk22"
    "skill2_sfx"        "es es_xif (server_var(wcs_dice) <= server_var(wcs_chance)) then es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(userid);es es_xif (server_var(wcs_dice) <= server_var(wcs_chance)) then est_Effect 10 #a 0 sprites/lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 40 60 2 20 10 1 10 255 0 255 1"
 
    "skill3_setting"    "es_xsetinfo wcs_gravity 0.65|es_xsetinfo wcs_gravity 0.60|es_xsetinfo wcs_gravity 0.55|es_xsetinfo wcs_gravity 0.50|es_xsetinfo wcs_gravity 0.45"
    "skill3_cmd"        "es es_xdelayed 2 est_SetGravity event_var(userid) server_var(wcs_gravity);es es_xkeysetvalue WCSuserdata event_var(userid) gravity server_var(wcs_gravity);wcs_getlanguage wcs_lng wcs_lng_r_levitation;es es_xtell event_var(userid) #multi server_var(wcs_lng)"
    "skill3_sfx"        "es es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(userid);es est_Effect 10 #a 0 sprites/lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 20 50 2 60 100 0.8 0 20 100 255 1"
   
    "skill4_setting"    "es_xsetinfo wcs_chance 10;es_xsetinfo wcs_duration 2|es_xsetinfo wcs_chance 20;es_xsetinfo wcs_duration 2.5|es_xsetinfo wcs_chance 30;es_xsetinfo wcs_duration 3|es_xsetinfo wcs_chance 40;es_xsetinfo wcs_duration 3.5|es_xsetinfo wcs_chance 50;es_xsetinfo wcs_duration 4"
    "racealias_wlk41"   "es est_physpush event_var(userid) 0 0 300;es es_delayed 0.2 est_physpush event_var(userid) 500 0 0;es est_setplayercolor event_var(userid) 255 255 255 20 1;es es_delayed server_var(wcs_duration) est_setplayercolor event_var(userid) 255 255 255 255 1"
    "racealias_wlk42"   "es est_Fade event_var(attacker) 1 0.1 0.1 10 10 10 200"
    "skill4_cmd"        "es es_xif (server_var(wcs_dice) <= server_var(wcs_chance)) then racealias_wlk41;es es_xif (server_var(wcs_dice) <= server_var(wcs_chance)) then racealias_wlk42"
    "skill4_sfx"        "es es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(userid);es_xmath wcs_z1 + 20;es est_Effect 10 #a 0 sprites/lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 20 200 1 20 100 1 0 40 255 200 10;es est_Effect 10 #a 0 sprites/lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 20 300 1 20 100 1 0 40 255 200 10"

    "skill5_setting"    "es_xsetinfo wcs_max 4;es_xsetinfo wcs_tmp11 1|es_xsetinfo wcs_max 5;es_xsetinfo wcs_tmp11 2|es_xsetinfo wcs_max 6;es_xsetinfo wcs_tmp11 3|es_xsetinfo wcs_max 7;es_xsetinfo wcs_tmp11 4|es_xsetinfo wcs_max 8;es_xsetinfo wcs_tmp11 5"
    "racealias_wfir41"  "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_wfir42"
    "racealias_wfir42"  "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_xsetinfo wcs_tmp1 racealias_wfir44;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_xsetinfo wcs_distance server_var(wcs_max);es_xmath wcs_distance + 1;es_setinfo wcs_tmp9 server_var(wcs_distance);racealias_wfir43"
    "racealias_wfir43"  "es wcs_dalias racealias_wfir44 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_wfir44"  "if (server_var(wcs_tmp9) > 0) then racealias_wfir45"
    "racealias_wfir45"  "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_math wcs_tmp5 + 15;es est_effect 11 #a 0 sprites/fireburst.vmt server_var(wcs_tmp3) server_var(wcs_tmp4) server_var(wcs_tmp5) 3 1 255;es nearcoord wcs_targetid server_var(wcs_tmp10) server_var(wcs_tmp3) server_var(wcs_tmp4) server_var(wcs_tmp5) 20 20 1200 racealias_wfir46;es_xmath wcs_tmp9 - 1;es_delayed 0.4  wcs_dalias racealias_wfir44 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_wfir46"  "es_getplayerprop wcs_dead server_var(wcs_targetid) CCSPlayer.baseclass.pl.deadflag;es es_xif (server_var(wcs_dead) = 0) then racealias_wfir47"
    "racealias_wfir47"  "es est_burn server_var(wcs_targetid) server_var(wcs_tmp11);es_xsetinfo wcs_nameattacker 0;es_xsetinfo 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) #multi #lightGreen you got hit by server_var(wcs_nameattacker) 's Fire Ball;es_tell server_var(wcs_tmp2) #multi #lightGreen You hit #green server_var(wcs_nametarget) #lightgreenwith a #greenFire Ball"
    "racealias_wfir40"  "es_xsetinfo wcs_tmp10 0;es_getplayerteam wcs_tmp10 server_var(wcs_userid);if (server_var(wcs_tmp10) = 2) then es_xsetinfo wcs_tmp10 #ct;if (server_var(wcs_tmp10) = 3) then es_xsetinfo wcs_tmp10 #t;racealias_wfir41;es est_playplayer server_var(wcs_userid) weapons/mortar/mortar_explode2.wav"
    "racealias_wice41"  "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_wice42"
    "racealias_wice42"  "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_xsetinfo wcs_tmp1 racealias_wice44;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_xsetinfo wcs_distance server_var(wcs_max);es_xmath wcs_distance + 1;es_setinfo wcs_tmp9 server_var(wcs_distance);racealias_wice43"
    "racealias_wice43"  "es wcs_dalias racealias_wice44 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_wice44"  "if (server_var(wcs_tmp9) > 0) then racealias_wice45"
    "racealias_wice45"  "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_math wcs_tmp5 + 15;es est_effect 11 #a 0 sprites/plasma1.vmt server_var(wcs_tmp3) server_var(wcs_tmp4) server_var(wcs_tmp5) 3 1 255;es nearcoord wcs_targetid server_var(wcs_tmp10) server_var(wcs_tmp3) server_var(wcs_tmp4) server_var(wcs_tmp5) 20 20 1200 racealias_wice46;es_xmath wcs_tmp9 - 1;es_delayed 0.4  wcs_dalias racealias_wice44 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_wice46"  "es_getplayerprop wcs_dead server_var(wcs_targetid) CCSPlayer.baseclass.pl.deadflag;es es_xif (server_var(wcs_dead) = 0) then racealias_wice47"
    "racealias_wice47"  "es est_Freeze server_var(wcs_targetid) 1;es es_xdelayed server_var(wcs_tmp11) est_Freeze server_var(wcs_targetid) 0;es_xsetinfo wcs_nameattacker 0;es_xsetinfo 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) #multi #lightGreen you got hit by server_var(wcs_nameattacker) 's Ice Blast;es_tell server_var(wcs_tmp2) #multi #lightGreen You hit #green server_var(wcs_nametarget) #lightgreenwith an #greenIceblast"
    "racealias_wice40"  "es_xsetinfo wcs_tmp10 0;es_getplayerteam wcs_tmp10 server_var(wcs_userid);if (server_var(wcs_tmp10) = 2) then es_xsetinfo wcs_tmp10 #ct;if (server_var(wcs_tmp10) = 3) then es_xsetinfo wcs_tmp10 #t;racealias_wice41;es est_playplayer server_var(wcs_userid) weapons/physcannon/energy_sing_flyby2.wav"
    "racealias_wwnd41"  "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_wwnd42"
    "racealias_wwnd42"  "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_xsetinfo wcs_tmp1 racealias_wwnd44;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_xsetinfo wcs_distance server_var(wcs_max);es_xmath wcs_distance + 1;es_setinfo wcs_tmp9 server_var(wcs_distance);racealias_wwnd43"
    "racealias_wwnd43"  "es wcs_dalias racealias_wwnd44 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_wwnd44"  "if (server_var(wcs_tmp9) > 0) then racealias_wwnd45"
    "racealias_wwnd45"  "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_math wcs_tmp5 + 15;es est_effect 11 #a 0 sprites/gunsmoke.vmt server_var(wcs_tmp3) server_var(wcs_tmp4) server_var(wcs_tmp5) 3 1 255;es nearcoord wcs_targetid server_var(wcs_tmp10) server_var(wcs_tmp3) server_var(wcs_tmp4) server_var(wcs_tmp5) 20 20 1200 racealias_wwnd46;es_xmath wcs_tmp9 - 1;es_delayed 0.4  wcs_dalias racealias_wwnd44 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_wwnd46"  "es_getplayerprop wcs_dead server_var(wcs_targetid) CCSPlayer.baseclass.pl.deadflag;es es_xif (server_var(wcs_dead) = 0) then racealias_wwnd47"
    "racealias_wwnd47"  "es est_physpush server_var(wcs_targetid) 0 0 700;es_xsetinfo wcs_nameattacker 0;es_xsetinfo 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) #multi #lightGreen you got hit by server_var(wcs_nameattacker) 's Tornado;es_tell server_var(wcs_tmp2) #multi #lightGreen You hit #green server_var(wcs_nametarget) #lightgreenwith a #greenTornado"
    "racealias_wwnd40"  "es_xsetinfo wcs_tmp10 0;es_getplayerteam wcs_tmp10 server_var(wcs_userid);if (server_var(wcs_tmp10) = 2) then es_xsetinfo wcs_tmp10 #ct;if (server_var(wcs_tmp10) = 3) then es_xsetinfo wcs_tmp10 #t;racealias_wwnd41;es est_playplayer server_var(wcs_userid) npc/scanner/scanner_nearmiss1.wav"
    "racealias_werth41" "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_werth42"
    "racealias_werth42" "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_xsetinfo wcs_tmp1 racealias_werth44;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_xsetinfo wcs_distance server_var(wcs_max);es_xmath wcs_distance + 1;es_setinfo wcs_tmp9 server_var(wcs_distance);racealias_werth43"
    "racealias_werth43" "es wcs_dalias racealias_werth44 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_werth44" "if (server_var(wcs_tmp9) > 0) then racealias_werth45"
    "racealias_werth45" "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_math wcs_tmp5 + 15;es est_effect 11 #a 0 sprites/crosshairs.vmt server_var(wcs_tmp3) server_var(wcs_tmp4) server_var(wcs_tmp5) 3 1 255;es nearcoord wcs_targetid server_var(wcs_tmp10) server_var(wcs_tmp3) server_var(wcs_tmp4) server_var(wcs_tmp5) 20 20 1200 racealias_werth46;es_xmath wcs_tmp9 - 1;es_delayed 0.4  wcs_dalias racealias_werth44 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_werth46" "es_getplayerprop wcs_dead server_var(wcs_targetid) CCSPlayer.baseclass.pl.deadflag;es es_xif (server_var(wcs_dead) = 0) then racealias_werth47"
    "racealias_werth47" "es est_shake server_var(wcs_targetid) server_var(wcs_tmp11) 20 100;es_xsetinfo wcs_nameattacker 0;es_xsetinfo 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) #multi #lightGreen you got hit by server_var(wcs_nameattacker) 's Earthquake;es_tell server_var(wcs_tmp2) #multi #lightGreen You hit #green server_var(wcs_nametarget) #lightgreenwith an #greenEarthquake"
    "racealias_werth40" "es_xsetinfo wcs_tmp10 0;es_getplayerteam wcs_tmp10 server_var(wcs_userid);if (server_var(wcs_tmp10) = 2) then es_xsetinfo wcs_tmp10 #ct;if (server_var(wcs_tmp10) = 3) then es_xsetinfo wcs_tmp10 #t;racealias_werth41;es est_playplayer server_var(wcs_userid) ambient\weather\thunder1.wav"
    "skill5_cmd"        "es es_xif (server_var(wcs_dice) <= 25) then racealias_wfir40;es es_xif (server_var(wcs_dice) > 25) then es_xif (server_var(wcs_dice) <= 50) then racealias_wice40;es es_xif (server_var(wcs_dice) > 50) then es_xif (server_var(wcs_dice) <= 75) then racealias_wwnd40;es es_xif (server_var(wcs_dice) > 75) then es_xif (server_var(wcs_dice) <= 99) then racealias_werth40"
    "skill5_sfx"        "0"
    "ultimate_cooldown" "5|4|3|2|1"
  }
« Last Edit: January 21, 2008, 05:25:58 PM by [Oddity]TeacherCreature »

Edward D'Andrea

Offline [Oddity]TeacherCreature

  • Level 7 Expert
  • *****
  • Posts: 1753
Re: [Oddity] Warlock and [Oddity] Apprentice ~{double feature}~
« Reply #1 on: November 01, 2007, 04:31:41 AM »
[Oddity]Apprentice

SKILLS:
Magic Missle
Levitate
Teleport
Elemental Surge


AGAIN YOU NEED DALIAS

Code: [Select]
"oddity.counter-strike.com"
  {
    "name"              "[Oddity]Apprentice"
    "author"            "[Oddity]TeacherCreature"
    "shortdescription"  "Young Wizard"
    "required_level"    "0"
    "maximum_level"     "0"
    "allow_only"        "0"
    "teamlimit"         "1"
    "preloadcmd"        "0"
    "player_spawn_cmd"  "es es_xkeysetvalue WCSuserdata event_var(userid) restricted <all>;es es_xdelayed 0.5 est_removeweapon event_var(userid) 1;es es_xdelayed 0.6 est_removeweapon event_var(userid) 2;es es_xdelayed 0.8 est_RestrictAll event_var(userid);es es_xif (server_var(wcs_game) = server_var(wcs_game_css)) then racealias_ap_css;es ma_render_fx event_var(userid) 13;es es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(userid);es est_effect 11 #a 0 editor/phys_ballsocket.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 2 5 100"
    "racealias_ap_css"  "es es_xdelayed 1.1 est_unrestrict event_var(userid) weapon_knife;es es_xdelayed 1.3 est_unrestrict event_var(userid) weapon_c4;es es_xdelayed 1.5 est_unrestrict event_var(userid) weapon_usp;es es_xdelayed 1.7 est_unrestrict event_var(userid) weapon_glock;es es_xdelayed 1.9 es_give event_var(userid) weapon_knife"
    "round_start_cmd"   "0"
    "round_end_cmd"     "0"
    "numberofskills"    "4"
    "numberoflevels"    "5"
    "skillnames"        "Magic Missle|Levitate|Teleport|Elemental Surge"
    "skilldescr"        "Fire a basic Energy blast that never misses|Use your powers to float above the ground|Energy surges you into a new area|Fireball Iceblast Tornado Earthquake"
    "skillcfg"          "player_attacker|player_spawn|player_victim|player_ultimate"

    "skill1_setting"    "es_xsetinfo wcs_chance 5|es_xsetinfo wcs_chance 10|es_xsetinfo wcs_chance 15|es_xsetinfo wcs_chance 20|es_xsetinfo wcs_chance 25"
    "racealias_app11" "es wcs_dealdamage event_var(attacker) event_var(userid) 15;es_setplayerprop event_var(userid) CBasePlayer.m_fFlags 32.0;es es_xdelayed 0.8 wcs_removefx freeze event_var(userid);es_xsetinfo wcs_nametarget 0;es_xsetinfo wcs_nameattacker 0;es est_getname wcs_nametarget event_var(userid);es est_getname wcs_nameattacker event_var(attacker);es_tell event_var(attacker) : You were hit server_var(wcs_nametarget) by a Magic Missle;es_tell event_var(userid) : server_var(wcs_nameattacker) have hit you with a Magic Missle;racealias_app12"
    "racealias_app12" "es_getplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(attacker);es_getplayerlocation wcs_x2 wcs_y2 wcs_z2 event_var(userid);es_xmath wcs_z1 + 40;es_xmath wcs_z2 + 40;es est_effect 3 #a 0 sprites/laserbeam.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) 2 2 2 154 209 209 220"
    "skill1_cmd"        "if (server_var(wcs_dice) <= server_var(wcs_chance)) then racealias_app11"
    "skill1_sfx"        "0"
 
    "skill2_setting"    "es_xsetinfo wcs_gravity 0.65|es_xsetinfo wcs_gravity 0.60|es_xsetinfo wcs_gravity 0.55|es_xsetinfo wcs_gravity 0.50|es_xsetinfo wcs_gravity 0.45"
    "skill2_cmd"        "es es_xdelayed 2 est_SetGravity event_var(userid) server_var(wcs_gravity);es es_xkeysetvalue WCSuserdata event_var(userid) gravity server_var(wcs_gravity);wcs_getlanguage wcs_lng wcs_lng_r_levitation;es es_xtell event_var(userid) #multi server_var(wcs_lng)"
    "skill2_sfx"        "es es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(userid);es est_Effect 10 #a 0 sprites/lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 20 50 2 60 100 0.8 0 20 100 255 1"
 
    "skill3_setting"    "es_xsetinfo wcs_chance 10;es_xsetinfo wcs_duration 1|es_xsetinfo wcs_chance 20;es_xsetinfo wcs_duration 1.5|es_xsetinfo wcs_chance 30;es_xsetinfo wcs_duration 2|es_xsetinfo wcs_chance 40;es_xsetinfo wcs_duration 2.5|es_xsetinfo wcs_chance 50;es_xsetinfo wcs_duration 3"
    "racealias_app31"   "es est_physpush event_var(userid) 0 0 300;es es_delayed 0.2 est_physpush event_var(userid) 500 0 0;es est_setplayercolor event_var(userid) 255 255 255 0 1;es es_delayed server_var(wcs_duration) est_setplayercolor event_var(userid) 255 255 255 255 1"
    "racealias_app32"   "es est_Fade event_var(attacker) 1 0.1 0.1 10 10 10 200"
    "skill3_cmd"        "es es_xif (server_var(wcs_dice) <= server_var(wcs_chance)) then racealias_app31;es es_xif (server_var(wcs_dice) <= server_var(wcs_chance)) then racealias_app32"
    "skill3_sfx"        "es es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(userid);es_xmath wcs_z1 + 20;es est_Effect 10 #a 0 sprites/lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 20 200 1 20 100 1 0 40 255 200 10;es est_Effect 10 #a 0 sprites/lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 20 300 1 20 100 1 0 40 255 200 10"

    "skill4_setting"    "es_xsetinfo wcs_max 4;es_xsetinfo wcs_tmp11 1|es_xsetinfo wcs_max 5;es_xsetinfo wcs_tmp11 1.5|es_xsetinfo wcs_max 6;es_xsetinfo wcs_tmp11 2|es_xsetinfo wcs_max 7;es_xsetinfo wcs_tmp11 2.5|es_xsetinfo wcs_max 8;es_xsetinfo wcs_tmp11 3"
    "racealias_afir41"  "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_afir42"
    "racealias_afir42"  "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_xsetinfo wcs_tmp1 racealias_afir44;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_xsetinfo wcs_distance server_var(wcs_max);es_xmath wcs_distance + 1;es_setinfo wcs_tmp9 server_var(wcs_distance);racealias_afir43"
    "racealias_afir43"  "es wcs_dalias racealias_afir44 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_afir44"  "if (server_var(wcs_tmp9) > 0) then racealias_afir45"
    "racealias_afir45"  "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_math wcs_tmp5 + 30;es est_effect 11 #a 0 sprites/fireburst.vmt server_var(wcs_tmp3) server_var(wcs_tmp4) server_var(wcs_tmp5) 3 1 255;es nearcoord wcs_targetid server_var(wcs_tmp10) server_var(wcs_tmp3) server_var(wcs_tmp4) server_var(wcs_tmp5) 20 20 1200 racealias_afir46;es_xmath wcs_tmp9 - 1;es_delayed 0.4  wcs_dalias racealias_afir44 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_afir46"  "es_getplayerprop wcs_dead server_var(wcs_targetid) CCSPlayer.baseclass.pl.deadflag;es es_xif (server_var(wcs_dead) = 0) then racealias_afir47"
    "racealias_afir47"  "es est_burn server_var(wcs_targetid) server_var(wcs_tmp11);es_xsetinfo wcs_nameattacker 0;es_xsetinfo 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) #multi #lightGreen you got hit by server_var(wcs_nameattacker) 's Fire Ball;es_tell server_var(wcs_tmp2) #multi #lightGreen You hit #green server_var(wcs_nametarget) #lightgreenwith a #greenFire Ball"
    "racealias_afir40"  "es_xsetinfo wcs_tmp10 0;es_getplayerteam wcs_tmp10 server_var(wcs_userid);if (server_var(wcs_tmp10) = 2) then es_xsetinfo wcs_tmp10 #ct;if (server_var(wcs_tmp10) = 3) then es_xsetinfo wcs_tmp10 #t;racealias_afir41;es est_playplayer server_var(wcs_userid) weapons/mortar/mortar_explode2.wav"
    "racealias_aice41"  "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_aice42"
    "racealias_aice42"  "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_xsetinfo wcs_tmp1 racealias_aice44;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_xsetinfo wcs_distance server_var(wcs_max);es_xmath wcs_distance + 1;es_setinfo wcs_tmp9 server_var(wcs_distance);racealias_aice43"
    "racealias_aice43"  "es wcs_dalias racealias_aice44 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_aice44"  "if (server_var(wcs_tmp9) > 0) then racealias_aice45"
    "racealias_aice45"  "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_math wcs_tmp5 + 30;es est_effect 11 #a 0 sprites/plasma1.vmt server_var(wcs_tmp3) server_var(wcs_tmp4) server_var(wcs_tmp5) 3 1 255;es nearcoord wcs_targetid server_var(wcs_tmp10) server_var(wcs_tmp3) server_var(wcs_tmp4) server_var(wcs_tmp5) 20 20 1200 racealias_aice46;es_xmath wcs_tmp9 - 1;es_delayed 0.4  wcs_dalias racealias_aice44 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_aice46"  "es_getplayerprop wcs_dead server_var(wcs_targetid) CCSPlayer.baseclass.pl.deadflag;es es_xif (server_var(wcs_dead) = 0) then racealias_aice47"
    "racealias_aice47"  "es est_Freeze server_var(wcs_targetid) 1;es es_xdelayed server_var(wcs_tmp11) est_Freeze server_var(wcs_targetid) 0;es_xsetinfo wcs_nameattacker 0;es_xsetinfo 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) #multi #lightGreen you got hit by server_var(wcs_nameattacker) 's Ice Blast;es_tell server_var(wcs_tmp2) #multi #lightGreen You hit #green server_var(wcs_nametarget) #lightgreenwith an #greenIceblast"
    "racealias_aice40"  "es_xsetinfo wcs_tmp10 0;es_getplayerteam wcs_tmp10 server_var(wcs_userid);if (server_var(wcs_tmp10) = 2) then es_xsetinfo wcs_tmp10 #ct;if (server_var(wcs_tmp10) = 3) then es_xsetinfo wcs_tmp10 #t;racealias_aice41;es est_playplayer server_var(wcs_userid) weapons/physcannon/energy_sing_flyby2.wav"
    "racealias_awnd41"  "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_awnd42"
    "racealias_awnd42"  "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_xsetinfo wcs_tmp1 racealias_awnd44;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_xsetinfo wcs_distance server_var(wcs_max);es_xmath wcs_distance + 1;es_setinfo wcs_tmp9 server_var(wcs_distance);racealias_awnd43"
    "racealias_awnd43"  "es wcs_dalias racealias_awnd44 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_awnd44"  "if (server_var(wcs_tmp9) > 0) then racealias_awnd45"
    "racealias_awnd45"  "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_math wcs_tmp5 + 30;es est_effect 11 #a 0 sprites/gunsmoke.vmt server_var(wcs_tmp3) server_var(wcs_tmp4) server_var(wcs_tmp5) 3 1 255;es nearcoord wcs_targetid server_var(wcs_tmp10) server_var(wcs_tmp3) server_var(wcs_tmp4) server_var(wcs_tmp5) 20 20 1200 racealias_awnd46;es_xmath wcs_tmp9 - 1;es_delayed 0.4  wcs_dalias racealias_awnd44 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_awnd46"  "es_getplayerprop wcs_dead server_var(wcs_targetid) CCSPlayer.baseclass.pl.deadflag;es es_xif (server_var(wcs_dead) = 0) then racealias_awnd47"
    "racealias_awnd47"  "es est_physpush server_var(wcs_targetid) 0 0 700;es_xsetinfo wcs_nameattacker 0;es_xsetinfo 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) #multi #lightGreen you got hit by server_var(wcs_nameattacker) 's Tornado;es_tell server_var(wcs_tmp2) #multi #lightGreen You hit #green server_var(wcs_nametarget) #lightgreenwith a #greenTornado"
    "racealias_awnd40"  "es_xsetinfo wcs_tmp10 0;es_getplayerteam wcs_tmp10 server_var(wcs_userid);if (server_var(wcs_tmp10) = 2) then es_xsetinfo wcs_tmp10 #ct;if (server_var(wcs_tmp10) = 3) then es_xsetinfo wcs_tmp10 #t;racealias_awnd41;es est_playplayer server_var(wcs_userid) npc/scanner/scanner_nearmiss1.wav"
    "racealias_aerth41" "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_aerth42"
    "racealias_aerth42" "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_xsetinfo wcs_tmp1 racealias_aerth44;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_xsetinfo wcs_distance server_var(wcs_max);es_xmath wcs_distance + 1;es_setinfo wcs_tmp9 server_var(wcs_distance);racealias_aerth43"
    "racealias_aerth43" "es wcs_dalias racealias_aerth44 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_aerth44" "if (server_var(wcs_tmp9) > 0) then racealias_aerth45"
    "racealias_aerth45" "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_math wcs_tmp5 + 30;es est_effect 11 #a 0 sprites/crosshairs.vmt server_var(wcs_tmp3) server_var(wcs_tmp4) server_var(wcs_tmp5) 3 1 255;es nearcoord wcs_targetid server_var(wcs_tmp10) server_var(wcs_tmp3) server_var(wcs_tmp4) server_var(wcs_tmp5) 20 20 1200 racealias_aerth46;es_xmath wcs_tmp9 - 1;es_delayed 0.4  wcs_dalias racealias_aerth44 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_aerth46" "es_getplayerprop wcs_dead server_var(wcs_targetid) CCSPlayer.baseclass.pl.deadflag;es es_xif (server_var(wcs_dead) = 0) then racealias_aerth47"
    "racealias_aerth47" "es est_shake server_var(wcs_targetid) server_var(wcs_tmp11) 20 100;es_xsetinfo wcs_nameattacker 0;es_xsetinfo 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) #multi #lightGreen you got hit by server_var(wcs_nameattacker) 's Earthquake;es_tell server_var(wcs_tmp2) #multi #lightGreen You hit #green server_var(wcs_nametarget) #lightgreenwith an #greenEarthquake"
    "racealias_aerth40" "es_xsetinfo wcs_tmp10 0;es_getplayerteam wcs_tmp10 server_var(wcs_userid);if (server_var(wcs_tmp10) = 2) then es_xsetinfo wcs_tmp10 #ct;if (server_var(wcs_tmp10) = 3) then es_xsetinfo wcs_tmp10 #t;racealias_aerth41;es est_playplayer server_var(wcs_userid) ambient\weather\thunder1.wav"
    "skill4_cmd"        "es es_xif (server_var(wcs_dice) <= 25) then racealias_afir40;es es_xif (server_var(wcs_dice) > 25) then es_xif (server_var(wcs_dice) <= 50) then racealias_aice40;es es_xif (server_var(wcs_dice) > 50) then es_xif (server_var(wcs_dice) <= 75) then racealias_awnd40;es es_xif (server_var(wcs_dice) > 75) then es_xif (server_var(wcs_dice) <= 99) then racealias_aerth40"
    "skill4_sfx"        "0"
    "ultimate_cooldown" "5"
  }

Edward D'Andrea

Offline [Oddity]TeacherCreature

  • Level 7 Expert
  • *****
  • Posts: 1753
Re: [Oddity] Warlock and [Oddity] Apprentice ~{double feature}~
« Reply #2 on: November 01, 2007, 04:32:26 AM »
I am learning to use ability instead of player_say commands and will be changing these races major.


Edward D'Andrea

Offline Mikey.14

  • Level 6 Experienced
  • *****
  • Posts: 130
Re: [Oddity] Warlock and [Oddity] Apprentice ~{double feature}~
« Reply #3 on: January 20, 2008, 05:53:25 PM »
erm you made a mastake on warlock

some of teh skill decription are swaped around

Offline Mikey.14

  • Level 6 Experienced
  • *****
  • Posts: 130
Re: [Oddity] Warlock and [Oddity] Apprentice ~{double feature}~
« Reply #4 on: January 20, 2008, 06:08:14 PM »
erm Warlock is compleatly messed up
when you get your scout and p223
it sayd this weapon is restricted
so your stuck with a knife.

Offline [Oddity]TeacherCreature

  • Level 7 Expert
  • *****
  • Posts: 1753
Re: [Oddity] Warlock and [Oddity] Apprentice ~{double feature}~
« Reply #5 on: January 21, 2008, 05:23:21 PM »
sry that is an old edition


Fixed
« Last Edit: January 21, 2008, 05:26:15 PM by [Oddity]TeacherCreature »

Edward D'Andrea

Offline Mikey.14

  • Level 6 Experienced
  • *****
  • Posts: 130
Re: [Oddity] Warlock and [Oddity] Apprentice ~{double feature}~
« Reply #6 on: January 21, 2008, 06:44:02 PM »
ty mate =]

Offline [Oddity]TeacherCreature

  • Level 7 Expert
  • *****
  • Posts: 1753
Re: [Oddity] Warlock and [Oddity] Apprentice ~{double feature}~
« Reply #7 on: June 24, 2009, 09:27:50 PM »
yea this is an older race and the ultimate skill was a bitch to code hahaha you would have more luck to recode it as a block,

also you can change the delays and radius etc all you want...

as far as making it an attacker skill you would need to change the server_Var(wcs_userid) into event_var(attacker)

Edward D'Andrea