Archived copy of warcraft-source.com, the Warcraft: Source (WCS) forum (2007–2011), rebuilt from the Internet Archive by wc3mods.net. This page was captured on 2009-10-10 (original capture). Home · Forum · All archived topics · Downloads
Warcraft-Source.com - WCS mod for CSS
October 10, 2009, 05:56:51 PM *
Welcome, Guest. Please login or register.
Login with username, password and session length
News: Remember to check on the FAQ before start posting.
It may save you time and effort.
Google  
  Home   Forum   Help Search Login Register   *
Pages: [1]   Go Down
  Print  
Current Topic Rating: ***** You have not rated this topic. Select a rating:
Author Topic: Pariah Soldier  (Read 77 times)
Zawmbee
Level 7 Expert
*****
Offline Offline

United States United States

Posts: 575


The GUARDIAN


« on: October 06, 2009, 10:39:05 PM »

The Rejected: Pariah



The Rejected are those who became shunned from life, rejected by civilization.  They were the ones with diseases, deformities, and emotional scars that could not get them through life without problems.  They became unified, helping each other work to strive to become equal amongst a group of each other.  There are few who help them in their quest to regain foundation into civilization, and they formed together to be known as Pariah.



Skill 1:  Angered Rejection
The more you piss off a Pariah, that more damage will be coming your way.
*Bonus Damage: Amount of HP from 100 divided by 2*

Skill 2: Rejected Mercy
A Pariah soldier receives their dignity back as they go throughout life, making them able to once again take those steps back into life.
*Regain of Speed Lost from Beginning of Round*

Skill 3: Pariah Armor
Through the emotional scars of rejection throughout life, their armor is the only thing that keeps them from the physical scars.
*Armor Depletion before Health Depletion*

Skill 4: Pariah Bug
The Rejected created a bug virus that links a Pariah with a victim, causing any pain that would be dealt to the Pariah onto their victim instead.
*Aim Ultimate: Causes the victim to receive damage instead of the Pariah as long as they are in range of the link*

