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-10-26 (original capture). Home · Forum · All archived topics · Downloads
Warcraft-Source.com - WCS mod for CSS
October 26, 2009, 06:47:22 PM *
Welcome, Guest. Please login or register.
Login with username, password and session length
News: WCS Tournament being opened for applications!

Post here for signups!
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: Savage ~{Infinate Grenades}~  (Read 2192 times)
HOLLIDAY
<Race Maker>
Watchdogs
Level 7 Expert
*****
Offline Offline

Posts: 2270



WWW
Wc3_HOLLIDAY_Wc3
wc3hollidaywc3

myServer 8.2.0.222:27015
(Warning: click connects through Steam)
« on: January 22, 2008, 05:07:29 AM »

Savage !
skills
Grenades   Buy Infinate Grenades   
Ravage     Drug your enemy
Specter     Gain Blinkin Invisibility when hit
Sabotage   Detonate an explosive that kills you and everyone withing range   

This one requires an additional script to be loaded for Infinate Grenades

how many times i get people asking me to fix thier jihad grenades skill...
every time i see it its a totaly different skill..same race i think made by oddity, but the grenade skill is different every time i see it. i dont know if the original worked or not,but none of all the ones i seen did.so i made a small script for event hegrenade_detonate
every time you throw a grenade you get another one
be a little over powered, so i made a menu with the option to buy Infinate Grenades

the skill has 4 lvels and Infinate Grenades will cost you $10000 on level one and $5000 on level 4

the second skill "ravage" looks cool from both points of view...drug, drunk and blind with a physpush...
the est_effects move with the player being pushed in the air
while the userids screen is streching with the drug,drunk and fade effect with a cool sound
victim skill is another ma_render_fx like flickering shadows but a different fx

I tried to make the ultimate go with the grenade skill some how.
so its suicide bomber, you may get a couple of kills by blowing your self up! lol

here it is, hope its not to disapointing

