December 14, 2017, 09:41:41 PM

Author Topic: [Race] Shadow Fiend  (Read 1299 times)

Offline Naiken

  • Level 7 Expert
  • *****
  • Posts: 223
  • Country: gb
  • Languages: ESS, SQF
[Race] Shadow Fiend
« on: April 12, 2013, 10:27:24 PM »

SHADOW FIEND

Skills:

  • Poison Bolts (Poison)
  • Hallucination (Drug)
  • Dark Infusion (HP/Speed)
  • Shadow Step (Full Invis/Ultimate)





races.ini
Code: [Select]
[Shadow Fiend]
    #Requirement section
    required              = 0
    maximum               = 0

    #Restrict section
    restrictmap           = ""
    restrictteam          = 0
    restrictitem          = ""
    teamlimit             = 0

    #Other info
    author                = "Naiken aka reacT [TWKDev Team]"
    desc                  = ""
    spawncmd              = "es wcs_color event_var(userid) 125 125 125 255 1"
    deathcmd              = ""
    roundstartcmd         = ""
    roundendcmd           = ""
    preloadcmd            = ""
    allowonly             = ""
    onchange              = ""
    racecategory          = ""

    #Skill information
    numberofskills        = 4
    numberoflevels        = 5
    skillnames            = "Poison Bolts|Hallucination|Dark Infusion|Shadow Step"
    skilldescr            = "You cover your weapons in a deadly poison (Poison)|Cause your enemies visual impairment (Drug)|You are infused with dark energies granting HP and Speed (HP & Speed)|Turn invisible (Ultimate)"
    skillcfg              = "player_attacker|player_victim|player_spawn|player_ultimate"
    skillneeded           = "0|0|0|6"

