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, 01:05:52 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  
This topic has not yet been rated! You have not rated this topic. Select a rating:
Author Topic: Noclip skill and item  (Read 805 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: May 15, 2007, 04:48:14 PM »

I have made a noclip skill and a noclip shopitem.
This is the shopitem

Code:
  ""
  {
  "name"        "Ektoplasma from ghost (5 sec)"
  "description" "Makes you go throught walls like a ghost for 5 sec!!"
  "category"    "2"
  "cost"        "8000"
  "level"       "0"
  "dab"         "1"
  "duration"    "0"
  "maxamount"   "0"
  "itemconfig"  "player_buy"
  "cmdbuy"      "es est_noclip event_var(userid) 1;es es_xdelayed 5 est_noclip event_var(userid) 0;es es_xdelayed 1 est_csay event_var(userid) 4 ..;es es_xdelayed 2 est_csay event_var(userid) 3 ..;es es_xdelayed 3 est_csay event_var(userid) 2 ..;es es_xdelayed 4 est_csay event_var(userid) 1 ..;es es_xdelayed 5 est_csay event_var(userid) Noclip Skill wear off!!"
  "cmdactivate" "0"
  }
}

And this is the skill

Code:
    "skill2_setting"    "es_xsetinfo wcs_duration 2|es_xsetinfo wcs_duration 4|es_xsetinfo wcs_duration 6|es_xsetinfo wcs_duration 8|es_xsetinfo wcs_duration 10"
    "skill2_cmd"        "es_xtell server_var(wcs_userid) : Noclip is activated!;es est_NoClip server_var(wcs_userid) 1;es es_xdelayed server_var(wcs_duration) est_NoClip server_var(wcs_userid) 0;es_xtell event_var(userid) : Ghost powers activated! Go scare some.;es es_xdelayed server_var(wcs_duration) es_xtell event_var(userid) : Ghost powers is no more!!;es_xmath wcs_duration - 2;es es_xdelayed server_var(wcs_duration) es_xtell event_var(userid) : Ghost powers is no more in 2 sec."
    "skill2_sfx"        "es es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 server_var(wcs_userid);es est_effect 10 #a 0 sprites/lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 20 50 1 60 100 0.8 0 255 255 255 1"
    "ultimate_cooldown" "30"

Tell me what ya think of them.
Logged

Fast.Food
Level 7 Expert
*****
Offline Offline

Posts: 401



WWW
« Reply #1 on: May 15, 2007, 06:20:47 PM »

Can cause crashes, and be "abused", but its a good item if players will not go and get stuck in walls...
Logged

Care.
c6464
Guest
« Reply #2 on: May 15, 2007, 08:36:56 PM »

what you mean by noclip?
Logged
Real_Wolf
Level 7 Expert
*****
Offline Offline

New Zealand New Zealand

Posts: 639


« Reply #3 on: May 15, 2007, 09:24:55 PM »

Yeah, not the best idea to have for a shopmenu item.

Theres also a bug which might happen that if you noclip after the round ends, it lasts the whole of the next round
Logged

=|[K|T]|= Real Wolf

HOLLIDAY
<Race Maker>
Watchdogs
Level 7 Expert
*****
Offline Offline

Posts: 2333


of all the things ive lost i miss my mind the most


WWW
Wc3_HOLLIDAY_Wc3
wc3hollidaywc3

myServer 8.2.0.222:27015
(Warning: click connects through Steam)
« Reply #4 on: May 16, 2007, 04:28:55 AM »

nice skill.works great. for the shop item it might be better if it were player_say
but still works  great.
Logged

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.