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 2008-04-23 (original capture). Home · Forum · All archived topics · Downloads
Warcraft-Source.com - WCS mod for CSS
April 23, 2008, 06:21:17 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Current Official Servers:
#1 - 207.210.236.112:27015 Location US
#2 - 85.190.38.232:27015 Location Amsterdam
| Tick@100 | wcs 0.77 | Mani |
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: Leach skill  (Read 127 times)
Meuchmaister
Level 0 Beginner

Offline Offline

Norway

Posts: 10



« on: April 06, 2008, 08:21:10 PM »

i was wondering if anyone could make me a leech skill just like the undead one but without any effects and instead of the Vampire message on the middle of the screen when u get shot by it it would be cool with *attacker name* leeched *amount* of your health.

Thanks
« Last Edit: April 06, 2008, 08:24:49 PM by Meuchmaister » Logged
Zumble
Level 5 Trained Intermediate
*****
Offline Offline

Russian Federation

Posts: 117




zumble

myServer 77.220.182.48:27015
(Warning: click connects through Steam)
« Reply #1 on: April 07, 2008, 06:44:34 AM »

just open the code and read it without stupid questions.That's easy like 2x2 even for a noobie
Logged

Meuchmaister
Level 0 Beginner

Offline Offline

Norway

Posts: 10



« Reply #2 on: April 07, 2008, 12:56:51 PM »

i don't understand shit about coding... so i have no idea where in the code i find the effects and where i find the text thingy...
Logged
mobsi
Level 3 Trained Apprentice
***
Offline Offline

Germany Germany

Posts: 72



« Reply #3 on: April 07, 2008, 08:26:13 PM »

well i dont know yet how to get a msg to the middle of the screen but everything else

-->
Code
GeSHi (eventscripts):
   "skill1_setting"    "es_xsetinfo wcs_divider 8;es_xsetinfo wcs_alpha 50|es_xsetinfo wcs_divider 7;es_xsetinfo wcs_alpha 70|es_xsetinfo wcs_divider 6;es_xsetinfo wcs_alpha 90|es_xsetinfo wcs_divider 5;es_xsetinfo wcs_alpha 110|es_xsetinfo wcs_divider 4.5;es_xsetinfo wcs_alpha 130|es_xsetinfo wcs_divider 4;es_xsetinfo wcs_alpha 150|es_xsetinfo wcs_divider 3.5;es_xsetinfo wcs_alpha 170|es_xsetinfo wcs_divider 3;es_xsetinfo wcs_alpha 190"
   "racealias_uds1"    "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_xmath wcs_dmg float;es es_xmath wcs_dmg / server_var(wcs_divider);es est_RoundDecimal wcs_dmg server_var(wcs_dmg) 0;es est_Health event_var(attacker) + server_var(wcs_dmg)"
   "skill1_cmd"        "es es_xif (server_var(wcs_dice) <= 60) then racealias_uds1"
   "skill1_sfx"        "0"
 
Logged
Zumble
Level 5 Trained Intermediate
*****
Offline Offline

Russian Federation

Posts: 117




zumble

myServer 77.220.182.48:27015
(Warning: click connects through Steam)
« Reply #4 on: April 08, 2008, 07:04:36 AM »

that's est_csay.use es_format to make three words into one variable
Logged

Meuchmaister
Level 0 Beginner

Offline Offline

Norway

Posts: 10



« Reply #5 on: April 08, 2008, 02:30:21 PM »

Thanks
Logged
Meuchmaister
Level 0 Beginner

Offline Offline

Norway

Posts: 10



« Reply #6 on: April 08, 2008, 06:19:50 PM »

That one wasnt without effects.. there was an effect.. the same effect that's on Human - Freeze
and it does not eaven leech any life
« Last Edit: April 08, 2008, 09:52:34 PM by Meuchmaister » Logged
mobsi
Level 3 Trained Apprentice
***
Offline Offline

Germany Germany

Posts: 72



« Reply #7 on: April 13, 2008, 12:34:23 PM »

thats impossible cause there is no est_effect command in it and sure it leeches hp cause its a straight copy of the undead leech skill without the sfx which i deleted

but how did you test it? as the only skill in a race on a dedicated server? or together with other skills that may have effects?
Logged
Meuchmaister
Level 0 Beginner

Offline Offline

Norway

Posts: 10



« Reply #8 on: April 21, 2008, 09:51:09 PM »

Ye, sorry i kinda just forgot to set the skill cfg to player_attacker
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Last 7 Shouts:
April 20, 2008, 05:06:27 AM
yo anyone here?
April 18, 2008, 09:10:35 PM
10 days since it has been announced, hardly categorizing it as "ages"
April 18, 2008, 09:09:42 PM
Quoting from the topic: The date is not yet set, but its atleast 1-2 months awa
April 18, 2008, 06:41:55 PM
Whats happening with this wcs tournament weve been wating for ages [email protected]
April 18, 2008, 03:09:34 PM
voteban, menuselect "Frodo"
April 18, 2008, 09:59:31 AM
if anyone can help me with coding race send me letter

sorry my english
Recent
by Jeff
[Today at 01:43:35 AM]

[April 22, 2008, 09:11:54 PM]

[April 22, 2008, 08:27:10 PM]

[April 22, 2008, 08:05:22 PM]

[April 22, 2008, 07:48:20 PM]

[April 22, 2008, 07:22:12 PM]

[April 22, 2008, 06:05:03 PM]

[April 22, 2008, 05:34:18 PM]

[April 22, 2008, 04:50:24 PM]

by Jeff
[April 22, 2008, 02:43:28 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.069 seconds with 25 queries.