#Race Aliases
    racealias_shadowwarrior1a = "es_set wcs_dmg event_var(dmg_health);es_math wcs_dmg float;es_math wcs_dmg / 5;es wcs_decimal wcs_dmg server_var(wcs_dmg);es_xrand wcs_rand 1 4;if (server_var(wcs_dmg) > 0) then es wcs damage event_var(userid) event_var(attacker) server_var(wcs_dmg); wcs_xalias racealias_shadowwarrior1b"
    racealias_shadowwarrior1b = "es_delayed 1 if (server_var(wcs_dmg) > 0) then wcs damage event_var(userid) event_var(attacker) server_var(wcs_dmg); es_delayed 2 if (server_var(wcs_dmg) > 0) then wcs damage event_var(userid) event_var(attacker) server_var(wcs_dmg);wcs_xalias racealias_shadowwarrior1c"
    racealias_shadowwarrior1c = "es_tell event_var(attacker) #multi #green[#defaultPoison Bolts#green] #lightgreenYou did#default server_var(wcs_dmg)x3 #lightgreenextra damage to#default event_var(es_username)#green!;es_tell event_var(userid) #multi #green[#defaultEnemy Skills#green] #lightgreenYou received#default POISON EFFECT #lightgreenfrom#default event_var(es_attackername)'s #lightgreenskill: #greenPoison Bolts;wcs_xalias racealias_shadowwarrior1fx"
    racealias_shadowwarrior1fx = "es_xdoblock wcs/addons/effect/shadowwarrior_skill1"
       
    racealias_shadowwarrior2a = "es usermsg fade event_var(attacker) 1 700 700 25 25 25 250;es_cexec event_var(attacker) r_screenoverlay Effects\tp_eyefx\tpeye3.vmt;es_delayed server_var(wcs_duration) es_cexec event_var(attacker) r_screenoverlay 0;wcs_xalias racealias_shadowwarrior2b"
    racealias_shadowwarrior2b = "es_tell event_var(userid) #multi #green[#defaultHallucination#green] #lightgreenYou Hallucinated#default event_var(es_attackername)#green!;es_tell event_var(attacker) #multi #green[#defaultEnemy Skills#green] #lightgreenYou have received a hallucination from#default event_var(es_username)'s #lightgreenskill:#green Hallucination!;wcs_xalias racealias_shadowwarrior2fx"
    racealias_shadowwarrior2fx = "es_xdoblock wcs/addons/effect/shadowwarrior_skill2"
   
    racealias_shadowwarrior3a = "es_tell event_var(userid) #multi #green[#defaultDark Infusion#green] #lightgreenYou spawned with #default server_var(wcs_addhealth) #lightgreenextra HP and your speed has been set to#default server_var(wcs_speed)"
       
    racealias_shadowwarrior4a = "es wcs_color server_var(wcs_userid) 125 125 125 0 1;es_delayed server_var(wcs_duration) wcs_color server_var(wcs_userid) 125 125 125 255 1;wcs_xalias racealias_shadowwarrior4b"
    racealias_shadowwarrior4b = "es_tell server_var(wcs_userid) #multi #green[#defaultShadow Step#green] #lightgreenYou are invisible for#default server_var(wcs_duration) #lightgreenSeconds#green!;es_delayed server_var(wcs_duration) es_tell server_var(wcs_userid) #multi #green[#defaultShadow Step#green] #lightgreenYou are now visible again!;wcs_xalias racealias_shadowwarrior4fx"
    racealias_shadowwarrior4fx = "es_xdoblock wcs/addons/effect/shadowwarrior_skill4"
       
    #Skill specific information
    [[skill1]]
        setting = "es_xset wcs_chance 5|es_xset wcs_chance 10|es_xset wcs_chance 15|es_xset wcs_chance 20|es_xset wcs_chance 25"
        cmd     = "if (server_var(wcs_dice) <= server_var(wcs_chance)) then if (event_var(es_userdead) = 0) then wcs_xalias racealias_shadowwarrior1a"
        sfx     = "if (server_var(wcs_dice) <= server_var(wcs_chance)) then es_emitsound player event_var(userid) player\pl_pain6.wav 1 0.5;if (server_var(wcs_dice) <= server_var(wcs_chance)) then es_emitsound player event_var(attacker) npc\antlion_grub\squashed.wav 1 0.5;if (server_var(wcs_dice) <= server_var(wcs_chance)) then es_emitsound player event_var(userid) npc\antlion_grub\squashed.wav 0.3 0.5"

    [[skill2]]
        setting = "es_xset wcs_chance 4;es_xset wcs_duration 0.25|es_xset wcs_chance 8;es_xset wcs_duration 0.5|es_xset wcs_chance 12;es_xset wcs_duration 0.75|es_xset wcs_chance 16;es_xset wcs_duration 1|es_xset wcs_chance 20;es_xset wcs_duration 1.25"
        cmd     = "if (server_var(wcs_dice) <= server_var(wcs_chance)) then if (event_var(es_userdead) = 0) then wcs_xalias racealias_shadowwarrior2a"
        sfx     = "if (server_var(wcs_dice) <= server_var(wcs_chance)) then if (event_var(es_userdead) = 0) then es_emitsound player event_var(attacker) ambient\creatures\town_child_scream1.wav 1 0.5;if (server_var(wcs_dice) <= server_var(wcs_chance)) then if (event_var(es_userdead) = 0) then es_emitsound player event_var(userid) npc\dog\dog_pneumatic2.wav 1 0.5"

    [[skill3]]
        setting = "es_xset wcs_addhealth 15;es_xset wcs_speed 1.05|es_xset wcs_addhealth 20;es_xset wcs_speed 1.1|es_xset wcs_addhealth 25;es_xset wcs_speed 1.15|es_xset wcs_addhealth 30;es_xset wcs_speed 1.2|es_xset wcs_addhealth 35;es_xset wcs_speed 1.25"
        cmd     = "es wcs_setfx health event_var(userid) + server_var(wcs_addhealth) 0;es wcs_setfx speed event_var(userid) = server_var(wcs_speed) 0;wcs_xalias racealias_shadowwarrior3a"
        sfx     = "es_xdoblock wcs/addons/effect/shadowwarrior_skill3"

    [[skill4]]
        setting  = "es_xset wcs_duration 1|es_xset wcs_duration 1.5|es_xset wcs_duration 2|es_xset wcs_duration 2.5|es_xset wcs_duration 3"
        cmd      = "wcs_xalias racealias_shadowwarrior4a"
        sfx      = "es_emitsound player server_var(wcs_userid) ambient\machines\thumper_hit.wav 1 1;es_emitsound player server_var(wcs_userid) ambient\wind\wind_snippet2.wav 1 1;es_delayed server_var(wcs_duration) es_emitsound player server_var(wcs_userid) ambient\machines\thumper_hit.wav 1 1;"
        cooldown = "60"

