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 2010-02-04 (original capture). Home · Forum · All archived topics · Downloads
Warcraft-Source.com - WCS mod for CSS
February 05, 2010, 12:42:38 AM *
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.
Google  
  Home   Forum   Help Search Login Register   *
Pages: [1] 2   Go Down
  Print  
Author Topic: Help with "Ying Yang"  (Read 191 times)
Killa
Level 3 Trained Apprentice
***
Offline Offline

Germany Germany

Posts: 69



« on: September 23, 2009, 07:14:57 PM »

Code
GeSHi (eventscripts):
"14"                                  
 {
   "name"              "Ying Yang"          
   "author"            "Damakex"          
   "shortdescription"  "Find you balance."              
   "required_level"    "180"            
   "maximum_level"     "0"            
   "allow_only"        "0"
   "teamlimit"         "0"            
   "preloadcmd"        "0"              
   "player_spawn_cmd"  "0"              
   "round_start_cmd"   "0"              
   "round_end_cmd"     "0"              
   "numberofskills"   "3"
   "numberoflevels"    "8"            
   "skillnames"        "Balance Of Dark|Balanace Of Light|Balance"    
   "skilldescr"        "Blinds your enemy for one to three seconds depending on your skill level.|You provide your team whit 10-50 more health.|Use a small potion of health."    
   "skillcfg"          "player_attacker|player_spawn|player_ultimate"
 
   "skill1_setting" "es_xset wcs_time 1|es_xset wcs_time 1.2|es_xset wcs_time 1.4|es_xset wcs_time 1.6|es_xset wcs_time 1.8|es_xset wcs_time 2.2|es_xset wcs_time 2.5|es_xset wcs_time 3"
   "racealias_yy1" "es est_Fade event_var(victim) 0 server_var(wcs_time) 5 2 0 0 220"
   "skill1_cmd"    "es es_xif (server_var(wcs_dice) <= 30) then racealias_yy1;es es_xif (server_var(wcs_dice) <= 30) then es_xtell event_var(attacker)#multi #greenBalance Of Dark God: You have blinded event_var(es_username) for server_var(wcs_time).;es es_xif (server_var(wcs_dice) <= 30) then es_xtell event_var(victim) #multi #lightgreenBalance Of Dark God: You have been blinded by event_var(es_attackername) for server_var(wcs_time)"
   "skill1_sfx"        "es es_xgetplayerlocation wcs_x2 wcs_y2 wcs_z2 event_var(userid);es es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(attacker);es est_Effect 3 #a 0 sprites/lgtning.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) 2 8 6 100 155 255 255;es est_effect 3 #a 0 sprites/halo01.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) 2 5 5 50 20 255 255;es est_Effect 3 #a 0 sprites/glow.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) 2 5 5 0 0 255 255;racealias_bod1"
   "racealias_bod1" "es_xmath wcs_y1 + 50;es est_effect 3 #a 0 sprites/halo01.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) 2 5 5 50 20 255 255;es_xmath wcs_y1 - 100;es est_Effect 3 #a 0 sprites/glow.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) 2 5 5 0 0 255 255;es est_playplayer event_var(userid) weapons/hegrenade/explode4.wav"
 
   "skill2_setting"    "es_xset wcs_teamhp 10;es_xset wcs_alpha 50|es_xset wcs_teamhp 20;es_xset wcs_alpha 60|es_xset wcs_teamhp 25;es_xset wcs_alpha 70|es_xset wcs_teamhp 30;es_xset wcs_alpha 80|es_xset wcs_teamhp 35;es_xset wcs_alpha 90|es_xset wcs_teamhp 40;es_xset wcs_alpha 100|es_xset wcs_teamhp 45;es_xset wcs_alpha 110|es_xset wcs_teamhp 50;es_xset wcs_alpha 120"
   "skill2_cmd"        "es es_xif (server_var(wcs_team) = 2) then es est_Healthadd #T!C server_var(wcs_teamhp);es es_xif (server_var(wcs_team) = 3) then es est_Healthadd #C!T server_var(wcs_teamhp); es_tell event_var(userid)#multi #LightgreenBalanace Of Light God: Your team gained #GreenHP"
   "skill2_sfx"        "es es_xif (server_var(wcs_rand) <= 10) then es_xdelayed 3 est_effect 11 #a 0 sprites/purpleglow1.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 1 3.5 150"
 
   "skill3_setting"    "es_xset wcs_hpmana 15|es_xset wcs_hpmana 17|es_xset wcs_hpmana 19|es_xset wcs_hpmana 21|es_xset wcs_hpmana 23|es_xset wcs_hpmana 25|es_xset wcs_hpmana 27|es_xset wcs_hpmana 29"
   "skill3_cmd"        "es es_xgetmoney wcs_money server_var(wcs_userid);es es_xif (server_var(wcs_money) >= 100) then est_cash server_var(wcs_userid) - 100;es es_xif (server_var(wcs_money) >= 100) then est_Health server_var(wcs_userid) + server_var(wcs_hpmana);es es_xif (server_var(wcs_money) >= 100) then es_tell server_var(wcs_userid)#multi #lightgreenBalance God: #greenYou get some healt but its cost."
   "skill3_sfx"        "es est_effect 4 #a 0 sprites/tp_beam001.vmt server_var(wcs_userid) 3 3 3 50 255 0 25 255;es es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 server_var(wcs_userid);es_xmath wcs_z1 + 340;es est_effect 10 #a 0 models/effects/splodecard2_sheet.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 550 100 5 750 200 0 155 115 100 200 30"
   "ultimate_cooldown" "25"
}

