February 17, 2020, 03:41:23 PM

Author Topic: Re: Original and custom race :D  (Read 4539 times)

Offline Dark Phoenix

  • Level 5 Trained Intermediate
  • *****
  • Posts: 118
Re: Original and custom race :D
« on: November 19, 2008, 09:36:23 PM »
1) ty 2) my friend added this 2 his server and the ulti no work 4 sure also maybe full of souls dusnt
Three days grace is the best band ever and if you disagree u got a screw loose in your head.So put that screw back in and listen to some three days grace!

___________________________________________________

95% of teens would cry if they saw the Jonas Brothers at the top of a skyscraper about to jump. Copy and paste this EVERYWHERE if you are in the 5% that would shout 'Jump' .

Offline Maxxi

  • Level 7 Expert
  • *****
  • Posts: 1485
Re: Original and custom race :D
« Reply #1 on: November 19, 2008, 09:43:18 PM »
when you make an ultimate you use wcs_userid instead of just userid and you have to set your team and target to or else you will attack everyone close enough

Code: [Select]
if (server_var(wcs_team) = 2) then es_xset wcs_team #c!d;if (server_var(wcs_team) = 3) then es_xset wcs_team #t!d
« Last Edit: November 19, 2008, 10:15:22 PM by maxxi »

Offline Dark Phoenix

  • Level 5 Trained Intermediate
  • *****
  • Posts: 118
Re: Original and custom race :D
« Reply #2 on: November 19, 2008, 10:08:14 PM »
i wuz kind of intending on hurting all around but oh well ill try it anyways
Three days grace is the best band ever and if you disagree u got a screw loose in your head.So put that screw back in and listen to some three days grace!

___________________________________________________

95% of teens would cry if they saw the Jonas Brothers at the top of a skyscraper about to jump. Copy and paste this EVERYWHERE if you are in the 5% that would shout 'Jump' .

Offline Maxxi

  • Level 7 Expert
  • *****
  • Posts: 1485
Re: Original and custom race :D
« Reply #3 on: November 19, 2008, 10:28:54 PM »
so that means you will also burn yourself?

Offline Messiah118

  • Level 0 Beginner
  • Posts: 17
Re: Original and custom race :D
« Reply #4 on: November 19, 2008, 10:43:02 PM »
Now when you say burnt, do you mean catch on fire or wat cause i may have a solution.
Its lonely at the top, id rather be alone, cause the closest people to ya are gonna do ya harm.

Offline Dark Phoenix

  • Level 5 Trained Intermediate
  • *****
  • Posts: 118
Re: Original and custom race :D
« Reply #5 on: November 19, 2008, 10:43:35 PM »
basically catch on fire
yah like the burn command

BTW if u can plz test the race
Three days grace is the best band ever and if you disagree u got a screw loose in your head.So put that screw back in and listen to some three days grace!

___________________________________________________

95% of teens would cry if they saw the Jonas Brothers at the top of a skyscraper about to jump. Copy and paste this EVERYWHERE if you are in the 5% that would shout 'Jump' .

Offline Messiah118

  • Level 0 Beginner
  • Posts: 17
Re: Original and custom race :D
« Reply #6 on: November 19, 2008, 10:57:35 PM »
OK so
Code: [Select]
"skill3_setting" "es_xsetinfo wcs_chance 27|es_xsetinfo wcs_chance 30|es_xsetinfo wcs_chance 31|es_xsetinfo wcs_chance 35"
"racealias_ha3a" "es est_burn event_var(userid) 1"
"skill3_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_ha3a"
"skill3_sfx" "es es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(userid);es_xmath wcs_player + 50;es est_effect 11 #a 0 sprites/fire.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 1 1 255;es_xmath wcs_y1 + 50;es est_effect 11 #a 0.5 sprites/fire.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 3 0.5 255;es_xmath wcs_x1 + 50;es est_effect 11 #a 1 sprites/fire.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 3 0.5 255"
ok this is da burn comand but the hard part would be puttin it in ulti
Its lonely at the top, id rather be alone, cause the closest people to ya are gonna do ya harm.

Offline Dark Phoenix

  • Level 5 Trained Intermediate
  • *****
  • Posts: 118
Re: Original and custom race :D
« Reply #7 on: November 19, 2008, 11:02:16 PM »
i know burn command all i need 2 do is 2 put it in ulti
Three days grace is the best band ever and if you disagree u got a screw loose in your head.So put that screw back in and listen to some three days grace!

___________________________________________________

95% of teens would cry if they saw the Jonas Brothers at the top of a skyscraper about to jump. Copy and paste this EVERYWHERE if you are in the 5% that would shout 'Jump' .

Offline Maxxi

  • Level 7 Expert
  • *****
  • Posts: 1485
Re: Original and custom race :D
« Reply #8 on: November 19, 2008, 11:03:30 PM »
i think i got it working now but then its only the enemy team if you want it to be everyone you will have to change it then?

Offline Dark Phoenix

  • Level 5 Trained Intermediate
  • *****
  • Posts: 118
Re: Original and custom race :D
« Reply #9 on: November 19, 2008, 11:06:11 PM »
yup
 plz tell me the code
Three days grace is the best band ever and if you disagree u got a screw loose in your head.So put that screw back in and listen to some three days grace!

