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-07-10 (original capture). Home · Forum · All archived topics · Downloads
Warcraft-Source.com - WCS mod for CSS
July 10, 2009, 04:27:57 AM *
Welcome, Guest. Please login or register.
Login with username, password and session length
News: Remember to check on the FAQ before start posting.
It may save you time and effort.
Google  
  Home   Forum   Help Search Login Register   *
Pages: [1]   Go Down
  Print  
This topic has not yet been rated! You have not rated this topic. Select a rating:
Author Topic: [Oddity]Frost Giant  (Read 763 times)
[Oddity]TeacherCreature
Moderator
Level 7 Master
*****
Offline Offline

United States United States

Posts: 1358



WWW
bonggged

myServer 63.209.33.64:27015
(Warning: click connects through Steam)
« on: July 06, 2008, 09:37:18 AM »

The Giants, were the chief enemies of the gods, particularly the Aesir.

In the Norse world, a giant was called Jotun or Iotun. There are several different types of giants. The frost-giants were the most common giants; they lived in Jotunheim, one of the nine worlds. The capital of Jotunheim was Utgard, the citadel of the frost-giants and home of Utgard-Loki or Utgardaloki. Often writers just simply called the home of the giants as Giantland.



Skills:
Ice Shards - extra damage
Deep Freeze - Deep freeze, stun + dmg + push
Ice Armor - freeze attacker
Frost Stomp - Stomp ground to initiate heavy damage Deep Freeze




