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-11-24 (original capture). Home · Forum · All archived topics · Downloads
Warcraft-Source.com - WCS mod for CSS
November 24, 2009, 05:46:27 PM *
Welcome, Guest. Please login or register.
Login with username, password and session length
News: Join the new Facebook Warcraft-Source.com Group! It has been currently opened!
Join!
Google  
  Home   Forum   Help Search Login Register   *
Pages: [1]   Go Down
  Print  
This topic has not yet been rated! You have not rated this topic. Select a rating:
Author Topic: Great xp setup  (Read 1417 times)
HandyManny
Level 0 Beginner

Offline Offline

Posts: 14




Flambo20
« on: October 17, 2007, 01:54:06 PM »

Well after geting the last bit of code i needed from kryp. i was able to finish my exp setup and here it is.
Code:
  "31"
  {
  "name"        "Tome of exp (500 xp)"
  "description" "Tome of EXP x5"
  "category"    "5"
  "cost"        "10000"
  "level"       "0"
  "dab"         "2"
  "duration"    "0"
  "maxamount"   "0"
  "itemconfig"  "player_buy"
  "cmdbuy"      "es wcs_givexp event_var(userid) 500 0 1"
  "cmdactivate" "0"
  }
  "32"
  {
  "name"        "Tome of exp (1000 xp)"
  "description" "Tome of Exp x10"
  "category"    "5"
  "cost"        "15000"
  "level"       "0"
  "dab"         "2"
  "duration"    "0"
  "maxamount"   "0"
  "itemconfig"  "player_buy"
  "cmdbuy"      "es wcs_givexp event_var(userid) 1000 0 1"
  "cmdactivate" "0"
  }
  "33"
  {
  "name"        "Shared Tome of XP (1000xp /all)"
  "description" "1000xp to everyone on the server"
  "category"    "5"
  "cost"        "16000"
  "level"       "0"
  "dab"         "2"
  "duration"    "0"
  "maxamount"   "0"
  "itemconfig"  "player_buy"
  "cmdbuy"      "es_xforeachkey wcs_key in WCSuserdata "es wcs_givexp server_var(wcs_key) 1000"
  "cmdactivate" "0"
  }


i got a few other items i made, well modified the orginal and made them, everyone on my server seems to love em,

Code:
"35"
  {
  "name"        "Elite Cloak of Shadow"
  "description" "100% invis"
  "category"    "6"
  "cost"        "16000"
  "level"       "4"
  "dab"         "1"
  "duration"    "1"
  "maxamount"   "1"
  "itemconfig"  "player_spawn"
  "cmdbuy"      "es es_xkeygetvalue wcs_invis WCSuserdata event_var(userid) invisp;es es_xif (server_var(wcs_invis) < 75) then est_setplayercolor event_var(userid) 255 255 255 0 1;es es_xif (server_var(wcs_invis) < 25) then es_xkeysetvalue WCSuserdata event_var(userid) invisp 25"
  "cmdactivate" "es es_xkeygetvalue wcs_invis WCSuserdata event_var(userid) invisp;es es_xif (server_var(wcs_invis) < 75) then est_setplayercolor event_var(userid) 255 255 255 0 1;es es_xif (server_var(wcs_invis) < 25) then es_xkeysetvalue WCSuserdata event_var(userid) invisp 25"
  }
"36"
  {
  "name"        "Elite Claws of attack +21"
  "description" "+21 dmg"
  "category"    "6"
  "cost"        "16000"
  "level"       "0"
  "dab"         "1"
  "duration"    "1"
  "maxamount"   "1"
  "itemconfig"  "player_attacker"
  "cmdbuy"      "0"
  "cmdactivate" "es wcs_dealdamage event_var(attacker) event_var(userid) 21;esnq est_csay event_var(attacker) + 21 dmg;wcs_getlanguage wcs_lng wcs_lng_s_clawsa1;esnq est_csay event_var(userid) server_var(wcs_lng)"
  }
"37"
  {
  "name"        "Elite Tome of HP (+ 500)"
  "description" "+ 500 HP"
  "category"    "6"
  "cost"        "16000"
  "level"       "0"
  "dab"         "1"
  "duration"    "0"
  "maxamount"   "1"
  "itemconfig"  "player_buy"
  "cmdbuy"      "es est_Health event_var(userid) + 500"
  "cmdactivate" "0"
  }
 "38"
  {
  "name"        "Elite Periapt of Health (+200)"
  "description" "+ 200 HP, each round"
  "category"    "6"
  "cost"        "16000"
  "level"       "0"
  "dab"         "1"
  "duration"    "1"
  "maxamount"   "2"
  "itemconfig"  "player_spawn"
  "cmdbuy"      "es est_Health event_var(userid) + 200"
  "cmdactivate" "es est_Health event_var(userid) + 200"
}
 "39"
  {
  "name"        "Elite Orb of Frost"
  "description" "enemys move 60% slower when shot"
  "category"    "6"
  "cost"        "16000"
  "level"       "0"
  "dab"         "1"
  "duration"    "1"
  "maxamount"   "1"
  "itemconfig"  "player_attacker"
  "cmdbuy"      "0"
  "cmdactivate" "es est_speed event_var(userid) 0.14;es es_xdelayed 3 wcs_removefx speed event_var(userid);wcs_getlanguage wcs_lng wcs_lng_s_orb1a;esnq est_csay event_var(attacker) server_var(wcs_lng);wcs_getlanguage wcs_lng wcs_lng_s_orb2a;esnq est_csay event_var(userid) server_var(wcs_lng)"
  }

