Тема: Cowboy
Показать сообщение отдельно
Старый 04.01.2010, 23:33   #1
mar!o
КОП
 
Аватар для mar!o
 
Регистрация: 24.06.2008
Адрес: Moscow-city
Имя: Деметрио Батькович
Сообщений: 938
Поблагодарил(а): 219
Получил(а): 283 "Спасибо" за 198 сообщений
Сказал(а) Фууу!: 3
Сказали Фууу! 2 раз(а) в 2 сообщениях
Репутация: 296 mar!o - жемчужина в море галькиmar!o - жемчужина в море галькиmar!o - жемчужина в море гальки
Cowboy

Раса Cowboy (из оружия только Dual Elites)
Из особенностей:
- дополнительные патроны в обойме (до 55)
- отнимает у противника деньги (140 макс.)
- только пистолеты (выбивает у противника основное оружие, оставляя его с пистолетом)
- при попадании в противника призывает его к себе
Уровень доступа расы на ваше усмотрение
Код:
"name"              "[Oddity]Cowboy"
    "author"            "[Oddity]TeacherCreature"
    "shortdescription"  "The way the wild west was won"
    "required_level"    "460"
    "maximum_level"     "0"
    "allow_only"        "0"
    "teamlimit"         "1"
    "preloadcmd"        "0"
    "player_spawn_cmd"  "es es_xkeysetvalue WCSuserdata event_var(userid) restricted <all>;es es_xdelayed 0.4 est_removeweapon event_var(userid) 1;es es_xdelayed 0.6 est_removeweapon event_var(userid) 2;es es_xdelayed 0.8 est_RestrictAll event_var(userid);es es_xdelayed 1.1 est_RestrictAll event_var(userid);es es_xdelayed 1.3 est_unrestrict event_var(userid) weapon_c4;es es_xdelayed 1.5 est_unrestrict event_var(userid) item_defuser;es es_xdelayed 1.7 est_unrestrict event_var(userid) weapon_elite;es es_xdelayed 1.9 est_unrestrict event_var(userid) weapon_knife;es es_xdelayed 2.1 est_Give event_var(userid) weapon_knife;es es_xdelayed 2.3 est_Give event_var(userid) weapon_elite"     
    "round_start_cmd"   "0"
    "round_end_cmd"     "0"
    "numberofskills"    "4"
    "numberoflevels"    "5"
    "skillnames"        "Six Shooters|Bank Robber|Pistols Only|Lasso"
    "skilldescr"        "More bullets|Steal Money|Dont let them use rifles|Rope your enemy"
    "skillcfg"          "player_attacker|player_attacker|player_attacker|player_attacker"
    
    "skill1_setting"    "es_xsetinfo wcs_ammo 35;es_xsetinfo wcs_ammo 40|es_xsetinfo wcs_ammo 45|es_xsetinfo wcs_ammo 50|es_xsetinfo wcs_ammo 55"
    "skill1_cmd"        "es es_xdelayed 2.0 est_setclipammo event_var(userid) 2 server_var(wcs_ammo);es es_xtell event_var(userid) #multi #greenExtra Ammo"
    "skill1_sfx"        "0"

    "skill2_setting"    "es_xsetinfo wcs_money 20|es_xsetinfo wcs_money 50|es_xsetinfo wcs_money 80|es_xsetinfo wcs_money 110|es_xsetinfo wcs_money 140"
    "racealias_cb2"     "es es_xgetmoney wcs_cash event_var(userid);wcs_getlanguage wcs_lng wcs_lng_r_stolemoney;es es_xformat wcs_lng server_var(wcs_lng) event_var(es_attackername) server_var(wcs_money) event_var(es_username);es es_xif (server_var(wcs_cash) >= server_var(wcs_money)) then es_xtell event_var(attacker) #multi server_var(wcs_lng);es es_xif (server_var(wcs_cash) >= server_var(wcs_money)) then es_xtell event_var(userid) #multi server_var(wcs_lng);es es_xif (server_var(wcs_cash) >= server_var(wcs_money)) then est_Cash event_var(attacker) + server_var(wcs_money);es es_xif (server_var(wcs_cash) >= server_var(wcs_money)) then est_Cash event_var(userid) - server_var(wcs_money)"
    "skill2_cmd"        "es es_xif (server_var(wcs_dice) <= 30) then racealias_cb2"
    "skill2_sfx"        "es es_xif (server_var(wcs_dice) <= 30) then es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(attacker);es es_xif (server_var(wcs_dice) <= 30) then es_xgetplayerlocation wcs_x2 wcs_y2 wcs_z2 event_var(userid);es es_xmath wcs_z1 + 40;es es_xmath wcs_z2 + 40;es es_xif (server_var(wcs_dice) <= 30) then est_effect 3 #a 0 sprites/lgtning.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) 1 3 6 255 255 0 255"
    
    "skill3_setting"    "es_xsetinfo wcs_chance 5|es_xsetinfo wcs_chance 10|es_xsetinfo wcs_chance 15|es_xsetinfo wcs_chance 20|es_xsetinfo wcs_chance 25"
    "racealias_cb3"     "es est_removeweapon event_var(userid) 1;es es_xtell event_var(userid) #green Cowboys only use pistols;es es_xtell event_var(attacker) #green Cowboys only use pistols"
    "skill3_cmd"        "es es_xif (server_var(wcs_dice) <= server_var(wcs_chance)) then est_isalive wcs_alive event_var(userid);es es_xif (server_var(wcs_dice) <= server_var(wcs_chance)) then es_xif (server_var(wcs_alive) = 1) then racealias_cb3"
    "skill3_sfx"        "0"
    
    "skill4_setting"    "es_xsetinfo wcs_chance 28|es_xsetinfo wcs_chance 33|es_xsetinfo wcs_chance 30|es_xsetinfo wcs_chance 45|es_xsetinfo wcs_chance 50"
    "skill4_cmd"        "es es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(attacker);es es_xgetplayerlocation wcs_x2 wcs_y2 wcs_z2 event_var(userid);es es_xmath wcs_z1 - 80;es es_xmath wcs_z2 + 40;es est_teleport event_var(userid) event_var(attacker);es es_xdelayed 0.1 est_setaim event_var(attacker) event_var(userid) -5;esnq est_csay event_var(attacker) Lasso your opponent;esnq est_csay event_var(userid) You have been LASSOED"
    "skill4_sfx"        "es es_xif (server_var(wcs_dice) <= server_var(wcs_chance)) then es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(attacker);es es_xif (server_var(wcs_dice) <= server_var(wcs_chance)) then es_xgetplayerlocation wcs_x2 wcs_y2 wcs_z2 event_var(userid);es_xmath wcs_z1 + 20;es_xmath wcs_z2 + 20;es es_xif (server_var(wcs_dice) <= server_var(wcs_chance)) then est_Effect 3 #a 0 sprites/tp_beam001.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) 1 2 5 255 151 67 255"
    "ultimate_cooldown" "0"
__________________

Последний раз редактировалось mar!o; 25.02.2010 в 14:33..
mar!o вне форума   Ответить с цитированием