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 2008-12-06 (original capture). Home · Forum · All archived topics · Downloads
Warcraft-Source.com - WCS mod for CSS
December 06, 2008, 12:13:22 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   Go Down
  Print  
This topic has not yet been rated! You have not rated this topic. Select a rating:
Author Topic: recode of multiple respawn skill  (Read 427 times)
HOLLIDAY
<Race Maker>
Watchdogs
Level 7 Expert
*****
Offline Offline

Posts: 1907



WWW
Wc3_HOLLIDAY_Wc3
wc3hollidaywc3

myServer 8.2.0.222:27015
(Warning: click connects through Steam)
« Reply #15 on: April 18, 2008, 04:50:13 AM »

the only part of the skill that works is the command
"est_spawn event_var(userid)"

all text in this skill will activate on player_death, if thats the skill_cfg for the skill
the only valid command with correct syntax is "est_spawn event_var(userid)"

es_xgetplayerlocation wont activate becaue it says
"event round_start es es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(userid)"
so it dosent save any coords,then it gives god mod for .3 seconds and trys to teleport the player to invalid coords

if you just want it respawn the player then

         
Code:
"skill2_setting"    "0"
    "skill2_cmd"        "es est_spawn event_var(userid) 1"
    "skill2_sfx"        "0"
   
Logged


  connect 8.2.0.222:27015
[H.F.M.]Rasmus{Chef}
WCS Supporter
Level 7 Expert
*****
Offline Offline

Denmark Denmark

Posts: 889




Rasmus4J
rasmus4j

myServer 85.190.17.115:27015
(Warning: click connects through Steam)
« Reply #16 on: April 19, 2008, 12:24:06 AM »

listen, it works god damn it!!
Logged

HOLLIDAY
<Race Maker>
Watchdogs
Level 7 Expert
*****
Offline Offline

Posts: 1907



WWW
Wc3_HOLLIDAY_Wc3
wc3hollidaywc3

myServer 8.2.0.222:27015
(Warning: click connects through Steam)
« Reply #17 on: April 19, 2008, 02:38:58 AM »

, i understand that it works...it respawns you with the command est_spawn
everything els is just pointless code filling your consol with errors
Logged


  connect 8.2.0.222:27015
mobsi
Level 7 Expert
*****
Offline Offline

Germany Germany

Posts: 207



« Reply #18 on: April 19, 2008, 12:12:15 PM »

xD the code is too easy for not to think that that cant be all xD
Logged

better the devil you know than the devil you don't
Berettonawak
Level 7 Expert
*****
Offline Offline

France France

Posts: 795


Big Berettonawak is watching you...


WWW
Berettonawak
Berettonawak

myServer 81.93.59.99:30000
(Warning: click connects through Steam)
« Reply #19 on: April 19, 2008, 12:20:19 PM »

that is all, but you won't spawn where you died and theres no sfx.
that is why this code is so short.
Logged

[H.F.M.]Rasmus{Chef}
WCS Supporter
Level 7 Expert
*****
Offline Offline

Denmark Denmark

Posts: 889




Rasmus4J
rasmus4j

myServer 85.190.17.115:27015
(Warning: click connects through Steam)
« Reply #20 on: April 19, 2008, 03:14:07 PM »

Quote
Posted by: Berettonawak
Insert Quote
that is all, but you won't spawn where you died and theres no sfx.
that is why this code is so short.

you know that it works, right Berettonawak?
Logged

Berettonawak
Level 7 Expert
*****
Offline Offline

France France

Posts: 795


Big Berettonawak is watching you...


WWW
Berettonawak
Berettonawak

myServer 81.93.59.99:30000
(Warning: click connects through Steam)
« Reply #21 on: April 19, 2008, 04:05:18 PM »

this must work!
if it doesnt work, then reinstall your est...
Logged

[H.F.M.]Rasmus{Chef}
WCS Supporter
Level 7 Expert
*****
Offline Offline

Denmark Denmark

Posts: 889




Rasmus4J
rasmus4j

myServer 85.190.17.115:27015
(Warning: click connects through Steam)
« Reply #22 on: April 19, 2008, 04:49:32 PM »

thank you!
Holliday, if you dont believe me, then try using in it a race and test on your own server.
Logged

Espeladden
Pwning ultra sexy beastly hot legend
Level 7 Expert
*****
Offline Offline

Norway

Posts: 588