Code:
""
  {
    "name"              "Savage"
    "author"            "HOLLIDAY"
    "required_level"    "325"
    "maximum_level"     "0"
    "allow_only"        "0"
    "teamlimit"         "1"
    "preloadcmd"        "0"
    "player_spawn_cmd"  "es est_effect 10 #a 0 sprites/lgtning.vmt 0 0 900 50 5000 0 20 10 0.8 15 25 255 255 10"
    "round_start_cmd"   "0"
    "round_end_cmd"     "0"
    "numberofskills"    "4"
    "numberoflevels"    "4"
    "skillnames"        "Grenades|Ravage|Specter|Sabotage"
    "skilldescr"        "Buy Infinate Grenades|Drug your enemy|Gain Blinkin Invisibility when hit|Detonate an explosive that kills you and everyone withing range"
    "skillcfg"          "player_spawn|player_attacker|player_victim|player_ultimate"
   
    "skill1_setting"    "es_xsetinfo wcs_cash 10000|es_xsetinfo wcs_cash 8000|es_xsetinfo wcs_cash 6500|es_xsetinfo wcs_cash 5000"
    "skill1_cmd"        "es_xdoblock wcs/WCSultimates/wcs_grenades;es est_csay event_var(userid) Infinate Grenades will cost you $ server_Var(wcs_cash)"
    "skill1_sfx"        "0"
   
    "skill2_setting"    "es_xsetinfo wcs_chance 24|es_xsetinfo wcs_chance 27|es_xsetinfo wcs_chance 30|es_xsetinfo wcs_chance 34"
    "racealias_thsagain""es est_physpush event_var(userid) 0 0 300;es est_fade event_var(userid) 0 1 1 255 18 15 155;es est_drunk event_var(userid) 2;es est_drug event_var(userid) 2;es es_playsound event_var(userid) player/heartbeat1.wav 1;es es_delayed 2.7 es_stopsound event_var(userid) player/heartbeat1.wav"
    "skill2_cmd"        "es es_xif (server_var(wcs_dice) <= server_var(wcs_chance)) then racealias_thsagain"
    "skill2_sfx"        "es es_xif (server_var(wcs_dice) <= server_var(wcs_chance)) then racealias_whtagain"
    "racealias_whtagain""es es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(userid);es_xmath wcs_z1 + 50;es est_effect 10 #a 0 sprites/lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 50 120 .3 20 300 1.8 255 0 28 255 10;es_xmath wcs_z1 + 40;es est_effect 10 #a 0.2 sprites/lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 50 120 .3 20 300 1.8 255 0 28 255 10;es_xmath wcs_z1 + 40;es est_effect 10 #a 0.4 sprites/lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 50 120 .3 20 300 1.8 255 0 28 255 10;es_xmath wcs_z1 - 50;racealias_thtagain"
    "racealias_thtagain""es est_effect 10 #a 0.6 sprites/lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 50 120 .3 20 300 1.8 255 0 28 255 10;es_xmath wcs_z1 - 40;es est_effect 10 #a 0.8 sprites/lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 50 120 .3 20 300 1.8 255 0 28 255 10;es_xmath wcs_z1 - 40;es est_effect 10 #a 1 sprites/lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 50 120 .3 20 300 1.8 255 0 28 255 10"

    "skill3_setting"    "es_xsetinfo wcs_cash 10000|es_xsetinfo wcs_cash 8000|es_xsetinfo wcs_cash 6500|es_xsetinfo wcs_cash 5000"
    "skill3_cmd"        "es es_xif (server_var(wcs_dice) <= server_var(wcs_chance)) then racealias_renderfx"
    "racealias_renderfx""es ma_render_fx event_var(userid) 9;es es_xtell event_var(userid) #multi #lightgreenYou have gained #greenBlinking Invisibility"
    "skill3_sfx"        "0"

    "skill4_setting"    "es_xsetinfo wcs_magnitude 430;es_xsetinfo wcs_radius 580|es_xsetinfo wcs_magnitude 430;es_xsetinfo wcs_radius 580|es_xsetinfo wcs_magnitude 430;es_xsetinfo wcs_radius 580|es_xsetinfo wcs_magnitude 630;es_xsetinfo wcs_radius 780"
    "skill4_cmd"        "es_xdoblock wcs/WCSultimates/wcs_ulti_suicide;es est_slay server_var(wcs_userid)"
    "skill4_sfx"        "es es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 server_Var(wcs_userid);es_xmath wcs_z1 + 50;es est_effect 10 #a 0 sprites/lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 50 1120 .1 20 300 1.8 75 75 255 255 10;es_xmath wcs_z1 + 40;es est_effect 10 #a 0.2 sprites/lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 50 1120 .1 20 300 1.8 75 75 255 255 10;racealias_bombsfx"
    "racealias_bombsfx" "es_xmath wcs_z1 + 40;es est_effect 10 #a 0.4 sprites/lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 50 1120 .1 20 300 1.8 75 75 255 255 10;es_xmath wcs_z1 - 50;es est_effect 10 #a 0.6 sprites/lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 50 1120 .1 20 300 1.8 75 75 255 255 10;es_xmath wcs_z1 - 40;es est_effect 10 #a 0.8 sprites/lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 50 1120 .1 20 300 1.8 75 75 255 255 10;es_xmath wcs_z1 - 40;es est_effect 10 #a 1 sprites/lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 50 1120 .1 20 300 1.8 75 75 255 255 10"
    "ultimate_cooldown" "25"
    }


//ultimate block
Code:
block wcs_grenades
{   
popup create igmenu
popup addline igmenu "Will you buy Infinate Grenades"
popup addline igmenu "->1. Yes"
popup addline igmenu "->2. No"
popup timeout igmenu view 0
es popup send igmenu server_var(wcs_userid)
popup select igmenu 1 wcs/WCSultimates/igmenu
}
block igmenu
{
es es_xgetmoney wcs_money event_var(userid)
es es_xif (server_var(wcs_money) <= server_Var(wcs_cash)) then es est_csay event_Var(userid) You have insufficient funds!
es es_xif (server_var(wcs_money) >= server_Var(wcs_cash)) do
{
es est_cash event_var(userid) - 5000
es_keysetvalue WCSuserdata event_var(userid) allow_jihad 1
es es_xtell event_var(userid) #multi #green[Infinate Grenades]
es est_give event_var(userid) weapon_hegrenade
}
}

