|
=DR= king
|
 |
« on: January 17, 2008, 01:35:50 PM » |
|
This race has custam sounds to make them downloadable you must 1.make a leeroy folder in your sounds folder 2.unrar the sounds in the leeroy folder 3.make a skins folder in your eventscripts folder 4.make a file called es_skins.txt5.then add this in that .txt file GeSHi (eventscripts): block load { // Mark a sound as downloadable. downloadable sound/leeroy/leeroyjenkins.wav downloadable sound/leeroy/explosion05.wav } event es_map_start { // We must mark it as downloadable again on map change. downloadable sound/leeroy/explosion05.wav downloadable sound/leeroy/leeroyjenkins.wav }
6.then you must put es_load skins in your autoexec.cfg 7.last restart your server and injoy =D GeSHi (eventscripts): "115" { "name" "Leeroy Jenkins" "author" "king" "shortdescription" "0" "required_level" "1000" "maximum_level" "0" "allow_only" "0" "teamlimit" "2" "preloadcmd" "0" "player_spawn_cmd" "0" "round_start_cmd" "0" "round_end_cmd" "0" "numberofskills" "2" "numberoflevels" "8" "skillnames" "speed|Leeroy Jenkins!!" "skilldescr" "run faster|Leeroy Jenkins!!" "skillcfg" "player_spawn|player_ultimate" "skill1_setting" "es_xsetinfo wcs_speed 1.08;es_xsetinfo wcs_alpha 50|es_xsetinfo wcs_speed 1.12;es_xsetinfo wcs_alpha 70|es_xsetinfo wcs_speed 1.16;es_xsetinfo wcs_alpha 90|es_xsetinfo wcs_speed 1.20;es_xsetinfo wcs_alpha 110|es_xsetinfo wcs_speed 1.24;es_xsetinfo wcs_alpha 130|es_xsetinfo wcs_speed 1.28;es_xsetinfo wcs_alpha 150|es_xsetinfo wcs_speed 1.32;es_xsetinfo wcs_alpha 170|es_xsetinfo wcs_speed 1.36;es_xsetinfo wcs_alpha 190" "skill1_cmd" "es es_xkeygetvalue wcs_tmp WCSuserdata event_var(userid) speed;es es_xif (server_var(wcs_speed) > server_var(wcs_tmp)) then es est_Speed event_var(userid) server_var(wcs_speed);es es_xif (server_var(wcs_speed) > server_var(wcs_tmp)) then es_xkeysetvalue WCSuserdata event_var(userid) speed server_var(wcs_speed);wcs_getlanguage wcs_lng wcs_lng_r_unholyact;es es_xtell event_var(userid) #multi server_var(wcs_lng)" "skill1_sfx" "es es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(userid);es est_effect 10 #a 0 sprites/smoke.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 20 60 1 4 2 0 255 100 0 255 0" "skill2_setting" "es_xsetinfo wcs_magnitude 90;es_xsetinfo wcs_radius 200|es_xsetinfo wcs_magnitude 100;es_xsetinfo wcs_radius 300|es_xsetinfo wcs_magnitude 150;es_xsetinfo wcs_radius 400|es_xsetinfo wcs_magnitude 270;es_xsetinfo wcs_radius 430|es_xsetinfo wcs_magnitude 300;es_xsetinfo wcs_radius 450|es_xsetinfo wcs_magnitude 150;es_xsetinfo wcs_radius 400|es_xsetinfo wcs_magnitude 270;es_xsetinfo wcs_radius 430|es_xsetinfo wcs_magnitude 300;es_xsetinfo wcs_radius 600" "skill2_cmd" "es est_playplayer server_var(wcs_userid) leroy/leeroyjenkins.wav;es_delayed 3 est_playplayer server_var(wcs_userid) leroy/explosion05.wav;es_delayed 3 es_xdoblock wcs/WCSultimates/wcs_ulti_suicide;es_delayed 3 est_slay server_var(wcs_userid)" "racealias_sadd" "es_xmath wcs_z1 + 15;es est_effect 11 #a 0 sprites/flatflame.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 3 3 255;es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(attacker);es es_xif (server_var(wcs_dice) <= 15) then es_xgetplayerlocation wcs_x2 wcs_y2 wcs_z2 event_var(userid);es es_xif (server_var(wcs_dice) <= 15) then es_xif (server_var(wcs_alive) = 1) then est_Effect 3 #a 0 sprites/flatflame.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 3 6 100 255 55 255" "skill2_sfx" "es est_effect 4 #a 0 sprites/steam1.vmt server_var(wcs_userid) 0.8 10 5 1 255 100 100 200;es es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(userid);es est_effect 10 #a 0 sprites/flatflame.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 50 350 2 90 200 0 155 155 155 155 2;es es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(userid);racealias_sadd" "ultimate_cooldown" "15" }
|
|
|
|
Logged
|
|
|
|
|
|
|
Frodo
WCS ESP Dev Team
Level 7 Expert
Offline
Posts: 788
Actinosphaerium eichhorni
 ckenduroaulix
|
 |
« Reply #1 on: January 17, 2008, 01:42:06 PM » |
|
Second skill won't work. You can't do any es_delayed x es_xdoblock...
|
|
|
|
|
Logged
|
|
|
|
Kilroy
Level 1 Trained Beginner
Offline
 United States
Posts: 32
Kilroyrakkasan123
|
 |
« Reply #2 on: January 17, 2008, 02:09:02 PM » |
|
KING THATS MY RACE!!!!! YOU ONLY DID SOUNDS
|
|
|
|
|
Logged
|
|
|
|
|
=DR= king
|
 |
« Reply #3 on: January 18, 2008, 12:48:23 AM » |
|
KING THATS MY RACE!!!!! YOU ONLY DID SOUNDS
uhh shut the fuck up i made this you cant make races you just call it yours and yes the skill works its on our server now and runs good
|
|
|
|
|
Logged
|
|
|
|
|
=DR= king
|
 |
« Reply #4 on: January 19, 2008, 04:13:59 AM » |
|
wait wtf? it wont kill people can some one fix this problem?
|
|
|
|
|
Logged
|
|
|
|
|
Zero Skillz
|
 |
« Reply #5 on: January 19, 2008, 04:27:45 AM » |
|
you have the radius and magnitude set, but that just sets perameters for how the skill is going to go off king.. If your looking for explode on death then just take the Undead one, where as if you want it so you suicide then go BOOM, may take a little bit more work. Your problem is probly the fact that you dont have any enters between lines of coding.
**Edit** ok i see what you did now you didnt leave out the sfx and cmd but you just made it all one big line. but that would still cause alot of problems, if its like that in your race.txt i would imagine it could cause problems.
|
|
|
|
« Last Edit: January 19, 2008, 02:07:09 PM by |NS| Zero Skillz »
|
Logged
|
|
|
|
|
Zero Skillz
|
 |
« Reply #6 on: January 19, 2008, 02:04:57 PM » |
|
"skill2_setting" "es_xsetinfo wcs_magnitude 90;es_xsetinfo wcs_radius 200|es_xsetinfo wcs_magnitude 100;es_xsetinfo wcs_radius 300|es_xsetinfo wcs_magnitude 150;es_xsetinfo wcs_radius 400|es_xsetinfo wcs_magnitude 270;es_xsetinfo wcs_radius 430|es_xsetinfo wcs_magnitude 300;es_xsetinfo wcs_radius 450|es_xsetinfo wcs_magnitude 150;es_xsetinfo wcs_radius 400|es_xsetinfo wcs_magnitude 270;es_xsetinfo wcs_radius 430|es_xsetinfo wcs_magnitude 300;es_xsetinfo wcs_radius 600" "skill2_cmd" "es est_playplayer server_var(wcs_userid) leroy/leeroyjenkins.wav;es_delayed 3 est_playplayer server_var(wcs_userid) leroy/explosion05.wav;es_delayed 3 es_xdoblock wcs/WCSultimates/wcs_ulti_suicide;es_delayed 3 est_slay server_var(wcs_userid)" "racealias_sadd" "es_xmath wcs_z1 + 15;es est_effect 11 #a 0 sprites/flatflame.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 3 3 255;es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(attacker);es es_xif (server_var(wcs_dice) <= 15) then es_xgetplayerlocation wcs_x2 wcs_y2 wcs_z2 event_var(userid);es es_xif (server_var(wcs_dice) <= 15) then es_xif (server_var(wcs_alive) = 1) then est_Effect 3 #a 0 sprites/flatflame.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 3 6 100 255 55 255" "skill2_sfx" "es est_effect 4 #a 0 sprites/steam1.vmt server_var(wcs_userid) 0.8 10 5 1 255 100 100 200;es es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(userid);es est_effect 10 #a 0 sprites/flatflame.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 50 350 2 90 200 0 155 155 155 155 2;es es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(userid);racealias_sadd" "ultimate_cooldown" "15" }
Ok, so the red part is where you load a block . But that block that you have loaded is from the undead scourge and that skills is designed for a player_death which is your problem you need an ultimate that is designed for player_ultimate that will make a big boom. and is the rest of the coding which i highlighted green just sprites and effects? cause i wanna see this go off then if it is lol!
|
|
|
|
« Last Edit: January 19, 2008, 02:07:57 PM by |NS| Zero Skillz »
|
Logged
|
|
|
|
|
Zero Skillz
|
 |
