June 18, 2018, 05:41:29 PM

Author Topic: Effecte einfügen  (Read 1319 times)

Offline PitBuLL78

  • Level 0 Beginner
  • Posts: 4
  • <3 WCS :)
Effecte einfügen
« on: February 26, 2014, 05:42:30 PM »
Wie kann man effecte einfügen.
Ich habe mir den Matrix effect geschnappt, und wollte ihn dem Shadow Hunter verpassen.
Hab es so gemacht wie es beschrieben wurde.
Hab in addons/eventscripts/wcs/addons/effect eine neu Datei angelegt mit dem namen es_matrix.txt.
Der inhalt der Datei sieht so aus.
[Spoiler]
Code: [Select]
block matrix
{
if (server_var(wcs_dice) <= server_var(wcs_chance)) do
{
es_getplayerlocation wcs_x1 wcs_y1 wcs_z1 server_var(attacker)
es_getplayerlocation wcs_x2 wcs_y2 wcs_z2 server_var(userid)
es est_effect 3 #a 0 sprites/radio.vmt 0 0 9000 server_var(wcs_x2) server_var(wcs_y2) server_var(wcs_z2) 1 20 11 255 255 255 255
es est_effect 3 #a 0 sprites/radio.vmt 0 9000 0 server_var(wcs_x2) server_var(wcs_y2) server_var(wcs_z2) 1 20 11 255 255 255 255
es est_effect 3 #a 0 sprites/radio.vmt 9000 0 0 server_var(wcs_x2) server_var(wcs_y2) server_var(wcs_z2) 1 20 11 255 255 255 255
es est_effect 3 #a 0 sprites/radio.vmt 1000 0 0 server_var(wcs_x2) server_var(wcs_y2) server_var(wcs_z2) 1 20 11 255 255 255 255
es est_effect 3 #a 0 sprites/radio.vmt 0 0 999 server_var(wcs_x2) server_var(wcs_y2) server_var(wcs_z2) 1 20 11 255 255 255 255
es_xset vector1 wcs_z1
es_xset vector2 wcs_z2
es_getplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(attacker)
es_getplayerlocation wcs_x2 wcs_y2 wcs_z2 event_var(userid)
es_xmath wcs_z1 + 5
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 sprites/radio.vmt server_var(vector2) server_var(vector1) 900 2 180
es est_effect_14 #a .1 sprites/radio.vmt server_var(vector2) server_var(vector1) 900 2 35
es est_effect_14 #a 0 sprites/radio.vmt server_var(vector2) server_var(vector1) 900 2 190
es est_effect_14 #a .1 sprites/radio.vmt server_var(vector2) server_var(vector1) 900 2 65
es est_effect_14 #a 0 sprites/radio.vmt server_var(vector2) server_var(vector1) 900 2 115
es est_effect_14 #a .1 sprites/radio.vmt server_var(vector2) server_var(vector1) 900 2 45
es est_effect_14 #a .2 sprites/radio.vmt server_var(vector2) server_var(vector1) 900 2 120
es est_effect_14 #a .3 sprites/radio.vmt server_var(vector2) server_var(vector1) 900 2 100
es est_effect_14 #a .4 sprites/radio.vmt server_var(vector2) server_var(vector1) 900 2 160
es est_effect_14 #a .5 sprites/radio.vmt server_var(vector2) server_var(vector1) 900 2 130
es est_effect_14 #a .6 sprites/radio.vmt server_var(vector2) server_var(vector1) 900 2 20
es est_effect_14 #a .7 sprites/radio.vmt server_var(vector2) server_var(vector1) 900 2 50
es est_effect_14 #a .8 sprites/radio.vmt server_var(vector2) server_var(vector1) 900 2 80
es est_effect_14 #a .9 sprites/radio.vmt server_var(vector2) server_var(vector1) 900 2 140
es est_effect_14 #a 1.0 sprites/radio.vmt server_var(vector2) server_var(vector1) 900 2 170
es est_effect_14 #a 1.1 sprites/radio.vmt server_var(vector2) server_var(vector1) 900 2 150
es est_effect_14 #a 1.2 sprites/radio.vmt server_var(vector2) server_var(vector1) 900 2 120
es est_effect_14 #a 1.3 sprites/radio.vmt server_var(vector2) server_var(vector1) 900 2 110
es est_effect_14 #a 1.4 sprites/radio.vmt server_var(vector2) server_var(vector1) 900 2 90
es est_effect_14 #a 1.5 sprites/radio.vmt server_var(vector2) server_var(vector1) 900 2 70
es est_effect_14 #a 1.6 sprites/radio.vmt server_var(vector2) server_var(vector1) 900 2 40
es est_effect_14 #a 1.7 sprites/radio.vmt server_var(vector2) server_var(vector1) 900 2 10
es est_effect_14 #a 1.8 sprites/radio.vmt server_var(vector2) server_var(vector1) 900 2 30
es est_effect_14 #a 1.9 sprites/radio.vmt server_var(vector2) server_var(vector1) 900 2 32
es est_effect_14 #a 2.0 sprites/radio.vmt server_var(vector2) server_var(vector1) 900 2 36
es est_effect_14 #a 2.1 sprites/radio.vmt server_var(vector2) server_var(vector1) 900 2 43
es est_effect_14 #a 2.2 sprites/radio.vmt server_var(vector2) server_var(vector1) 900 2 102
es est_effect_14 #a 2.3 sprites/radio.vmt server_var(vector2) server_var(vector1) 900 2 89
es est_effect_14 #a 2.4 sprites/radio.vmt server_var(vector2) server_var(vector1) 900 2 99
es est_effect_14 #a 2.5 sprites/radio.vmt server_var(vector2) server_var(vector1) 900 2 49
es est_effect_14 #a 2.6 sprites/radio.vmt server_var(vector2) server_var(vector1) 900 2 79
es est_effect_14 #a 2.7 sprites/radio.vmt server_var(vector2) server_var(vector1) 900 2 69
es est_effect_14 #a 2.8 sprites/radio.vmt server_var(vector2) server_var(vector1) 900 2 56
}
}