INSTALL 2 PARTS
Part 1 - Racefile
Code:
"18"
  {
    "name"              "Frost Giant"
    "author"            "[Oddity]TeacherCreature"
    "shortdescription"  "Large slow Ice Monster"
    "required_level"    "140"
    "maximum_level"     "0"
    "allow_only"        "0"
    "teamlimit"         "0"
    "restrict_shop" "<bootspeed20>"
    "preloadcmd"        "0"
    "player_spawn_cmd"  "es est_setplayercolor server_var(wcs_userid) 21 21 255 200 1;es est_Speed event_var(userid) 0.8;es wcs_restrict event_var(userid) restrict #all;es wcs_restrict event_var(userid) restrict knife;es wcs_restrict event_var(userid) allow m3;es es_delayed 1 est_give event_var(userid) weapon_m3"
    "round_start_cmd"   "0"
    "round_end_cmd"     "0"
    "numberofskills"    "4"
    "numberoflevels"    "6"
    "skillnames"        "Ice Shards|Deep Freeze|Ice Armor|Frost Stomp"
    "skilldescr"        "Ice Damage|Deep Freeze Your Enemies|Armor made of Ice|Frost Damage to nearby enemies"
    "skillcfg"          "player_attacker|player_attacker|player_victim|player_ultimate"

    "skill1_setting"    "es_xrand wcs_rand 1 5;es_xrand wcs_damage 7 10|es_xrand wcs_rand 1 4;es_xrand wcs_damage 9 11|es_xrand wcs_rand 1 3;es_xrand wcs_damage 10 13|es_xrand wcs_rand 1 2;es_xrand wcs_damage 12 14|es_xrand wcs_rand 1 1;es_xrand wcs_damage 15 18|es_xrand wcs_rand 1 1;es_xrand wcs_damage 17 20"
    "racealias_frgt1"   "es wcs_dealdamage event_var(attacker) event_var(userid) server_var(wcs_damage);es est_csay event_var(attacker)  Shard server_var(wcs_damage) Damage;es est_csay event_var(userid)  server_var(wcs_damage) Ice Shards"
    "skill1_cmd"        "es es_xif (server_var(wcs_rand) = 1) then est_isalive wcs_alive event_var(userid);es es_xif (server_var(wcs_rand) = 1) then es_xif (server_var(wcs_alive) = 1) then racealias_frgt1"
    "skill1_sfx"        "es est_playplayer event_var(attacker) weapons/shotgun/shotgun_dbl_fire7.wavweapons/shotgun/shotgun_dbl_fire7.wav;es_xset vector1 wcs_z1;es_xset vector2 wcs_z2;es_getplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(attacker);es est_getviewcoord event_var(attacker) wcs_x2 wcs_y2 wcs_z2;es_createvectorstring vector1 server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1);es_createvectorstring vector2 server_var(wcs_x2) server_var(wcs_y2) server_var(wcs_z2);es est_Effect_06 #a 0 sprites/hydraspinalcord.vmt server_var(vector1) server_var(vector2) 100 1 15 1 10 10 20 0 255 255 255"

    "skill2_setting"    "es_xsetinfo wcs_chance 15|es_xsetinfo wcs_chance 18|es_xsetinfo wcs_chance 21|es_xsetinfo wcs_chance 24|es_xsetinfo wcs_chance 27|es_xsetinfo wcs_chance 30"
    "racealias_frgt21"  "es es_xgetplayerlocation wcs_x2 wcs_y2 wcs_z2 event_var(userid);es_xmath wcs_z2 + 45;es_xmath wcs_z1 + 45;es est_effect 10 #a 0 sprites/smoke.vmt server_var(wcs_x2) server_var(wcs_y2) server_var(wcs_z2) 2 16 1.3 100 200 0 25 25 255 255 0;es_delayed 1.3 est_effect 10 #a 0 sprites/smoke.vmt server_var(wcs_x2) server_var(wcs_y2) server_var(wcs_z2) 2 5009 .3 100 200 2 25 25 255 255 0;es es_delayed 1.3 es est_playplayer event_var(userid) physics/glass/glass_largesheet_break1.wav;es_delayed .3 est_pushto event_var(userid) 1 1 3 2;es est_freeze event_var(userid) 1;es est_setplayercolor event_var(userid) 0 0 255 155;es_delayed 1.3 est_setplayercolor event_var(userid) 255 255 255 255;es_delayed 1.3 est_freeze event_var(userid) 0"
    "racealias_frgt22"  "es est_deafen event_var(userid) 1.3 90 .3 1;es wcs_dealdamage event_var(attacker) event_var(userid) 20;es_tell event_car(userid) #multi #lightgreen You were hit with a #greenDeep Freeze!;es_tell event_var(attacker) #green Deep Freeze!"
    "skill2_cmd"        "es es_xif (server_var(wcs_dice) <= server_var(wcs_chance)) then est_IsAlive wcs_alive event_var(userid);es es_xif (server_var(wcs_dice) <= server_var(wcs_chance)) then es_xif (server_var(wcs_alive) = 1) then racealias_frgt21;es es_xif (server_var(wcs_dice) <= server_var(wcs_chance)) then es_xif (server_var(wcs_alive) = 1) then racealias_frgt22"
    "skill2_sfx"        "if (server_var(wcs_dice) <= server_var(wcs_chance)) then es es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(attacker);if (server_var(wcs_dice) <= server_var(wcs_chance)) then es est_getviewcoord event_var(attacker) wcs_tmp wcs_tmp1 wcs_tmp2;if (server_var(wcs_dice) <= server_var(wcs_chance)) then es est_effect 3 #a 0 sprites/orangelight1.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) server_var(wcs_tmp) server_var(wcs_tmp1) server_var(wcs_tmp2) 1 3 19 15 25 255 255;if (server_var(wcs_dice) <= server_var(wcs_chance)) then es est_effect 3 #a 0 sprites/tp_beam001.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) server_var(wcs_tmp) server_var(wcs_tmp1) server_var(wcs_tmp2) 1 3 19 25 25 255 255"

    "skill3_setting"    "es_xsetinfo wcs_chance 15|es_xsetinfo wcs_chance 20|es_xsetinfo wcs_chance 25|es_xsetinfo wcs_chance 30|es_xsetinfo wcs_chance 35|es_xsetinfo wcs_chance 40"
    "racealias_frgt3" "es est_freeze event_var(attacker) 1;es es_xdelayed 1 est_freeze event_var(attacker) 0;es es_xtell event_var(attacker) #green Frozen by event_var(es_username);es es_xtell event_var(userid) #green Froze event_var(es_attackername)"
    "skill3_cmd"        "es es_xif (server_var(wcs_dice) <= server_var(wcs_chance)) then racealias_frgt3"
    "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_maxtargets 3;es_xsetinfo wcs_radius 400|es_xsetinfo wcs_maxtargets 3;es_xsetinfo wcs_radius 550|es_xsetinfo wcs_maxtargets 4;es_xsetinfo wcs_radius 600|es_xsetinfo wcs_maxtargets 4;es_xsetinfo wcs_radius 650|es_xsetinfo wcs_maxtargets 5;es_xsetinfo wcs_radius 700|es_xsetinfo wcs_maxtargets 6;es_xsetinfo wcs_radius 800"
    "skill4_cmd"        "es es_xdoblock wcs/WCSultimates/wcs_ulti_stomp"
    "skill4_sfx"        "es est_playplayer server_var(wcs_userid) npc/ichthyosaur/attack_growl1.wav;es_delayed 1 est_playplayer server_var(wcs_userid) npc/ichthyosaur/attack_growl3.wav;es es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 server_var(wcs_userid);es_xmath wcs_z1 + 50;es est_effect 10 #a 0 sprites/bluelight1.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 20 5000 1 100 300 1.8 175 175 255 255 1"
    "ultimate_cooldown" "30"
  }

