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-11 (original capture). Home · Forum · All archived topics · Downloads
Warcraft-Source.com - WCS mod for CSS
July 11, 2009, 09:52:03 AM *
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 3   Go Down
  Print  
Current Topic Rating: ***** You have not rated this topic. Select a rating:
Author Topic: Hell Envy  (Read 2084 times)
HOLLIDAY
<Race Maker>
Moderator
Level 7 Master
*****
Offline Offline

Posts: 2168



WWW
Wc3_HOLLIDAY_Wc3
wc3hollidaywc3

myServer 8.2.0.222:27015
(Warning: click connects through Steam)
« on: June 23, 2008, 04:19:58 PM »

Hell Envy                    2/7        



Envy
Resent
Steal
Freezing Water

Punishing the Envious:
Punishment in Hell for the Deadly Sin of Envy is to be Immersed in Freezing Water


Code:
""
  {
    "name"              "Hell Envy"
    "author"            "HOLLIDAY"
    "required_level"    "0"
    "maximum_level"     "0"
    "allow_only"        "0"
    "teamlimit"         "0"
    "preloadcmd"        "0"
    "player_spawn_cmd"  "es_xset envycash 0;es_xset z1 0;es_xset z2 0;es_xset envy 0;es_xset envy3 0;es_xset envy2 0;es_xset vector1 wcs_z1;es_xset vector2 wcs_z2;popup create envy;popup addline envy ->1.Possess_These_Weapons?;popup addline envy ->2.Destroy_All_Of_This_Weapon_Type?;popup select envy 1 wcs/WCSultimates/envy;popup select envy 2 wcs/WCSultimates/envy1;popup timeout envy view 8"
    "round_start_cmd"   "0"
    "round_end_cmd"     "0"
    "numberofskills"    "4"
    "numberoflevels"    "4"
    "skillnames"        "Envy|Resent|Steal|Freezing Water"
    "skilldescr"        "Desire to possess what others have:Posses your enemies Weapon,or Destroy All of this Weapon type on the map|Steal an enemies Cash in attempt to stop them from possessing anything at all|Chance to Steal $1000 From the enemy that hits you|Immerse your enemies in freezing Water"
    "skillcfg"          "player_attacker|player_spawn|player_victim|player_ultimate"

    "skill1_setting"    "es_xsetinfo wcs_chance 13|es_xsetinfo wcs_chance 15|es_xsetinfo wcs_chance 17|es_xsetinfo wcs_chance 18"
    "racealias_hellnvy" "es_getplayerlocation wcs_x2 wcs_y2 wcs_z2 event_var(userid);es est_getsecondary envy3 event_var(userid);es est_getprimary envy2 event_var(userid);es_xmath wcs_z2 + 40;es est_teleport event_var(userid) server_var(wcs_x2) server_var(wcs_y2) server_var(wcs_z2);es popup send envy event_var(attacker);es es_xtell event_var(attacker) #multi #lightgreenYour enemies Primary Weapon is #green server_var(envy2) #lightgreenYou enemies Secondary Weapon is #green server_var(envy3);racealias_hellenv"
    "racealias_hellenv" "es es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(attacker);es_getplayerlocation wcs_x2 wcs_y2 wcs_z2 event_var(userid);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_14 #a 0 effects/strider_muzzle.vmt server_var(vector2) server_var(vector1) 1000 100 100;es est_effect_14 #a 0 effects/strider_pinch_dudv_dx60.vmt server_var(vector2) server_var(vector1) 1000 100 100"
    "skill1_cmd"        "es es_xif (server_var(wcs_dice) <= server_var(wcs_chance)) then racealias_hellnvy"
    "skill1_sfx"        "0"

    "skill2_setting"    "es_xsetinfo wcs_chance 13|es_xsetinfo wcs_chance 15|es_xsetinfo wcs_chance 17|es_xsetinfo wcs_chance 18"
    "skill2_cmd"        "es es_xif (server_var(wcs_dice) <= server_var(wcs_chance)) then racealias_envyatmp"
    "racealias_envyatmp""es est_playplayer event_var(userid) ambient/materials/metal4.wav;es_xsetinfo wcs_player 0;es es_xif (server_var(wcs_team) = 2) then est_randplayer wcs_player #c!d;es es_xif (server_var(wcs_team) = 3) then est_randplayer wcs_player #t!d;es es_xexists wcs_exists userid server_var(wcs_player);es es_xif (server_var(wcs_exists) = 1) then racealias_envystll"
    "racealias_envystll""es est_getname envycash server_var(wcs_player);es est_setcash server_var(wcs_player) 0;es es_xtell event_var(userid) #multi #lightgreen you have stolen all of server_var(envycash) 's Money;es es_xtell server_var(wcs_player) #multi #lightgreen event_var(es_username) has stolen all of your money;es est_setplayercolor event_var(userid) 2 220 18 178;racealias_envysfx"
    "racealias_envysfx" "es es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(userid);es es_xgetplayerlocation wcs_x2 wcs_y2 wcs_z2 event_var(userid);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_14 #a 0 models/effects/vol_light.mdl server_var(vector2) server_var(vector1) 1000 10 10;es est_playplayer event_var(userid) ambient/materials/metal4.wav"
    "skill2_sfx"        "0"
   
    "skill3_setting"    "es_xsetinfo wcs_chance 13|es_xsetinfo wcs_chance 15|es_xsetinfo wcs_chance 17|es_xsetinfo wcs_chance 18"
    "skill3_cmd"        "es es_xif (server_var(wcs_dice) <= server_var(wcs_chance)) then racealias_envictim"
    "racealias_envictim""es_xset envmoney 0;es est_getmoney envmoney event_var(attacker);es_xmath envmoney - 1000;es est_setcash event_var(attacker) server_var(envmoney);es es_xtell event_var(attacker) #multi #lightgreen event_var(es_username) has stolen #green $1000;es es_xtell event_var(userid) #multi #lightgreen You have stolen #green #1000 #lightgreen from event_var(es_attackername);es est_cashadd event_var(userid) 1000"
    "skill3_sfx"        "0"
   
    "skill4_setting"    "es_xsetinfo wcs_maxtargets 3;es_xsetinfo wcs_radius 550|es_xsetinfo wcs_maxtargets 3;es_xsetinfo wcs_radius 600|es_xsetinfo wcs_maxtargets 3;es_xsetinfo wcs_radius 650|es_xsetinfo wcs_maxtargets 4;es_xsetinfo wcs_radius 700|es_xsetinfo wcs_maxtargets 4;es_xsetinfo wcs_radius 750"
    "skill4_cmd"        "es_xdoblock wcs/WCSultimates/wcs_ulti_ulti_envy"
    "skill4_sfx"        "0"
    "ultimate_cooldown" "20"
   }