block matrixspawn
{
  es_give event_var(userid) point_tesla
es_fire event_var(userid) point_tesla addoutput "m_Color 0 255 0"
es_fire event_var(userid) point_tesla addoutput "m_flRadius 600" 
es_fire event_var(userid) point_tesla addoutput "beamcount_min 1000"
es_fire event_var(userid) point_tesla addoutput "beamcount_max 6000" 
es_fire event_var(userid) point_tesla addoutput "thick_min 10"
es_fire event_var(userid) point_tesla addoutput "thick_max 6" 
es_fire event_var(userid) point_tesla addoutput "lifetime_min .1"
es_fire event_var(userid) point_tesla addoutput "lifetime_max .4"
es_fire event_var(userid) point_tesla addoutput "interval_min .1"
es_fire event_var(userid) point_tesla addoutput "interval_max .2"
es_fire event_var(userid) point_tesla addoutput "texture sprites/lgtning.vmt" 
es_fire event_var(userid) point_tesla DoSpark
es_delayed .2 es_xfire event_var(userid) point_tesla DoSpark
es_delayed .4 es_xfire event_var(userid) point_tesla DoSpark
es_delayed .6 es_xfire event_var(userid) point_tesla DoSpark
es_delayed .8 es_xfire event_var(userid) point_tesla DoSpark
es_delayed 1 es_xfire event_var(userid) point_tesla DoSpark
es_delayed 2 es_xfire event_var(userid) point_tesla kill
}

Habe das sfx = "es_xdoblock wcs/addons/effect/matrix" in die race.ini geschrieben, das sieht so aus.
[Spoiler]
Code: [Select]
[Shadow Hunter]
#Requirement section
required           = 80
maximum            = 0

#Restrict section
restrictmap        = ""
restrictteam       = 0
restrictitem       = "ring|immortal4"
teamlimit = 0

#Other info
author             = "Kryptonite [WCS team]"
desc               = "heal,slowdown,warden,immortal"
spawncmd           = ""
deathcmd           = ""
roundstartcmd      = ""
roundendcmd        = ""
preloadcmd         = ""
allowonly          = ""
onchange           = ""

