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-04-30 (original capture). Home · Forum · All archived topics · Downloads
Warcraft-Source.com - WCS mod for CSS
April 30, 2009, 03:40:50 AM *
Welcome, Guest. Please login or register.
Login with username, password and session length
News: Hall of Fame - Designer
Must Visit it
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: HELP WITH ULTIMATE!!!  (Read 59 times)
Ðioguinhu :D
Level 6 Experienced
******
Online Online

Brazil Brazil

Posts: 214



WWW
doug_tiozao

myServer 200.219.246.21:27040 ZM +WCS;200.219.246.54:27047 SURF + WCS
(Warning: click connects through Steam)
« on: April 26, 2009, 05:10:54 AM »

ok guys, i made one ultimate... It generates 5 sparks to damage random enemies in map
here it is

Code
GeSHi (eventscripts):
   "skill4_setting"    "es_xsetinfo wcs_chance 25;es_xsetinfo wcs_radius 500|es_xsetinfo wcs_chance 30;es_xsetinfo wcs_radius 600|es_xsetinfo wcs_chance 35;es_xsetinfo wcs_radius 700|es_xsetinfo wcs_chance 40;es_xsetinfo wcs_radius 800|es_xsetinfo wcs_chance 50;es_xsetinfo wcs_radius 900"
   "skill4_cmd"        "if(server_var(wcs_dice) <= server_var(wcs_chance)) then es_xdoblock wcs/WCSultimates/spark_divine;if (server_var(wcs_dice) > server_var(wcs_chance)) then es_xtell server_var(wcs_userid) #multi #green Failed to catch someone with Divine Sparks"
   "skill4_sfx"        "0"
   "ultimate_cooldown" "30

and here is the block if it

Code
GeSHi (eventscripts):
block spark_divine
{
 es_fire event_var(userid) env_spark
 es_give event_var(userid) env_spark
 es_fire event_var(userid) env_spark addoutput "Magnitude 2"
 es_fire event_var(userid) env_spark addoutput "TrailLength 3"
 es_fire event_var(userid) env_spark addoutput "spawnflags 256"
 es_fire event_var(userid) env_spark StartSpark
 es_tell event_var(userid) #multi #lightgreenYou got hit by event_var(es_attackername) Divine Spark
es_tell event_var(attacker) #multi #lightgreenYou hit event_var(es_username) with the Divine Sparks
ifx true(wcsgraphicfx) do
{
es_getplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(userid)
es_getplayerlocation wcs_x2 wcs_y2 wcs_z2 event_var(attacker)
es est_effect 8 #a 0 sprites/bluespark.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)
}
}

I forgot the wcs_userid vars... But im confuse...
The second set of coordinates arent need? This :es_getplayerlocation wcs_x2 wcs_y2 wcs_z2 event_var(attacker)
After Fixing i made this
Code
GeSHi (eventscripts):
 es_tell event_var(userid) #multi #lightgreenYou got hit by server_var(wcs_targetid) Divine Spark
es_tell event_var(attacker) #multi #lightgreenYou hit server_var(wcs_userid) with the Divine Sparks
ifx true(wcsgraphicfx) do
{
es_getplayerlocation wcs_x1 wcs_y1 wcs_z1 server_var(wcs_userid)
es est_effect 8 #a 0 sprites/bluespark.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1)
}
Is it correct?Huh
I think the var after es_tell is wrong... Please someone Help!

And what i add on the block to make the sparks do damage?Huh?
Logged

Learning Eventscripts and WCS lover *-*
I love WCS Grin
WCA | Berettonawak [FR]
Watchdogs
Level 7 Master
*****
Offline Offline

France France

Posts: 2015


Big Berettonawak is watching you...


WWW
Bifkids

myServer 81.93.251.44:27015
(Warning: click connects through Steam)
« Reply #1 on: April 27, 2009, 08:07:53 AM »

www.eventscripts.com/pages/Est_effect
Logged

Ðioguinhu :D
Level 6 Experienced
******
Online Online

Brazil Brazil

Posts: 214



WWW
doug_tiozao

myServer 200.219.246.21:27040 ZM +WCS;200.219.246.54:27047 SURF + WCS
(Warning: click connects through Steam)
« Reply #2 on: April 27, 2009, 10:48:44 PM »

I dont need help on the effect, i need help on the var, and how to do this ultimate do damage
Logged

Learning Eventscripts and WCS lover *-*
I love WCS Grin
HOLLIDAY
<Race Maker>
Moderator
Level 7 Master
*****
Online Online

