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-07 (original capture). Home · Forum · All archived topics · Downloads
Warcraft-Source.com - WCS mod for CSS
December 07, 2008, 11:29:31 AM *
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: Time Bomb Skill  (Read 154 times)
OmegaNemesis28
Level 3 Trained Apprentice
***
Offline Offline

United States United States

Posts: 68


S.T.A.R.S!!


WWW
« on: July 14, 2007, 11:51:59 PM »

I was wondering if someone could make a skill where as part of a % chance out of 100 make it so if you shoot someone they have a chance of becoming a time bomb.

Kind of like the Mani Admin type thing wear if someone team kills you, you make them a time bomb.

This would work so perfectly with my Nemesis race.
Logged

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

United States United States

Posts: 866




bonggged

myServer 208.167.243.228:27015
(Warning: connects through Steam)
« Reply #1 on: July 15, 2007, 02:08:32 AM »

The commands are

ma_timebomb <target> [optional mode 0 = disable timebomb, 1 = enable timebomb]
Makes a target into a time bomb. Command works in toggle mode if optional parameter is not used

ma_freezebomb <target> [optional mode 0 = disable freezebomb, 1 = enable freezebomb]
Makes a target into a freeze bomb. Command works in toggle mode if optional parameter is not used

ma_firebomb <target> [optional mode 0 = disable firebomb, 1 = enable firebomb]
Makes a target into a fire bomb. Command works in toggle mode if optional parameter is not used
Logged

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

United States United States

Posts: 866




bonggged

myServer 208.167.243.228:27015
(Warning: connects through Steam)
« Reply #2 on: July 15, 2007, 02:12:02 AM »



This would be an example as a player_attacker type of skill
Code:
    "skill1_setting"    "es_xsetinfo wcs_chance 5|es_xsetinfo wcs_chance 10|es_xsetinfo wcs_chance 15|es_xsetinfo wcs_chance 20|es_xsetinfo wcs_chance 25|es_xsetinfo wcs_chance 30|es_xsetinfo wcs_chance 35|es_xsetinfo wcs_chance 40"
    "skill1_cmd"        "es es_xif (server_var(wcs_dice) <= server_var(wcs_chance)) then ma_timebomb event_var(userid);es es_xtell event_var(attacker) #green Hardwired event_var(es_username);es es_xtell event_var(userid) #green You are about to be owned by event_var(es_attackername)"
    "skill1_fx"           "0"
Logged

OmegaNemesis28
Level 3 Trained Apprentice
***
Offline Offline

United States United States

Posts: 68


S.T.A.R.S!!


WWW
« Reply #3 on: July 15, 2007, 03:19:00 AM »

Dude you are AWSOME 
Logged

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

United States United States

Posts: 866




bonggged

myServer 208.167.243.228:27015
(Warning: connects through Steam)
« Reply #4 on: July 15, 2007, 03:27:29 AM »

Your welcome I have a skill like that where I use Fire bomb
Logged

MikeHORROR
Level 0 Beginner

Offline Offline

Belgium Belgium

Posts: 5




Cptbullet
« Reply #5 on: December 03, 2008, 08:42:01 PM »



This would be an example as a player_attacker type of skill
Code:
    "skill1_setting"    "es_xsetinfo wcs_chance 5|es_xsetinfo wcs_chance 10|es_xsetinfo wcs_chance 15|es_xsetinfo wcs_chance 20|es_xsetinfo wcs_chance 25|es_xsetinfo wcs_chance 30|es_xsetinfo wcs_chance 35|es_xsetinfo wcs_chance 40"
    "skill1_cmd"        "es es_xif (server_var(wcs_dice) <= server_var(wcs_chance)) then ma_timebomb event_var(userid);es es_xtell event_var(attacker) #green Hardwired event_var(es_username);es es_xtell event_var(userid) #green You are about to be owned by event_var(es_attackername)"
    "skill1_fx"           "0"

Well, TeacherCreature, you use this example as a player_attacker type, but how do you edit it to a player_victim/player_death skill?
Like you get killed and the guy that killed you gets turned into a timebomb
Logged
Akel
Level 0 Beginner

Offline Offline

United States United States

Posts: 8


But... I'm Probably Wrong.



Akel
akeldama