« Reply #7 on: January 20, 2008, 12:32:44 AM » |
|
GeSHi (eventscripts): "57" { "name" "Leeroy Jenkins" "author" "KING ultimate fixed by zeroskillz" "shortdescription" "0" "required_level" "100" "maximum_level" "0" "allow_only" "0" "teamlimit" "2" "preloadcmd" "0" "player_spawn_cmd" "0" "round_start_cmd" "0" "round_end_cmd" "0" "numberofskills" "2" "numberoflevels" "8" "skillnames" "speed|Leeroy Jenkins!!" "skilldescr" "run faster|Leeroy Jenkins!!" "skillcfg" "player_spawn|player_ultimate" "skill1_setting" "es_xsetinfo wcs_speed 1.08;es_xsetinfo wcs_alpha 50|es_xsetinfo wcs_speed 1.12;es_xsetinfo wcs_alpha 70|es_xsetinfo wcs_speed 1.16;es_xsetinfo wcs_alpha 90|es_xsetinfo wcs_speed 1.20;es_xsetinfo wcs_alpha 110|es_xsetinfo wcs_speed 1.24;es_xsetinfo wcs_alpha 130|es_xsetinfo wcs_speed 1.28;es_xsetinfo wcs_alpha 150|es_xsetinfo wcs_speed 1.32;es_xsetinfo wcs_alpha 170|es_xsetinfo wcs_speed 1.36;es_xsetinfo wcs_alpha 190" "skill1_cmd" "es es_xkeygetvalue wcs_tmp WCSuserdata event_var(userid) speed;es es_xif (server_var(wcs_speed) > server_var(wcs_tmp)) then es est_Speed event_var(userid) server_var(wcs_speed);es es_xif (server_var(wcs_speed) > server_var(wcs_tmp)) then es_xkeysetvalue WCSuserdata event_var(userid) speed server_var(wcs_speed);wcs_getlanguage wcs_lng wcs_lng_r_unholyact;es es_xtell event_var(userid) #multi server_var(wcs_lng)" "skill1_sfx" "es es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(userid);es est_effect 10 #a 0 sprites/smoke.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 20 60 1 4 2 0 255 100 0 255 0" "skill2_setting" "es_xsetinfo wcs_magnitude 90;es_xsetinfo wcs_radius 200|es_xsetinfo wcs_magnitude 100;es_xsetinfo wcs_radius 300|es_xsetinfo wcs_magnitude 150;es_xsetinfo wcs_radius 400|es_xsetinfo wcs_magnitude 270;es_xsetinfo wcs_radius 430|es_xsetinfo wcs_magnitude 300;es_xsetinfo wcs_radius 450|es_xsetinfo wcs_magnitude 150;es_xsetinfo wcs_radius 400|es_xsetinfo wcs_magnitude 270;es_xsetinfo wcs_radius 430|es_xsetinfo wcs_magnitude 300;es_xsetinfo wcs_radius 400" "skill2_cmd" "es es_xdoblock wcs/WCSultimates/kaboom" "skill2_sfx" "0" "ultimate_cooldown" "5" }
there you go fixed coding and heres a block, i've tested it and it works 90% of the time, seems to break if you reload mod while playing it, if that happens reconnect or swap races then swap back ok? GeSHi (eventscripts): block kaboom block kaboom { es est_playplayer server_var(wcs_userid) leroy/leeroyjenkins.wav;es es_delayed 3 est_playplayer server_var(wcs_userid) leroy/explosion05.wav es es_delayed 3 es_xdoblock wcs/WCSultimates/wcs_ulti_suicide es es_delayed 3 est_slay server_var(wcs_userid) } }
Your welcome. **EDIT** fixed the sounds enjoy, and you could be a little more patient considering i'm doing your work for you >.>
|
|
|
|
« Last Edit: January 20, 2008, 01:13:50 AM by |NS| Zero Skillz »
|
Logged
|
|
|
|
|
Zero Skillz
|
 |