es_effect
Code: [Select]
block shadowwarrior_skill1
{
es es_getplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(userid)
es_xmath wcs_z1 - 10
es est_effect 10 #a 0 sprites\lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 50 25 0.25 10 0 5 55 255 0 255 0
es est_effect 10 #a 0 sprites\lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 50 25 0.25 10 0 5 55 255 0 255 0
es_xmath wcs_z1 + 10
es est_effect 10 #a 0 sprites\lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 49 24 0.25 10 0 5 55 255 0 255 0
es est_effect 10 #a 0 sprites\lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 49 24 0.25 10 0 5 55 255 0 255 0
es_xmath wcs_z1 + 10
es est_effect 10 #a 0 sprites\lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 48 23 0.25 10 0 5 55 255 0 255 0
es est_effect 10 #a 0 sprites\lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 48 23 0.25 10 0 5 55 255 0 255 0
es_xmath wcs_z1 + 10
es est_effect 10 #a 0 sprites\lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 47 22 0.25 10 0 5 55 255 0 255 0
es est_effect 10 #a 0 sprites\lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 47 22 0.25 10 0 5 55 255 0 255 0
es_xmath wcs_z1 + 10
es est_effect 10 #a 0 sprites\lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 100 21 0.25 10 0 5 55 255 0 255 0
es est_effect 10 #a 0 sprites\lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 100 21 0.25 10 0 5 55 255 0 255 0
es_xmath wcs_z1 + 10
es est_effect 10 #a 0 sprites\lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 45 20 0.25 10 0 5 55 255 0 255 0
es est_effect 10 #a 0 sprites\lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 45 20 0.25 10 0 5 55 255 0 255 0
es_xmath wcs_z1 + 10
es est_effect 10 #a 0 sprites\lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 44 50 0.25 10 0 5 55 255 0 255 0
es est_effect 10 #a 0 sprites\lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 44 50 0.25 10 0 5 55 255 0 255 0
es_xmath wcs_z1 + 10
es est_effect 10 #a 0 sprites\lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 67 24 0.25 10 0 5 55 255 0 255 0
es est_effect 10 #a 0 sprites\lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 67 24 0.25 10 0 5 55 255 0 255 0
es_xmath wcs_z1 + 10
es est_effect 10 #a 0 sprites\lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 22 55 0.25 10 0 5 55 255 0 255 0
es est_effect 10 #a 0 sprites\lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 22 55 0.25 10 0 5 55 255 0 255 0
es_xmath wcs_z1 + 10
es est_effect 10 #a 0 sprites\lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 66 22 0.25 10 0 5 55 255 0 255 0
es est_effect 10 #a 0 sprites\lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 66 11 0.25 10 0 5 55 255 0 255 0
es_xmath wcs_z2 + 10
es est_effect 10 #a 0 sprites\lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 12 55 0.25 10 0 5 55 255 0 255 0
es est_effect 10 #a 0 sprites\lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 12 55 0.25 10 0 5 55 255 0 255 0
es_xmath wcs_z1 + 10
es est_effect 10 #a 0 sprites\lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 55 11 0.25 10 0 5 55 255 0 255 0
es est_effect 10 #a 0 sprites\lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 55 11 0.25 10 0 5 55 255 0 255 0
es_xmath wcs_z1 + 10
es est_effect 10 #a 0 sprites\lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 22 44 0.25 10 0 5 55 255 0 255 0
es est_effect 10 #a 0 sprites\lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 44 22 0.25 10 0 5 55 255 0 255 0
es_xmath wcs_z1 + 10
es est_effect 10 #a 0 sprites\lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 22 70 0.25 10 0 5 55 255 0 255 0
es est_effect 10 #a 0 sprites\lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 90 22 0.25 10 0 5 55 255 0 255 0
es_xmath wcs_z1 + 10
es est_effect 10 #a 0 sprites\lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 55 55 0.25 10 0 5 55 255 0 255 0
es est_effect 10 #a 0 sprites\lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 55 22 0.25 10 0 5 55 255 0 255 0
es_xmath wcs_z1 + 10
es est_effect 10 #a 0 sprites\lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 22 11 0.25 10 0 5 55 255 0 255 0
es est_effect 10 #a 0 sprites\lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 11 22 0.25 10 0 5 55 255 0 255 0
es_xmath wcs_z1 + 10
es est_effect 10 #a 0 sprites\lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 78 11 0.25 10 0 5 55 255 0 255 0
es est_effect 10 #a 0 sprites\lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 11 5 0.25 10 0 5 55 255 0 255 0
es_xmath wcs_z1 + 10
es est_effect 10 #a 0 sprites\lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 22 1 0.25 10 0 5 55 255 0 255 0
es est_effect 10 #a 0 sprites\lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 1 22 0.25 10 0 5 55 255 0 255 0
es_xmath wcs_z1 + 10
es est_effect 10 #a 0 sprites\lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 5 15 0.25 10 0 5 55 255 0 255 0
es est_effect 10 #a 0 sprites\lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 15 5 0.25 10 0 5 55 255 0 255 0
es_xmath wcs_z1 + 10
es est_effect 10 #a 0 sprites\lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 2 5 0.25 10 0 5 55 255 0 255 0
es est_effect 10 #a 0 sprites\lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 5 2 0.25 10 0 5 55 255 0 255 0
}

