August 23, 2019, 07:48:32 AM

Author Topic: [Race] Iceman and The Barrel (Half Remake)  (Read 1845 times)

Offline Kami

  • Developer
  • Level 7 Expert
  • *****
  • Posts: 889
  • Country: de
  • Pokemon Master!
[Race] Iceman and The Barrel (Half Remake)
« on: September 24, 2010, 03:29:13 PM »
Hi guys was bored so I just wrote two races.

The first is Iceman.
Code: [Select]
  "x"
  {
    "name"              "Iceman"
    "author"            "Kami"
    "shortdescription"  "0"
    "required_level"    "0"
    "maximum_level"     "0"
    "allow_only"        "0"
    "teamlimit"         "0"
    "preloadcmd"        "0"
    "player_spawn_cmd"  "es est_setplayercolor event_var(userid) 0 0 255 255"
    "round_start_cmd"   "0"
    "round_end_cmd"     "0"
    "numberofskills"    "4"
    "numberoflevels"    "4"
    "skillnames"        "Frostnades|IceTouch|FitForSurvival|Ice Run"
    "skilldescr"        "Your grenades slow down your enemys|Your knife freezes enemys|Your fit for survival in the Ice|Frost the ground and glide fast!The cold will hurt you for 99hp"
    "skillcfg"          "player_attacker|player_attacker|player_spawn|player_ultimate"

    "skill1_setting"    "es_xset wcs_speed 0.9|es_xset wcs_speed 0.8|es_xset wcs_speed 0.7|es_xset wcs_speed 0.6"
    "skill1_cmd"        "es_xdoblock iceman/frostnades"
    "skill1_sfx"        "0"

    "skill2_setting"    "es_xset wcs_freeze 0.5|es_xset wcs_freeze 1|es_xset wcs_freeze 1.5|es_xset wcs_freeze 2"
    "skill2_cmd"        "es_xdoblock iceman/iceknife"
    "skill2_sfx"        "0"
   
    "skill3_setting"    "es_xset wcs_health 20|es_xset wcs_health 40|es_xset wcs_health 60|es_xset wcs_health 80"
    "skill3_cmd"        "es_xdoblock iceman/icespawn"
    "skill3_sfx"        "0"

    "skill4_settings"   "es_xset wcs_time 3|es_xset wcs_time 4|es_xset wcs_time 5|es_xset wcs_time 6"
    "skill4_cmd"        "es_xdoblock iceman/icerun"
    "skill4_sfx"        "0"
    "ultimate_cooldown" "15"
  }

His skills are:

Frostnades: Grenades can slow enemys down.

IceTouch: Frostknife

FitForSurvival: You get 20hp per level

Ice Run: For the sacrifice of 99 hp you can run at double speed (has some nice trail effect)

Next race is The Barrel:
Code: [Select]
"x"                                 
  {
    "name"              "The Barrel"
    "author"            "Kami"
    "shortdescription"  "0"
    "required_level"    "0"
    "maximum_level"     "0"
    "allow_only"        "0"
    "teamlimit"         "0"
    "preloadcmd"        "0"
    "player_spawn_cmd"  "es_xdoblock kami/uspracebarrel"
    "round_start_cmd"   "0"
    "round_end_cmd"     "0"
    "numberofskills"    "4"
    "numberoflevels"    "4"
    "skillnames"        "Metalskin|Electro Shocks|ToxicWaste|Duplication"
    "skilldescr"        "You have the ability to block shots!|Shake the enemy!|Enemys that shoot you can release the poison inside of you!|Spawn a barrel where you look at!"
    "skillcfg"          "player_victim|player_attacker|player_victim|player_ultimate"

    "skill1_setting"    "es_xset wcs_chance 10|es_xset wcs_chance 20|es_xset wcs_chance 30|es_xset wcs_chance 100"
    "skill1_cmd"        "es_xdoblock kami/evadebarrel"
    "skill1_sfx"        "0"

    "skill2_setting"    "es_xset wcs_chance 20|es_xset wcs_chance 25|es_xset wcs_chance 30|es_xset wcs_chance 35"
    "skill2_cmd"        "es_xdoblock kami/barrelbeam"
    "skill2_sfx"        "0"
   
    "skill3_setting"    "es_xset wcs_chance 15|es_xset wcs_chance 20|es_xset wcs_chance 25|es_xset wcs_chance 30"
    "skill3_cmd"        "es_xdoblock kami/barrelpoison"
    "skill3_sfx"        "0"

    "skill4_settings"   "0"
    "skill4_cmd"        "es_prop_physics_create server_var(wcs_userid) props_c17/oildrum001"
    "skill4_sfx"        "0"
    "ultimate_cooldown" "7"
  }


