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-07-11 (original capture). Home · Forum · All archived topics · Downloads
Warcraft-Source.com - WCS mod for CSS
July 11, 2009, 11:01:17 PM *
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] 2 3 ... 5   Go Down
  Print  
Current Topic Rating: **** You have not rated this topic. Select a rating:
Author Topic: Scorpion  (Read 3492 times)
HOLLIDAY
<Race Maker>
Moderator
Level 7 Master
*****
Offline Offline

Posts: 2168



WWW
Wc3_HOLLIDAY_Wc3
wc3hollidaywc3

myServer 8.2.0.222:27015
(Warning: click connects through Steam)
« on: June 12, 2007, 02:42:57 PM »


download the zip at the bottom and drag the folder to your sound folder
makes all the difference....lol

  • Bloody Spear : Impale a Kunai tiped Rope into your enemy and pull them towards you
  • Hellfire :Summon the fires of Hell to burn your enemy
  • Back Teleport : Teleport to the enemy that hit you
  • Teleport Attack : Teleport behind your enemy


Code:
""
   {
    "name"              "Scorpion"
    "author"            "HOLLIDAY"
    "required_level"    "20"
    "maximum_level"     "0"
    "allow_only"        "0"
    "teamlimit"         "0"
    "teamlimit"         "0"
    "preloadcmd"        "0"
    "player_spawn_cmd"  "es est_playplayer event_var(userid) Hollidaysounds/welcome.wav"
    "round_start_cmd"   "0"
    "round_end_cmd"     "0"
    "numberofskills"    "4"
    "numberoflevels"    "5"
    "skillnames"        "Bloody Spear|Hellfire|Back Teleport|Teleport Attack"
    "skilldescr"        "Impale a Kunai tiped Rope into your enemy and pull them towards you|Summon the fires of Hell to burn your enemy|Teleport to the enemy that hit you|Teleport behind your enemy"
    "skillcfg"          "player_attacker|player_attacker|player_victim|player_ultimate"

    "skill1_setting"    "es_xsetinfo wcs_chance 28|es_xsetinfo wcs_chance 33|es_xsetinfo wcs_chance 30|es_xsetinfo wcs_chance 45|es_xsetinfo wcs_chance 50"
    "skill1_cmd"        "es es_xif (server_var(wcs_dice) <= server_var(wcs_chance)) then es est_playplayer event_var(userid) Hollidaysounds/getoverhere.wav 1.0;es es_xgetplayerlocation wcs_x2 wcs_y2 wcs_z2 event_var(userid);es es_xif (server_var(wcs_dice) <= 10) then est_isalive wcs_alive event_var(userid);est_spawn event_var(userid);es es_xif (server_var(wcs_rand) <= 10) then est_teleport event_var(userid) server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1);es es_xif (server_var(wcs_rand) <= 10) then es_xtell event_var(userid) : Get Over Here!."
    "skill1_sfx"        "es es_xif (server_var(wcs_dice) <= server_var(wcs_chance)) then es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(attacker);es es_xif (server_var(wcs_dice) <= server_var(wcs_chance)) then es_xgetplayerlocation wcs_x2 wcs_y2 wcs_z2 event_var(userid);es_xmath wcs_z1 + 20;es_xmath wcs_z2 + 20;es es_xif (server_var(wcs_dice) <= server_var(wcs_chance)) then est_Effect 3 #a 0 sprites/tp_beam001.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) 1 2 5 255 151 67 255"
  
    "skill2_setting"    "es_xrand wcs_rand 1 5;es_xrand wcs_damage 7 10|es_xrand wcs_rand 1 4;es_xrand wcs_damage 9 11|es_xrand wcs_rand 1 3;es_xrand wcs_damage 10 13|es_xrand wcs_rand 1 2;es_xrand wcs_damage 12 14|es_xrand wcs_rand 1 1;es_xrand wcs_damage 15 18"
    "racealias_scorp2"  "es wcs_dealdamage event_var(attacker) event_var(userid) server_var(wcs_damage);es est_csay event_var(attacker) HellFire!;es est_csay event_var(userid)HellFire!"
    "skill2_cmd"        "es es_xif (server_var(wcs_rand) = 1) then est_isalive wcs_alive event_var(userid);es es_xif (server_var(wcs_rand) = 1) then es_xif (server_var(wcs_alive) = 1) then racealias_scorp2"
    "skill2_sfx"        "es es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(userid);es est_effect 10 #a 0 sprites/flatflame.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 50 350 2 90 200 0 155 155 155 155 2;es es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(userid);es_xmath wcs_z1 + 15;es est_effect 11 #a 0 sprites/flatflame.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 3 3 255;es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(attacker);es es_xif (server_var(wcs_dice) <= 15) then es_xgetplayerlocation wcs_x2 wcs_y2 wcs_z2 event_var(userid);es es_xif (server_var(wcs_dice) <= 15) then es_xif (server_var(wcs_alive) = 1) then est_Effect 3 #a 0 sprites/flatflame.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) 1 3 6 100 255 55 255"
   
    "skill3_setting"    "es_xsetinfo wcs_chance 28|es_xsetinfo wcs_chance 33|es_xsetinfo wcs_chance 30|es_xsetinfo wcs_chance 45|es_xsetinfo wcs_chance 50"
    "skill3_cmd"        "es es_xif (server_var(wcs_dice) <= server_var(wcs_chance)) then es es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(userid);es es_xif (server_var(wcs_dice) <= 10) then est_isalive wcs_alive event_var(userid);est_spawn event_var(userid);es es_xif (server_var(wcs_dice) <= 10) then est_teleport event_var(userid) server_var(wcs_x2) server_var(wcs_y2) server_var(wcs_z2);es es_xif (server_var(wcs_dice) <= 10) then es_xtell event_var(userid) : Teleport Attack ."
    "skill3_sfx"        "es es_xif (server_var(wcs_dice) <= server_var(wcs_chance)) then es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(attacker);es es_xif (server_var(wcs_dice) <= server_var(wcs_chance)) then es_xgetplayerlocation wcs_x2 wcs_y2 wcs_z2 event_var(userid);es_xmath wcs_z1 + 20;es_xmath wcs_z2 + 20;es es_xif (server_var(wcs_dice) <= server_var(wcs_chance)) then est_Effect 3 #a 0 sprites/tp_beam001.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) 1 2 5 255 151 67 255"
  
    "skill4_setting"    "es_xsetinfo wcs_chance 28|es_xsetinfo wcs_chance 33|es_xsetinfo wcs_chance 30|es_xsetinfo wcs_chance 45|es_xsetinfo wcs_chance 50"
    "skill4_cmd"        "es es_xif (server_var(wcs_dice) <= server_var(wcs_chance)) then es es_xgetplayerlocation wcs_x2 wcs_y2 wcs_z2 server_var(wcs_userid);es es_xif (server_var(wcs_dice) <= 10) then est_isalive wcs_alive server_var(wcs_userid);est_spawn server_var(wcs_userid);es es_xif (server_var(wcs_rand) <= 10) then est_teleport server_var(wcs_userid) server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1);es es_xif (server_var(wcs_rand) <= 10) then es_xtell server_var(wcs_userid) : teleported."
    "skill4_sfx"        "es es_xif (server_var(wcs_dice) <= server_var(wcs_chance)) then es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(attacker);es es_xif (server_var(wcs_dice) <= server_var(wcs_chance)) then es_xgetplayerlocation wcs_x2 wcs_y2 wcs_z2 server_var(wcs_userid);es_xmath wcs_z1 + 20;es_xmath wcs_z2 + 20;es es_xif (server_var(wcs_dice) <= server_var(wcs_chance)) then est_Effect 3 #a 0 sprites/tp_beam001.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) 1 2 5 255 151 67 255"
    "ultimate_cooldown" "25"

dont forget the zip..... ......
                             

 drag_this_folder_to_your_sound_folder.zip (31.7 KB - downloaded 261 times.)

 de_dust20351.jpg (166.13 KB, 800x600 - viewed 200 times.)
« Last Edit: September 18, 2007, 06:50:59 PM by HOLLIDAY » Logged


RJ2002
Level 0 Beginner

Offline Offline

Germany Germany

Posts: 8



« Reply #1 on: June 14, 2007, 08:31:19 PM »

Hi,

I´m knew in this forum but read it for a while now.
First of all, you made some really good races. We have 7 of them on our server.

Today we tried this one. But we had a lott of trouble with it.
The Blood Spear Skill teleported the opponent back to spawn.
The Ultimate teleported me into walls or high up in the air but not behind or near an enemy.
I´m not so deep in coding races but we want that race working.

Do you have any suggestions??
Thanks
Logged
Real_Wolf
WCS Supporter
Level 7 Master
*****
Offline Offline

New Zealand New Zealand

Posts: 639


« Reply #2 on: June 15, 2007, 02:37:49 AM »

I'd take a look at it, but with that 'code' section thingy its very difficult for me to easily edit it and pick up whats wrong.

And i'm too lazy to copy and paste it elsewhere.

Copy out the skills that don't work and say just why they don't work with as much specifics as possible and i'll do my best to fix it.
Logged

=|[K|T]|= Real Wolf

HOLLIDAY
<Race Maker>
Moderator
Level 7 Master
*****
Offline Offline

Posts: 2168



WWW
Wc3_HOLLIDAY_Wc3
wc3hollidaywc3

myServer 8.2.0.222:27015
(Warning: click connects through Steam)
« Reply #3 on: June 15, 2007, 04:10:47 AM »

i was trying to figure out what was wrong
and came to the conclusion that this is job for Real_Wolf...lol
i was just gonna ask you to look at it then saw your post

when i test most my races i have a few bots in the server
that i bot_zombie so that its easier to tell if the skills work and easier to see the sfx
well the bots are always at ct spawn so i never seen it teleport them back to spawn,cos their always at thier spawn
when their there the skill works fine
what it is suposed to do is teleport them when their hit and respawn them at the attackers location (like scorpions Get over here bloody spear move from mortak kombat)((even put the sound with that one if you download the zip))
it works if thir already at their spawn, they disapear  and reapear either right in fron of you or right behind you, would like to make it always infront,but no big deal
the main thing is that if thier not at spawn it teleports them back to spawn
here is the skill

Code:
"skill1_setting"    "es_xsetinfo wcs_chance 28|es_xsetinfo wcs_chance 33|es_xsetinfo wcs_chance 30|es_xsetinfo wcs_chance 45|es_xsetinfo wcs_chance 50"
    "skill1_cmd"        "es es_xif (server_var(wcs_dice) <= server_var(wcs_chance)) then es est_playplayer event_var(userid) Hollidaysounds/getoverhere.wav 1.0;es es_xgetplayerlocation wcs_x2 wcs_y2 wcs_z2 event_var(userid);es es_xif (server_var(wcs_dice) <= 10) then est_isalive wcs_alive event_var(userid);est_spawn event_var(userid);es es_xif (server_var(wcs_rand) <= 10) then est_teleport event_var(userid) server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1);es es_xif (server_var(wcs_rand) <= 10) then es_xtell event_var(userid) : Get Over Here!."
    "skill1_sfx"        "es es_xif (server_var(wcs_dice) <= server_var(wcs_chance)) then es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(attacker);es es_xif (server_var(wcs_dice) <= server_var(wcs_chance)) then es_xgetplayerlocation wcs_x2 wcs_y2 wcs_z2 event_var(userid);es_xmath wcs_z1 + 20;es_xmath wcs_z2 + 20;es es_xif (server_var(wcs_dice) <= server_var(wcs_chance)) then est_Effect 3 #a 0 sprites/tp_beam001.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) 1 2 5 255 151 67 255"
  



and the ultimate is a copy of the same skill  just reversed so you teleport and respawn to them
again when i tested it the bots were at thier spawn and the <x><y><z>  teleported me right to them
turns out it always teleports you to enemy spawn and not the enemy
so i would probably need a hole new code for that one
if you could make it right that would be awesome but the first kill is the main thing

thanks for offering to have a look

by that 'code' section thingy, you mean the scrolling box?
i hate that thing i just use it cos people were saying to when i wasent.
i was looking over the code and i think i found the problem, well a mistake anyway dont know if it is the problem still have to test it
the first half of the code i hade chance and the second i put rand instead.
i guess that would explain why it happend so much
but i dont think it caused the teleporting problem
here it is after i fixed the rand part



 "skill1_setting"    "es_xsetinfo wcs_chance 28|es_xsetinfo wcs_chance 33|es_xsetinfo wcs_chance 30|es_xsetinfo wcs_chance 45|es_xsetinfo wcs_chance 50"
    "skill1_cmd"        "es es_xif (server_var(wcs_dice) <= server_var(wcs_chance)) then es est_playplayer event_var(userid) Hollidaysounds/getoverhere.wav 1.0;es es_xgetplayerlocation wcs_x2 wcs_y2 wcs_z2 event_var(userid);es es_xif (server_var(wcs_dice) <= 10) then est_isalive wcs_alive event_var(userid);est_spawn event_var(userid);es es_xif (server_var(wcs_dice) <= 10) then est_teleport event_var(userid) server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1);es es_xif (server_var(wcs_dice) <= 10) then es_xtell event_var(userid) : Get Over Here!."
    "skill1_sfx"        "es es_xif (server_var(wcs_dice) <= server_var(wcs_chance)) then es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(attacker);es es_xif (server_var(wcs_dice) <= server_var(wcs_chance)) then es_xgetplayerlocation wcs_x2 wcs_y2 wcs_z2 event_var(userid);es_xmath wcs_z1 + 20;es_xmath wcs_z2 + 20;es es_xif (server_var(wcs_dice) <= server_var(wcs_chance)) then est_Effect 3 #a 0 sprites/tp_beam001.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) 1 2 5 255 151 67 255"
   
« Last Edit: June 15, 2007, 11:51:44 AM by HOLLIDAY » Logged


RJ2002
Level 0 Beginner

Offline Offline

Germany Germany

Posts: 8



« Reply #4 on: June 15, 2007, 12:08:50 PM »

There is one thing i dont understand in the Blood Spear skill. Why spawn?
Quote
...then est_isalive wcs_alive event_var(userid);est_spawn event_var(userid);es es_xif (server_var(wcs_rand...
Could this be the prob? I think its not necessary to spawn the victim again, just teleport it to the position.
(Will try that tomorrow)

To the Ultimate Skill:
We tried this on on de_dust and met in the middle of the map. I tried the Ultimate and it worked. Then we ran in different directions. I tried the Ultimate again and where teleported to the 1st time location.
Hitting the Ultimate from spawn point teleported either t and ct to ct´s spawn 10 feet over ground.(we melted together Cheesy)
Maybe the script dont get the right player positions?
Logged
HOLLIDAY
<Race Maker>
Moderator
Level 7 Master
*****
Offline Offline

Posts: 2168



WWW
Wc3_HOLLIDAY_Wc3
wc3hollidaywc3

myServer 8.2.0.222:27015
(Warning: click connects through Steam)
« Reply #5 on: June 15, 2007, 02:28:04 PM »

i added the spawn because i could only get it to teleport in the direction of the attacker and not all the way to him
thats what i was going for originally,but the spawn seemed to work pretty good
and it acually does work good if you and the enemy are at enemy spawn
ill see what i can do to fix it
hope fully Real_Wolf takes a look at it
 he probably spot the problem in a second
Logged


Snake
WCS ESP Dev Team
Level 5 Trained Intermediate

Offline Offline

Sweden

Posts: 142




leo_93123
leo93123
« Reply #6 on: June 15, 2007, 09:25:21 PM »

A new nice race  :-D Continue make races HOLLIDAY, only so you know, im your biggest fan  Tongue
Logged

Wcs,Wcs,Wcs,Wcs,Wcs,Wcs,Wcs,Wcs,Wcs,Wcs,Wcs,Wcs,Wcs,Wcs!
Real_Wolf
WCS Supporter
Level 7 Master
*****
Offline Offline

New Zealand New Zealand

Posts: 639


« Reply #7 on: June 16, 2007, 05:09:01 AM »

uh, this code is really weird

  "skill1_cmd"        "es es_xif (server_var(wcs_dice) <= server_var(wcs_chance)) then es est_playplayer event_var(userid) Hollidaysounds/getoverhere.wav 1.0;es es_xgetplayerlocation wcs_x2 wcs_y2 wcs_z2 event_var(userid);es es_xif (server_var(wcs_dice) <= 10) then est_isalive wcs_alive event_var(userid);est_spawn event_var(userid);es es_xif (server_var(wcs_dice) <= 10) then est_teleport event_var(userid) server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1);es es_xif (server_var(wcs_dice) <= 10) then es_xtell event_var(userid) : Get Over Here!."

Theres your original, i'm gonna recode it with racealias's to make it easier (always useful when you use if statements alot).

  "skill1_setting"  "yadayada"
  "racealias_hook_main"  "es est_playplayer event_var(userid) Hollidaysounds/getoverhere.wav 1.0;es es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(userid);es es_xgetplayerlocation wcs_x2 wcs_y2 wcs_z2 event_var(attacker);racealias_checkdirection;es ma_teleport event_var(userid) server_var(wcs_x2) server_var(wcs_y2) server_var(wcs_z2);es es_xtell event_var(userid) #green Get Over Here!;es es_xtell event_var(attacker) #green Get Over Here!;es es_xdelayed 0.1 est_setaim event_var(attacker) event_var(userid) -5"
  "racealias_checkdirection"  "es es_xmath wcs_x1 - server_var(wcs_x2);es es_xmath wcs_y1 - server_var(wcs_y2);es es_xif (server_var(wcs_x1 >= 0 ) then es_xmath wcs_x2 + 10;es es_xif (server_var(wcs_y1 >= 0 ) then es_xmath wcs_y2 + 10;es es_xif (server_var(wcs_x1 < 0 ) then es_xmath wcs_x2 - 10;es es_xif (server_var(wcs_y1 < 0 ) then es_xmath wcs_y2 - 10"
  "skill1_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_alive) = 1) then racealias_commands"


There ya go.

That should work if i haven't made a mistake somewhere.

Basically oyu had the wrong letters for wcs_x2, you set it to x1, then used x2.
That was the simple bit of the problem.

I used mani to teleport, since est_teleport doesn't have wall-dodge so you can crash the server possibly with it.
I added in a small little command i made of my own that will make it so that they appear in FRONT of the attacker, not behind them. I also added an est_setaim so that 0.1 seconds after it activates your aim will be on them, making it slightly easier to keep up the tracking so you don't get shocked by it.

If their too close change the +10 to something bigger, i never understood just how far things were, i just test it till it works.

If you wanna post the ultimate like you did this i'll take a look at it, it shouldn't be too hard to do.
Logged

=|[K|T]|= Real Wolf

RJ2002
Level 0 Beginner

Offline Offline

Germany Germany

Posts: 8



« Reply #8 on: June 16, 2007, 09:16:57 AM »

This one works real fine now. In the original checkdirection alias the +10 is to close i think, will try with +20 later. Skill works with all waepons.

One thing more to say to the Ultimate. I found out today that it teleports you to your "former round ending  position".(sorry for the bad english)
« Last Edit: June 16, 2007, 09:23:39 AM by RJ2002 » Logged
HOLLIDAY
<Race Maker>
Moderator
Level 7 Master
*****
Offline Offline

Posts: 2168



WWW
Wc3_HOLLIDAY_Wc3
wc3hollidaywc3

myServer 8.2.0.222:27015
(Warning: click connects through Steam)
« Reply #9 on: June 16, 2007, 12:44:42 PM »

WOW!! Nice!
 love the est_setaim. makes it alot better.without it you would hit the player and then have to look for them again.
the skill works awesome now,thanks for fixing it.
they are a little too close,they go right into you and get stuck for a second
ill test it to what is a good number

alot of times when im testing sfx i will set the skill as an ultimate so that i can see the sfx with a push of a button,well i was testing the sfx on that first skill and the result of the command teleported me right behind the enemy
thought i just got lucky on that one
but it seems to just teleport you to enemyspawn, or into walls

the idea is to disapear and reapear behind the enemy
if the enemy is always at spawn then i works just how i wanted it to..lol
since thier not the skill dosent really work how it says...

i think to really do it right you would need to do an est_near  type thing witch i know nothing about
or i their an easier way?


Logged


FiveSevenTD
Level 2 Apprentice
**
Offline Offline

United States United States

Posts: 41



« Reply #10 on: June 17, 2007, 05:21:58 AM »

someone repost the newly re-edited version.
Logged

Morph
Level 6 Experienced
******
Offline Offline

United Kingdom

Posts: 183



« Reply #11 on: June 17, 2007, 12:14:15 PM »

yeh lol i want the new one, im gunna put this skill into another race hopefully, awesome idea holiday, and now its working!
Logged
HOLLIDAY
<Race Maker>
Moderator
Level 7 Master
*****
Offline Offline

Posts: 2168



WWW
Wc3_HOLLIDAY_Wc3
wc3hollidaywc3

myServer 8.2.0.222:27015
(Warning: click connects through Steam)
« Reply #12 on: June 17, 2007, 01:18:17 PM »

not completly the es_xmath needs to be adjusted and the ultimate is..........
i dont know about the ultimate... not shure how it does what it does
at spawn it will teleport you to enemy spawn at one point when you have damage done, if you press ultimate after that it will teleport you back to where you were hurt..........and sends you into walls sometimes too......when i first tested it it seemed to be fine

THANKS! to Real_Wolf the first skill works fine just need to adjust the +10,as Real_Wolf siad.

.i tried 20 and it seems to be the same. is 20 a big difference from 10?
not shure i did it right i only changed th +10's
so it looks like this


 "racealias_sp1"     "es es_xmath wcs_x1 - server_var(wcs_x2);es es_xmath wcs_y1 - server_var(wcs_y2);es es_xif (server_var(wcs_x1 >= 0 ) then es_xmath wcs_x2 + 20;es es_xif (server_var(wcs_y1 >= 0 ) then es_xmath wcs_y2 + 20;es es_xif (server_var(wcs_x1 < 0 ) then es_xmath wcs_x2 - 10;es es_xif (server_var(wcs_y1 < 0 ) then es_xmath wcs_y2 - 10"
Logged


Real_Wolf
WCS Supporter
Level 7 Master
*****
Offline Offline

New Zealand New Zealand

Posts: 639


« Reply #13 on: June 18, 2007, 03:17:10 AM »

yeah, to be more specific, you need to change the + and -, since the + and - are just saying <x> distance in front.

and 20 is twice the distance from 10, but since you only changed one what it will do is if their in the positive direction from you, it'll do 20, if their in the negative, it'll only do 10.

Post the ultimate out here as it is, not in that little code-box, its annoying.
And then i'll work on it, i always find it easier if i have the base-code, even though i rewrite the whole thing from scratch.

And you teleporting into walls is a result of est_teleport, which is why i used ma_teleport, its alot safer
Logged

=|[K|T]|= Real Wolf

HOLLIDAY
<Race Maker>
Moderator
Level 7 Master
*****
Offline Offline

Posts: 2168



WWW
Wc3_HOLLIDAY_Wc3
wc3hollidaywc3

myServer 8.2.0.222:27015
(Warning: click connects through Steam)
« Reply #14 on: June 18, 2007, 03:54:37 AM »

 "skill4_setting"    "es_xsetinfo wcs_chance 28|es_xsetinfo wcs_chance 33|es_xsetinfo wcs_chance 30|es_xsetinfo wcs_chance 45|es_xsetinfo wcs_chance 50"
    "skill4_cmd"        "es es_xif (server_var(wcs_dice) <= server_var(wcs_chance)) then es es_xgetplayerlocation wcs_x2 wcs_y2 wcs_z2 server_var(wcs_userid);es es_xif (server_var(wcs_dice) <= 10) then est_isalive wcs_alive server_var(wcs_userid);est_spawn server_var(wcs_userid);es es_xif (server_var(wcs_rand) <= 10) then est_teleport server_var(wcs_userid) server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1);es es_xif (server_var(wcs_rand) <= 10) then es_xtell server_var(wcs_userid) : teleported."
    "skill4_sfx"        "es es_xif (server_var(wcs_dice) <= server_var(wcs_chance)) then es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(attacker);es es_xif (server_var(wcs_dice) <= server_var(wcs_chance)) then es_xgetplayerlocation wcs_x2 wcs_y2 wcs_z2 server_var(wcs_userid);es_xmath wcs_z1 + 20;es_xmath wcs_z2 + 20;es es_xif (server_var(wcs_dice) <= server_var(wcs_chance)) then est_Effect 3 #a 0 sprites/tp_beam001.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) 1 2 5 255 151 67 255"
    "ultimate_cooldown" "25"
Logged


Pages: [1] 2 3 ... 5   Go Up
  Print  
 
Jump to:  

Last 7 Shouts:
Today at 06:57:11 AM
is there anyplace i can get help with maps? ive made a map recently but its crashin css everytime a person trys to load it
July 10, 2009, 02:22:30 PM
go in a forum; go into a topic; down below youll find a reply button
July 10, 2009, 02:15:52 PM
can anyone help me i dont know how to post posts.
July 10, 2009, 02:15:40 PM
sup fellas
July 10, 2009, 01:39:30 PM
dashi619 read pm i send you
July 10, 2009, 12:48:28 PM
help?
July 10, 2009, 10:22:56 AM
ME Tongue
Recent
[Today at 10:51:38 PM]

[Today at 10:39:32 PM]

[Today at 10:13:01 PM]

[Today at 09:25:35 PM]

[Today at 09:18:30 PM]

by M.R.
[Today at 05:16:58 PM]

[Today at 05:05:18 PM]

[Today at 05:04:31 PM]

[Today at 03:13:53 PM]

[Today at 08:29:32 AM]
Theme switch

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