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:26:13 PM *
Welcome, Guest. Please login or register.
Login with username, password and session length
News: Remember to check on the FAQ before start posting.
It may save you time and effort.
Also here is the WCS Wiki!
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 428 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 #30 on: April 26, 2008, 09:12:13 AM »

you can do that by setting keyvalues
off the top of my head i think this will work..........
this should let you respawn 4 times when maxed.....player_death

Code:
"skill1_setting" "es_xsetinfo spawncount 1|es_xsetinfo spawncount 2|es_xsetinfo spawncount 3|es_xsetinfo spawncount 4"
"skill1_cmd"  "es_xsetinfo respawncount 0;es es_xkeygetvalue respawncount WCSuserdata event_var(userid) respawncount;es es_xif (server_var(respawncount) > 0) then racealias_respawn3"
"racealias_respawn3" "es_xmath spawncount - 1;es es_xkeysetvalue WCSuserdata event_var(userid) respawncount server_var(spawncount);es est_spawn event_var(userid) 1"
Logged


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

United States United States

Posts: 83



« Reply #31 on: April 26, 2008, 07:41:47 PM »

sweet ty... ill add it to my race and test
Logged
seconds
Level 4 Intermediate
****
Offline Offline

United States United States

Posts: 83



« Reply #32 on: May 05, 2008, 06:56:53 PM »

this responce is a bit late but iv re organized the skill and would like to know what you think (also i think there was an error)

Code:
"skill1_setting" "es_xsetinfo spawncount 1|es_xsetinfo spawncount 2|es_xsetinfo spawncount 3|es_xsetinfo spawncount 4"
"skill1_cmd"  "es_xsetinfo respawncount 0;es es_xkeygetvalue respawncount WCSuserdata event_var(userid) respawncount;es es_xif (server_var(spawncount) > 0) then racealias_respawn3"
"racealias_respawn3" "es es_xkeysetvalue WCSuserdata event_var(userid) respawncount server_var(spawncount);es est_spawn event_var(userid) 1;es_xmath spawncount - 1"

in your code the end of the cmd had an incorrect server_var i think it was respawncount insted of spawncount

so?
Logged
mobsi
Level 7 Expert
*****
Offline Offline

Germany Germany

Posts: 207



« Reply #33 on: May 14, 2008, 01:01:24 PM »

just btw the code is nearly the same that i already postet ^^

man you really have to read through the whole post next time
Logged

better the devil you know than the devil you don't
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.04 seconds with 25 queries.