You can't blind someone with this race...
Any ideas?
I think this is the mistake:  sprites/halo01.vmt
Isn't there something other for blind?
Logged
VIPPERS Colt
Level 7 Expert
*****
Offline Offline

Brazil Brazil

Posts: 244



« Reply #1 on: September 23, 2009, 07:35:55 PM »

get a perfect working blind skill and then copy and paste, ^^
Logged
Killa
Level 3 Trained Apprentice
***
Offline Offline

Germany Germany

Posts: 69



« Reply #2 on: September 23, 2009, 07:41:17 PM »

Where to find a perfect working blind skill? Tongue
Logged
<---Texno--->
Level 7 Expert
*****
Offline Offline

Norway

Posts: 1003


< Need Help ? >


WWW
texno755
gameren755

myServer 83.142.49.95:27015
(Warning: click connects through Steam)
« Reply #3 on: September 23, 2009, 07:48:07 PM »

Inn all other races with blind skill.
Logged

Killa
Level 3 Trained Apprentice
***
Offline Offline

Germany Germany

Posts: 69



« Reply #4 on: September 23, 2009, 07:53:10 PM »

Ok.
Trying it with Mani's Admin blind skill.
I'll post if it does (not) work.
Logged
<---Texno--->
Level 7 Expert
*****
Offline Offline

Norway

Posts: 1003


< Need Help ? >


WWW
texno755
gameren755

myServer 83.142.49.95:27015
(Warning: click connects through Steam)
« Reply #5 on: September 23, 2009, 08:06:09 PM »

you will need mani admin for that.
Logged

Killa
Level 3 Trained Apprentice
***
Offline Offline

Germany Germany

Posts: 69



« Reply #6 on: September 23, 2009, 08:56:28 PM »

I have 200 races but there are some bugs...
Btw it's done!!
No problems anymore with Ying Yang!
Thx!!
Logged
VIPPERS Colt
Level 7 Expert
*****
Offline Offline

Brazil Brazil

Posts: 244



« Reply #7 on: September 23, 2009, 11:47:15 PM »

killa you shouldn't have more then 130 races, it can lag the server.
Logged
Yiyas
Level 7 Expert
*****
Offline Offline

United Kingdom

Posts: 261


The name's Bugger. De-Bugger.



no1yiyas
no1yiyas
« Reply #8 on: September 24, 2009, 06:13:41 AM »

