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-11-21 (original capture). Home · Forum · All archived topics · Downloads
Warcraft-Source.com - WCS mod for CSS
November 21, 2009, 06:38:08 PM *
Welcome, Guest. Please login or register.
Login with username, password and session length
News: Please obey the rules, to achieve a pleasent order in our community.
Google  
  Home   Forum   Help Search Login Register   *
Pages: [1]   Go Down
  Print  
Current Topic Rating: ***** You have not rated this topic. Select a rating:
Author Topic: Irh'mazhul Reverend  (Read 105 times)
<---TexNo--->
Level 7 Expert
*****
Offline Offline

Norway

Posts: 784


< Need Help ? >


WWW
texno755 or nichosv
gameren755

myServer 83.142.49.95:28015
(Warning: click connects through Steam)
« on: November 16, 2009, 11:16:20 PM »



Code:
"#"
  {
    "name"              "Irh'mazhul Reverend"
    "author"            "<---TexNo--->"
    "required_level"    "0"
    "allow_only"        "0"
    "preloadcmd"        "0"
    "player_spawn_cmd"  "0"
    "round_start_cmd"   "0"
    "round_end_cmd"     "0"
    "numberofskills"    "3"
    "numberoflevels"    "8"
    "skillnames"        "Holy Leech|Energy Soul|Reveren Encahntment"
    "skilldescr"        "Damage leech|More speed|Less Gravity"
    "skillcfg"          "player_attacker|player_spawn|player_spawn"

    "skill1_setting"    "es_xsetinfo wcs_divider 18;es_xsetinfo wcs_alpha 80|es_xsetinfo wcs_divider 16;es_xsetinfo wcs_alpha 100|es_xsetinfo wcs_divider 13;es_xsetinfo wcs_alpha 120|es_xsetinfo wcs_divider 8;es_xsetinfo wcs_alpha 130|es_xsetinfo wcs_divider 7;es_xsetinfo wcs_alpha 150|es_xsetinfo wcs_divider 6;es_xsetinfo wcs_alpha 170|es_xsetinfo wcs_divider 5;es_xsetinfo wcs_alpha 190|es_xsetinfo wcs_divider 3;es_xsetinfo wcs_alpha 225"
    "racealias_rev"     "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_xmath wcs_z1 + 2;es_xmath wcs_z2 + 6;es est_effect 10 #a 0 sprites/smoke.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 150 60 4 4 2 0 255 70 200 255 0;es_xmath wcs_z1 + 2;es_xmath wcs_z2 + 6;es est_effect 10 #a 0 sprites/smoke.vmt server_var(wcs_x2) server_var(wcs_y2) server_var(wcs_z2) 150 60 4 4 2 0 255 10 120 255 0;es est_playplayer event_var(userid) ambient\explosions\explode_9.wav;racealias_rev2"
    "racealias_rev2"    "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_xmath wcs_z1 + 10;es_xmath wcs_z2 + 14;es est_effect 10 #a 0 sprites/smoke.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 150 60 4 4 2 0 90 170 200 255 0;es_xmath wcs_z1 + 10;es_xmath wcs_z2 + 14;es est_effect 10 #a 0 sprites/smoke.vmt server_var(wcs_x2) server_var(wcs_y2) server_var(wcs_z2) 150 60 4 4 2 0 90 255 10 255 0;racealias_rev3"
    "racealias_rev3"    "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_xmath wcs_z1 + 18;es_xmath wcs_z2 + 22;es est_effect 10 #a 0 sprites/smoke.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 150 60 4 4 2 0 170 130 200 255 0;es_xmath wcs_z1 + 18;es_xmath wcs_z2 + 22;es est_effect 10 #a 0 sprites/smoke.vmt server_var(wcs_x2) server_var(wcs_y2) server_var(wcs_z2) 150 60 4 4 2 0 190 10 10 255 0;racealias_rev4"
    "racealias_rev4"    "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_xmath wcs_z1 + 26;es_xmath wcs_z2 + 30;es est_effect 10 #a 0 sprites/smoke.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 150 60 4 4 2 0 90 10 200 255 0;es_xmath wcs_z1 + 26;es_xmath wcs_z2 + 30;es est_effect 10 #a 0 sprites/smoke.vmt server_var(wcs_x2) server_var(wcs_y2) server_var(wcs_z2) 150 60 4 4 2 0 90 10 45 255 0;racealias_rev5"
    "racealias_rev5"    "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_xmath wcs_z1 + 34;es_xmath wcs_z2 + 38;es est_effect 10 #a 0 sprites/smoke.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 150 60 4 4 2 0 255 255 50 255 0;es_xmath wcs_z1 + 34;es_xmath wcs_z2 + 38;es est_effect 10 #a 0 sprites/smoke.vmt server_var(wcs_x2) server_var(wcs_y2) server_var(wcs_z2) 150 60 4 4 2 0 74 37 98 255 0;racealias_rev6"
    "racealias_rev6"    "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_xmath wcs_z1 + 42;es_xmath wcs_z2 + 46;es est_effect 10 #a 0 sprites/smoke.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 150 60 4 4 2 0 140 50 160 255 0;es_xmath wcs_z1 + 42;es_xmath wcs_z2 + 46;es est_effect 10 #a 0 sprites/smoke.vmt server_var(wcs_x2) server_var(wcs_y2) server_var(wcs_z2) 150 60 4 4 2 0 90 255 10 255 0;racealias_rev7"
    "racealias_rev7"    "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_xmath wcs_z1 + 50;es_xmath wcs_z2 + 54;es est_effect 10 #a 0 sprites/smoke.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 150 60 4 4 2 0 175 255 50 255 0;es_xmath wcs_z1 + 50;es_xmath wcs_z2 + 54;es est_effect 10 #a 0 sprites/smoke.vmt server_var(wcs_x2) server_var(wcs_y2) server_var(wcs_z2) 150 60 4 4 2 0 255 10 255 255 0;es est_playplayer event_var(userid) ambient/weather/thunder3.wav;racealias_rev8"
    "racealias_rev8"    "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_xmath wcs_z1 + 1;es_xmath wcs_z2 + 1;es est_effect 10 #a 0 sprites/smoke.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 160 70 4 4 2 0 10 10 10 10 0;es_xmath wcs_z1 + 1;es_xmath wcs_z2 + 1;es est_effect 10 #a 0 sprites/smoke.vmt server_var(wcs_x2) server_var(wcs_y2) server_var(wcs_z2) 160 70 4 4 2 0 10 10 10 10 0;racealias_rev9"
    "racealias_rev9"    "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_xmath wcs_z1 + 58;es_xmath wcs_z2 + 58;es est_effect 10 #a 0 sprites/smoke.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 160 70 4 4 2 0 10 10 10 10 0;es_xmath wcs_z1 + 58;es_xmath wcs_z2 + 58;es est_effect 10 #a 0 sprites/smoke.vmt server_var(wcs_x2) server_var(wcs_y2) server_var(wcs_z2) 160 70 4 4 2 0 10 10 10 10 0;racealias_rev10"
    "racealias_rev10"   "es_xset z1 0;es_xset z2 0;es_toptext event_var(userid) 1;es_xset vector1 wcs_z1;es_xset vector2 wcs_z2;es_getplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(userid);es_getplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(attacker);es es_xmath wcs_z1 + 60;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/mh_blood3.vmt server_var(vector2) server_var(vector1) 100 1000 1000;racealias_rev11"
    "racealias_rev11"   "es est_effect_14 #a .1 effects/mh_blood1.vmt server_var(vector2) server_var(vector1) 120 100 500;es est_effect_14 #a .2 decals/Blood4.vmt server_var(vector2) server_var(vector1) 250 100 100;es est_effect_14 #a .3 decals/bloodstain_002.vmt server_var(vector2) server_var(vector1) 230 100 1000;racealias_rev12"
    "racealias_rev12"   "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) 300 50 5 60 100 0.8 0 70 170 255 1;racealias_rev13"
    "racealias_rev13"   "es es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(userid);es_xmath wcs_z1 + 1;es est_effect 10 #a 0 sprites/smoke.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 180 130 5 4 2 0 255 1 1 255 0;racealias_rev14"
    "racealias_rev14"   "es es_xgetplayerlocation wcs_x2 wcs_y2 wcs_z2 event_var(userid);es es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(attacker);es est_effect 10 #a 0 sprites/lgtning.vmt server_var(wcs_x2) server_var(wcs_y2) server_var(wcs_z2) 90 500 3 100 100 0 255 55 0 255 10;es_xmath wcs_z1 + 60;es_xmath wcs_z2 + 1;es est_Effect 3 #a 0 sprites/glow.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) 20.5 20 60 255 50 0 255;es est_effect 11 #a 0 sprites/lgtning.vmt server_var(wcs_x2) server_var(wcs_y2) server_var(wcs_z2) 10 3 255"
    "skill1_cmd"        "es es_xsetinfo wcs_dmg event_var(dmg_health);es es_xif (server_var(wcs_game) != server_var(wcs_game_css)) then es_xrand wcs_dmg 1 20;es es_xmath wcs_dmg / server_var(wcs_divider);es est_RoundDecimal wcs_dmg server_var(wcs_dmg) 0;es_xsetinfo wcs_health 0;es est_GetHealth wcs_health event_var(attacker);es es_xmath wcs_health + server_var(wcs_dmg);es est_SetHealth event_var(attacker) server_var(wcs_health);es est_csay event_var(attacker) leeched server_var(wcs_dmg) health;es est_csay event_var(userid) [-Health] server_var(wcs_dmg) Irh'mazul Leeches your health"
    "skill1_sfx"        "racealias_rev"

    "skill2_setting"    "es_xsetinfo wcs_speed 1.0;es_xsetinfo wcs_alpha 50|es_xsetinfo wcs_speed 1.05;es_xsetinfo wcs_alpha 70|es_xsetinfo wcs_speed 1.10;es_xsetinfo wcs_alpha 90|es_xsetinfo wcs_speed 1.15;es_xsetinfo wcs_alpha 110|es_xsetinfo wcs_speed 1.20;es_xsetinfo wcs_alpha 130|es_xsetinfo wcs_speed 1.25;es_xsetinfo wcs_alpha 150|es_xsetinfo wcs_speed 1.30;es_xsetinfo wcs_alpha 170|es_xsetinfo wcs_speed 1.35;es_xsetinfo wcs_alpha 190"
    "skill2_cmd"        "es es_xkeygetvalue wcs_tmp WCSuserdata event_var(userid) speed;es es_xif (server_var(wcs_tmp) > server_var(wcs_speed)) then es_xsetinfo wcs_speed server_var(wcs_tmp);es es_xkeysetvalue WCSuserdata event_var(userid) speed server_var(wcs_speed);es est_Speed event_var(userid) server_var(wcs_speed);es es_xtell event_var(userid) Blessed Speed."
    "racealias_irspeed" "es es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(userid);es_xmath wcs_z1 + 15;es_toptext event_var(userid) 1 #red Effects Texno;es est_effect 10 #a 0 sprites/physring1.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 120 5 255 255"
    "skill2_sfx"        "es es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(userid);es est_effect 10 #a 0 sprites/smoke.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 70 60 4 4 2 0 255 100 170 255 0;racealias_irspeed"

    "skill3_setting"    "es_xsetinfo wcs_gravity 0.80|es_xsetinfo wcs_gravity 0.70|es_xsetinfo wcs_gravity 0.60|es_xsetinfo wcs_gravity 0.50|es_xsetinfo wcs_gravity 0.40|es_xsetinfo wcs_gravity 0.35|es_xsetinfo wcs_gravity 0.30|es_xsetinfo wcs_gravity 0.25"
    "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);es es_xtell event_var(userid) Irh'mazul Gravity"
    "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) 300 50 5 60 100 0.8 0 20 170 255 1"
  }