block shadowwarrior_skill2
{
es_xset vector1 wcs_z1
es_xset vector2 wcs_z2
es_getplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(userid)
es_getplayerlocation wcs_x2 wcs_y2 wcs_z2 event_var(attacker)
es_xmath wcs_z1 + 5000
es_xmath wcs_z2 + 10
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 10 #a 0 effects\strider_pinch_dudv_dx60.vmt server_var(wcs_x2) server_var(wcs_y2) server_var(wcs_z2) 100 500 0.1 17 200 10 0 0 255 255 10
es est_effect 10 #a 0 effects\strider_pinch_dudv_dx60.vmt server_var(wcs_x2) server_var(wcs_y2) server_var(wcs_z2) 100 500 0.2 17 200 10 0 0 255 255 10
es est_effect 10 #a 0 effects\strider_pinch_dudv_dx60.vmt server_var(wcs_x2) server_var(wcs_y2) server_var(wcs_z2) 100 500 0.3 17 200 10 0 0 255 255 10
es est_effect 10 #a 0 effects\strider_pinch_dudv_dx60.vmt server_var(wcs_x2) server_var(wcs_y2) server_var(wcs_z2) 100 500 0.4 17 200 10 0 0 255 255 10
es est_effect 10 #a 0 effects\strider_pinch_dudv_dx60.vmt server_var(wcs_x2) server_var(wcs_y2) server_var(wcs_z2) 100 500 0.5 17 200 10 0 0 255 255 10
es est_effect 10 #a 0 effects\strider_pinch_dudv_dx60.vmt server_var(wcs_x2) server_var(wcs_y2) server_var(wcs_z2) 100 500 0.6 17 200 10 0 0 255 255 10
es est_effect 10 #a 0 effects\strider_pinch_dudv_dx60.vmt server_var(wcs_x2) server_var(wcs_y2) server_var(wcs_z2) 100 500 0.7 17 200 10 0 0 255 255 10
}