Part 2 - ultimate (goes in ultimates.txt)
Code:
block wcs_ulti_stomp
{
wcs_debuglog wcs_ulti_stomp start
  es_xset wcs_team_target 0
  es_getplayerteam wcs_team server_var(wcs_userid)
  // 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_xset server_var(wcs_damag) 20
    es_getlivingplayercount wcs_pcount server_var(wcs_team_target)
    if (server_var(wcs_pcount) > 0) do
    {
      es est_Fade server_var(wcs_userid) 0 2 1 200 200 240 100
      es_xset wcs_wall "1"
      alias wcs_run_ulti_stomp1 "es es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 server_var(wcs_userid);es es_xgetplayerlocation wcs_x2 wcs_y2 wcs_z2 server_var(wcs_targetid);es est_getwallbetween wcs_wall server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) server_var(wcs_x2) server_var(wcs_y2) server_var(wcs_z2);es es_xif (server_var(wcs_wall) = 0) then wcs_run_ulti_stomp2"
      alias wcs_run_ulti_stomp2 "es_xsetinfo wcs_immunity 0;es es_xkeygetvalue wcs_immunity WCSuserdata server_var(wcs_targetid) ulti_immunity;es es_xif (server_var(wcs_immunity) = 0) then wcs_run_ulti_stomp3;es es_xif (server_var(wcs_immunity) != 0) then es_xtell server_var(wcs_userid) #multi server_var(wcs_lng_ulti_immunity_a);es es_xif (server_var(wcs_immunity) != 0) then es_xtell server_var(wcs_targetid) #multi server_var(wcs_lng_ulti_immunity_v);es es_xif (server_var(wcs_immunity) = 0) then wcs_run_ulti_stomp4"
      alias wcs_run_ulti_stomp4 "es est_effect 10 #a 2.5 sprites/lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 20 5000 2 100 300 1.8 175 175 255 255 1;es est_effect 10 #a 2.5 sprites/lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 20 5000 2 100 300 3.8 255 75 25 255 5;es es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 server_var(wcs_targetid);es est_effect 10 #a 2.5 sprites/lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 30 50 3 50 100 2 255 75 25 255 2"
      alias wcs_run_ulti_stomp3 "es_xmath wcs_counter + 1;es es_xif (server_var(wcs_graphicfx) = 1) then es est_effect 3 #a 2.5 sprites/lgtning.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 13 16 255 75 25 255;es es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 server_var(wcs_userid);wcs_run_ulti_stomp5;wcs_run_ulti_stomp6"
      alias wcs_run_ulti_stomp5 "es_xset server_var(wcs_damag) 20;es_xmath server_var(wcs_damag) * server_var(wcs_counter);es es_delayed 1.3 wcs_dealdamage server_var(wcs_userid) server_var(wcs_targetid) server_var(wcs_damag);es es_xgetplayerlocation wcs_x2 wcs_y2 wcs_z2 server_var(wcs_targetid);es_xmath wcs_z2 + 45;es_xmath wcs_z1 + 45;es est_effect 10 #a 0 sprites/smoke.vmt server_var(wcs_x2) server_var(wcs_y2) server_var(wcs_z2) 2 16 1.3 100 200 0 25 25 255 255 0;es_delayed 1.3 est_effect 10 #a 0 sprites/smoke.vmt server_var(wcs_x2) server_var(wcs_y2) server_var(wcs_z2) 2 5009 .3 100 200 2 25 25 255 255 0;es es_delayed 1.3 es est_playplayer server_var(wcs_targetid) physics/glass/glass_largesheet_break1.wav"
      alias wcs_run_ulti_stomp6 "es es_delayed 1 est_pushto server_var(wcs_userid) server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 1;es_delayed .3 est_pushto server_var(wcs_targetid) 1 1 3 2;es est_freeze server_var(wcs_targetid) 1;es_delayed 1.3 est_freeze server_var(wcs_targetid) 0;es est_deafen server_var(wcs_targetid) 1.3 90 .3 1"
      es_xset wcs_counter 0
      es est_Near wcs_targetid server_var(wcs_team_targetn) server_var(wcs_radius) server_var(wcs_userid) "es_exists ex userid server_var(wcs_targetid);if (server_var(ex) = 1) then es_xif (server_var(wcs_counter) < server_var(wcs_maxtargets)) then wcs_run_ulti_stomp1"
      if (server_var(wcs_counter) > 0) do
      {
        esnq est_csay server_var(wcs_userid) Frost Stomp 20 damage for each of server_var(wcs_counter) players!
      }
      es_xelse do
      {
        es_xsetinfo wcs_ultinotexec 1
      }
    }
    es_xelse do
    {
      es_xsetinfo wcs_ultinotexec 1
    }
  }