es_WCSultimates.txt

Code:
block envy
{
es est_removeweapon event_var(userid) 1
es est_removeweapon event_var(userid) 2
es_delayed .1 est_give event_var(userid) server_var(envy3)
es_delayed .1 est_give event_var(userid) server_var(envy2)
}

block envy1
{
if (event_var(es_userweapon) != server_var(envy3)) then es est_dissolve server_var(envy3)
if (event_var(es_userweapon) != server_var(envy2)) then es est_dissolve server_var(envy2)
if (event_var(es_userweapon) == server_var(envy3)) then es es_xtell event_var(userid) #lightgreen you cant destroy your own weapon
if (event_var(es_userweapon) == server_var(envy2)) then es es_xtell event_var(userid) #lightgreen you cant destroy your own weapon
}

block wcs_ulti_ulti_envy
{
es es_xif (server_var(wcs_debug) = "1") then echo wcs_ulti_ulti_envy start
  es_xsetinfo wcs_team_target 0
  es es_xgetplayerteam wcs_team server_var(wcs_userid)
  es es_xif (server_var(wcs_team) = 2) do
  {
    es_xsetinfo wcs_team_target 3
    es_xsetinfo wcs_team_targetn "#c!d"
  }
  es es_xif (server_var(wcs_team) = 3) do
  {
    es_xsetinfo wcs_team_target 2
    es_xsetinfo wcs_team_targetn "#t!d"
  }
  es es_xif (server_var(wcs_team_target) != "0") do
  {
    es_xsetinfo wcs_pcount 0
    es es_xgetlivingplayercount wcs_pcount server_var(wcs_team_target)
    es es_xif (server_var(wcs_pcount) > 0) do
    {
    es_xsetinfo wcs_wall "1"
      alias wcs_run_ulti_ulti_envy1 "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_xmath wcs_z1 + 50;es_xmath wcs_z2 + 50;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_ulti_envy2"
      alias wcs_run_ulti_ulti_envy2 "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_ulti_envy3;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)"
      alias wcs_run_ulti_ulti_envy3 "es_xmath wcs_counter + 1;es es_xif (server_var(wcs_graphicfx) = 1) then es est_effect 3 #a 0 blueshaft1.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) 5 7 3 25 25 25 255;es est_freeze server_var(wcs_targetid) 1;es es_delayed 2 es est_freeze server_var(wcs_targetid) 0;es est_setplayercolor server_Var(wcs_targetid) 25 25 25 255 1;es es_delayed 2 est_setplayercolor server_Var(wcs_targetid) 255 255 255 255 1;es est_playplayer server_var(wcs_userid) ambient/materials/metal4.wav;wcs_run_ulti_ulti_envy4"
      alias wcs_run_ulti_ulti_envy4 "es_xmath wcs_z2 - 140;es est_teleport server_var(wcs_targetid) server_var(wcs_x2) server_var(wcs_y2) server_var(wcs_z2);es_xmath wcs_z2 + 140;es es_delayed 2 est_teleport server_var(wcs_targetid) server_var(wcs_x2) server_var(wcs_y2) server_var(wcs_z2);es est_fade server_var(wcs_targetid) 1 1 1 10 64 128 195;wcs_run_ulti_ulti_envy5;es wcs_dealdamage server_var(wcs_userid) server_var(wcs_targetid) 10;es est_effect_14 #a 0 effects/strider_muzzle.vmt server_var(vector2) server_var(vector1) 1000 100 100;es est_effect_14 #a 0 effects/strider_pinch_dudv_dx60.vmt server_var(vector2) server_var(vector1) 1000 100 100"
      alias wcs_run_ulti_ulti_envy5 "es_xset vector1 wcs_z1;es_xset vector2 wcs_z2;es es_xmath wcs_z2 + 100;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_27 #a 0 effects/strider_pinch_dudv_dx60.vmt 1 server_var(vector2) server_var(vector1) server_var(vector2) 1 1;es est_effect_14 #a 0 effects/bluemuzzle.vmt server_var(vector2) server_var(vector1) 1000 1000 1000;es est_effect_21 #a 0 models/effects/splodeglass.mdl server_var(player) 10 10;es est_effect_14 #a 0 models/effects/splodeglass.mdl server_var(vector1) server_var(vector2) 100 10 100"
      es_xsetinfo wcs_counter 0
      es est_Near wcs_targetid server_var(wcs_team_targetn) server_var(wcs_radius) server_var(wcs_userid) "es es_xexists wcs_exists userid server_var(wcs_targetid);es es_xif (server_var(wcs_exists) = 1) then es_xif (server_var(wcs_counter) < server_var(wcs_maxtargets)) then wcs_run_ulti_ulti_envy1"
      es es_xif (server_var(wcs_counter) > 0) do
      {
        esnq est_csay server_var(wcs_userid) You have immersed  server_var(wcs_counter) Players in freezing Water
      }
      es_xelse do
      {
        es_xsetinfo wcs_ultinotexec 1
      }
    }
    es_xelse do
    {
      es_xsetinfo wcs_ultinotexec 1
    }
  }
es es_xif (server_var(wcs_debug) = "1") then echo wcs_ulti_ulti_envy end
}


 de_dust20034.jpg (146.43 KB, 800x600 - viewed 159 times.)

 de_dust20029.jpg (128.35 KB, 800x600 - viewed 1006 times.)

 de_dust20045.jpg (130.37 KB, 800x600 - viewed 150 times.)