es est_Fade event_var(victim)

>>

es est_Fade event_var(userid)

There are MANY mistakes in the 200races file, I admire your conviction.
« Last Edit: September 24, 2009, 06:23:20 AM by Yiyas » Logged

M.R.
Level 5 Trained Intermediate
*****
Offline Offline

Denmark Denmark

Posts: 104




ansix

myServer 77.92.67.252:27016
(Warning: click connects through Steam)
« Reply #9 on: September 24, 2009, 07:29:48 AM »

Yeah there is really many bugs with the 200 race pack.
I have fixed alot of them, at my old server. But their is still many left..
Logged

<---Texno--->
Level 7 Expert
*****
Offline Offline

Norway

Posts: 1003


< Need Help ? >


WWW
texno755
gameren755

myServer 83.142.49.95:27015
(Warning: click connects through Steam)
« Reply #10 on: September 24, 2009, 11:03:55 AM »

i have a uniqe 230 race pack, that doesen't lagg the server.
Logged

Killa
Level 3 Trained Apprentice
***
Offline Offline

Germany Germany

Posts: 69



« Reply #11 on: September 24, 2009, 01:54:48 PM »

@ VIPPERS Colt

Atm there are 30 races on my server.
I'll update it each week with new races fixing them at the same time.
So I can see how much is ok.

Btw: I've played on a Server with 180 races without lags. Smiley
Logged
Yiyas
Level 7 Expert
*****
Offline Offline

United Kingdom

Posts: 261


The name's Bugger. De-Bugger.



no1yiyas
no1yiyas
« Reply #12 on: September 24, 2009, 07:20:52 PM »

In the 200 races pack I can make it so I deal over 10000 in every shot on every race and if you buy vampire with that it gives you +5000 hp... Not laggy, no, and good fun, yes, but that's buggy.
Logged

Volkano,
Level 3 Trained Apprentice
***
Offline Offline

Brazil Brazil

Posts: 67




[RankBr] Volkano
Don't have
« Reply #13 on: September 24, 2009, 09:19:57 PM »

Hey Colt, you can have some lag with races because of excessive sfx (spawn sfx at the most, because when the round starts and depending on how many people are online it take some time to save the wcs and everything , and with that sfx it can lag a bit) , wrong race coding and maybe some non-working script.
Logged

<---Texno--->
Level 7 Expert
*****
Offline Offline

Norway

Posts: 1003


< Need Help ? >


WWW
texno755
gameren755

myServer 83.142.49.95:27015
(Warning: click connects through Steam)
« Reply #14 on: September 24, 2009, 09:52:15 PM »

In the 200 races pack I can make it so I deal over 10000 in every shot on every race and if you buy vampire with that it gives you +5000 hp... Not laggy, no, and good fun, yes, but that's buggy.
wow, really you are pro coder man :O
buying 5000 hp wow...


not
Logged

Pages: [1] 2   Go Up
  Print  
 
Jump to:  

Last 7 Shouts:
February 04, 2010, 10:14:46 PM
Anyone know the if there is a code where if some kills someone with a knife they get hp and speed?
February 04, 2010, 02:33:47 AM
Sup?
February 04, 2010, 02:33:37 AM
hey Ghost
February 04, 2010, 01:44:10 AM
hey dark
February 02, 2010, 10:43:30 AM
Yap, he mean eventscripter xD
February 02, 2010, 01:03:48 AM
Eventscripter. lol
February 02, 2010, 12:23:17 AM
A WCS scripter?
Recent
[February 04, 2010, 10:41:39 PM]

[February 04, 2010, 09:26:55 PM]

[February 04, 2010, 06:11:26 PM]

[February 04, 2010, 06:10:45 PM]

[February 04, 2010, 05:54:42 PM]

[February 04, 2010, 03:16:50 PM]

[February 04, 2010, 12:44:51 AM]

[February 03, 2010, 11:57:35 PM]

[February 03, 2010, 11:17:14 PM]

[February 03, 2010, 09:50:54 PM]
Theme switch

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