next item im gona work on is the boots of speed, after a little more testing ill set it up so its like 5% more speed then the base and its like buying 2 for the price of one but at 2x the price, so buy the boots once instead of buying then buying it again, downside will be people might try to stack and get to much speed, but ill limit the item to 1 Smiley

i also know some of the coding might seem wrong but everything seems to work out just fine, on the elite cloak wasent sure what the >75 ment, but all i did was change the alpha to 0 and it works great people loving it.

also you might notice i didnt do the wcs_lan stuff just seemed like usless work, but i did do it for the elite claws, so that way it showed up on the screen when you hit them and stuff, here is the code for that in your lan file.
Code:
    "wcs_lng_s_claws1"       "Claws of Attack +21"
    "wcs_lng_s_clawsd1"      "All your attacks make +21 damage"
    "wcs_lng_s_clawsa1"      "got additional +21 damage"
« Last Edit: October 17, 2007, 02:06:52 PM by HandyManny » Logged
Frodo
Level 7 Expert
*****
Offline Offline

Posts: 854


Actinosphaerium eichhorni


WWW
ckenduro
aulix
« Reply #1 on: October 17, 2007, 02:54:30 PM »

sorry, but - lol?
Logged


Actually I found it as best Bux ever. Everything's automated!
Angelღ
Level 7 Expert
*****
Offline Offline

United States United States

Posts: 334


WWW
1101101
younggunelite
« Reply #2 on: October 18, 2007, 03:18:41 AM »

you do know if we wanted to do this we could?
Logged

"Death is just the first step"

~AJ
c6464
Guest
« Reply #3 on: October 18, 2007, 07:33:52 AM »

this is what we need! unbalanced shopmenu items!
Logged
NovaKiller
<WCS coder>
Level 7 Expert
*****
Offline Offline

Denmark Denmark

Posts: 783

Loves WCS. Loves to make races. Loves to play WCS


WWW
PlaxGunner
« Reply #4 on: October 18, 2007, 08:20:59 AM »

Overpowerd or not , thats the question

And i got the answer
it
is
OVERPOWERD
Logged

=[LSS]= Soldier
Level 7 Expert
*****
Offline Offline

United States United States

Posts: 538



WWW
Soldier62994
« Reply #5 on: October 31, 2007, 02:16:23 AM »

It comes with WCS, why would you need it offa him?
Logged


=[LSS]= NEW Wc3 Server
Brett
Level 7 Expert
*****
Offline Offline

United Kingdom

Posts: 156



WWW
slasher123
« Reply #6 on: November 13, 2007, 04:22:43 AM »

Yeah, thanks man this code was really useful. It would be awesome if kryptonite could add this to the official distribution!


 :roll:
Logged

c6464
Guest
« Reply #7 on: November 13, 2007, 02:17:38 PM »

Yeah, thanks man this code was really useful. It would be awesome if kryptonite could add this to the official distribution!


 :roll:

noob
Logged
Diraiba
not not telling you why im not no amdin cause i am
Moderator
Level 7 Expert
*****
Offline Offline

Netherlands Netherlands

Posts: 398


Koekjen?


WWW
diraiba
sodpower001

myServer 83.223.105.18:27015
(Warning: click connects through Steam)
« Reply #8 on: November 20, 2007, 11:07:28 AM »

I think he meant it Sarcasticly... N00B XD

Keep  it cool Wink
Logged


Pages: [1]   Go Up
  Print  
 
Jump to:  

Last 7 Shouts:
Today at 02:01:50 PM
the saddest part about it, for a second i thought it might have worked : P
Today at 11:34:26 AM
rofl my ass Cheesy
Today at 02:59:08 AM
lol TextNo and Maxxi.... rofl...
November 23, 2009, 05:48:23 PM
!votemute
November 23, 2009, 03:32:12 PM
First script is public :DDDD oO
November 23, 2009, 03:10:38 PM
/voteban
Recent
[Today at 11:34:56 AM]

[Today at 11:02:35 AM]

[Today at 10:51:48 AM]

[Today at 08:43:00 AM]

[Today at 03:36:27 AM]

[Today at 03:31:51 AM]

[Today at 03:11:17 AM]

[Today at 01:09:09 AM]

[Today at 12:44:16 AM]

[November 23, 2009, 11:33:21 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.152 seconds with 23 queries.