#Skill information
numberofskills     = 4
numberoflevels     = 5
skillnames         = "Healing Wave|Hex|Serpent Ward|Bid Bad Voodoo"
skilldescr         = "Heals teammates in 15-25ft range, 2-6HP \nevery 6-8sec for 10-12 waves (maxHP 150)|Destroy boots of speed and slowdown \nenemy for 2-6sec by 25-45%, 30% chance|1-2 serpent wards, damage enemy in \n20-28ft range for 10-14sec and 12-20 damage/sec. \nBind or say 'ability'|Invincibility for 2-3 seconds"
skillcfg           = "player_spawn|player_attacker|player_spawn|player_ultimate"
skillneeded        = "0|0|0|8"

#Skill specific information
[[skill1]]
setting        = "es_xset wcs_hp 7;es_xset wcs_time 15;es_xset wcs_waves 10;es_xset wcs_radius 150|es_xset wcs_hp 9;es_xset wcs_time 15;es_xset wcs_waves 12;es_xset wcs_radius 180|es_xset wcs_hp 11;es_xset wcs_time 15;es_xset wcs_waves 14;es_xset wcs_radius 200|es_xset wcs_hp 13;es_xset wcs_time 15;es_xset wcs_waves 12;es_xset wcs_radius 220|es_xset wcs_hp 15;es_xset wcs_time 15;es_xset wcs_waves 12;es_xset wcs_radius 250"
#cmd            = "es_keysetvalue WCSuserdata event_var(userid) regeneration 1;es_keysetvalue WCSuserdata event_var(userid) regen_round server_var(wcs_roundcounter);es_xrand wcs_rand 3 15;es_delayed server_var(wcs_rand) wcs_regeneration event_var(userid) server_var(wcs_hp) server_var(wcs_time) 150 -1 server_var(wcs_radius)"
cmd            = "es wcsgroup set regeneration event_var(userid) 1;es wcsgroup set regen_round event_var(userid) server_var(wcs_roundcounter);es_xrand wcs_rand 3 15;es_delayed server_var(wcs_rand) wcs_regeneration event_var(userid) server_var(wcs_hp) server_var(wcs_time) 150 -1 server_var(wcs_radius)"
sfx            = "es_xdoblock wcs/addons/effect/matrix"

[[skill2]]
setting        = "es_xset wcs_speed 0.75;es_xset wcs_duration 2|es_xset wcs_speed 0.65;es_xset wcs_duration 3|es_xset wcs_speed 0.60;es_xset wcs_duration 4|es_xset wcs_speed 0.55;es_xset wcs_duration 5|es_xset wcs_speed 0.55;es_xset wcs_duration 6"
racealias_swh2 = "es wcs_setfx speed event_var(userid) = server_var(wcs_speed) server_var(wcs_duration);es wcs_xtell event_var(attacker) r_slowdown attacker event_var(es_attackername) victim event_var(es_username);es wcs_xtell event_var(userid) r_slowdown attacker event_var(es_attackername) victim event_var(es_username)"
#cmd            = "if (server_var(wcs_dice) <= 3) then wcsx get isdead wcs_dead event_var(userid);if (server_var(wcs_dice) <= 30) then es_xif (server_var(wcs_dead) = 0) then wcs_xalias racealias_swh2"
cmd            = "if (server_var(wcs_dice) <= 30) then es_xif (event_var(es_userdead) = 0) then wcs_xalias racealias_swh2"
sfx            = "es_xdoblock wcs/addons/effect/matrix"

[[skill3]]
setting        = "es_xset wcs_count 1;es_xset wcs_params 10_12_200|es_xset wcs_count 1;es_xset wcs_params 12_14_220|es_xset wcs_count 2;es_xset wcs_params 14_16_240|es_xset wcs_count 2;es_xset wcs_params 14_18_260|es_xset wcs_count 3;es_xset wcs_params 14_20_280"
#cmd            = "es_keysetvalue WCSuserdata event_var(userid) ability warden;es_keysetvalue WCSuserdata event_var(userid) ability_count server_var(wcs_count);es_keysetvalue WCSuserdata event_var(userid) ability_parameter server_var(wcs_params);es_keysetvalue WCSuserdata event_var(userid) ability_cooldown 3"
cmd            = "es wcsgroup set ability event_var(userid) warden;es wcsgroup set ability_count event_var(userid) server_var(wcs_count);es wcsgroup set ability_parameter event_var(userid) server_var(wcs_params);es wcsgroup set ability_cooldown event_var(userid) 3"
sfx            = "es_xdoblock wcs/addons/effect/matrix"