block shadowwarrior_skill3
{
es_getplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(userid)
es est_effect 10 #a 0 Effects\strider_dark_flare.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 500 0 3 10 10 5 255 255 0 125 1
es est_effect 10 #a 0 Effects\strider_dark_flare.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 500 0 3 10 10 5 255 255 0 125 1
es_xmath wcs_z1 + 25
es est_effect 10 #a 0 Effects\strider_dark_flare.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 400 0 2.8 10 10 5 255 255 0 125 1
es est_effect 10 #a 0 Effects\strider_dark_flare.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 400 0 2.8 10 10 5 255 255 0 125 1
es_xmath wcs_z1 + 25
es est_effect 10 #a 0 Effects\strider_dark_flare.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 300 0 2.6 10 10 5 255 255 0 125 1
es est_effect 10 #a 0 Effects\strider_dark_flare.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 300 0 2.6 10 10 5 255 255 0 125 1
es_xmath wcs_z1 + 25
es est_effect 10 #a 0 Effects\strider_dark_flare.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 200 0 2.4 10 10 5 255 255 0 125 1
es est_effect 10 #a 0 Effects\strider_dark_flare.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 200 0 2.4 10 10 5 255 255 0 125 1
es_xmath wcs_z1 + 25
es est_effect 10 #a 0 Effects\strider_dark_flare.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 100 0 2.2 10 10 5 255 255 0 125 1
es est_effect 10 #a 0 Effects\strider_dark_flare.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 100 0 2.2 10 10 5 255 255 0 125 1
es_xmath wcs_z1 + 25
es est_effect 10 #a 0 Effects\strider_dark_flare.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 75 0 2 10 10 5 255 255 0 125 1
es est_effect 10 #a 0 Effects\strider_dark_flare.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 75 0 2 10 10 5 255 255 0 125 1
es_xmath wcs_z1 + 25
es est_effect 10 #a 0 Effects\strider_dark_flare.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 50 0 1.8 10 10 5 255 255 0 125 1
es est_effect 10 #a 0 Effects\strider_dark_flare.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 50 0 1.8 10 10 5 255 255 0 125 1
es_xmath wcs_z1 + 25
es est_effect 10 #a 0 Effects\strider_dark_flare.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 25 0 1.6 10 10 5 255 255 0 125 1
es est_effect 10 #a 0 Effects\strider_dark_flare.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 25 0 1.6 10 10 5 255 255 0 125 1
es_xmath wcs_z1 + 25
es est_effect 10 #a 0 Effects\strider_dark_flare.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 20 0 1.4 10 10 5 255 255 0 125 1
es est_effect 10 #a 0 Effects\strider_dark_flare.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 20 0 1.4 10 10 5 255 255 0 125 1
es_xmath wcs_z1 + 25
es est_effect 10 #a 0 Effects\strider_dark_flare.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 15 0 1.2 10 10 5 255 255 0 125 1
es est_effect 10 #a 0 Effects\strider_dark_flare.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 15 0 1.2 10 10 5 255 255 0 125 1
es_xmath wcs_z1 + 25
es est_effect 10 #a 0 Effects\strider_dark_flare.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 10 0 1 10 10 5 255 255 0 125 1
es est_effect 10 #a 0 Effects\strider_dark_flare.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 5 0 1 10 10 5 255 255 0 125 1
}

