May 26, 2019, 08:16:36 AM

Author Topic: [Race] (WoW) Разбойник  (Read 1205 times)

Offline garry

  • Level 7 Expert
  • *****
  • Posts: 321
  • Country: ru
  • active years 2008-2012
[Race] (WoW) Разбойник
« on: May 15, 2012, 03:14:37 PM »
Помню кто-то делал WoW Race Pack, но он мне не понравился, решил создать свой, оценивайте первую расу :)

В wcs/ini/races.ini

Code: [Select]
[(WoW) Разбойник]
#Requirement section
required           = 0
maximum            = 0

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

#Other info
author             = "garry"
desc               = ""
spawncmd           = ""
deathcmd           = ""
roundstartcmd      = ""
roundendcmd        = ""
preloadcmd         = ""
allowonly          = ""
onchange           = ""

#Skill information
numberofskills     = 6
numberoflevels     = 6
skillnames         = "Ближний бой|Кожаные доспехи|Незаметность|Оглушение|Отравить|Обшарить карманы"
skilldescr         = "Шанс 50% нанести критический урон ножом|Дополнительное здоровье (50-100) и броня (50-100)|Невидимость (10%-60%), скорость (1.1-1.4) и гравитация. (0.95-0.70)|Встряска экрана противника (10-35% шанс)|Отравить противника ядом (5-30% шанс)|Воровство денег (20% шанс, 500-1000$)"
skillcfg           = "player_attacker|player_spawn|player_spawn|player_attacker|player_attacker|player_attacker"
skillneeded        = "0|0|0|0|0|0"

[[skill1]]
setting = "es_xrand wcs_dmg 2 5|es_xrand wcs_dmg 7 9|es_xrand wcs_dmg 11 13|es_xrand wcs_dmg 15 17|es_xrand wcs_dmg 19 21|es_xrand wcs_dmg 23 25"
cmd = "if (event_var(weapon) = knife) then es_xif (server_var(wcs_dice) <= 50) then es_xif (event_var(es_userdead) = 0) then wcs_xalias racealias_robber1"
racealias_robber1 = "es wcs damage event_var(userid) event_var(attacker) server_var(wcs_dmg)"
        sfx = ""

[[skill2]]
setting =    "es_xset wcs_addhealth 50;es_xset wcs_armor 50|es_xset wcs_addhealth 60;es_xset wcs_armor 60|es_xset wcs_addhealth 70;es_xset wcs_armor 70|es_xset wcs_addhealth 80;es_xset wcs_armor 80|es_xset wcs_addhealth 90;es_xset wcs_armor 90|es_xset wcs_addhealth 100;es_xset wcs_armor 100"
cmd =        "es wcs_setfx health event_var(userid) + server_var(wcs_addhealth) 0;es wcs_setfx armor event_var(userid) + server_var(wcs_armor) 0;es_delayed 2 es playerset nightvision event_var(userid) 1"
sfx =        ""

[[skill3]]
setting            = "es_xset wcs_invis 10;es_xset wcs_speed 1.1;es_xset wcs_gravity 0.95|es_xset wcs_invis 20;es_xset wcs_speed 1.15;es_xset wcs_gravity 0.90|es_xset wcs_invis 30;es_xset wcs_speed 1.2;es_xset wcs_gravity 0.85|es_xset wcs_invis 40;es_xset wcs_speed 1.25;es_xset wcs_gravity 0.8|es_xset wcs_invis 50;es_xset wcs_speed 1.3;es_xset wcs_gravity 0.75|es_xset wcs_invis 60;es_xset wcs_speed 1.4;es_xset wcs_gravity 0.7"
cmd                = "es wcs_setfx invisp event_var(userid) = server_var(wcs_invis) 0;es wcs_setfx speed event_var(userid) = server_var(wcs_speed) 0;es_delayed 2 wcs_setfx gravity event_var(userid) = server_var(wcs_gravity) 0;es wcs_xtell event_var(userid) r_robber2"
sfx                = ""

