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-29 (original capture). Home · Forum · All archived topics · Downloads
Warcraft-Source.com - WCS mod for CSS
October 29, 2009, 10:31:34 AM *
Welcome, Guest. Please login or register.
Login with username, password and session length
News: Races and Items added into Download section from our great Race Coders!
Such as... HOLLIDAY|NovaKiller|Stinkyfax|Frodo|TeacherCreature|Phat_Wizard
Google  
  Home   Forum   Help Search Login Register   *
Pages: [1]   Go Down
  Print  
This topic has not yet been rated! You have not rated this topic. Select a rating:
Author Topic: [Race] Bounty  (Read 287 times)
WCA | Hiro [DK]
Level 7 Expert
*****
Offline Offline

Denmark Denmark

Posts: 156




6500
chipsnsparx
« on: May 01, 2009, 05:56:56 PM »

Code type: Race
Name: Bounty Hunter
Compatible: .77 and ES 2.0
Dependency: I don't think, that this race requires anything
Description: Well I got this Idea from lots of movies. First some crime serie, where some bounty hunter, were involved, then from the movie "Hitman" (which I also have a race on, but nvm).
What is Custom: I think that all of the races would be difined as custom, since no1 have used those before.
I think there is a other  called "Bounty Hunter" but I did not see the race, after I made it, and none of the skills have been copied from the other race. And it has been slightly changed from the previous version, I made.

