Elfins GO BOT

View previous topic View next topic Go down

Elfins GO BOT

Post  elfin on 3rd November 2009, 4:17 pm

i just finished coding this one took a little while to get it to work(ps. might wanna just email u it if u like it)

1. Transform into random object
2. Low freeze chance
3. Poison
4.50 Team HP(still not sure if it should b that high)
5. FRICKIN LAZER BEAMS


Code:
    "name"              "GO BOT"
    "author"            "Elfin"
    "shortdescription"  "Watch Out For The Vending Machine"
    "required_level"    "0"
    "maximum_level"    "0"
    "allow_only"        "0"
    "teamlimit"        "0"
    "player_spawn_cmd"  "es_xset primary 0;es_xset secondary 0;es est_GetPrimary primary event_var(userid);es est_GetSecondary secondary event_var(userid);es_fire event_var(userid) weapon_knife alpha 0;es_fire event_var(userid) server_var(primary) alpha 0;es_fire event_var(userid) server_var(secondary) alpha 0"
    "player_spawn_cmd"  "es es_xkeysetvalue WCSuserdata event_var(userid) swardinvul 1;es_xkeysetvalue WCSuserdata event_var(userid) ulti_immunity 1;wcs_getlanguage wcs_lng wcs_lng_r_ultiimmunity;es es_xtell event_var(userid) #multi server_var(wcs_lng);wcs_getlanguage wcs_lng wcs_lng_s_antiswarda;es_tell event_var(userid) #multi server_var(wcs_lng);es_delayed 10 es es_xkeysetvalue WCSuserdata event_var(userid) swardinvul 1"
    "round_start_cmd"  "0"
    "round_end_cmd"    "0"
    "numberofskills"    "5"
    "numberoflevels"    "5"
    "skillnames"        "TRANSFORM|KMART'S COLD|LEAD BASED PAINT|TEAM SPIRIT|FRICKIN LAZER BEAMS"
    "skilldescr"        "|Transform into random objects|Freeze enemys|Poisin|Give team +HP|Your FRICKING LAZER BEAMS dmg enemys"
    "skillcfg"          "player_spawn|player_attacker|player_attacker|player_spawn|player_attacker"
 
 
 
 
    "skill1_setting"    "es_xrand wcs_rand 1 15|es_xrand wcs_rand 1 14|es_xrand wcs_rand 1 13|es_xrand wcs_rand 1 11|es_xrand wcs_rand 1 9"
    "racealias_bomb1"    "es est_setmodel event_var(es_steamid) weapons/w_c4;es es_xdelayed 1.0 es_xtell event_var(userid) #green : Elfin Made You a Bomb"
    "racealias_vender1"  "es est_setmodel event_var(es_steamid) props/cs_office/vending_machine;es es_xdelayed 1.0 es_xtell event_var(userid) #blue : Elfin Made You a vending machine"
    "racealias_crate1"  "es est_setmodel event_var(es_steamid) props/de_dust/du_crate_64x64;es es_xdelayed 1.0 es_xtell event_var(userid) #red : Elfin Made You a crate"
    "racealias_sofa1"    "es est_setmodel event_var(es_steamid) props/cs_office/sofa;es es_xdelayed 1.0 es_xtell event_var(userid) #green : You are a sofa"
    "racealias_ticketma" "es est_setmodel event_var(es_steamid) props/cs_assault/TicketMachine;es es_xdelayed 1.0 es_xtell event_var(userid) #lightgreen : Elfin Made You a Ticket Machine"
    "racealias_FireHy"  "es est_setmodel event_var(es_steamid) props/cs_assault/FireHydrant;es es_xdelayed 1.0 es_xtell event_var(userid) #lightblue : Elfin Made You a Fire Hydrant"
    "racealias_computer" "es est_setmodel event_var(es_steamid) props/cs_office/computer;es es_xdelayed 1.0 es_xtell event_var(userid) #yellow : Elfin Made You a Computer"
    "racealias_bookshelf" "es est_setmodel event_var(es_steamid) props/cs_office/Bookshelf1;es es_xdelayed 1.0 es_xtell event_var(userid) #black : Elfin Made You a Bookshelf"
    "racealias_grainbasket" "es est_setmodel event_var(es_steamid) props/de_dust/grainbasket01a;es es_xdelayed 1.0 es_xtell event_var(userid) #blue : Elfin Made You a Grainbasket"
 
 
    "skill1_cmd"        "if (server_var(wcs_rand) == 9) then racealias_sofa1;if (server_var(wcs_rand) == 8) then racealias_vender1;if (server_var(wcs_rand) == 7) then racealias_bookshelf;if (server_var(wcs_rand) == 6) then racealias_crate1;if (server_var(wcs_rand) == 5) then racealias_ticketma;if (server_var(wcs_rand) == 4) then racealias_computer;if (server_var(wcs_rand) == 3) then racealias_grainbasket;if (server_var(wcs_rand) == 2) then racealias_FireHy;if (server_var(wcs_rand) ==1) then racealias_bomb1"
    "skill1_sfx"        "es es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(userid);est_effect 11 #a 0.2 sprites/physcannon_blue server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 1 2.3 90 "

    "skill2_setting" "es_xsetinfo wcs_chance 21|es_xsetinfo wcs_chance 22|es_xsetinfo wcs_chance 23|es_xsetinfo wcs_chance 24|es_xsetinfo wcs_chance 25"
    "racealias_dx1a" "es est_Freeze event_var(userid) 1;es es_xdelayed 1 wcs_removefx freeze event_var(userid);wcs_getlanguage wcs_lng wcs_lng_r_gotfrozenby;es es_xformat wcs_lng server_var(wcs_lng) event_var(es_attackername);esnq est_csay event_var(userid) server_var(wcs_lng);wcs_getlanguage wcs_lng wcs_lng_r_froze;es es_xformat wcs_lng server_var(wcs_lng) event_var(es_username);esnq est_csay event_var(attacker) server_var(wcs_lng)"
    "racealias_dx1b" "es es_xsetplayerprop event_var(userid) CBasePlayer.m_fFlags 32.0;es es_xdelayed 1 wcs_removefx freeze event_var(userid);wcs_getlanguage wcs_lng wcs_lng_r_gotfrozenby;es es_xformat wcs_lng server_var(wcs_lng) event_var(es_attackername);esnq est_csay event_var(userid) server_var(wcs_lng);wcs_getlanguage wcs_lng wcs_lng_r_froze;es es_xformat wcs_lng server_var(wcs_lng) event_var(es_username);esnq est_csay event_var(attacker) server_var(wcs_lng)"
    "skill2_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_dx1a"
    "skill2_sfx" "es es_xif (server_var(wcs_dice) <= server_var(wcs_chance)) then 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_xmath wcs_z1 + 1620;es_xmath wcs_z2 + 20;es 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 20 30 255 10 25 255"

    "skill3_setting" "es_xsetinfo wcs_poison 2|es_xsetinfo wcs_poison 3|es_xsetinfo wcs_poison 3|es_xsetinfo wcs_poison 4|es_xsetinfo wcs_poison 4"
    "racealias_gm2" "es es_xdelayed 1 wcs_dealdamage event_var(attacker) event_var(userid) server_var(wcs_poison);es es_xdelayed 1 es_xtell event_var(userid) #lightgreenYou got hit by#green event_var(es_attackername) 's Poisonues es_xdelayed 3 wcs_dealdamage event_var(attacker) event_var(userid) server_var(wcs_poison);es es_xdelayed 5 wcs_dealdamage event_var(attacker) event_var(userid) server_var(wcs_poison)"
    "skill3_cmd" "es es_xif (server_var(wcs_dice) <= 50) then racealias_bn2;es es_xif (server_var(wcs_dice) <= 50) then es_xtell event_var(attacker) #multi #lightgreenYou have #greenpoisoned event_var(es_username) #lightgreen !!"
    "skill3_sfx" "es es_xif (server_var(wcs_dice) <= 50) then es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(attacker);es es_xif (server_var(wcs_dice) <= 50) 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/greenspit1.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) 3 5 9 155 155 155 255"

    "skill4_setting" "es_xsetinfo wcs_teamhp 10;es_xsetinfo wcs_alpha 50|es_xsetinfo wcs_teamhp 20;es_xsetinfo wcs_alpha 60|es_xsetinfo wcs_teamhp 25;es_xsetinfo wcs_alpha 70|es_xsetinfo wcs_teamhp 50;es_xsetinfo wcs_alpha 80"
    "skill4_cmd" "es es_xif (server_var(wcs_team) = 2) then es ma_givehealth #T server_var(wcs_teamhp);es es_xif (server_var(wcs_team) = 3) then es ma_givehealth #CT server_var(wcs_teamhp);es es_xtell event_var(userid) #multi #Lightgreen : Your team gained #Green server_var(wcs_teamhp) HP"
    "skill4_sfx" "es es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(userid);es es_xgetplayerlocation wcs_x2 wcs_y2 wcs_z2 event_var(userid);es_xmath wcs_z2 + 150;es 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) 2 40 10 200 255 205 255"

    "skill5_setting" "es_xsetinfo wcs_multiplier 0.05;es_xsetinfo wcs_red 255;es_xsetinfo wcs_green 0;es_xsetinfo wcs_blue 255|es_xsetinfo wcs_multiplier 0.10;es_xsetinfo wcs_red 125;es_xsetinfo wcs_green 125;es_xsetinfo wcs_blue 0|es_xsetinfo wcs_multiplier 0.15;es_xsetinfo wcs_red 38;es_xsetinfo wcs_green 255;es_xsetinfo wcs_blue 150|es_xsetinfo wcs_multiplier 0.2;es_xsetinfo wcs_red 0;es_xsetinfo wcs_green 125;es_xsetinfo wcs_blue 125|es_xsetinfo wcs_multiplier 0.25;es_xsetinfo wcs_red 24;es_xsetinfo wcs_green 0;es_xsetinfo wcs_blue 255"
    "racealias_nc1" "es es_xsetinfo wcs_dmg event_var(dmg_health);es_xmath wcs_dmg float;es es_xmath wcs_dmg * server_var(wcs_multiplier);es est_rounddecimal wcs_dmg server_var(wcs_dmg) 0;es wcs_dealdamage event_var(attacker) event_var(userid) server_var(wcs_dmg);wcs_getlanguage wcs_lng wcs_lng_damage;esnq est_csay event_var(attacker) You made + server_var(wcs_dmg) whit your laser;esnq est_csay event_var(userid) took + server_var(wcs_dmg) from a laser"
    "skill5_cmd" "es es_xif (server_var(wcs_dice) <= 100) then est_IsAlive wcs_alive event_var(userid);es es_xif (server_var(wcs_dice) <= 100) then es_xif (server_var(wcs_alive) = 1) then racealias_nc1"
    "skill5_sfx" "es es_xif (server_var(wcs_dice) <= 100) then es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(attacker);es es_xif (server_var(wcs_dice) <= 100) then es_xgetplayerlocation wcs_x2 wcs_y2 wcs_z2 event_var(userid);es es_xif (server_var(wcs_dice) <= 100) then est_effect 3 #a 0 sprites/laser.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 5 5 server_var(wcs_red) server_var(wcs_green) server_var(wcs_blue) 255"
avatar
elfin

Posts : 13
Join date : 2009-11-01
Age : 25
Location : FL

View user profile

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum