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-07-11 (original capture). Home · Forum · All archived topics · Downloads
Warcraft-Source.com - WCS mod for CSS
July 11, 2009, 07:52:36 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: [Intermediate] Coding and Tweaking  (Read 399 times)
[Oddity]TeacherCreature
Moderator
Level 7 Master
*****
Offline Offline

United States United States

Posts: 1358



WWW
bonggged

myServer 63.209.33.64:27015
(Warning: click connects through Steam)
« on: June 25, 2008, 01:17:31 AM »

These are common annoying things that beginners leave out or ask about.
If a race continues to apply a skill after death or after a change race....
add an ISALIVE check...

All ultimates that target or affect players on the other team should have this code right after targeting:
Code:
"es_xsetinfo wcs_immunity 0;es es_xkeygetvalue wcs_immunity WCSuserdata server_var(wcs_targetid) ulti_immunity;es es_xif (server_var(wcs_immunity) = 0) then ALIAS_WHATEVER;es es_xif (server_var(wcs_immunity) != 0) then es_xtell server_var(wcs_userid) #multi server_var(wcs_lng_ulti_immunity_a);es es_xif (server_var(wcs_immunity) != 0) then es_xtell server_var(wcs_targetid) #multi server_var(wcs_lng_ulti_immunity_v)"
That will check for ultmate immunity.

Also anything that affects a players speed visiblity or other wcs feature should use getvalue and keysetvalue..
for example look at undead scourge speed skill.
It doesn't jsut say est_speed event_var(userid) does it.

Sorry this is half rant half advice


If you dont know how to do those things look at other races to learn.. If you do know how please add them to your races !
« Last Edit: November 20, 2008, 07:44:23 PM by [Oddity]TeacherCreature » Logged

 
Pages: [1]   Go Up
  Print  
 
Jump to:  

Last 7 Shouts:
Today at 06:57:11 AM
is there anyplace i can get help with maps? ive made a map recently but its crashin css everytime a person trys to load it
July 10, 2009, 02:22:30 PM
go in a forum; go into a topic; down below youll find a reply button
July 10, 2009, 02:15:52 PM
can anyone help me i dont know how to post posts.
July 10, 2009, 02:15:40 PM
sup fellas
July 10, 2009, 01:39:30 PM
dashi619 read pm i send you
July 10, 2009, 12:48:28 PM
help?
July 10, 2009, 10:22:56 AM
ME Tongue
Recent
by M.R.
[Today at 05:16:58 PM]

[Today at 05:05:18 PM]

[Today at 05:04:31 PM]

[Today at 03:13:53 PM]

[Today at 08:29:32 AM]

[Today at 04:01:13 AM]

[Today at 05:47:29 AM]

[July 10, 2009, 09:53:21 PM]

[July 10, 2009, 08:14:56 PM]

[July 10, 2009, 06:26:05 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.089 seconds with 27 queries.