« Reply #8 on: January 20, 2008, 12:39:21 AM » |
|
Second skill won't work. You can't do any es_delayed x es_xdoblock...
Frodo i wouldnt be one to opose you but it seems to work fine for me and i put a delay before the ultimate. **edit** Ok frodo just kidding did some more testing and it seems though if you have delay on it if someone is killed within the radius they kill everyone else in the radius and gets the kills .... which kinda sucks. but none the less what i posted before wont work consistently. No way to get them to play at the same time...
|
|
|
|
« Last Edit: January 20, 2008, 12:56:21 AM by |NS| Zero Skillz »
|
Logged
|
|
|
|
|
=DR= king
|
 |
« Reply #9 on: January 20, 2008, 12:41:25 AM » |
|
WTF WHERE ARE THE SOUNDS? THATS THE WHOLE POINT OF THE RACE!
|
|
|
|
|
Logged
|
|
|
|
|
Zero Skillz
|
 |
« Reply #10 on: January 20, 2008, 12:57:05 AM » |
|
King, dude their in ur first post i didnt change the sounds and why they wont play i dont know. i didnt touchem
|
|
|
|
|
Logged
|
|
|
|
|
=[LSS]= Soldier
|
 |
« Reply #11 on: January 20, 2008, 01:50:30 PM » |
|
am i the only one who finds this funny?
|
|
|
|
|
Logged
|
 =[LSS]= NEW Wc3 Server
|
|
|
|
=DR= king
|
 |
« Reply #12 on: January 20, 2008, 01:59:45 PM » |
|
i think you do
|
|
|
|
|
Logged
|
|
|
|
|
Zero Skillz
|
 |
« Reply #13 on: January 20, 2008, 04:55:50 PM » |
|
Its fixed king enjoy it, but the delay is going to make it unstable if you want it 100% stable you need to make it so you blow up instantly, but the sounds wont match up.
|
|
|
|
|
Logged
|
|
|
|
|
=[LSS]= Soldier
|
 |
« Reply #14 on: January 21, 2008, 01:25:18 PM » |
|
i think you do
Even funnier, thanks
|
|
|
|
|
Logged
|
 =[LSS]= NEW Wc3 Server
|
|
|
|