Metalskin: You have the ability to block some bullets (all I say is Sparks ^^)

Electro Shocks: Shaking the enemy BrZzZz

ToxicWaste: When you get shot, the enemy gets some surprise from your inside (poison :P)

Duplication: You can simply spawn a barrel that looks like you (the remake part of The barrel)


To get those races work you have to put the attached folders to your eventscript folder and add
es_load kami
and
es_load iceman
to your autoexec.
Yeah I hope you guys like those races.

Offline Muerte

  • Administrator
  • Level 7 Expert
  • *****
  • Posts: 1856
  • Country: be
    • Fortitude
Re: [Race] Iceman and The Barrel (Half Remake)
« Reply #1 on: September 24, 2010, 03:37:57 PM »
looks nice :)
Anyways why you all code so late? Or early? Don't you guys sleep at all?
Sleep? What's that? Just put a wire up your arse and charge while you code during the night. Doesn't all do that, or is it just me??

Offline mudza

  • Level 6 Experienced
  • *****
  • Posts: 134
Re: [Race] Iceman and The Barrel (Half Remake)
« Reply #2 on: September 24, 2010, 03:39:00 PM »
nice, gonna put them on my servers :)

Offline Jhonam

  • Level 7 Expert
  • *****
  • Posts: 1157
  • Country: ru
Re: [Race] Iceman and The Barrel (Half Remake)
« Reply #3 on: September 24, 2010, 03:49:00 PM »

I unrestrict not work
had to rewrite block uspracebarrel:

Code: [Select]
block uspracebarrel
{
  es_xset x1 0
  es_xset y1 0
  es_xset z1 0
  es_xset x2 0
  es_xset y2 0
  es_xset z2 0
  es playerset model event_var(userid) props_c17/oildrum001
  es est_restrict event_var(userid) 1
  es est_restrict event_var(userid) 2
  es est_restrict event_var(userid) 4
  es est_unrestrict event_var(userid) weapon_usp
  es es_xgive event_var(userid) weapon_usp
  es_getplayerlocation x1 y1 z1 event_var(userid)
  es_getplayerlocation x2 y2 z2 event_var(userid)
  es_xmath z2 + 100
  es wcx_effect line server_var(x1) server_var(y1) server_var(z1) server_var(x2) server_var(y2) server_var(z2) sprites/tp_beam001.vmt 3 5 5 255 100 100 255 10
  es wcx_effect ring server_var(x1) server_var(y1) server_var(z1) 40 sprites/tp_beam001.vmt 3 5 5 255 100 100 255 10
}
I - Russian, and that says it all...

Offline Kami

  • Developer
  • Level 7 Expert
  • *****
  • Posts: 889
  • Country: de
  • Pokemon Master!
Re: [Race] Iceman and The Barrel (Half Remake)
« Reply #4 on: September 24, 2010, 04:24:03 PM »
for me the block worked, only thing is that you have knife in your hand, but still have the usp^^

Offline Jhonam

  • Level 7 Expert
  • *****
  • Posts: 1157
  • Country: ru
Re: [Race] Iceman and The Barrel (Half Remake)
« Reply #5 on: September 24, 2010, 04:40:31 PM »
I have a  restrict with your block runs through the times as he wishes,
besides, if you're a terrorist, it's likely not  use a bomb - the  restrictall  no gives use the bomb.
I - Russian, and that says it all...