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 2013-04-03 (original capture). Home · Forum · All archived topics · Downloads
April 03, 2013, 08:38:39 AM

Author Topic: [Skill Catalog] Death  (Read 2489 times)

Offline La Muerte

  • Administrator
  • Level 7 Expert
  • *****
  • Posts: 1733
  • Carry On Wayward Son
    • Counterstrike Combat Crew
[Skill Catalog] Death
« on: May 15, 2011, 12:11:13 PM »
Reincarnation:
Show content
Code: [Select]
[[skill3]]
setting        = "es_xset wcs_chance 55|es_xset wcs_chance 65|es_xset wcs_chance 75|es_xset wcs_chance 80"
racealias_oh13 = "es_getplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(userid);es_delayed 4 wcs spawn event_var(userid);es_delayed 4.1 wcs_setfx god event_var(userid) = 1 2.4;es_delayed 5.5 es_xsetpos event_var(userid) server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1);es_delayed 4 wcs_xtell event_var(userid) r_reincarnation"
cmd            = "if (server_var(wcs_dice) <= server_var(wcs_chance)) then wcs_xalias racealias_oh13"
sfx            = ""

Respawn:
Show content
Code: [Select]
[[skill3]]   
        setting = "es_xset wcs_chance 50|es_xset wcs_chance 55|es_xset wcs_chance 56|es_xset wcs_chance 58"
        cmd = "if (server_var(wcs_dice) <= server_var(wcs_chance)) then es_xif (event_var(es_userdead) = 1) then wcs_xalias racealias_respa1"
        racealias_respa1  = "es_getplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(userid);es_delayed 1 wcs spawn event_var(userid) 0;es_delayed 1.2 es_xsetpos event_var(userid) server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1)"
        sfx = ""

Suicide Bomber:
Show content
Code: [Select]
[[skill3]]
setting        = "es_xset wcs_chance 20;es_xset wcs_magnitude 80;es_xset wcs_radius 120|es_xset wcs_chance 30;es_xset wcs_magnitude 80;es_xset wcs_radius 120|es_xset wcs_chance 40;es_xset wcs_magnitude 90;es_xset wcs_radius 140|es_xset wcs_chance 45;es_xset wcs_magnitude 100;es_xset wcs_radius 160|es_xset wcs_chance 50;es_xset wcs_magnitude 110;es_xset wcs_radius 170|es_xset wcs_chance 55;es_xset wcs_magnitude 120;es_xset wcs_radius 170|es_xset wcs_chance 60;es_xset wcs_magnitude 120;es_xset wcs_radius 180|es_xset wcs_chance 100;es_xset wcs_magnitude 130;es_xset wcs_radius 180"
cmd            = "if (server_var(wcs_dice) <= server_var(wcs_chance)) then es_xdoblock wcs/tools/ultimates/default/wcs_ulti_suicide"
sfx            = ""
« Last Edit: May 28, 2011, 07:55:59 AM by La Muerte »
All you need is GTXGaming         
             Recommended by La Muerte

Offline La Muerte

  • Administrator
  • Level 7 Expert
  • *****
  • Posts: 1733
  • Carry On Wayward Son
    • Counterstrike Combat Crew
Re: [Skill Catalog] Death
« Reply #1 on: May 15, 2011, 12:11:20 PM »
Reserved.
All you need is GTXGaming         
             Recommended by La Muerte

Offline $Diablo$

  • Level 7 Expert
  • *****
  • Posts: 637
Re: [Skill Catalog] Death
« Reply #2 on: May 19, 2011, 11:37:02 PM »
this respawn skill is better, other one spawning you everywhere even inside the walls  ;D

Code: [Select]
[[skill3]]   
        setting = "es_xset wcs_chance 50|es_xset wcs_chance 55|es_xset wcs_chance 56|es_xset wcs_chance 58"
        cmd = "if (server_var(wcs_dice) <= server_var(wcs_chance)) then es_xif (event_var(es_userdead) = 1) then wcs_xalias racealias_respawn1"
        racealias_respawn1  = "es_getplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(userid);es_delayed 1 wcs spawn event_var(userid) 0;es_delayed 1.2 es_xsetpos event_var(userid) server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1)"
        sfx = ""

Offline Player3

  • Level 4 Intermediate
  • ****
  • Posts: 94
  • A.F.K.*
Re: [Skill Catalog] Death
« Reply #3 on: January 03, 2012, 09:48:56 AM »
Can we get a Reincarnate that gives you back your guns instead of having to pick them up again, and most importantly, doesnt get you stuck in the roof! Both reincarnations here put you slightly above the position you died in, so if you were under something low, you get stuck inside it D:

Offline HoodedX

  • Level 4 Intermediate
  • ****
  • Posts: 87
  • <3 WCS :)
    • WCSRevolution