block shadowwarrior_skill4
{
es_getplayerlocation wcs_x2 wcs_y2 wcs_z2 server_var(wcs_userid)
es est_effect_08 #a 0 sprites\heatwave.vmt server_var(wcs_x2) server_var(wcs_y2) server_var(wcs_z2) 520 40 1 1 90 400 0 255 255 255 255 20 1
es est_effect_08 #a 0 sprites\heatwave.vmt server_var(wcs_x2) server_var(wcs_y2) server_var(wcs_z2) 20 400 1 1 90 400 0 128 128 128 255 10 1
es est_effect 10 #a 0 Sprites\heatwave.vmt server_var(wcs_x2) server_var(wcs_y2) server_var(wcs_z2) 75 25 1 50 100 2 60 255 255 255 2
es_xmath wcs_z2 + 25
es est_effect 10 #a 0 Sprites\heatwave.vmt server_var(wcs_x2) server_var(wcs_y2) server_var(wcs_z2) 75 25 1 50 100 2 60 255 255 255 2
es_xmath wcs_z2 + 25
es est_effect 10 #a 0 Sprites\heatwave.vmt server_var(wcs_x2) server_var(wcs_y2) server_var(wcs_z2) 75 25 1 50 100 2 60 255 255 255 2
es_xmath wcs_z2 + 25
es est_effect 10 #a 0 Sprites\heatwave.vmt server_var(wcs_x2) server_var(wcs_y2) server_var(wcs_z2) 75 25 1 50 100 2 60 255 255 255 2
es_xmath wcs_z2 + 25
es est_effect 10 #a 0 Sprites\heatwave.vmt server_var(wcs_x2) server_var(wcs_y2) server_var(wcs_z2) 75 25 1 50 100 2 60 255 255 255 2
es_xmath wcs_z2 + 25
es est_effect 10 #a 0 Sprites\heatwave.vmt server_var(wcs_x2) server_var(wcs_y2) server_var(wcs_z2) 75 25 1 50 100 2 60 255 255 255 2
es_xmath wcs_z2 + 25
es est_effect 10 #a 0 Sprites\heatwave.vmt server_var(wcs_x2) server_var(wcs_y2) server_var(wcs_z2) 75 25 1 50 100 2 60 255 255 255 2
}
« Last Edit: November 19, 2017, 10:09:03 PM by Naiken »

Offline Eareland

  • Level 7 Expert
  • *****
  • Posts: 700
  • Country: fi
  • Most honest is to be without a word of a lie
    • FSSM
Re: [Race] Shadow Fiend
« Reply #1 on: April 13, 2013, 12:25:42 AM »
Great theme, thanks :3


Offline Manifest

  • Moderator
  • Level 7 Expert
  • *****
  • Posts: 760
  • Country: dk
  • Working on a new server
Re: [Race] Shadow Fiend
« Reply #2 on: October 10, 2017, 07:53:14 PM »
Again a great race that I would encourage every good server owner to implement into their server.

The following code snippets in block shadowwarrior_skill2 can be removed without it influencing the skill visual appearence:
[Spoiler]
es_xset vector1 wcs_z1
es_xset vector2 wcs_z2
es_getplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(userid)
es_xmath wcs_z1 + 5000
es_createvectorstring vector1 server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1)

Reason being that effect 10 does not require vector locations, also you only use the playerlocation of the attacker and not the victim. :-)

Also the second effect ring in the first effect block has an error, two of the numbers are put close to each other causing a syntax error. Replace:
[Spoiler]
es est_effect 10 #a 0 sprites\lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 50 25 0.2510 0 5 55 255 0 255 0

With:
[Spoiler]
es est_effect 10 #a 0 sprites\lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 50 25 0.25 10 0 5 55 255 0 255 0

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

Offline Naiken

  • Level 7 Expert
  • *****
  • Posts: 223
  • Country: gb
  • Languages: ESS, SQF
Re: [Race] Shadow Fiend
« Reply #3 on: November 17, 2017, 10:51:37 PM »
Again, will fix and once again thanks for the compliments :D