Code:
{
    "name"              "Bounty Hunter"
    "author"            "Hiro"
    "required_level"    "350"
    "maximum_level"     "0"
    "allow_only"        "0"
    "teamlimit"         "0"
    "preloadcmd"        "0"   
    "player_spawn_cmd"  "0"
    "round_start_cmd"   "0"
    "round_end_cmd"     "0"
    "numberofskills"    "3"
    "numberoflevels"    "6"
    "skillnames"        "Confidention|Headhunter|Collect the Bounty"
    "skilldescr"        "Your speed increases for each level|Headshots do more damage|You get extra exp and Money from each kill"
"skillcfg"          "player_spawn|player_attacker|player_attacker"

   "skill1_setting"    "es_xsetinfo wcs_chance 15|es_xsetinfo wcs_chance 25|es_xsetinfo wcs_chance 30|es_xsetinfo wcs_chance 45|es_xsetinfo wcs_chance 55|es_xsetinfo wcs_chance 70"
    "skill1_cmd"        "es_xdoblock wcs/WCSultimates/confidention"
    "skill1_sfx"        "0"

    "skill2_setting"    "es_xset wcs_chance 15;es_xsetinfo wcs_multiplier 1.2|es_xset wcs_chance 20;es_xsetinfo wcs_multiplier 1.5|es_xset wcs_chance 25;es_xsetinfo wcs_multiplier 1.8|es_xset wcs_chance 30;es_xsetinfo wcs_multiplier 2|es_xset wcs_chance 40;es_xsetinfo wcs_multiplier 2.2|es_xset wcs_chance 50;es_xsetinfo wcs_multiplier 2.5"
    "skill2_cmd"        "es_xdoblock wcs/WCSultimates/headshot_dmg"
    "skill2_sfx"        "if (event_var(hitgroup) = 1) then es est_effect 4 #a 0 sprites/lgtning.vmt event_var(userid) 2 2 4 10 115 0 255 205"

"skill3_setting"    "es_xset wcs_chance 90;es_xrand wcs_sucxp 0 50;es_xsetinfo wcs_money 500|es_xset wcs_chance 80;es_xrand wcs_sucxp 10 60;es_xsetinfo wcs_money 1000|es_xset wcs_chance 70;es_xrand wcs_sucxp 20 70;es_xsetinfo wcs_money 2000|es_xset wcs_chance 60;es_xrand wcs_sucxp 30 80;es_xsetinfo wcs_money 3000|es_xset wcs_chance 50;es_xrand wcs_sucxp 40 90;es_xsetinfo wcs_money 4000|es_xset wcs_chance 40;es_xrand wcs_sucxp 50 100;es_xsetinfo wcs_money 5000"
"skill3_cmd"        "es_xdoblock wcs/WCSultimates/collect_bounty"
"skill3_sfx"        "if (server_var(wcs_dice) <= 30) then es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(attacker);if (server_var(wcs_dice) <= 30) then es_xgetplayerlocation wcs_x2 wcs_y2 wcs_z2 event_var(userid);if (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) 0.5 40 40 255 200 0 255"

And this goes into the es_WCSultimates.txt
copy and paste this at the buttom of the file
Code:
block confidention
{
  es est_gethealth wcs_tmp event_var(userid)
  es est_GetSpeed wcs_tmp1 event_var(attacker)
  if(event_var(health) = 0) do
  {
    if (server_var(wcs_dice) <= server_var(wcs_chance)) do
{
  es_math wcs_tmp1 - 0.2
  es est_Speed event_var(attacker) server_var(wcs_tmp1)
  es_tell event_var(attacker) #multi #lightgreenYou feel your agility has #greenAdvanced
  es est_playplayer event_var(attacker) ambient/machines/teleport3.wav
}
if (server_var(wcs_dice) <= server_var(wcs_chance)) do
{
  es_getplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(attacker)
  es_getplayerlocation wcs_x2 wcs_y2 wcs_z2 event_var(userid)
  es_math wcs_z1 + 50
  es est_Effect 10 #a 0 sprites/steam1.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 90 150 3 20 5 2 255 0 255 200 1
  es_math wcs_z1 + 50
  es_math wcs_z2 + 30
  es est_Effect 3 #a 0 effects/strider_bulge_dudv_dx60.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 3 13 255 0 255 255
}
  }
}

block headshot_dmg
{
  if (event_var(hitgroup) = 1) do
  {
    es_setinfo wcs_dmg 0
    es_set wcs_dmg event_var(dmg_health)
    es_xmath wcs_dmg float
    es_math wcs_dmg * server_var(wcs_multiplier)
    es est_RoundDecimal wcs_dmg server_var(wcs_dmg) 0
wcs_getlanguage wcs_lng wcs_lng_damage
esnq est_csay event_var(attacker) + server_var(wcs_dmg) server_var(wcs_lng)
esnq est_csay event_var(userid) + server_var(wcs_dmg) server_var(wcs_lng)
    es_tell event_var(attacker) #multi #lightgreen You #greenWounded #lightgreenyour target!
    es_tell event_var(userid) #multi #lightgreenThere is a #greenBounty Hunter #lightgreenafter you!
  }
}

block collect_bounty
{
  es wcs_givexp event_var(attacker) server_var(wcs_sucxp)
  if (event_var(es_userdead) == 1) do
  {
    if (server_var(wcs_dice) <= server_var(wcs_chance)) do
    {
      es wcs_givexp event_var(attacker) server_var(wcs_sucxp)
      es_tell event_var(attacker) #multi #lightgreenYou collected the #greenBounty Exp
      es est_playplayer event_var(attacker) ambient/machines/teleport3.wav
      es playerset addcash event_var(userid) server_var(wcs_money)
      es_tell event_var(attacker) #multi #lightgreenYou collected the #greenBounty Money
    }
  }
}
Logged
CA AvasT
Level 7 Expert
*****
Offline Offline

Brazil Brazil

Posts: 451




doug_tiozao
« Reply #1 on: May 01, 2009, 06:00:24 PM »

my brother said that ¬¬' he is a dunk forget it!
Nice job!
Logged

Stinkyfax
I <3 WCS
Level 7 Expert
*****
Offline Offline

United Kingdom

Posts: 1890



WWW
Xrushiov

myServer 84.55.62.45:27016
(Warning: click connects through Steam)
« Reply #2 on: May 01, 2009, 06:05:12 PM »

We define C/P races as: banal and primitive. This one looks so.
I will probably move it to unapproved section since it has nothing special.
In other case this new structure will just become same junked with simple races section like the one we have already.
Logged



CA AvasT
Level 7 Expert
*****
Offline Offline

Brazil Brazil

Posts: 451




doug_tiozao
« Reply #3 on: May 01, 2009, 06:09:00 PM »

Yes, thats what my brother said, this one looks simple!
Approved races might be something CUSTOM!
Logged

Stinkyfax
I <3 WCS
Level 7 Expert
*****
Offline Offline

United Kingdom

Posts: 1890



WWW
Xrushiov

myServer 84.55.62.45:27016
(Warning: click connects through Steam)
« Reply #4 on: May 01, 2009, 09:26:42 PM »

Unapproved.
Reason: Too simple, nothing special.
Logged



CA.Berettonawak
Le renommé méconnu...
Watchdogs
Level 7 Expert
*****
Offline Offline

France France

Posts: 2650


Big Berettonawak is watching you...


WWW
Bifkids
« Reply #5 on: May 01, 2009, 10:54:31 PM »

Unapproved.
Reason: Too simple, nothing special.
/agree but why not an approved C/P section?
Logged

Quote from: N0life
Beret, keep yourself focusing on 1 project. Be sure to memorize that down since it sounds good.
Quote from: myself
i love tuna juice Cheesy
Quote from: Pietro
=CA= Pietro: back
=CA= Pietro: sorry, was downstair sharing my chocolate with my cat
=CA= Pietro: you should see his face when he ate it xD
Quote from: myself
=CA= Berettonawak: just because you don't have hope doesn't mean we're doomed
CA AvasT
Level 7 Expert
*****
Offline Offline

Brazil Brazil

Posts: 451




doug_tiozao
« Reply #6 on: May 01, 2009, 11:13:26 PM »

yes maybe it will be cool!
Logged

Pages: [1]   Go Up
  Print  
 
Jump to:  

Last 7 Shouts:
Today at 09:19:00 AM
lol Tongue
still awake though in the USA?
no work today?
Today at 09:15:34 AM
wtf woah... i didnt see that you guys talking about me.... but its k idk what you guys talking about..so im in good mood right now lol
Today at 09:12:55 AM
lol zawmb, sorry it was really dissing (if my dictionnary gave me the right meaning about this word)... chuck is a nice guy and i didn't say it bad, but still... it wasn't a random sentence i made Tongue
October 28, 2009, 07:43:27 PM
can anyone check this out....http://www.youtube.com/user/vadik24
October 28, 2009, 06:42:52 PM
Zoras, don't diss someone you aren't educated enough to "diss".  Berett said he only watched stargate for the past year and stargate alone and asked if anyone else had done the same.  He did not 'diss' chuck in any way.
October 28, 2009, 06:26:24 PM
What section should I post my set of races? Mah friend shut down his server, so I figure I'll just make 'em public.
October 28, 2009, 12:03:53 PM
Dont diss my homie Chuck ;]
Recent
[Today at 09:32:16 AM]

[Today at 09:29:45 AM]

[Today at 09:18:21 AM]

[Today at 09:14:35 AM]

[Today at 08:53:39 AM]

[Today at 05:41:49 AM]

[Today at 03:34:21 AM]

[Today at 03:33:46 AM]

[Today at 03:25:46 AM]

[Today at 02:04:47 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.105 seconds with 25 queries.