Re: [Skill Catalog] Death
« Reply #4 on: January 24, 2012, 02:08:57 AM »
maybe add a few seconds of noclip after the respawn...would be a fun way to amp up to races and i think players would have fun with it.

Offline Player3

  • Level 4 Intermediate
  • ****
  • Posts: 94
  • A.F.K.*
Re: [Skill Catalog] Death
« Reply #5 on: February 18, 2012, 08:26:54 AM »
maybe add a few seconds of noclip after the respawn...would be a fun way to amp up to races and i think players would have fun with it.

People will end up getting even more stuck....

Offline Predz

  • WCS Developer
  • Level 7 Expert
  • *****
  • Posts: 342
  • Warcraft:SPE
Re: [Skill Catalog] Death
« Reply #6 on: February 18, 2012, 12:51:41 PM »
No!

That is pointless. There is a simple way to make this work, and it is to fire 2 checks for the players position in a row. If the players position hasnt changed then teleport them to a position about 20 units lower. As shown in one of my previous races. I will post below how it is done.

Offline Kitteh

  • Level 1 Trained Beginner
  • *
  • Posts: 37
  • <3 WCS :)
Re: [Skill Catalog] Death
« Reply #7 on: February 22, 2012, 11:48:03 AM »
awesome thankyou

Offline Player3

  • Level 4 Intermediate
  • ****
  • Posts: 94
  • A.F.K.*
Re: [Skill Catalog] Death
« Reply #8 on: February 25, 2012, 06:12:28 PM »
I will post below how it is done.

Please do... :)

Offline nev3r

  • Level 0 Beginner
  • Posts: 8
  • <3 WCS :)
Re: [Skill Catalog] Death
« Reply #9 on: March 27, 2013, 05:52:10 PM »
is it safe to respawn spectator?

Offline Deathkilla

  • Level 7 Expert
  • *****
  • Posts: 831
    • Elite-Gamers Community
Re: [Skill Catalog] Death
« Reply #10 on: March 27, 2013, 11:24:42 PM »
why would you do that?
Visit Elite Gamers Today!
www.Elite-Gamers.org




Offline nev3r

  • Level 0 Beginner
  • Posts: 8
  • <3 WCS :)
Re: [Skill Catalog] Death
« Reply #11 on: March 28, 2013, 01:29:48 PM »
why would you do that?

Its not about why would i do that, its about if that will happen accidentally?

I'm not a friend with eventscripts, and sometimes bug fixing/writing something drives me crazy, so I'm here to ask, why you guys not checking if playerTeam != spec.


Offline Masteraviv13

  • Level 7 Expert
  • *****
  • Posts: 307
  • Python remains a bitch, though I will never quit
    • <a href="http://alwaysfunkilling.com" title="An evolution of modern combat">Always Fun Killing</a>]<a href="http://alwaysfunkilling.com" title="An evolution of modern combat">Always Fun Killing<
Re: [Skill Catalog] Death
« Reply #12 on: March 28, 2013, 02:22:32 PM »
Not sure if it would give troubles..
But yes indeed, an extra "check" shouldn't give problems:

Code: [Select]
[[skill3]]   
        setting = "es_xset wcs_chance 50|es_xset wcs_chance 55|es_xset wcs_chance 56|es_xset wcs_chance 58"
        cmd = "if (server_var(wcs_dice) <= server_var(wcs_chance)) then es_xif (event_var(es_userdead) = 1) then wcs_xalias racealias_respa1"
        racealias_respa1  = "es_getplayerteam wcs_team event_var(userid); if (server_var(wcs_team) = 2 then wcs_xalias racealias_respa1;if (server_var(wcs_team) = 3 then wcs_xalias racealias_respa1"
        racealias_respa2  = "es_getplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(userid);es_delayed 1 wcs spawn event_var(userid) 0;es_delayed 1.2 es_xsetpos event_var(userid) server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1)"
        sfx = ""




Offline nev3r

  • Level 0 Beginner
  • Posts: 8
  • <3 WCS :)
Re: [Skill Catalog] Death
« Reply #13 on: March 28, 2013, 02:42:18 PM »
Thank you, Masteraviv13, i will replace every respawn skill with this and tell if i get any problems:)

Offline Masteraviv13

  • Level 7 Expert
  • *****
  • Posts: 307
  • Python remains a bitch, though I will never quit
    • <a href="http://alwaysfunkilling.com" title="An evolution of modern combat">Always Fun Killing</a>]<a href="http://alwaysfunkilling.com" title="An evolution of modern combat">Always Fun Killing<
Re: [Skill Catalog] Death
« Reply #14 on: March 28, 2013, 03:01:36 PM »
Your welcome!
Anyway, I didn't test it,

Forgive me if I made a mistake but It shouldn't ;p
I'm pretty more into ESP in stead of classic ES lately ;)