[[skill4]]
setting        = "es_xset wcs_duration 2.0|es_xset wcs_duration 2.4|es_xset wcs_duration 2.8|es_xset wcs_duration 2.9|es_xset wcs_duration 3.0"
cmd            = "es wcs_xtell server_var(wcs_userid) r_immortal time server_var(wcs_duration);es wcs_setfx god server_var(wcs_userid) = 1 server_var(wcs_duration);es_xmath wcs_duration - 1;es_delayed server_var(wcs_duration) wcs_xtell server_var(wcs_userid) r_mortal"
sfx            = "es_xdoblock wcs/addons/effect/matrix"
cooldown       = "30"

Aber leider sehe ich von dem Effect nicht.  :'(
Was habe ich falsch gemacht?

Offline Manifest

  • Race & effect creator
  • Moderator
  • Level 7 Expert
  • *****
  • Posts: 1034
  • Country: dk
  • Content creator for the new WCS version by Kami.
Re: Effecte einfügen
« Reply #1 on: February 26, 2014, 08:18:16 PM »
Hi Pitbull

I'm sorry that I cannot respond to you in German, however I may be able to help you solve your problem anyway :)

Are you able to see effects in general? Is your server already displaying other effects or haven't you seen any effects at all so far? If that is the case then you most likely haven't enable effects, it can be enabled in the config files located in addons/eventscripts/wcs/cfg :)

Once you're sure you have the effects enabled on your server then do the following.

Go to your addons/eventscripts/wcs/addons/effect/es_effect.txt --> open it and replace your current matrix block with the one below.