es es_xif (server_var(wcs_ultinotexec) = 1) then es_xtell server_var(wcs_userid) #multi #green Frost Stomp Failed #lightgreenno nearby enemies
wcs_debuglog wcs_ulti_chain end
}
Logged

EvilGenuix
Level 6 Experienced
******
Offline Offline

United Kingdom

Posts: 224




xF |:. Evil Genuix |A|
« Reply #1 on: July 06, 2008, 11:02:11 AM »

Great race as usual Oddity, keep making so many great races please  :mrgreen:,

Evil Genuix
Logged
overheaven
Level 0 Beginner

Offline Offline

Canada Canada

Posts: 3




0verheaven
« Reply #2 on: August 14, 2008, 03:05:39 AM »

looks fun!  Cheesy Cheesy Cheesy
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Last 7 Shouts:
Today at 02:24:50 AM
Write "ME" if I helped you.
Anyone. Smiley
Today at 02:23:28 AM
YES Cheesy
Today at 02:23:22 AM
Cheesy
Today at 02:22:14 AM
And they always Gets Help to.?
"YES" "NO"
Who have i helped here write me inn shoutbox pls. Smiley
Today at 02:21:30 AM
Yeah.
Cheesy
Today at 02:10:45 AM
That you are always here to help anybody Tongue
July 09, 2009, 10:41:33 PM
Whats True ?
Recent
[Today at 03:43:36 AM]

[Today at 02:17:29 AM]

[Today at 01:03:25 AM]

[Today at 12:43:41 AM]

[July 09, 2009, 11:24:52 PM]

by maze
[July 09, 2009, 09:58:44 PM]

[July 09, 2009, 07:32:56 PM]

[July 09, 2009, 07:16:53 PM]

[July 09, 2009, 04:33:01 PM]

[July 09, 2009, 12:04:26 PM]
Theme switch

Powered by MySQL Powered by PHP Powered by SMF 1.1.4 | SMF © 2006-2007, Simple Machines LLC
TinyPortal v0.9.8 © Bloc
Valid XHTML 1.0! Valid CSS!
Page created in 0.215 seconds with 27 queries.