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 2008-04-15 (original capture). Home · Forum · All archived topics · Downloads
Warcraft-Source.com - WCS mod for CSS
April 15, 2008, 11:47:43 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Remember to check on the FAQ before start posting.
It may save you time and effort.
Also here is the WCS Wiki!
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: [Oddity]Sorceror's Weapon ~{shopmenu}~  (Read 341 times)
[Oddity]TeacherCreature
Moderator
Level 7 Expert
*****
Offline Offline

United States United States

Posts: 567



WWW
« on: September 12, 2007, 06:07:22 PM »

FIRE CURSE


This item will curse your enemies.  Cursed enemies will show no symptoms, but they will burn their near-by allies.
So enjoy shooting your opponent and watching them catch their temates on fire.

Code:
  "oddity.counter.strike.com"
  {
  "name"        "Sorceror's Weapon"
  "description" "Curse your enemy so they burn near-by teamates"
  "category"    "3"
  "cost"        "7000"
  "level"       "0"
  "dab"         "1"
  "duration"    "1"
  "maxamount"   "0"
  "itemconfig"  "player_attacker"
  "cmdbuy"      "0"
  "shopalias_curse1"  "es_setinfo wcs_tmp2 event_var(userid);shopalias_curse2"
  "shopalias_curse2"  "es_xdelayed 1 wcs_dalias shopalias_curse3 server_var(wcs_tmp2) 600 1"
  "shopalias_curse3"  "es_getplayerprop wcs_dead server_var(wcs_tmp2) CCSPlayer.baseclass.pl.deadflag;if (server_var(wcs_dead) = 0) then shopalias_curse4"
  "shopalias_curse4"  "es_getplayerteam wcs_team server_var(wcs_tmp2);if (server_var(wcs_team) = 2) then es_xsetinfo wcs_team #t!d;if (server_var(wcs_team) = 3) then es_xsetinfo wcs_team #c!d;es est_Near wcs_targetid server_var(wcs_team) 600 server_var(wcs_tmp2) shopalias_curse5;shopalias_curse2"
  "shopalias_curse5"  "es es_xgetplayername wcs_name server_var(wcs_targetid);es est_burn server_var(wcs_targetid) 3;es_tell server_var(wcs_tmp2) Your cursed and you are burning your teamate: server_var(wcs_name);es_tell server_var(wcs_targetid) You are being burned by a near-by teamate who is cursed"
  "cmdactivate"       "es es_xif (server_var(wcs_dice) <= 30) then shopalias_curse0"
  }


This Code must be entered into your Ultimates text file (2 PARTS)

Part 1.  This goes on the top of the file:

Code:
es_xexists wcs_exists command wcs_dalias
  es es_xif (server_var(wcs_exists) = 0) then es_xregcmd wcs_dalias wcs/WCSultimates/wcs_dalias "delayed aliases"


Part 2. This goes further down to create it's own block

Code:
block wcs_dalias
{

if (server_var(wcs_debug) = "1") then echo wcs_dalias start
    es_xsetinfo wcs_tmp1 0
   es_xsetinfo wcs_tmp2 0
   es_xsetinfo wcs_tmp3 0
   es_xsetinfo wcs_tmp4 0
   es_xsetinfo wcs_tmp5 0
    es_xsetinfo wcs_tmp6 0
   es_xsetinfo wcs_tmp7 0
   es_xsetinfo wcs_tmp8 0
   es_xsetinfo wcs_tmp9 0
   es_xsetinfo wcs_tmp10 0
    es_xsetinfo wcs_tmp11 0
   es_xsetinfo wcs_tmp12 0
   es_xsetinfo wcs_tmp13 0
   es_xsetinfo wcs_tmp14 0
   es_xsetinfo wcs_tmp15 0
   es_xgetargv wcs_tmp1 1
   es_xgetargv wcs_tmp2 2
   es_xgetargv wcs_tmp3 3
   es_xgetargv wcs_tmp4 4
   es_xgetargv wcs_tmp5 5
   es_xgetargv wcs_tmp6 6
   es_xgetargv wcs_tmp7 7
   es_xgetargv wcs_tmp8 8
   es_xgetargv wcs_tmp9 9
   es_xgetargv wcs_tmp10 10
   es_xgetargv wcs_tmp11 11
   es_xgetargv wcs_tmp12 12
   es_xgetargv wcs_tmp13 13
   es_xgetargv wcs_tmp14 14
   es_xgetargv wcs_tmp15 15
es server_var(wcs_tmp1)
if (server_var(wcs_debug) = "1") then echo wcs_dalias end
}