myServer 69.93.99.14:27016
(Warning: connects through Steam)
« Reply #6 on: December 04, 2008, 02:01:45 AM »

Thread Necromancy!!

Just Change The player_attacker To player_victim, And It Should Trigger On The Person Victimising You, Right? =P
Logged
MikeHORROR
Level 0 Beginner

Offline Offline

Belgium Belgium

Posts: 5




Cptbullet
« Reply #7 on: December 04, 2008, 12:55:24 PM »

Thread Necromancy!!

Just Change The player_attacker To player_victim, And It Should Trigger On The Person Victimising You, Right? =P

Yeah, or the one killing you, with a 100% chance, because it's victim or death
But I thought to do that, but wasn't shure, thats why I asked
Logged
Serenkiy Vol4onok
Level 6 Experienced
*****
Offline Offline

Russian Federation

Posts: 137


Never Surrender!!!


« Reply #8 on: December 04, 2008, 08:37:11 PM »

Well, TeacherCreature, you use this example as a player_attacker type, but how do you edit it to a player_victim/player_death skill?
Like you get killed and the guy that killed you gets turned into a timebomb

victim
Code:
"skill1_setting"    "es_xrand wcs_rand 1 90|es_xrand wcs_rand 1 85|es_xrand wcs_rand 1 70|es_xrand wcs_rand 1 65|es_xrand wcs_rand 1 60|es_xrand wcs_rand 1 55|es_xrand wcs_rand 1 50"
    "racealias_ne1"    "ma_timebomb event_var(attacker)"
    "skill1_cmd"        "es es_xif (server_var(wcs_rand) <= 10) then est_isalive wcs_alive event_var(userid);es es_xif (server_var(wcs_rand) <= 10) then es_xif (server_var(wcs_alive) = 1) then racealias_ne1"
    "skill1_sfx"        "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 es_xif (server_var(wcs_rand) <= 10) then est_effect 3 #a 0 sprites/yellowflare.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 5 5 255 255 255 255"

death the same but make the chance higher
Logged

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

Offline Offline

Belgium Belgium

Posts: 5




Cptbullet
« Reply #9 on: December 05, 2008, 10:58:16 AM »

Well, TeacherCreature, you use this example as a player_attacker type, but how do you edit it to a player_victim/player_death skill?
Like you get killed and the guy that killed you gets turned into a timebomb

victim
Code:
"skill1_setting"    "es_xrand wcs_rand 1 90|es_xrand wcs_rand 1 85|es_xrand wcs_rand 1 70|es_xrand wcs_rand 1 65|es_xrand wcs_rand 1 60|es_xrand wcs_rand 1 55|es_xrand wcs_rand 1 50"
    "racealias_ne1"    "ma_timebomb event_var(attacker)"
    "skill1_cmd"        "es es_xif (server_var(wcs_rand) <= 10) then est_isalive wcs_alive event_var(userid);es es_xif (server_var(wcs_rand) <= 10) then es_xif (server_var(wcs_alive) = 1) then racealias_ne1"
    "skill1_sfx"        "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 es_xif (server_var(wcs_rand) <= 10) then est_effect 3 #a 0 sprites/yellowflare.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 5 5 255 255 255 255"

death the same but make the chance higher


Thanks mate!
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Last 7 Shouts:
Today at 10:56:34 AM
robtronic, i guess your map has to be accepted by admin, before it's added to dl section
gippo, your abilities go in WCSfunctions/WCSskills/es_WCSskills.txt
Today at 06:29:01 AM
hey guys where do i put the abilities script at
Today at 04:49:30 AM
I added a map 2 days ago, why is it not available to download?
Today at 03:45:49 AM
My opinion is that we've got too many smilies -.-
December 06, 2008, 10:31:14 PM
hey all check out the new smilies :D
December 04, 2008, 09:57:56 PM
gg
Recent
[Today at 11:26:48 AM]

[Today at 11:25:51 AM]

[Today at 11:22:11 AM]

[Today at 11:16:56 AM]

[Today at 11:00:54 AM]

[Today at 04:53:19 AM]

[Today at 01:43:30 AM]

[December 06, 2008, 07:16:44 PM]

[December 06, 2008, 06:29:03 PM]

[December 06, 2008, 02:46:25 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.085 seconds with 28 queries.