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 2010-01-16 (original capture). Home · Forum · All archived topics · Downloads
Warcraft-Source.com - WCS mod for CSS
January 16, 2010, 01:32:32 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  
Author Topic: can you make this rocket skill work?  (Read 196 times)
Rasmus
Trapped in between
Level 7 Expert
*****
Offline Offline

Denmark Denmark

Posts: 1472




Rasmus4J
rasmus4j
« on: January 13, 2008, 10:56:30 AM »

Hi Phat... i have been working on this rocket skill, but cant make it work:/
can you help me?
Code:
"skill6_setting"    "es xsetinfo wcs_duration 4;es_xsetinfo wcs_chance 10|es_xsetinfo wcs_duration 6;es_xsetinfo wcs_chance 20|es_xsetinfo wcs_duration 8;es_xsetinfo wcs_chance 40|es_xsetinfo wcs_duration 10;es_xsetinfo wcs_chance 60|es_xsetinfo wcs_duration 12;es_xsetinfo wcs_chance 80|es_xsetinfo wcs_duration 15;es_xsetinfo wcs_chance 100"
    "racealias_rocket"  "es est_rocket event_var(attacker) server_var(wcs_duration) 1;es_xtell event_var(userid) #multi #lightgreen : You #greenRocketed event_var(es_username);es_xtell event_var(attacker) #multi #lightgreen : You Have Been #greenRocketed By event_var(es_attackername)"
    "skill6_cmd"        "es es_xif (server_var(wcs_dice) <= server_var(wcs_chance)) then racealias_rocket"
    "skill6_sfx"        "es es_xif (server_var(wcs_dice) <= server_var(wcs_Chance)) then es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(attacker);es_xmath wcs_z1 +50;es est_effect 11 #a 0 sprites/steam1.vmt server_var(wcs_x1) server_var(wcs_y1) server_Var(wcs_z1) 1 2.5 255"
Logged

where would you put the comma in the following telegram from a wife, to her husband in the navy?
"Not getting any better hurry home!"
Phat_Wizard
<WCS coder>
Level 7 Expert
*****
Offline Offline

Canada Canada

Posts: 229




Phat_Wizard
phatwizard
« Reply #1 on: January 13, 2008, 04:35:03 PM »

Ok, first thing is, just looking at the code and guessing what you wanted to do is not possible. The est_rocket command just sends the player in the the air then makes them explode... so with this here code I just fixed up the syntax and and removed the "duration" from the settings since it's not really needed...

Code
GeSHi (eventscripts):
   "skill6_setting"    "es_xsetinfo wcs_chance 10|es_xsetinfo wcs_chance 20|es_xsetinfo wcs_chance 40|es_xsetinfo wcs_chance 60|es_xsetinfo wcs_chance 80|es_xsetinfo wcs_chance 100"
   "racealias_rocket"  "es est_rocket event_var(attacker);es es_xtell event_var(userid) #multi #lightgreen : You #greenRocketed event_var(es_username);es es_xtell event_var(attacker) #multi #lightgreen : You Have Been #greenRocketed By event_var(es_attackername)"
   "skill6_cmd"        "es es_xif (server_var(wcs_dice) <= server_var(wcs_chance)) then racealias_rocket"
   "skill6_sfx"        "es es_xif (server_var(wcs_dice) <= server_var(wcs_Chance)) then es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(attacker);es es_xif (server_var(wcs_dice) <= server_var(wcs_Chance)) then es_xmath wcs_z1 +50;es es_xif (server_var(wcs_dice) <= server_var(wcs_Chance)) then est_effect 11 #a 0 sprites/steam1.vmt server_var(wcs_x1) server_var(wcs_y1) server_Var(wcs_z1) 1 2.5 255"
Logged

Rasmus
Trapped in between
Level 7 Expert
*****
Offline Offline

Denmark Denmark

Posts: 1472




Rasmus4J
rasmus4j
« Reply #2 on: January 13, 2008, 09:44:53 PM »

thanks!! i think this might work:)
if you want to know what i wanted with the skill, its: when someone kills me, he might get rocketed to death... player_death
« Last Edit: January 14, 2008, 09:46:09 AM by 5 Halls = diare » Logged

where would you put the comma in the following telegram from a wife, to her husband in the navy?
"Not getting any better hurry home!"
Pages: [1]   Go Up
  Print  
 
Jump to:  

Last 7 Shouts:
January 14, 2010, 06:18:58 PM
here is the topic i created... please put the skills in there: http://warcraft-source.com/board/index.php/topic,9315.0.html
January 14, 2010, 06:15:26 PM
O.K. I started now the project for a new RaceCreator... I will programm it and upload it then.... would be nice if you could make a topic with all skills texno and all others (sepretated in "player_attacker" etc. )
January 14, 2010, 05:30:29 PM
yeah..
January 14, 2010, 04:11:46 PM
Oh i see... not very much skills / ultimates... and just maximum 4 lvl for the skills lol....
January 14, 2010, 04:08:57 PM
thanks, are there any bugs ?? I can't fix it because first : don't have the programm code and second : don't know if he wrote it in C#...^^
January 14, 2010, 11:37:50 AM
Here's the link... maby you can update it Termi ? "http://warcraft-source.com/board/index.php/topic,6199.0.html"

http://warcraft-source.com/board/index.php/topic,6199.0.html
January 13, 2010, 07:26:02 PM
No prob dude
Recent
[Today at 12:56:34 PM]

[Today at 12:12:58 PM]

[Today at 02:12:10 AM]

[Today at 12:02:45 AM]

[January 15, 2010, 11:58:57 PM]

[January 15, 2010, 11:25:21 PM]

[January 15, 2010, 11:04:53 PM]

[January 15, 2010, 10:44:43 PM]

by NeSo
[January 15, 2010, 07:20:35 PM]

[January 15, 2010, 06:07:34 PM]
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.179 seconds with 26 queries.