//open your es_wcs.txt and find this line

es es_xkeysetvalue WCSuserdata event_var(userid) ability 0

//add this line under

es es_xkeysetvalue WCSuserdata event_var(userid) allow_jihad 0
download the .zip and copy the folder "jihad" to your eventscripts folder add these two lines to your autoexec.cfg
es_load popup
es_load jihad

[attachment deleted by admin - older than 200 days!]
« Last Edit: January 22, 2008, 05:10:28 AM by HOLLIDAY » Logged

YaYo
Level 1 Trained Beginner
*
Offline Offline

Germany Germany

Posts: 28



« Reply #1 on: January 22, 2008, 06:09:49 PM »

Nice Race!

But we found a bug on my server, if anyone takes a grenade (other races) they will get infinite grenades, too!

greets

Logged
Zero Skillz
Level 7 Expert
*****
Offline Offline

United States United States

Posts: 525




Zero Skillz (<-[SD]->madcow)
madcow767
« Reply #2 on: January 23, 2008, 02:48:47 AM »

WOOOOOOOOT!!!! GO HOLLIDAY
You answered my question no one else would, i just recently coded the same exact ultimate you can take a look at zealous bomber race finished and ready 2 use, looks exactly the same without the awsome effects, but i had to make a block to go with it and i couldnt figure out how to just put it into the skill... you answered that thank you!
Logged

YaYo
Level 1 Trained Beginner
*
Offline Offline

Germany Germany

Posts: 28



« Reply #3 on: January 24, 2008, 08:32:29 PM »

Nice Race!

But we found a bug on my server, if anyone takes a grenade (other races) they will get infinite grenades, too!

greets



HOLLIDAY, pls help ^^
Logged
eddy5000
Level 2 Apprentice
**
Offline Offline

Germany Germany

Posts: 45



« Reply #4 on: February 14, 2008, 03:59:13 AM »

Code:
SKILL 3

es_xsetinfo wcs_cash 10000

es es_xif (server_var(wcs_dice) <= server_var(wcs_chance))

wcs_chance or wcs_cash make a decision ^^

@Yayo:

you have to add this in your wcs.txt like HOLLIDAY explained it

Code:
es es_xkeysetvalue WCSuserdata event_var(userid) allow_jihad 0
« Last Edit: February 14, 2008, 04:00:50 AM by eddy5000 » Logged
HOLLIDAY
<Race Maker>
Watchdogs
Level 7 Expert
*****
Offline Offline

Posts: 2270



WWW
Wc3_HOLLIDAY_Wc3
wc3hollidaywc3

myServer 8.2.0.222:27015
(Warning: click connects through Steam)
« Reply #5 on: February 14, 2008, 05:05:13 AM »

Code:
"skill1_setting"    "es_xsetinfo wcs_cash 10000|es_xsetinfo wcs_cash 8000|es_xsetinfo wcs_cash 6500|es_xsetinfo wcs_cash 5000"
    "skill1_cmd"        "es_xdoblock wcs/WCSultimates/wcs_grenades;es est_csay event_var(userid) Infinate Grenades will cost you $ server_Var(wcs_cash)"
    "skill1_sfx"        "0"
   

Quote
wcs_chance or wcs_cash make a decision ^^

what do you mean make up my mind?   it says only cash
Logged

eddy5000
Level 2 Apprentice
**
Offline Offline

Germany Germany

Posts: 45



« Reply #6 on: February 17, 2008, 05:43:35 AM »

Im not talking about skill1 m8

on skill 3 u got es_xsetinfo wcs_cash in the skill settings

but on the skill cmd there is nor var like wcs_cash in use.

u have to change the skill3_setting to es_xsetinfo wcs_chance

u got it?

Logged
Angelღ
Level 7 Expert
*****
Offline Offline

United States United States

Posts: 334


WWW
1101101
younggunelite
« Reply #7 on: February 18, 2008, 08:08:12 AM »

Cant find es es_xkeysetvalue WCSuserdata event_var(userid) ability 0 in version .77

its es_keysetvalue not es es_xkeysetvalue
Logged

"Death is just the first step"

~AJ
letitsquirt
Level 3 Trained Apprentice
***
Offline Offline