Code:
{
    "name"              "Pariah Soldier"
    "author"            "Created By: Zawmbee"
    "shortdescription"  "0"
    "required_level"    "0"
    "maximum_level"     "0"
    "allow_only"        "0"
    "teamlimit"         "0"
    "preloadcmd"        "0"
    "player_spawn_cmd"  "es est_armor event_var(userid) + 100;es wcs_setfx speed event_var(userid) = .5;es_xset pariah_use 0;es es_xkeygetvalue pariah_use WCSuserdata server_var(wcs_userid) pariah_use;es es_xkeysetvalue WCSuserdata event_var(userid) pariah_use 0;es_toptext server_var(wcs_userid) 1 #red A Race By Zawmbee"
    "round_start_cmd"   "0"
    "round_end_cmd"     "0"
    "numberofskills"    "4"
    "numberoflevels"    "5"
    "skillnames"        "Angered Rejection|Rejected Mercy|Pariah Armor||Pariah"
    "skilldescr"        "Emotional Hurt|Regain of Dignity|Shield of the Rejected|Pariah Bug"
    "skillcfg"          "player_attacker|player_spawn|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 40|es_xset wcs_chance 50"
    "racealias_wpsys00" "es est_gethealth hp_count event_var(attacker);if (server_var(hp_count) < 100) then racealias_wpsys01"
    "racealias_wpsys01" "es est_gethealth wcs_damage event_var(attacker);es_xmath wcs_damage - 100;es_xmath wcs_damage / -2;es wcs_dealdamage event_var(attacker) event_var(userid) server_var(wcs_damage);es es_xtell event_var(attacker) You HP level caused server_var(wcs_damage) extra damage."
    "skill1_cmd"        "if (server_var(wcs_dice) <= server_var(wcs_chance)) then racealias_wpsys00"
    "skill1_sfx"        "0"

    "skill2_setting"    "es_xset wcs_speed .1|es_xset wcs_speed .2|es_xset wcs_speed .3|es_xset wcs_speed .4|es_xset wcs_speed .5"
    "skill2_cmd"        "es es_xdelayed 2 wcs_setfx speed event_var(userid) + server_var(wcs_speed);es_xmath server_var(wcs_speed) + .5;es_xmath server_var(wcs_speed) * 100;es es_xtell event_Var(userid) You have regained dignity allowing server_var(wcs_speed) percent of normal speed."
    "skill2_sfx"        "0"

    "skill3_setting"    "es_xset damage_reduction 1|es_xset damage_reduction 2|es_xset damage_reduction 3|es_xset damage_reduction 4|es_xset damage_reduction 5"
    "racealias_armred"  "es est_health event_var(userid) = 100;es est_armor event_var(userid) + server_var(damage_reduction)"
    "skill3_cmd"        "es est_getarmor armor_amount event_var(userid);if (server_var(armor_amount) > 0) then racealias_armred"
    "skill3_sfx"        "0"

    "skill4_setting"    "es_xset wcs_radius 500|es_xset wcs_radius 1000|es_xset wcs_radius 1500|es_xset wcs_radius 2000|es_xset wcs_radius 2500"
    "racealias_pariah"  "es_xsetinfo wcs_exists2 0;es_xsetinfo wcs_hptarget 0;es_xsetinfo wcs_ultinotexec 1;es_xsetinfo wcs_targetid 0;es_xsetinfo wcs_alive1 0;es_xsetinfo wcs_team1 0;es_xsetinfo wcs_team2 0;es_xsetinfo wcs_alive2 0;es est_isalive wcs_alive1 server_var(wcs_userid);es es_xif (server_var(wcs_alive1) = 1) then racealias_pariah1"
    "racealias_pariah1" "es est_getviewplayer server_var(wcs_userid) wcs_targetid;es es_xexists wcs_exists2 userid server_var(wcs_targetid);es est_isalive wcs_alive2 server_var(wcs_targetid);es es_xgetplayerteam wcs_team1 server_var(wcs_userid);es es_xgetplayerteam wcs_team2 server_var(wcs_targetid);racealias_pariah2"
    "racealias_pariah2" "es es_xif (server_var(wcs_exists2) = 1) then es_xif (server_var(wcs_alive2) = 1) then es_xif (server_var(wcs_team1) != server_var(wcs_team2)) then racealias_pariah3"
    "racealias_pariah3" "es_xsetinfo wcs_wall 1;es es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 server_var(wcs_userid);es es_xgetplayerlocation wcs_x2 wcs_y2 wcs_z2 server_var(wcs_targetid);es_xmath wcs_z1 + 50;es_xmath wcs_z2 + 50;es est_getwallbetween wcs_wall server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) server_var(wcs_x2) server_var(wcs_y2) server_var(wcs_z2);es es_xif (server_var(wcs_wall) = 0) then racealias_pariah4"
    "racealias_pariah4" "es_xsetinfo wcs_immunity 0;es es_xkeygetvalue wcs_immunity WCSuserdata server_var(wcs_targetid) ulti_immunity;es es_xif (server_var(wcs_immunity) = 0) then racealias_pariah5;es es_xif (server_var(wcs_immunity) != 0) then es_xtell server_var(wcs_userid) #multi server_var(wcs_lng_ulti_immunity_a);es es_xif (server_var(wcs_immunity) != 0) then es_xtell server_var(wcs_targetid) #multi server_var(wcs_lng_ulti_immunity_v)"
    "racealias_pariah5" "es es_xkeysetvalue WCSuserdata server_var(wcs_userid) 1;es est_setplayercolor server_var(wcs_targetid) 0 0 0 255 1;es es_xtell server_var(wcs_targetid) Pariah Bug Attatched, Feel My Pain.;es es_xtell server_var(wcs_userid) Pariah Bug Attatched.;es es_xkeysetvalue WCSuserdata server_var(wcs_targetid) pariah_bug 1;es es_xkeysetvalue WCSuserdata server_var(wcs_targetid) pariah_bug 1"
    "skill4_cmd"        "es_xset pariah_use 0;es es_xkeygetvalue pariah_use WCSuserdata server_var(wcs_userid) pariah_use;if (server_var(pariah_use) = 0) then racealias_pariah"
    "skill4_sfx"        "0"
// Set According to your liking...
    "ultimate_cooldown" "120"
}

Create a new folder in your event scripts folder called Pariah.
Create a new text document and add the script below to it and name the file Pariah
Add es_load Pariah in your autoexec.cfg

Code:
block load
{
es_xset pariah_use 0
es_Xset pariah_bug 0
}