« Last Edit: June 23, 2008, 10:40:55 PM by HOLLIDAY » Logged


[Oddity]TeacherCreature
Co-Administrator
Level 7 Master
*****
Offline Offline

United States United States

Posts: 1358



WWW
bonggged

myServer 63.209.33.64:27015
(Warning: click connects through Steam)
« Reply #1 on: June 23, 2008, 05:58:53 PM »

Lol @ skill 1 selection
Nice race

Might want to remind people before they complain about lacking power...
This race needs to make full use of the shopmenu(s) to be effective!
« Last Edit: June 23, 2008, 06:03:49 PM by [Oddity]TeacherCreature » Logged

[Oddity]TeacherCreature
Co-Administrator
Level 7 Master
*****
Offline Offline

United States United States

Posts: 1358



WWW
bonggged

myServer 63.209.33.64:27015
(Warning: click connects through Steam)
« Reply #2 on: June 24, 2008, 03:56:50 AM »

Might I suggest you add:
Code:
es est_removeweapon event_var(userid) 1
es est_removeweapon event_var(userid) 2
to the envy1 block

so that when you destroy weapons it includes the one they are holding !
Logged

HOLLIDAY
<Race Maker>
Moderator
Level 7 Master
*****
Offline Offline

Posts: 2168



WWW
Wc3_HOLLIDAY_Wc3
wc3hollidaywc3