[[skill4]]
setting        = "es_xset wcs_chance 10|es_xset wcs_chance 15|es_xset wcs_chance 20|es_xset wcs_chance 25|es_xset wcs_chance 30|es_xset wcs_chance 35"
racealias_robber2  = "es wcs push event_var(userid) 0 0 300;es usermsg shake event_var(userid) 10 1;es wcs_xtell event_var(attacker) r_robber1;es wcs_xtell event_var(userid) r_robber1"
cmd            = "if (server_var(wcs_dice) <= server_var(wcs_chance)) then es_xif (event_var(es_userdead) = 0) then wcs_xalias racealias_robber2"
sfx            = "es_xdoblock wcs/addons/effect/cryptshake"

[[skill5]]
setting =  "es_xset wcs_chance 5;es_xset poke_pp 10|es_xset wcs_chance 10;es_xset poke_pp 13|es_xset wcs_chance 15;es_xset poke_pp 15|es_xset wcs_chance 20;es_xset poke_pp 17|es_xset wcs_chance 25;es_xset poke_pp 20|es_xset wcs_chance 30;es_xset poke_pp 25"
racealias_robber3 =    "es_delayed 5 wcs damage event_var(userid) event_var(attacker) server_var(poke_pp);es_delayed 10 wcs damage event_var(userid) event_var(attacker) server_var(poke_pp);es_delayed 5 wcs damage event_var(userid) event_var(attacker) server_var(poke_pp);es wcs_xtell event_var(attacker) r_atcktoxic;es wcs_xtell event_var(userid) r_rbrtoxic atckname event_var(es_attackername)"
cmd    =   "if (server_var(wcs_dice) <= server_var(wcs_chance)) then wcs_xalias racealias_robber3"
racealias_robber4 = "es_getplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(userid);es_xmath wcs_z1 + 15;es est_effect 7 #a 0 sprites/smoke.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 100 10;es est_effect 7 #a 0.2 sprites/smoke.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 100 10;es_xmath wcs_x1 + 15;es est_effect 7 #a 0.6 sprites/smoke.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 100 10;wcs_xalias racealias_robber5"
racealias_robber5 = "es est_effect 7 #a 0.8 sprites/smoke.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 100 10"
sfx     =   "if (server_var(wcs_dice) <= server_var(wcs_chance)) then wcs_xalias racealias_robber4"

[[skill6]]
setting        = "es_xset wcs_money 500|es_xset wcs_money 600|es_xset wcs_money 700|es_xset wcs_money 800|es_xset wcs_money 900|es_xset wcs_money 1000"
racealias_robber6  = "es wcsx get cash wcs_cash event_var(userid);if (server_var(wcs_cash) >= server_var(wcs_money)) then wcs_xalias racealias_robber7"
racealias_robber7 = "es wcs_xtell event_var(attacker) r_stealrbr money server_var(wcs_money) victim event_var(es_username);es wcs_xtell event_var(userid) r_stlrbr attacker event_var(es_attackername) money server_var(wcs_money);es wcs_setfx cash event_var(attacker) + server_var(wcs_money) 0;es wcs_setfx cash event_var(userid) - server_var(wcs_money) 0"
cmd            = "if (server_var(wcs_dice) <= 20) then wcs_xalias racealias_robber6"
sfx            = ""

В wcs/ini/strings.ini

Code: [Select]
[r_robber1]
ru = "#lightgreen[#redРазбойник#lightgreen] #defaultВстряска экрана!"

[r_robber2]
ru = "#lightgreen[#redРазбойник#lightgreen] #defaultВас стало труднее заметить и догнать!"

[r_rbrtoxic]
ru = "#lightgreen[#redРазбойник#lightgreen] #defaultВас отравил ваш противник #green$atckname"

[r_atcktoxic]
ru = "#lightgreen[#redРазбойник#lightgreen] #defaultВы #greenотравили #defaultвашего противника!"

[r_stealrbr]
ru = "#lightgreen[#redРазбойник#lightgreen] #defaultВы украли #green$money #defaultмонет у #green$victim"

[r_stlrbr]
ru = "#lightgreen[#redРазбойник#lightgreen] #green$attacker #defaultукрал у вас #green$money #defaultмонет"

« Last Edit: May 15, 2012, 03:21:00 PM by garry »

Offline Alt1r.kz

  • Level 6 Experienced
  • *****
  • Posts: 121
  • Country: 00
  • <3 WCS :)
Re: [Race] (WoW) Разбойник
« Reply #1 on: May 16, 2012, 09:17:33 AM »
Банальная раса, нет?