event player_victim
{
es es_xkeygetvalue pariah_use WCSuserdata event_var(userid) pariah_use
if (server_var(pariah_use) = 1) do
{
  es_xset wcs_team_target 0
  es es_xgetplayerteam wcs_team event_var(userid)
  if (server_var(wcs_team) = 2) do
  {
    es_xset wcs_team_target 3
    es_xset wcs_team_targetn "#c!d"
  }
  if (server_var(wcs_team) = 3) do
  {
    es_xset wcs_team_target 2
    es_xset wcs_team_targetn "#t!d"
  }
  if (server_var(wcs_team_target) != "0") do
  {
    es_xset wcs_pcount 0
    es_getlivingplayercount wcs_pcount server_var(wcs_team_target)
    if (server_var(wcs_pcount) > 0) do
    {
      alias wcs_run_pariah0 "es es_xkeygetvalue pariah_bug WCSuserdata server_var(wcs_targetid) pariah_bug;if (server_var(pariah_bug) = 1) then wcs_run_pariah1"
      alias wcs_run_pariah1 "es_xset pariah_dmg event_var(dmg_health);es wcs_dealdamage event_var(attacker) server_var(wcs_targetid) server_var(pariah_dmg);es_xset pariah_hp 0;es est_gethealth pariah_hp event_var(userid);es est_health event_var(userid) = server_var(pariah_hp)"
      es est_Near wcs_targetid server_var(wcs_team_targetn) server_var(wcs_radius) event_var(userid) "es_exists ex userid server_var(wcs_targetid);if (server_var(ex) = 1) then wcs_run_pariah"
    }
  }
}
}

event player_spawn
{
es es_xkeygetvalue pariah_bug WCSuserdata event_var(userid) pariah_bug
if (server_var(pariah_bug) = 1) do
{
 es es_xkeysetvalue WCSuserdata event_var(userid) pariah_bug 0
}
}

event player_death
{
es es_xkeygetvalue pariah_bug WCSuserdata event_var(userid) pariah_bug
if (server_var(pariah_bug) = 1) do
{
 es es_xkeysetvalue WCSuserdata event_var(userid) pariah_bug 0
}
}

*Please Report any problems you have with the race.  Thank You and Code On!
-Zawmbee
« Last Edit: October 07, 2009, 12:13:10 AM by Zawmbee » Logged