Logged

Want a private race or a private race pack, buy from me.

DisturbeD
Level 5 Trained Intermediate
*****
Online Online

Germany Germany

Posts: 109



« Reply #1 on: November 17, 2009, 12:10:33 AM »

I love the colours of your circles in the middle =] dunno... not a must thing: but to shorten your code you could make them in a while loop... that would be ~3-5 lines for the whole effect
Logged
Yiyas
Level 7 Expert
*****
Offline Offline

United Kingdom

Posts: 192


The name's Bugger. De-Bugger.



no1yiyas
no1yiyas
« Reply #2 on: November 17, 2009, 12:23:40 AM »

No need to do a while. You just need to chain the effects so you only have two getplayerlocations. Aka just do getplayerloc x,y,z user, getplayerloc x,y,z attacker, create vectors from x,y,zs, effect@vector, z+2, effect@xyz, z+4, effect@xyz, z+4 and repeat till it finishes.

Only time you would do while is if the amount of things is likely to change.
Logged

DisturbeD
Level 5 Trained Intermediate
*****
Online Online

Germany Germany

Posts: 109



« Reply #3 on: November 17, 2009, 01:56:28 AM »

Ur step of repetition would be my while loop ;p Of course he can omit most of his getplayerlocs...
But I dunno if I got your vector idea right xD or if it saves more lines...
« Last Edit: November 17, 2009, 02:02:07 AM by DisturbeD » Logged
<---TexNo--->
Level 7 Expert
*****
Offline Offline