___________________________________________________

95% of teens would cry if they saw the Jonas Brothers at the top of a skyscraper about to jump. Copy and paste this EVERYWHERE if you are in the 5% that would shout 'Jump' .

Offline Maxxi

  • Level 7 Expert
  • *****
  • Posts: 1485
Re: Original and custom race :D
« Reply #10 on: November 19, 2008, 11:10:44 PM »
it's a block it is easier then :P

Code: [Select]
"skill1_setting"    "es_xset wcs_radius 100|es_xset wcs_radius 200|es_xset wcs_radius 300|es_xset wcs_radius 400|es_xset wcs_radius 500"
"skill1_cmd"        "es_xdoblock wcs/WCSultimates/wcs_ulti_storm"
"skill1_sfx"        "0"
"ultimate_cooldown" "0"

Code: [Select]
block wcs_ulti_storm
{
wcs_debuglog wcs_ulti_storm start
  es_xset wcs_team_target 0
  es_getplayerteam wcs_team server_var(wcs_userid)
  // check teams (T=2, CT=3)
  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
    {
      es_xset wcs_wall "1"
      alias wcs_run_ulti_storm1 "es_getplayerlocation wcs_x1 wcs_y1 wcs_z1 server_var(wcs_userid);es_getplayerlocation 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);if (server_var(wcs_wall) = 0) then wcs_run_ulti_blizzard2"
      alias wcs_run_ulti_storm2 "es_xset wcs_immunity 0;es_keygetvalue wcs_immunity WCSuserdata server_var(wcs_targetid) ulti_immunity;if (server_var(wcs_immunity) = 0) then wcs_run_ulti_blizzard3;if (server_var(wcs_immunity) = 0) then wcs_run_ulti_blizzard4;if (server_var(wcs_immunity) != 0) then es_xtell server_var(wcs_userid) #multi server_var(wcs_lng_ulti_immunity_a);if (server_var(wcs_immunity) != 0) then es_xtell server_var(wcs_targetid) #multi server_var(wcs_lng_ulti_immunity_v)"
      alias wcs_run_ulti_storm3 "es_xmath wcs_counter + 1;es est_burn server_var(wcs_targetid) 2"
      es_xset wcs_counter 0
      es est_Near wcs_targetid server_var(wcs_team_targetn) server_var(wcs_radius) server_var(wcs_userid) "es_exists ex userid server_var(wcs_targetid);if (server_var(ex) = 1) then wcs_run_ulti_blizzard1"

      es es_xif (server_var(wcs_counter) > 0) do
      {
        esnq est_csay server_var(wcs_userid) Fire Storm has hit server_var(wcs_counter) players!
      }
            es_xelse do
            {
            es_xsetinfo wcs_ultinotexec 1
            }
     
      }
            es_xelse do
            {
            es_xsetinfo wcs_ultinotexec 1
            }
      }
            es es_xif (server_var(wcs_ultinotexec) = 1) then es_xtell server_var(wcs_userid) #multi #greenFire Storm failed no players close enough!
            es es_xif (server_var(wcs_ultinotexec) = 0) then es_xtell server_var(wcs_userid) #multi #greenFire Storm has hit server_var(wcs_counter) player(s)!
            es es_xif (server_var(wcs_ultinotexec) = 0) then es_xtell server_var(wcs_targetid) #multi #greenFire Storm has hit you, you are now burning for 2 seconds!
            }
      wcs_debuglog wcs_ulti_storm end
}

you can still change things like radius, time and the messages ;)

Offline Dark Phoenix

  • Level 5 Trained Intermediate
  • *****
  • Posts: 118
Re: Original and custom race :D
« Reply #11 on: November 19, 2008, 11:16:07 PM »
Nice job man Ty so much :D (ur awesome)

Edit how 2 do the block to server thing??
(is it WCS/WCSultimates/es_WCSultimates.txt
)??
Three days grace is the best band ever and if you disagree u got a screw loose in your head.So put that screw back in and listen to some three days grace!

___________________________________________________

95% of teens would cry if they saw the Jonas Brothers at the top of a skyscraper about to jump. Copy and paste this EVERYWHERE if you are in the 5% that would shout 'Jump' .

Offline Maxxi

  • Level 7 Expert
  • *****
  • Posts: 1485
Re: Original and custom race :D
« Reply #12 on: November 19, 2008, 11:19:56 PM »
yes place in under the last block :)

Offline Dark Phoenix

  • Level 5 Trained Intermediate
  • *****
  • Posts: 118
Re: Original and custom race :D
« Reply #13 on: November 19, 2008, 11:20:46 PM »
ty so much :D
Three days grace is the best band ever and if you disagree u got a screw loose in your head.So put that screw back in and listen to some three days grace!

___________________________________________________

95% of teens would cry if they saw the Jonas Brothers at the top of a skyscraper about to jump. Copy and paste this EVERYWHERE if you are in the 5% that would shout 'Jump' .

Offline Maxxi

  • Level 7 Expert
  • *****
  • Posts: 1485
Re: Original and custom race :D
« Reply #14 on: November 19, 2008, 11:23:59 PM »
ty so much :D
your welcome :)
im trying to learn to code better so if i help and it works it's helping me to :D