Posts: 2078



WWW
Wc3_HOLLIDAY_Wc3
wc3hollidaywc3

myServer 8.2.0.222:27015
(Warning: click connects through Steam)
« Reply #3 on: April 27, 2009, 11:54:49 PM »


you can use point_hurt
es_give server_var(wcs_userid) point_hurt
Logged


Ðioguinhu :D
Level 6 Experienced
******
Online Online

Brazil Brazil

Posts: 214



WWW
doug_tiozao

myServer 200.219.246.21:27040 ZM +WCS;200.219.246.54:27047 SURF + WCS
(Warning: click connects through Steam)
« Reply #4 on: April 28, 2009, 12:03:05 AM »

so how it should be?
i add this line u gave me on the last line of the block??
DETAIL: this block is yours from your hellhunter, its effect right?
HELP!
« Last Edit: April 28, 2009, 12:30:02 AM by Ðioguinhu :D » Logged

Learning Eventscripts and WCS lover *-*
I love WCS Grin
Ðioguinhu :D
Level 6 Experienced
******
Online Online

Brazil Brazil

Posts: 214



WWW
doug_tiozao

myServer 200.219.246.21:27040 ZM +WCS;200.219.246.54:27047 SURF + WCS
(Warning: click connects through Steam)
« Reply #5 on: April 28, 2009, 12:30:42 AM »

Holliday if you can please fix it to me!
Logged

Learning Eventscripts and WCS lover *-*
I love WCS Grin
HOLLIDAY
<Race Maker>
Moderator
Level 7 Master
*****
Online Online

Posts: 2078



WWW
Wc3_HOLLIDAY_Wc3
wc3hollidaywc3

myServer 8.2.0.222:27015
(Warning: click connects through Steam)
« Reply #6 on: April 28, 2009, 12:59:26 AM »

its not effects, its the source entity "point_hurt"

Sparks that do damage



Code:
block Death_Sparks
{
  es_give server_var(wcs_userid) point_hurt
  es_fire server_var(wcs_userid) point_hurt TurnOn
  es_give server_var(wcs_userid) env_spark
  es_fire server_var(wcs_userid) env_spark startspark
  es_delayed 15 es_fire server_var(wcs_userid) point_hurt kill
  es_delayed 15 es_fire server_var(wcs_userid) env_spark kill

}
Logged


Ðioguinhu :D
Level 6 Experienced
******
Online Online

Brazil Brazil

Posts: 214



WWW
doug_tiozao

myServer 200.219.246.21:27040 ZM +WCS;200.219.246.54:27047 SURF + WCS
(Warning: click connects through Steam)
« Reply #7 on: April 28, 2009, 02:50:55 AM »

Thank you alot HOLLIDAY!
Logged

Learning Eventscripts and WCS lover *-*
I love WCS Grin
Pages: [1]   Go Up
  Print  
 
Jump to:  

Last 7 Shouts:
Today at 12:32:04 AM
I'm 21 and i work for chuck so yeah..... i'm here to solve the problem that chuck shouldn't be ban but admin ban him because someone told him to... 5 out of 3k members want him to be ban...hmm
Today at 12:28:54 AM
This kindergarden should be stopped. He said, I said, we Said, He didnt say. U remind me 5 years old kids which used phrase "my dad said that i'm cool". Just let it go.
Today at 12:26:37 AM
and chucks says he did say jerth
Today at 12:22:06 AM
chuck says he didnt say jereth is nazi... and he didnt say anything racist why would he say if even his dad is german.... and he didnt ignore admins if he did he would reply.....chuck got warning so he stop and than next thing he know got ban?? make no sense
April 29, 2009, 11:09:42 PM
he pushed it once again with racist jokes and ignoring admin/mods
April 29, 2009, 10:54:03 PM
Thank you WCA | Maxxi Smiley
April 29, 2009, 10:25:46 PM
why did chuck got ban without a reason.... he just got warning than got ban for no reason.... he told me his dad is german and his mom is ukrainian and chuck is....and he doesnt hate german......why cant we forgive what he wrote because thats wasnt what he had in mind like what we did....
Recent
by Bob
[Today at 03:31:59 AM]

[Today at 03:01:27 AM]

[Today at 02:28:34 AM]

[Today at 02:26:33 AM]

[Today at 02:07:41 AM]

[Today at 01:27:35 AM]

[Today at 01:26:08 AM]

[Today at 01:14:29 AM]

[Today at 01:03:32 AM]

[Today at 12:59:58 AM]
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.12 seconds with 26 queries.