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-01 (original capture). Home · Forum · All archived topics · Downloads
Warcraft-Source.com - WCS mod for CSS
February 01, 2010, 12:59:22 PM *
Welcome, Guest. Please login or register.
Login with username, password and session length
News: Please obey the rules, to achieve a pleasent order in our community.
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: [Shop-Item] Bag Of Skulls  (Read 497 times)
NovaKiller
<WCS coder>
Level 7 Expert
*****
Offline Offline

Denmark Denmark

Posts: 783

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


WWW
PlaxGunner
« on: September 19, 2007, 05:03:17 PM »

So i created a new item. This item is configed so it only work whit skulls. It wont work to the race i work on.

Bag Of Skulls
Costs : 8000
Last Till : Lasts till you die
Max Amount : Only 1 at a time
Required LvL : At 1 so you need to lvl up 1 of the skills
What item does:
When you buy the item you will get 5 extra skulls
When you survive a round whit item you get 2 extra skulls next round


So here is the item:
Code:
  ""
  {
  "name"        "Bag Of Skulls"
  "description" "Get 5 skulls when buying item and 2 skulls for every round you survive whit the item."
  "category"    "5"
  "cost"        "8000"
  "level"       "0"
  "dab"         "1"
  "duration"    "1"
  "maxamount"   "1"
  "itemconfig"  "player_spawn"
  "cmdbuy"      "es_xsetinfo wcs_skl 0;es es_xkeygetvalue wcs_skl WCSuserdata event_var(userid) skulls;es es_xif (server_var(wcs_skl) = 0) then es_xsetinfo wcs_skl 0;es_xmath wcs_skl + 5;es es_xkeysetvalue WCSuserdata event_var(userid) skulls server_var(wcs_skl);es es_xtell event_var(userid) #multi #Lightgreen #Green Buyed #Lightgreen a #Green Bag Of Skulls #Lightgreen , you got #Green 5 skulls"
  "cmdactivate" "es_xsetinfo wcs_skl 0;es es_xkeygetvalue wcs_skl WCSuserdata event_var(userid) skulls;es es_xif (server_var(wcs_skl) = 0) then es_xsetinfo wcs_skl 0;es_xmath wcs_skl + 2;es es_xkeysetvalue WCSuserdata event_var(userid) skulls server_var(wcs_skl);es es_xtell event_var(userid) #multi #Lightgreen #Green Survived last round #Lightgreen whit a #Green Bag Of Skulls #Lightgreen , you got #Green 2 skulls"
 }

I have tested this item and by me it works.
« Last Edit: September 19, 2007, 05:04:49 PM by NovaKiller » Logged

c6464
Guest
« Reply #1 on: September 19, 2007, 07:14:38 PM »

kewl, nice work
Logged
=[LSS]= Soldier
Level 7 Expert
*****
Offline Offline

United States United States

Posts: 538



WWW
Soldier62994
« Reply #2 on: September 19, 2007, 11:03:17 PM »

Now we just need more skull races, not too many out there(unless not realeased here)
Logged


=[LSS]= NEW Wc3 Server
Pages: [1]   Go Up
  Print  
 
Jump to:  

Last 7 Shouts:
Today at 12:40:20 AM
whats est_freeze syntax?

January 31, 2010, 06:00:01 PM
asap :p
January 31, 2010, 05:59:47 PM
ok berett no offense but we need to talk.
January 30, 2010, 08:48:38 PM
wcs_alpha is used for effects to determine how visible/bright/see-through an effect is.
January 30, 2010, 05:44:23 PM
Has nothing to do with the speed. wcs_alpha is just a variable which can be used anywhere.
January 30, 2010, 05:40:44 PM
oh and thank you ^.^
January 30, 2010, 05:40:32 PM
ohh... but it shouldnt be with the settings of speed right?
Recent
[Today at 09:54:21 AM]

by amiq
[Today at 09:33:18 AM]

by amiq
[Today at 09:33:07 AM]

[Today at 09:32:25 AM]

[Today at 12:58:25 AM]

[Today at 12:55:11 AM]

[January 31, 2010, 09:30:44 PM]

[January 31, 2010, 09:30:04 PM]

[January 31, 2010, 09:29:04 PM]

[January 31, 2010, 09:27:48 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.094 seconds with 25 queries.