myServer 8.2.0.222:27015
(Warning: click connects through Steam)
« Reply #3 on: June 24, 2008, 04:05:49 AM »

then you would be left without a gun, if you try to destroy the gun you have it will say you can not distroy your own gun
Logged


[Oddity]TeacherCreature
Co-Administrator
Level 7 Master
*****
Offline Offline

United States United States

Posts: 1358



WWW
bonggged

myServer 63.209.33.64:27015
(Warning: click connects through Steam)
« Reply #4 on: June 24, 2008, 04:13:51 AM »

No
not var attacker var userid
your the attacker

When you shoot them but dont kill em
you choose option 2 to destroy their guns but it only works if the gun is on the floor it doesnt dissolve out of their hands
Logged

Azn4Life
Level 4 Intermediate
****
Offline Offline

United States United States

Posts: 94


A stab in the back is all it takes...



arjunbery

myServer 72.5.250.172:27015
(Warning: click connects through Steam)
« Reply #5 on: June 24, 2008, 06:06:03 AM »

Great Race Im going to test on my server.

Pros:Good Ideas
Cons: Dunno Yet havent tested lol  Tongue
Logged
WCA | Pietro [DK]
Level 7 Master
*******
Offline Offline

Denmark Denmark

Posts: 478




Pietro_Annuzzi
« Reply #6 on: June 24, 2008, 07:09:09 PM »

hey holli.. can i have the sfx of the last picture ? i need it for an ultimate if i may Cheesy i will give u credits.
Logged
HOLLIDAY
<Race Maker>
Moderator
Level 7 Master
*****
Offline Offline

Posts: 2168



WWW
Wc3_HOLLIDAY_Wc3
wc3hollidaywc3

myServer 8.2.0.222:27015
(Warning: click connects through Steam)
« Reply #7 on: June 24, 2008, 08:57:02 PM »

it does dissolve from thier hands, if you choose to destroy that weapon type and you dont have that weapon, it will dissolve all of that weapon type on the map
Logged


chrishot
Level 6 Experienced
******
Offline Offline

United Kingdom

Posts: 165




chrishot
« Reply #8 on: June 24, 2008, 11:08:26 PM »

ice Holliday. Love the race ideas. Tongue
Logged
[Oddity]TeacherCreature
Co-Administrator
Level 7 Master
*****
Offline Offline

United States United States

Posts: 1358



WWW
bonggged