United States United States

Posts: 68


ⓡⓐⓩⓩⓛⓔ WCS clan. PM to join.


WWW
hiadamitsbrandon
holyfat
« Reply #8 on: April 13, 2008, 05:55:40 AM »

it doesnt work for me. the endless gernades skill i havent modified it at all, but i have been trying to modify the ultimate the line in the wcs.txt and the autoexec.cfg nothing is working, before every round a message shows up. message is in screenshot in atachments

[attachment deleted by admin - older than 200 days!]
Logged

mobsi
Level 7 Expert
*****
Offline Offline

Germany Germany

Posts: 208



« Reply #9 on: April 26, 2008, 05:06:44 PM »

same happens at my dedicated server :/
Logged

better the devil you know than the devil you don't
CA.Berettonawak
Le renommé méconnu...
Watchdogs
Level 7 Expert
*****
Online Online

France France

Posts: 2640


Big Berettonawak is watching you...


WWW
Bifkids
« Reply #10 on: April 26, 2008, 07:12:19 PM »

You mean no popup appears?
Download latest version (2.0) and this will work fine.
Logged

Quote from: N0life
Beret, keep yourself focusing on 1 project. Be sure to memorize that down since it sounds good.
Quote from: myself
i love tuna juice Cheesy
Quote from: Pietro
=CA= Pietro: back
=CA= Pietro: sorry, was downstair sharing my chocolate with my cat
=CA= Pietro: you should see his face when he ate it xD
Quote from: myself
=CA= Berettonawak: just because you don't have hope doesn't mean we're doomed
[Oddity]TeacherCreature
Moderator
Level 7 Expert
*****
Online Online

United States United States

Posts: 1356



WWW
bonggged

myServer 72.5.102.44:27015
(Warning: click connects through Steam)
« Reply #11 on: May 05, 2008, 07:40:12 PM »

Yea I don't know why noobs have so much trouble with my grenade race.
It is on my server and works fine !

Silly I get the same messages lol...
Logged

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

Posts: 2270



WWW
Wc3_HOLLIDAY_Wc3
wc3hollidaywc3

myServer 8.2.0.222:27015
(Warning: click connects through Steam)
« Reply #12 on: May 05, 2008, 11:08:13 PM »

did you know you can give 1000 grenades to a player with est?

i dont know if its new or i just never knew but if you do est_setammo event_var(userid) 4 1000 

you have infinate grenades, just takes time to throw one and then throw another one without useing event weapon_fire
Logged

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

United States United States

Posts: 1356



WWW
bonggged

myServer 72.5.102.44:27015
(Warning: click connects through Steam)
« Reply #13 on: May 06, 2008, 03:41:51 AM »

oh nice ty
Logged

Pages: [1]   Go Up
  Print  
 
Jump to:  

Last 7 Shouts:
Today at 06:17:47 PM
I feel the same way, DanMister.

Just wow...
Today at 12:59:41 PM
wow...
Today at 05:21:43 AM
is the cracklin because hes getting cooked
Today at 04:23:57 AM
wow suicidal... just wow..... ok so heres another one...  

So a pig calls another pig and says "i can't hear you your 'cracklin'!

BAWHAHHA
Today at 03:03:40 AM
it took me a little to get that joke but hahahaha
October 25, 2009, 10:10:23 PM
So, I duck, goes into an apothacary and buys some chapstick, and says "put it on my bill"
October 25, 2009, 07:30:50 PM
well though, i am sure it uses CSS-provided redirection functions...
Recent
[Today at 06:44:13 PM]

[Today at 06:30:58 PM]

[Today at 06:29:31 PM]

[Today at 04:54:23 PM]

[Today at 03:47:02 PM]

by MiiX
[Today at 02:01:50 PM]

[Today at 12:59:34 PM]

[Today at 12:55:11 PM]

[Today at 10:29:01 AM]

[Today at 10:20:01 AM]
Theme switch

Powered by MySQL Powered by PHP Powered by SMF 1.1.10 | SMF © 2006-2009, Simple Machines LLC
TinyPortal v0.9.8 © Bloc
Valid XHTML 1.0! Valid CSS!
Page created in 0.146 seconds with 25 queries.