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-01-16 (original capture). Home · Forum · All archived topics · Downloads
Warcraft-Source.com - WCS mod for CSS
January 16, 2010, 01:34:11 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]   Go Down
  Print  
Author Topic: Exp skill  (Read 193 times)
Rasmus
Trapped in between
Level 7 Expert
*****
Offline Offline

Denmark Denmark

Posts: 1472




Rasmus4J
rasmus4j
« on: January 14, 2008, 10:37:10 AM »

hi Phat...
need some help with this skill i have tried to make:
Code:
"skill3_setting"    "es_xsetinfo wcs_giveexp 5 0 0|es_xsetinfo wcs_giveexp 10 0 0|es_xsetinfo wcs_giveexp 20 0 0|es_xsetinfo wcs_giveexp 40 0 0"
"racealias_exp"     "es wcs_giveexp event_var(userid) server_var(wcs_giveexp);es_xtell event_var(userid) #multi #lightgreen You Recieved Extra Exp!"
"skill3_cmd"        "es es_xif server_var(wcs_dice) <= 100) then racealias_exp"
"skill3_sfx"        "es es_xif server_var(wcs_dice) <= 100) then es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(userid);es_xmath wcs_z1 + 50;es est_effect 11 #a 0 sprites/purpleglow1.vmt"
Logged

where would you put the comma in the following telegram from a wife, to her husband in the navy?
"Not getting any better hurry home!"
Phat_Wizard
<WCS coder>
Level 7 Expert
*****
Offline Offline

Canada Canada

Posts: 229




Phat_Wizard
phatwizard
« Reply #1 on: January 14, 2008, 12:42:14 PM »

Only problem I can spot atm is in the settings... oh and you also made a small typo of the command which gives the xp. wcs_giveexp should be wcs_givexp. Tongue

This code "should" work as intended...
Code
GeSHi (eventscripts):
   "skill3_setting"    "es_xsetinfo wcs_giveexp 5|es_xsetinfo wcs_giveexp 10|es_xsetinfo wcs_giveexp 20|es_xsetinfo wcs_giveexp 40"
   "racealias_exp"     "es wcs_givexp event_var(userid) server_var(wcs_giveexp);es_xtell event_var(userid) #multi #lightgreen You Recieved Extra Exp!"
   "skill3_cmd"        "es es_xif server_var(wcs_dice) <= 100) then racealias_exp"
   "skill3_sfx"        "es es_xif server_var(wcs_dice) <= 100) then es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(userid);es_xmath wcs_z1 + 50;es est_effect 11 #a 0 sprites/purpleglow1.vmt"
Logged

Pages: [1]   Go Up
  Print  
 
Jump to:  

Last 7 Shouts:
January 14, 2010, 06:18:58 PM
here is the topic i created... please put the skills in there: http://warcraft-source.com/board/index.php/topic,9315.0.html
January 14, 2010, 06:15:26 PM
O.K. I started now the project for a new RaceCreator... I will programm it and upload it then.... would be nice if you could make a topic with all skills texno and all others (sepretated in "player_attacker" etc. )
January 14, 2010, 05:30:29 PM
yeah..
January 14, 2010, 04:11:46 PM
Oh i see... not very much skills / ultimates... and just maximum 4 lvl for the skills lol....
January 14, 2010, 04:08:57 PM
thanks, are there any bugs ?? I can't fix it because first : don't have the programm code and second : don't know if he wrote it in C#...^^
January 14, 2010, 11:37:50 AM
Here's the link... maby you can update it Termi ? "http://warcraft-source.com/board/index.php/topic,6199.0.html"

http://warcraft-source.com/board/index.php/topic,6199.0.html
January 13, 2010, 07:26:02 PM
No prob dude
Recent
[Today at 12:56:34 PM]

[Today at 12:12:58 PM]

[Today at 02:12:10 AM]

[Today at 12:02:45 AM]

[January 15, 2010, 11:58:57 PM]

[January 15, 2010, 11:25:21 PM]

[January 15, 2010, 11:04:53 PM]

[January 15, 2010, 10:44:43 PM]

by NeSo
[January 15, 2010, 07:20:35 PM]

[January 15, 2010, 06:07:34 PM]
Theme switch

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