myServer 63.209.33.64:27015
(Warning: click connects through Steam)
« Reply #9 on: June 24, 2008, 11:52:58 PM »

well that doesnt work for me then
It doesnt dissolove if they are holdign it only if it is on the floor
Logged

HOLLIDAY
<Race Maker>
Moderator
Level 7 Master
*****
Offline Offline

Posts: 2168



WWW
Wc3_HOLLIDAY_Wc3
wc3hollidaywc3

myServer 8.2.0.222:27015
(Warning: click connects through Steam)
« Reply #10 on: June 25, 2008, 02:28:09 AM »

est_dissolve will dissolve all of the same entity/prop/player, on a map.

Quote
It doesnt dissolove if they are holdign it only if it is on the floor 

"It" is the weapon that the player is holding, thats what your refering to
when it dissolves the weapon it gets the ent of the weapon the user id holding
if your holding the same weapon then it wont dissolve that weapon ent
look at the screen it shows the weapon dissolving in the players hand

i had to drop the shotty so that it would dissolve the bots shotty
« Last Edit: June 25, 2008, 02:30:50 AM by HOLLIDAY » Logged


[Oddity]TeacherCreature
Co-Administrator
Level 7 Master
*****
Offline Offline

United States United States

Posts: 1358



WWW
bonggged

myServer 63.209.33.64:27015
(Warning: click connects through Steam)
« Reply #11 on: June 25, 2008, 02:38:44 AM »

weird does the dissolve command require some extra code installed somewhere?
Logged

HOLLIDAY
<Race Maker>
Moderator
Level 7 Master
*****
Offline Offline

Posts: 2168



WWW
Wc3_HOLLIDAY_Wc3
wc3hollidaywc3

myServer 8.2.0.222:27015
(Warning: click connects through Steam)
« Reply #12 on: June 25, 2008, 04:52:49 AM »

not since Es_Tools 4.20  est_dissolve ent

there are additional [optional fields] for est_dissolve but they are not working

Logged


[Oddity]TeacherCreature
Co-Administrator
Level 7 Master
*****
Offline Offline

United States United States

Posts: 1358



WWW
bonggged

myServer 63.209.33.64:27015
(Warning: click connects through Steam)
« Reply #13 on: June 25, 2008, 11:50:53 AM »

ah i see ..
I use est 418  not 420

might want to tell people that this skill only works with 420
Logged

HOLLIDAY
<Race Maker>
Moderator
Level 7 Master
*****
Offline Offline

Posts: 2168



WWW
Wc3_HOLLIDAY_Wc3
wc3hollidaywc3

myServer 8.2.0.222:27015
(Warning: click connects through Steam)
« Reply #14 on: June 25, 2008, 02:46:04 PM »

your using 4.18 and you saw weapons dissolve from the ground?

you should upgrade to 4.20
this race uses a few est_effects that require 4.20
« Last Edit: June 25, 2008, 02:47:35 PM by HOLLIDAY » Logged


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

Last 7 Shouts:
Today at 06:57:11 AM
is there anyplace i can get help with maps? ive made a map recently but its crashin css everytime a person trys to load it
July 10, 2009, 02:22:30 PM
go in a forum; go into a topic; down below youll find a reply button
July 10, 2009, 02:15:52 PM
can anyone help me i dont know how to post posts.
July 10, 2009, 02:15:40 PM
sup fellas
July 10, 2009, 01:39:30 PM
dashi619 read pm i send you
July 10, 2009, 12:48:28 PM
help?
July 10, 2009, 10:22:56 AM
ME Tongue
Recent
[Today at 08:29:32 AM]

[Today at 04:01:13 AM]

[Today at 05:47:29 AM]

[July 10, 2009, 11:23:43 PM]

[July 10, 2009, 09:53:21 PM]

[July 10, 2009, 08:14:56 PM]

[July 10, 2009, 06:37:15 PM]

[July 10, 2009, 06:26:05 PM]

[July 10, 2009, 05:21:07 PM]

[July 10, 2009, 01:38:27 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.13 seconds with 27 queries.