Code: [Select]
block matrix
{
es_getplayerlocation wcs_x1 wcs_y1 wcs_z1 server_var(attacker)
es_getplayerlocation wcs_x2 wcs_y2 wcs_z2 server_var(userid)
es est_effect 3 #a 0 sprites/radio.vmt 0 0 9000 server_var(wcs_x2) server_var(wcs_y2) server_var(wcs_z2) 1 20 11 255 255 255 255
es est_effect 3 #a 0 sprites/radio.vmt 0 9000 0 server_var(wcs_x2) server_var(wcs_y2) server_var(wcs_z2) 1 20 11 255 255 255 255
es est_effect 3 #a 0 sprites/radio.vmt 9000 0 0 server_var(wcs_x2) server_var(wcs_y2) server_var(wcs_z2) 1 20 11 255 255 255 255
es est_effect 3 #a 0 sprites/radio.vmt 1000 0 0 server_var(wcs_x2) server_var(wcs_y2) server_var(wcs_z2) 1 20 11 255 255 255 255
es est_effect 3 #a 0 sprites/radio.vmt 0 0 999 server_var(wcs_x2) server_var(wcs_y2) server_var(wcs_z2) 1 20 11 255 255 255 255
es_xset vector1 wcs_z1
es_xset vector2 wcs_z2
es_getplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(attacker)
es_getplayerlocation wcs_x2 wcs_y2 wcs_z2 event_var(userid)
es_xmath wcs_z1 + 5
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 sprites/radio.vmt server_var(vector2) server_var(vector1) 900 2 180
es est_effect_14 #a .1 sprites/radio.vmt server_var(vector2) server_var(vector1) 900 2 35
es est_effect_14 #a 0 sprites/radio.vmt server_var(vector2) server_var(vector1) 900 2 190
es est_effect_14 #a .1 sprites/radio.vmt server_var(vector2) server_var(vector1) 900 2 65
es est_effect_14 #a 0 sprites/radio.vmt server_var(vector2) server_var(vector1) 900 2 115
es est_effect_14 #a .1 sprites/radio.vmt server_var(vector2) server_var(vector1) 900 2 45
es est_effect_14 #a .2 sprites/radio.vmt server_var(vector2) server_var(vector1) 900 2 120
es est_effect_14 #a .3 sprites/radio.vmt server_var(vector2) server_var(vector1) 900 2 100
es est_effect_14 #a .4 sprites/radio.vmt server_var(vector2) server_var(vector1) 900 2 160
es est_effect_14 #a .5 sprites/radio.vmt server_var(vector2) server_var(vector1) 900 2 130
es est_effect_14 #a .6 sprites/radio.vmt server_var(vector2) server_var(vector1) 900 2 20
es est_effect_14 #a .7 sprites/radio.vmt server_var(vector2) server_var(vector1) 900 2 50
es est_effect_14 #a .8 sprites/radio.vmt server_var(vector2) server_var(vector1) 900 2 80
es est_effect_14 #a .9 sprites/radio.vmt server_var(vector2) server_var(vector1) 900 2 140
es est_effect_14 #a 1.0 sprites/radio.vmt server_var(vector2) server_var(vector1) 900 2 170
es est_effect_14 #a 1.1 sprites/radio.vmt server_var(vector2) server_var(vector1) 900 2 150
es est_effect_14 #a 1.2 sprites/radio.vmt server_var(vector2) server_var(vector1) 900 2 120
es est_effect_14 #a 1.3 sprites/radio.vmt server_var(vector2) server_var(vector1) 900 2 110
es est_effect_14 #a 1.4 sprites/radio.vmt server_var(vector2) server_var(vector1) 900 2 90
es est_effect_14 #a 1.5 sprites/radio.vmt server_var(vector2) server_var(vector1) 900 2 70
es est_effect_14 #a 1.6 sprites/radio.vmt server_var(vector2) server_var(vector1) 900 2 40
es est_effect_14 #a 1.7 sprites/radio.vmt server_var(vector2) server_var(vector1) 900 2 10
es est_effect_14 #a 1.8 sprites/radio.vmt server_var(vector2) server_var(vector1) 900 2 30
es est_effect_14 #a 1.9 sprites/radio.vmt server_var(vector2) server_var(vector1) 900 2 32
es est_effect_14 #a 2.0 sprites/radio.vmt server_var(vector2) server_var(vector1) 900 2 36
es est_effect_14 #a 2.1 sprites/radio.vmt server_var(vector2) server_var(vector1) 900 2 43
es est_effect_14 #a 2.2 sprites/radio.vmt server_var(vector2) server_var(vector1) 900 2 102
es est_effect_14 #a 2.3 sprites/radio.vmt server_var(vector2) server_var(vector1) 900 2 89
es est_effect_14 #a 2.4 sprites/radio.vmt server_var(vector2) server_var(vector1) 900 2 99
es est_effect_14 #a 2.5 sprites/radio.vmt server_var(vector2) server_var(vector1) 900 2 49
es est_effect_14 #a 2.6 sprites/radio.vmt server_var(vector2) server_var(vector1) 900 2 79
es est_effect_14 #a 2.7 sprites/radio.vmt server_var(vector2) server_var(vector1) 900 2 69
es est_effect_14 #a 2.8 sprites/radio.vmt server_var(vector2) server_var(vector1) 900 2 56
}

