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-10-31 (original capture). Home · Forum · All archived topics · Downloads
Warcraft-Source.com - WCS mod for CSS
October 31, 2009, 04:43:00 AM *
Welcome, Guest. Please login or register.
Login with username, password and session length
News: Races and Items added into Download section from our great Race Coders!
Such as... HOLLIDAY|NovaKiller|Stinkyfax|Frodo|TeacherCreature|Phat_Wizard
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: Help for skill.  (Read 25 times)
kenn95
Level 0 Beginner

Offline Offline

Denmark Denmark

Posts: 12



« on: October 28, 2009, 07:19:32 PM »

Okay i wan't to make a new race. but im not good at coding.. but is it posible to make a skill that deals dmg to enemy around you not as ultimate but as normal..?
Logged
Zawmbee
Level 7 Expert
*****
Offline Offline

United States United States

Posts: 641


Watch Tower


« Reply #1 on: October 28, 2009, 07:28:05 PM »

yes, but in what context?  as a constant damage around your or just a chance every so often?
Logged


(Anyone who C&P's my races, give credit, TY)
kenn95
Level 0 Beginner

Offline Offline

Denmark Denmark

Posts: 12



« Reply #2 on: October 28, 2009, 07:32:11 PM »

yes, but in what context?  as a constant damage around your or just a chance every so often?

Well what i mean is that people in a radius from you will get dmg every sec.. like 1 dmg pr sec.. and when thay are out fomr the area they will stop loosing hp.
Logged
Cannon-Fodder
Level 1 Trained Beginner
*
Offline Offline

United States United States

Posts: 33


Skittles, rainbow, skittles, rainbow... @_@


« Reply #3 on: October 28, 2009, 11:35:14 PM »

Yes, it's possible. Smiley

As an example, take a look at the Regeneration block in wcs_ultimates_db.

It consists of setting a command at the top of the database (like "regen") to be used in the skill_cmd, getting the arguments listed alongside the "regen" (like... "es skillcommand server_var(wcs_userid) server_var(wcs_round) server_var(radius) server_var(ticrate)") by using the "es_xgetargv 1 newvariableforuser" in your skill's ultimate block.

Umm... I don't have my files handy at the moment, but you can get a decent result by copying all of the regen information, switching the teamtarget constants, and changing the alias to dealdamage instead of "est_health targetid + healamount".

But don't forget, you'll need to change the name of the block (and everything that links to the name of the block, like the "loop" at the end of the regen block), and create a command at the top of the ultimate database. ;p


If you have any other questions, feel free to ask; I have the feeling that I did a bit of an unsatisfactory job explaining. XD
Logged

Pages: [1]   Go Up
  Print  
 
Jump to:  

Last 7 Shouts:
Today at 01:25:06 AM
Halloween Happy !
Today at 12:12:21 AM
The saddest moment in a childs life isnt when they learn santa isnt real its when they learn chuck norris is real
Today at 12:11:23 AM
the big race file checker is bugged and my races are fucked up please helpp
October 30, 2009, 11:42:37 PM
In a second grade class, a little girl asks, 'Teacher, can my Mommy gets pregnant?'
How old is your mother, dear?' Asks the teacher.
'Forty,' She replies.
'Yes, dear, your mother could get pregnant.'
The little girl then asks, 'Can my big sister get pregnant?'
'Well, dear, how old is
October 30, 2009, 11:18:14 PM
Money = More possibilities...
October 30, 2009, 10:09:24 PM
python = more possibilities...
October 30, 2009, 07:55:26 PM
-.-
Recent
[Today at 04:36:54 AM]

[Today at 04:03:42 AM]

[October 30, 2009, 11:48:28 PM]

[October 30, 2009, 11:44:52 PM]

[October 30, 2009, 08:01:58 PM]

[October 30, 2009, 07:23:48 PM]

[October 30, 2009, 06:04:12 PM]

[October 30, 2009, 05:16:41 PM]

[October 30, 2009, 04:45:30 PM]

[October 30, 2009, 03:43:06 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.072 seconds with 24 queries.