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-12-06 (original capture). Home · Forum · All archived topics · Downloads
Warcraft-Source.com - WCS mod for CSS
December 06, 2008, 12:15:13 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: Less Damage  (Read 134 times)
Ravager
Level 0 Beginner

Offline Offline

United States United States

Posts: 5



« on: May 30, 2008, 10:01:05 PM »

I know I just made a thread about the Beacon, but I feel the need to make a new one, just incase someone else is looking for the same thing I am, easier to navigate.

Anywho, I'm looking for the script to make it so you take say... 15 less damage from bullets. I know that the shopmenu has an item like that, but I still have no idea how to go about converting it into a skill. Can anyone shine some light on this for me?
Logged
[Oddity]TeacherCreature
Level 7 Expert
*****
Offline Offline

United States United States

Posts: 866




bonggged

myServer 208.167.243.228:27015
(Warning: click connects through Steam)
« Reply #1 on: May 30, 2008, 10:35:48 PM »

player_victim

The way the skill works you take damage then it adds some back.


Code:
es es_xif (event_var(dmg_health) > 15) then est_health event_var(userid) + 15
Logged

Ravager
Level 0 Beginner

Offline Offline

United States United States

Posts: 5



« Reply #2 on: May 31, 2008, 03:51:59 AM »

Thank you very much once again, but could someone possibly set it up like a new skill? Like, where as the higher the level, the less damage you'll take. I think I have a hunch how to do it, but I rather save the headache. I hate to be a bother, but I'll eventually figure all this out. =P
Logged
Serenkiy Vol4onok
Level 6 Experienced
*****
Offline Offline

Russian Federation

Posts: 137


Never Surrender!!!


« Reply #3 on: May 31, 2008, 08:49:25 AM »

Thank you very much once again, but could someone possibly set it up like a new skill? Like, where as the higher the level, the less damage you'll take. I think I have a hunch how to do it, but I rather save the headache. I hate to be a bother, but I'll eventually figure all this out. =P

Code:
"skill2_setting"    "es_xsetinfo wcs_health 19|es_xsetinfo wcs_health 24|es_xsetinfo wcs_health 27|es_xsetinfo wcs_health 33|es_xsetinfo wcs_health 40"
    "skill2_cmd"        "es est_healthAdd event_var(userid) server_var(wcs_health)"
    "racealias_bloodfx1""es est_effect 10 #a 0 vgui/gfx/vgui/cs_logo.vmt server_var(wcs_x2) server_var(wcs_y2) server_var(wcs_z2) 80 90 1 10 10 0 255 0 0 255 2;es est_effect 10 #a 0 sprites/scanner.vmt server_var(wcs_x2) server_var(wcs_y2) server_var(wcs_z2) 80 90 1 5 10 0 255 0 0 255 2"
    "racealias_bloodsfx""es es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(attacker);es es_xgetplayerlocation wcs_x2 wcs_y2 wcs_z2 event_var(userid);es_xmath wcs_z1 + 40;es_xmath wcs_z2 + 40;es est_Effect 3 #a 0 sprites/lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) server_var(wcs_x2) server_var(wcs_y2) server_var(wcs_z2) 1 2 3 255 0 0 255;es est_Effect 3 #a 0 effects/black.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) server_var(wcs_x2) server_var(wcs_y2) server_var(wcs_z2) 1 1 1 255 0 0 255;racealias_bloodfx1"
    "skill2_sfx"        "racealias_bloodsfx"
Logged

  ~ Just a Nightfall God
  :
  Steel a soul for a second chance
  But you'll never become a man
fluffeh
Level 0 Beginner

Offline Offline

United States United States

Posts: 14




death969
« Reply #4 on: May 31, 2008, 03:04:32 PM »

I did the same reduce dmg that Serenkiy did. I have it set at 30 hp so most pistols actually heal me. 
Logged
Ravager
Level 0 Beginner

Offline Offline

United States United States

Posts: 5



« Reply #5 on: May 31, 2008, 03:32:45 PM »

Thank you very much Serenkiy. <3 I appreciate the to everyone whose helped me. ^^;
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Last 7 Shouts:
December 04, 2008, 09:57:56 PM
gg
December 04, 2008, 09:46:16 PM
hey guys, how are you?
gonna sleep, cya tomorrow
December 03, 2008, 12:45:48 PM
@ bombkill : all mods should be compatible with WCS... but we can't be sure
@retrokboy : css server? provider? other mods?
December 03, 2008, 01:49:25 AM
I NEED SERVER HELP MY FORUM IS IN BUG REPORT PLEASE REPLY I NEED HALP
December 02, 2008, 10:05:01 PM
does anyone know where all the wcs compatible mods are listed or a website i can find them
December 02, 2008, 08:24:47 PM
/agree
Recent
[Today at 09:15:37 AM]

[Today at 08:33:01 AM]

[Today at 12:26:04 AM]

[December 05, 2008, 10:26:03 PM]

[December 05, 2008, 08:10:32 PM]

[December 05, 2008, 07:51:01 PM]

[December 05, 2008, 07:33:12 PM]

[December 05, 2008, 07:11:25 PM]

[December 05, 2008, 06:44:09 PM]

[December 05, 2008, 12:14:07 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.043 seconds with 27 queries.