(Hint: As this code contains userid and attacker I'd recommend you using it on an attacker skill (hex)

I also noticed that you have the matrixspawn block posted as well however you haven't used it anywhere in the race, I'd recommend adding es_xdoblock wcs/addons/effect/matrixspawn to your race's spawncmd.

The reason why your effect wasn't displayed earlier were most likely due to an error. You see in the block matrix there's located this line "if (server_var(wcs_dice) <= server_var(wcs_chance)) do" which means that it'll execute the block on wcs_chance.
If you look in your settings none of your race's skills are using wcs_chance and therefore the effect will not be executed :)

If you use the version of the block which I added above, combined with this version of the race:

Code: [Select]
[Shadow Hunter]
#Requirement section
required           = 80
maximum            = 0

#Restrict section
restrictmap        = ""
restrictteam       = 0
restrictitem       = "ring|immortal4"
teamlimit = 0

#Other info
author             = "Kryptonite [WCS team]"
desc               = "heal,slowdown,warden,immortal"
spawncmd           = "es_xdoblock wcs/addons/effect/matrixspawn"
deathcmd           = ""
roundstartcmd      = ""
roundendcmd        = ""
preloadcmd         = ""
allowonly          = ""
onchange           = ""

#Skill information
numberofskills     = 4
numberoflevels     = 5
skillnames         = "Healing Wave|Hex|Serpent Ward|Bid Bad Voodoo"
skilldescr         = "Heals teammates in 15-25ft range, 2-6HP \nevery 6-8sec for 10-12 waves (maxHP 150)|Destroy boots of speed and slowdown \nenemy for 2-6sec by 25-45%, 30% chance|1-2 serpent wards, damage enemy in \n20-28ft range for 10-14sec and 12-20 damage/sec. \nBind or say 'ability'|Invincibility for 2-3 seconds"
skillcfg           = "player_spawn|player_attacker|player_spawn|player_ultimate"
skillneeded        = "0|0|0|8"

#Skill specific information
[[skill1]]
setting        = "es_xset wcs_hp 7;es_xset wcs_time 15;es_xset wcs_waves 10;es_xset wcs_radius 150|es_xset wcs_hp 9;es_xset wcs_time 15;es_xset wcs_waves 12;es_xset wcs_radius 180|es_xset wcs_hp 11;es_xset wcs_time 15;es_xset wcs_waves 14;es_xset wcs_radius 200|es_xset wcs_hp 13;es_xset wcs_time 15;es_xset wcs_waves 12;es_xset wcs_radius 220|es_xset wcs_hp 15;es_xset wcs_time 15;es_xset wcs_waves 12;es_xset wcs_radius 250"
#cmd            = "es_keysetvalue WCSuserdata event_var(userid) regeneration 1;es_keysetvalue WCSuserdata event_var(userid) regen_round server_var(wcs_roundcounter);es_xrand wcs_rand 3 15;es_delayed server_var(wcs_rand) wcs_regeneration event_var(userid) server_var(wcs_hp) server_var(wcs_time) 150 -1 server_var(wcs_radius)"
cmd            = "es wcsgroup set regeneration event_var(userid) 1;es wcsgroup set regen_round event_var(userid) server_var(wcs_roundcounter);es_xrand wcs_rand 3 15;es_delayed server_var(wcs_rand) wcs_regeneration event_var(userid) server_var(wcs_hp) server_var(wcs_time) 150 -1 server_var(wcs_radius)"
sfx            = ""

[[skill2]]
setting        = "es_xset wcs_speed 0.75;es_xset wcs_duration 2|es_xset wcs_speed 0.65;es_xset wcs_duration 3|es_xset wcs_speed 0.60;es_xset wcs_duration 4|es_xset wcs_speed 0.55;es_xset wcs_duration 5|es_xset wcs_speed 0.55;es_xset wcs_duration 6"
racealias_swh2 = "es wcs_setfx speed event_var(userid) = server_var(wcs_speed) server_var(wcs_duration);es wcs_xtell event_var(attacker) r_slowdown attacker event_var(es_attackername) victim event_var(es_username);es wcs_xtell event_var(userid) r_slowdown attacker event_var(es_attackername) victim event_var(es_username)"
#cmd            = "if (server_var(wcs_dice) <= 3) then wcsx get isdead wcs_dead event_var(userid);if (server_var(wcs_dice) <= 30) then es_xif (server_var(wcs_dead) = 0) then wcs_xalias racealias_swh2"
cmd            = "if (server_var(wcs_dice) <= 30) then es_xif (event_var(es_userdead) = 0) then wcs_xalias racealias_swh2"
sfx            = "if (server_var(wcs_dice) <= 30) then es_xif (event_var(es_userdead) = 0) then es_xdoblock wcs/addons/effect/matrix"

[[skill3]]
setting        = "es_xset wcs_count 1;es_xset wcs_params 10_12_200|es_xset wcs_count 1;es_xset wcs_params 12_14_220|es_xset wcs_count 2;es_xset wcs_params 14_16_240|es_xset wcs_count 2;es_xset wcs_params 14_18_260|es_xset wcs_count 3;es_xset wcs_params 14_20_280"
#cmd            = "es_keysetvalue WCSuserdata event_var(userid) ability warden;es_keysetvalue WCSuserdata event_var(userid) ability_count server_var(wcs_count);es_keysetvalue WCSuserdata event_var(userid) ability_parameter server_var(wcs_params);es_keysetvalue WCSuserdata event_var(userid) ability_cooldown 3"
cmd            = "es wcsgroup set ability event_var(userid) warden;es wcsgroup set ability_count event_var(userid) server_var(wcs_count);es wcsgroup set ability_parameter event_var(userid) server_var(wcs_params);es wcsgroup set ability_cooldown event_var(userid) 3"
sfx            = ""

[[skill4]]
setting        = "es_xset wcs_duration 2.0|es_xset wcs_duration 2.4|es_xset wcs_duration 2.8|es_xset wcs_duration 2.9|es_xset wcs_duration 3.0"
cmd            = "es wcs_xtell server_var(wcs_userid) r_immortal time server_var(wcs_duration);es wcs_setfx god server_var(wcs_userid) = 1 server_var(wcs_duration);es_xmath wcs_duration - 1;es_delayed server_var(wcs_duration) wcs_xtell server_var(wcs_userid) r_mortal"
sfx            = ""
cooldown       = "30"

Then you should now have a fully functional shadow hunter race with the effects you've posted :)

This should have solved the problem, I hope you've also learned something which you can use in the future as well :)

(Note: I haven't tested it myself, but it should work).

Sincerely
- Manifest
"BRAVORA: Bruh it is fucking operation crystal night when you are approving races."


Offline PitBuLL78

  • Level 0 Beginner
  • Posts: 4
  • <3 WCS :)
Re: Effecte einfügen
« Reply #2 on: February 26, 2014, 10:19:32 PM »
attack effect works but spaw effect not.

Offline Manifest

  • Race & effect creator
  • Moderator
  • Level 7 Expert
  • *****
  • Posts: 1034
  • Country: dk
  • Content creator for the new WCS version by Kami.
Re: Effecte einfügen
« Reply #3 on: February 26, 2014, 11:09:06 PM »
Do you currently have the matrixspawn block added in your es_effect.txt?

If the path is correct and the block is located in the document then it should be executed and you should be able to see it.

UNLESS you have a messed up firefix. If your firefix isn't properly working then you wont be able to see the effect in game :)
"BRAVORA: Bruh it is fucking operation crystal night when you are approving races."


Offline Manifest

  • Race & effect creator
  • Moderator
  • Level 7 Expert
  • *****
  • Posts: 1034
  • Country: dk
  • Content creator for the new WCS version by Kami.
Re: Effecte einfügen
« Reply #4 on: February 27, 2014, 07:59:43 AM »
If you aren't sure whether your firefix is working correctly or not then you can check it by doing the following.

In case you have the standard races such as Orchish horde then choose that race and upon spawning you should see a lot of orange lightnings and tesla effects.
If this isn't being shown then your firefix isn't working correct.
You may also have had some issues with making gravity work as it also uses es_fire.
"BRAVORA: Bruh it is fucking operation crystal night when you are approving races."


Offline PitBuLL78

  • Level 0 Beginner
  • Posts: 4
  • <3 WCS :)
Re: Effecte einfügen
« Reply #5 on: February 28, 2014, 07:40:06 PM »
thank you for your help it works great. ;D

I forgot the matrixspawn block :o

Offline Manifest

  • Race & effect creator
  • Moderator
  • Level 7 Expert
  • *****
  • Posts: 1034
  • Country: dk
  • Content creator for the new WCS version by Kami.
Re: Effecte einfügen
« Reply #6 on: March 01, 2014, 12:00:23 PM »
No problem, you're welcome any time :)

Hehe, yeah, I've tried that as well, it happens to everyone :P
"BRAVORA: Bruh it is fucking operation crystal night when you are approving races."