(Anyone who C&P's my races, give credit, TY)
<---TexNo--->
Level 7 Expert
*****
Online Online

Norway

Posts: 604


< Need Help ? >


WWW
texno755 or nichosv
gameren755

myServer 66.55.137.46:27015
(Warning: click connects through Steam)
« Reply #1 on: October 06, 2009, 10:51:58 PM »

Testing ^^
Logged

Selling Race pack, 20 $ 230 Races 50 private races New Stuff, custom stuff private effects.
My Forum.
http://crew-css.darkbb.com/
Yiyas
Level 7 Expert
*****
Offline Offline

United Kingdom

Posts: 172


The name's Bugger. De-Bugger.



no1yiyas
no1yiyas
« Reply #2 on: October 06, 2009, 11:05:46 PM »

Looking nice Zawmbee and getting better each race xD Liking the new check on the health attack.

Did you add Pariah Armour in at last moment? You forgot to add the settings/cfg/name stuff before the skills. I'll give it a shot with that edit and I'll tell you how it goes.

P.S. I have a feeling Halo's Master Cheif is next Tongue
« Last Edit: October 06, 2009, 11:07:57 PM by Yiyas » Logged

Zawmbee
Level 7 Expert
*****
Offline Offline

United States United States

Posts: 575


The GUARDIAN


« Reply #3 on: October 06, 2009, 11:18:06 PM »

Looking nice Zawmbee and getting better each race xD Liking the new check on the health attack.

Did you add Pariah Armour in at last moment? You forgot to add the settings/cfg/name stuff before the skills. I'll give it a shot with that edit and I'll tell you how it goes.

P.S. I have a feeling Halo's Master Cheif is next Tongue

Heh, yeah added it last minute... I fixed it now though...  anyways, dunno what my next race could be... is that a request?
Logged


(Anyone who C&P's my races, give credit, TY)
Zawmbee
Level 7 Expert
*****
Offline Offline

United States United States

Posts: 575


The GUARDIAN


« Reply #4 on: October 07, 2009, 12:14:04 AM »

*Edit*

Had to fix the event player_victim...  Seems I set the wrong team checks, so now they are set up correctly.  Sorry for the inconvenience.
Logged


(Anyone who C&P's my races, give credit, TY)
<---TexNo--->
Level 7 Expert
*****
Online Online

Norway

Posts: 604


< Need Help ? >


WWW
texno755 or nichosv
gameren755

myServer 66.55.137.46:27015
(Warning: click connects through Steam)
« Reply #5 on: October 07, 2009, 12:26:24 AM »

what's the ultimate supposed todo ?
Tryed it, nothing happend.
Logged

Selling Race pack, 20 $ 230 Races 50 private races New Stuff, custom stuff private effects.
My Forum.
http://crew-css.darkbb.com/
Yiyas
Level 7 Expert
*****
Offline Offline

United Kingdom

Posts: 172


The name's Bugger. De-Bugger.



no1yiyas
no1yiyas
« Reply #6 on: October 07, 2009, 12:33:10 AM »

Do you know how to code in blocks? Just the ultimate would be quicker in a block as it has a tonne of if thens.

Also, do you wish me to help you straight out on here pointing out mistakes or talk to you in private and help you along one-to-one?

I believe the ultimate is supposed to "tag" a guy to share damage with, aka i take 5 damage you take 5 damage if he's within a radius. However it's not quite perfect yet.

I would help out more but its bedtime for me. Responsibility! Activate!
« Last Edit: October 07, 2009, 12:55:15 AM by Yiyas » Logged

Zawmbee
Level 7 Expert
*****
Offline Offline

United States United States

Posts: 575


The GUARDIAN


« Reply #7 on: October 07, 2009, 08:50:27 AM »

Do you know how to code in blocks? Just the ultimate would be quicker in a block as it has a tonne of if thens.

Also, do you wish me to help you straight out on here pointing out mistakes or talk to you in private and help you along one-to-one?

I believe the ultimate is supposed to "tag" a guy to share damage with, aka i take 5 damage you take 5 damage if he's within a radius. However it's not quite perfect yet.

I would help out more but its bedtime for me. Responsibility! Activate!

Not share damage with, the guy takes all the damage dealt to you until he dies.  The ultimate script works just fine, it is the same as in the blue devil just modified to fit the script...  I didn't feel like making it a bigger installation for people...

@ Texno:

If you reinstalled after I fixed a mistake, then it should be used when you look at an enemy.  When you look at an enemy, you press the ultimate and it puts a "bug" on him, or in this case a keyset.  It causes all the damage that is supposed to go to you to him, that is if he is still alive...

It is a one time use per round and it is reset to normal when the guy dies or the next spawn comes around...
« Last Edit: October 07, 2009, 08:52:26 AM by Zawmbee » Logged


(Anyone who C&P's my races, give credit, TY)
Pages: [1]   Go Up
  Print  
 
Jump to:  

Last 7 Shouts:
Today at 05:21:37 PM
attachments under topics..
Today at 03:40:13 PM
How do i download race packs? cant see any links or "Download" button
Today at 03:10:16 PM
won't tell you Cheesy
you have to post good stuff and make cool stuff ^^ XА
Today at 09:40:59 AM
How do i get "level up"? Is it just when ive posted enough good stuff or?
October 09, 2009, 10:12:45 PM
"name" "terminate wcs_es"
"skilldescr" "SLAY wcs_es|RAPE wcs_es"

Cheesy:D:D:D
October 09, 2009, 09:59:33 PM
IEpic !!
!!!?!?!!? WHAT I EPC I AWESOE!!!!!!!!!!!!! PWNSSEEEEEE! lol
October 09, 2009, 07:48:40 PM
no i owned you XD
Recent
[Today at 05:51:47 PM]

[Today at 05:50:40 PM]

[Today at 05:22:26 PM]

[Today at 03:25:57 PM]

[Today at 03:17:49 PM]

[Today at 11:55:47 AM]

[Today at 11:33:47 AM]

[Today at 11:30:18 AM]

[Today at 11:23:56 AM]

[Today at 11:05:35 AM]
Theme switch

Powered by MySQL Powered by PHP Powered by SMF 1.1.10 | SMF © 2006-2009, Simple Machines LLC
TinyPortal v0.9.8 © Bloc
Valid XHTML 1.0! Valid CSS!
Page created in 0.116 seconds with 25 queries.