Norway

Posts: 784


< Need Help ? >


WWW
texno755 or nichosv
gameren755

myServer 83.142.49.95:28015
(Warning: click connects through Steam)
« Reply #4 on: November 17, 2009, 08:24:52 AM »

the extra player locations, is for people to customize their own if they want....
Logged

Want a private race or a private race pack, buy from me.

Volkano,
Level 2 Apprentice
**
Offline Offline

Brazil Brazil

Posts: 47




[RankBr] Volkano
Don't have
« Reply #5 on: November 17, 2009, 08:35:31 PM »

First picture is the best =p
Logged

<---TexNo--->
Level 7 Expert
*****
Offline Offline

Norway

Posts: 784


< Need Help ? >


WWW
texno755 or nichosv
gameren755

myServer 83.142.49.95:28015
(Warning: click connects through Steam)
« Reply #6 on: November 17, 2009, 08:53:41 PM »

First picture is the best =p
that's the spawn sfx.
Logged

Want a private race or a private race pack, buy from me.

Pages: [1]   Go Up
  Print  
 
Jump to:  

Last 7 Shouts:
Today at 04:32:28 PM
If treefarmer downloaded the v0.77 Full, there is no need to download eventscripts again.
Today at 04:40:17 AM
sruigqu: Notepad?
November 20, 2009, 09:59:21 PM
k got the scrip in the cstrike foler
November 20, 2009, 09:47:43 PM
go to mattie.info
and get eventscripts.
November 20, 2009, 09:46:21 PM
I have downloaded wcs .77 full, but i dont even know where to begin. I was gonna try to play offline with the mod.
November 20, 2009, 09:44:36 PM
problem'
November 20, 2009, 09:44:28 PM
what's the probelm treefarmer ?
Recent
[Today at 06:04:27 PM]

[Today at 06:00:37 PM]

[Today at 05:58:52 PM]

[Today at 04:55:45 PM]

[Today at 04:49:19 PM]

[Today at 04:41:13 PM]

[Today at 03:50:48 PM]

[Today at 03:16:11 PM]

[Today at 02:44:57 PM]

[Today at 01:56:47 PM]
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.104 seconds with 25 queries.