If you want more information about installing dalias or delayed alias look here:
http://www.warcraft-source.com/board/index.php?topic=1648.0
« Last Edit: September 12, 2007, 06:11:23 PM by [Oddity]TeacherCreature » Logged

chrishot
Level 7 Expert
*****
Offline Offline

United Kingdom

Posts: 155



« Reply #1 on: September 12, 2007, 07:04:57 PM »

looks great m8 nice work and congrats on subforum

can you tell me what dalias is lol
Logged

c6464
Guest
« Reply #2 on: September 12, 2007, 07:12:04 PM »

Its a script Stinky made so that you can delay racealias without loosing any information
Logged
Phat_Wizard
WCS ESP Dev Team
Level 7 Expert

Online Online

Canada Canada

Posts: 207




Phat_Wizard
phatwizard
« Reply #3 on: September 12, 2007, 08:25:14 PM »

Nice item!!!
Logged

[Oddity]TeacherCreature
Moderator
Level 7 Expert
*****
Offline Offline

United States United States

Posts: 567



WWW
« Reply #4 on: September 12, 2007, 09:05:07 PM »

Thanks on item... and delayed alias or dalias (as it is called) basically allows you to do
delay then alias.

This is important because prior to this:
the minute you included a delay command you could no longer have an alias or your variables were lost.
This required that we did alias then included delay in our skill...

This is an example of a poison without delay alias:

Code:
alias poison   dmg delay dmg delay dmg delay dmg
cmd run alias poison
This would delay and do dmg like 4 times and then stop

DALIAS allows us to do this all round:

Code:
alias 1   delay 1 second alias 2
alias 2    dmg  back to alias 1
cmd run alias 1

This allows alias 1 and 2 to repeat forever... alias1 alias2 alias1 alias2 alias1 alias2 alias1 alias2... That was never possible before.
Logged

Stinkyfax
Watchdogs
Level 7 Expert
*****
Offline Offline

Lithuania Lithuania

Posts: 1054



WWW
Xrushiov
« Reply #5 on: September 12, 2007, 09:25:45 PM »

Yah everything is nice, Oddi nice item as always, stinky is a dude and bla bla.
But about item, i think it's strongly overpowered. You should make execute alias only 2-3 times, not forever.
Moreover i afraid that this version will burn your friends (if u're victim) after next round (ofc if u're survived). Funny new round starts and evreybody around you begin to burn.
Add more 1 variable in wcs_dalias and in alias you execute do next: es_math variable -1, yah before execute this alias, check if variable > 0. That's how i made my ulti not to jump over a whole map. 
Logged

chrishot
Level 7 Expert
*****
Offline Offline

United Kingdom

Posts: 155



« Reply #6 on: September 12, 2007, 10:12:59 PM »

k thanks for the help guys i think i get it
Logged

UV.Fox.Bios
Level 2 Apprentice
**
Offline Offline

United States United States

Posts: 41




inhis20s
iaapistols
« Reply #7 on: October 20, 2007, 09:21:22 PM »

Couldn't get this Item to work.
Logged
[Oddity]TeacherCreature
Moderator
Level 7 Expert
*****
Offline Offline

United States United States

Posts: 567



WWW
« Reply #8 on: October 23, 2007, 10:55:08 AM »

Once .76 is in place and new ES adn everyone is using it I am going to rewrite all of my races and items i think
Logged

Gnoren
Level 0 Beginner

Offline Offline

Sweden

Posts: 7


{The Wild Geese}


WWW
ctheyoung
« Reply #9 on: October 23, 2007, 02:13:44 PM »

Cool skill m8!
Logged


"Cows doesn't drink milk"
Pages: [1]   Go Up
  Print  
 
Jump to:  

Last 7 Shouts:
April 14, 2008, 08:47:37 PM
Seconds u there
April 14, 2008, 06:57:57 PM
Ty see u there
April 13, 2008, 11:00:29 PM
@overfinch123, your application has been accepted
April 13, 2008, 10:10:47 PM
ESELADDEN I entered your WCS tournament i left a reply want me to send itt to you?
April 13, 2008, 10:09:54 PM
Eseladden u there?
April 13, 2008, 08:30:55 AM
WCSUsers db file, move that file
April 13, 2008, 06:24:38 AM
Hey guys how do I move levels to another server?
Recent
[Today at 11:21:51 PM]

[Today at 09:22:37 PM]

[Today at 08:18:30 PM]

by West
[Today at 08:14:12 PM]

by Jeff
[Today at 06:51:25 PM]

[Today at 06:08:09 PM]

[Today at 06:03:36 PM]

[Today at 05:50:59 PM]

[Today at 04:20:36 PM]

[Today at 02:50:39 PM]
Theme switch

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