WWW
Gastingor
Mursat

myServer 74.86.98.64:27017
(Warning: click connects through Steam)
« Reply #23 on: April 24, 2008, 08:01:19 PM »

Just like HOLLIDAY said, there is a lot of pointless coding here.
The one he posted is easiest.
It was a good idea tho
Logged

seconds
Level 4 Intermediate
****
Offline Offline

United States United States

Posts: 83



« Reply #24 on: April 24, 2008, 10:10:50 PM »

the only part of the skill that works is the command
"est_spawn event_var(userid)"

all text in this skill will activate on player_death, if thats the skill_cfg for the skill
the only valid command with correct syntax is "est_spawn event_var(userid)"

es_xgetplayerlocation wont activate becaue it says
"event round_start es es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(userid)"
so it dosent save any coords,then it gives god mod for .3 seconds and trys to teleport the player to invalid coords

if you just want it respawn the player then

         
Code:
"skill2_setting"    "0"
    "skill2_cmd"        "es est_spawn event_var(userid) 1"
    "skill2_sfx"        "0"
   


"es est_spawn event_var(userid) 1"   does the 1 mean you will respawn once? if you change the 1 will it increase respawns?
Logged
Rotgutts
Level 7 Expert
*****
Offline Offline

United States United States

Posts: 292


Krechure Feature



b0n3s212
Merzlin
« Reply #25 on: April 24, 2008, 11:33:34 PM »

No, its more like an activating number, 0 would mean no respawn and 1 would mean you would respawn
Logged


Join our clan today!
HOLLIDAY
<Race Maker>
Watchdogs
Level 7 Expert
*****
Offline Offline

Posts: 1907



WWW
Wc3_HOLLIDAY_Wc3
wc3hollidaywc3

myServer 8.2.0.222:27015
(Warning: click connects through Steam)
« Reply #26 on: April 25, 2008, 01:43:14 AM »

the 1 forces the command,if the player was alive and you used est_spawn the 1 is needed
Logged


  connect 8.2.0.222:27015
seconds
Level 4 Intermediate
****
Offline Offline

United States United States

Posts: 83



« Reply #27 on: April 25, 2008, 03:52:12 AM »

ok then useing this set of code can i have a variable set to a number and my cmd look at that number execut the "es est_spawn event_var(userid) 1" and subtract from the variable

set my variable to 3 have a "es est_spawn event_var(userid) 1" occur and then subtract 1 from the 3
Logged
Berettonawak
Level 7 Expert
*****
Offline Offline

France France

Posts: 795


Big Berettonawak is watching you...


WWW
Berettonawak
Berettonawak

myServer 81.93.59.99:30000
(Warning: click connects through Steam)
« Reply #28 on: April 25, 2008, 07:26:01 AM »

Won't work.
The 1 only means that he will respawn, even if he is alive.
Logged

seconds
Level 4 Intermediate
****
Offline Offline

United States United States

Posts: 83



« Reply #29 on: April 25, 2008, 05:01:16 PM »

i realize that now but in that post i was saying could i not have a line of code that set a revive count and have it deduct 1 from the count for evry revive?
Logged
Pages: 1 [2] 3   Go Up
  Print  
 
Jump to:  

Last 7 Shouts:
December 04, 2008, 09:57:56 PM
gg
December 04, 2008, 09:46:16 PM
hey guys, how are you?
gonna sleep, cya tomorrow
December 03, 2008, 12:45:48 PM
@ bombkill : all mods should be compatible with WCS... but we can't be sure
@retrokboy : css server? provider? other mods?
December 03, 2008, 01:49:25 AM
I NEED SERVER HELP MY FORUM IS IN BUG REPORT PLEASE REPLY I NEED HALP
December 02, 2008, 10:05:01 PM
does anyone know where all the wcs compatible mods are listed or a website i can find them
December 02, 2008, 08:24:47 PM
/agree
Recent
[Today at 09:15:37 AM]

[Today at 08:33:01 AM]

[Today at 12:26:04 AM]

[December 05, 2008, 10:26:03 PM]

[December 05, 2008, 08:10:32 PM]

[December 05, 2008, 07:51:01 PM]

[December 05, 2008, 07:33:12 PM]

[December 05, 2008, 07:11:25 PM]

[December 05, 2008, 06:44:09 PM]

[December 05, 2008, 12:14:07 PM]
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.057 seconds with 27 queries.