Jeordy
Level 1 Trained Beginner
Offline
 United States
Posts: 20
|
 |
« on: December 20, 2007, 08:03:04 AM » |
|
ok... 1. This is prolly everywhere but i cant seem to figure out how to restrict a race to 1 specific weapon, and give it to the person at spawn... Specifically the Scout for what im working on...
and the more importent... the Ult: My idea is, when the Ultimate is hit, a flash will go off from inside the player, not effecting the player but blinding everyone else, just like a flash bang! So idk if its possible but its the high point of my race, so let me know.. Thanks for your
|
|
|
|
|
Logged
|
|
|
|
|
HOLLIDAY
|
 |
« Reply #1 on: December 20, 2007, 10:24:03 AM » |
|
to restrictall exept the scout you can "es est_restrictall event_var(userid);es es_delayed 1 est_unrestrict event_var(userid) weapon_scout;es es_delayed 1.5 est_give event_var(userid) weapon_scout"
and if you want your ultimate to flash the other team and not blind you or your team you can
"es es_xif (server_var(wcs_team) = 2) then est_fade #c 0 2 1 255 255 255 255;es es_xif (server_var(wcs_team) = 3) then est_fade #t 0 2 1 255 255 255 255"
|
|
|
|
|
Logged
|
 connect 8.2.0.222:27015
|
|
|
Jeordy
Level 1 Trained Beginner
Offline
 United States
Posts: 20
|
 |
« Reply #2 on: December 20, 2007, 04:35:27 PM » |
|
for the ult i dont want it to just be a flashbang that doesnt blind me.. i want it to like... litteraly go off inside the person, or right next to, instantly when just hitting the binded Ultimate button, and then a cooldown of like 30 seconds so it cant be spammed like crazy... get what im saying? and thank you for the weapon thing... i just throw that in anywhere right?
|
|
|
|
|
Logged
|
|
|
|
|
HOLLIDAY
|
 |
« Reply #3 on: December 20, 2007, 05:02:37 PM » |
|
put that in the player_spawn_cmd and that ultimate will make everyone on the other teams screen white when you press ultimate
|
|
|
|
|
Logged
|
 connect 8.2.0.222:27015
|
|
|
Jeordy
Level 1 Trained Beginner
Offline
 United States
Posts: 20
|
 |
« Reply #4 on: December 20, 2007, 10:45:26 PM » |
|
thanks much holliday
|
|
|
|
|
Logged
|
|
|
|
Jeordy
Level 1 Trained Beginner
Offline
 United States
Posts: 20
|
 |
« Reply #5 on: December 20, 2007, 10:49:51 PM » |
|
ok, one more thing.. for the settings, what would it be to change how long the white screen stays for? im sorry for being a noob >.<
|
|
|
|
|
Logged
|
|
|
|
|
Angelღ
|
 |
« Reply #6 on: December 20, 2007, 11:03:48 PM » |
|
its not noobish to ask question its the main part of being Human and to Learn a new Lang of Coding its easyer to learn things when you ask questions to so ya.
|
|
|
|
|
Logged
|
"Death is just the first step" ~AJ 
|
|
|
Jeordy
Level 1 Trained Beginner
Offline
 United States
Posts: 20
|
 |
« Reply #7 on: December 20, 2007, 11:08:55 PM » |
|
ok =P... well my question actually is, with the ultimate from above, what would i put for the settings part of the skill to have the time the screen stays white change per level?
|
|
|
|
|
Logged
|
|
|
|
|
Angelღ
|
 |
« Reply #8 on: December 20, 2007, 11:23:52 PM » |
|
you can do what holliday said then add this so it would be stronger like es_xsetinfo wcs_alpha 300 or es_xsetinfo wcs_alpha 500 so it would be stronger in the Sfx which i think is the Flash Bang or you could change the Colors instand of es es_xif (server_var(wcs_team) = 2) then est_fade #c 0 2 1 255 255 255 255;es es_xif (server_var(wcs_team) = 3) then est_fade #t 0 2 1 255 255 255 255 do this skill1_setting" "es_xsetinfo wcs_Flash 0 2 1 55 55 55 255|es_xsetinfo wcs_Flash 0 3 2 155 155 155 255 "skill1_cmd" "es es_xif (server_var(wcs_team) = 2) then est_fade #c server_var(wcs_Flash);es es_xif (server_var(wcs_team) = 3) then est_fade #t server_var(wcs_Flash)" "skill1_sfx" "0"
I Belive But dont " me on it Sry if i spell anything wrong
|
|
|
|
|
Logged
|
"Death is just the first step" ~AJ 
|
|
|
Jeordy
Level 1 Trained Beginner
Offline
 United States
Posts: 20
|
 |
« Reply #9 on: December 20, 2007, 11:30:47 PM » |
|
Alrighty, so hows this look then? any problems? GeSHi (eventscripts): "name" "The Scout" "author" "RDs Jeordy" "shortdescription" "Master of the Scout" "required_level" "500" "maximum_level" "50" "allow_only" "0" "teamlimit" "0" "preloadcmd" "0" "player_spawn_cmd" "es est_restrictall event_var(userid);es es_delayed 1 est_unrestrict event_var(userid) weapon_scout;es es_delayed 1.5 est_give event_var(userid) weapon_scout" "round_start_cmd" "0" "round_end_cmd" "0" "numberofskills" "5" "numberoflevels" "5" "skillnames" "Life|Sneak|1 Shot!|Super Jump|Glare" "skilldescr" "Don't Die Easy|Where'd That Come From?|Scout Damage|High Jump|OUCH!!" "skillcfg" "player_spawn|player_spawn|player_spawn|player_spawn|player_ultimate" "skill1_setting" "es_xsetinfo wcs_hb 15|es_xsetinfo wcs_hb 30|es_xsetinfo wcs_hb 45|es_xsetinfo wcs_hb 60|es_xsetinfo wcs_hb 100" "skill1_cmd" "es est_Health event_var(userid) + server_var(wcs_hb);es es_xdelayed 0.5 es_xtell event_var(userid) #multi #Lightgreen : You gained #Green server_var(wcs_hb) #Lightgreen extra HP" "skill1_sfx" "0" "skill2_setting" "es_xsetinfo wcs_invis 120;es_xsetinfo wcs_alpha 90|es_xsetinfo wcs_invis 112;es_xsetinfo wcs_alpha 100|es_xsetinfo wcs_invis 104;es_xsetinfo wcs_alpha 110|es_xsetinfo wcs_invis 96;es_xsetinfo wcs_alpha 120|es_xsetinfo wcs_invis 92;es_xsetinfo wcs_alpha 130" "skill2_cmd" "es_xcopy wcs_tmp wcs_invis;es_xmath wcs_tmp float;es_xmath wcs_tmp / -2.55;es_xmath wcs_tmp + 100;es est_rounddecimal wcs_tmp server_var(wcs_tmp) 0;es es_xkeysetvalue WCSuserdata event_var(userid) invisp server_var(wcs_tmp);es est_setplayercolor event_var(userid) 255 255 255 server_var(wcs_invis) 1;wcs_getlanguage wcs_lng wcs_lng_r_invis;es es_xtell event_var(userid) #multi server_var(wcs_lng)" "skill2_sfx" "es es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(userid);es_xmath wcs_z1 + 20;es est_effect 10 #a 0 sprites/lgtning.vmt server_var(wcs_x1) server_var(wcs_y1)server_var(wcs_z1) 30 60 2 10 0 0 0 255 50 128 10" "skill3_setting" "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_us3" "es wcs_dealdamage event_var(attacker) event_var(userid) 150;wcs_getlanguage wcs_lng wcs_lng_r_scoutshot;esnq est_csay event_var(attacker) You Did +150 Damage With Scout Shot!;esnq est_csay event_var(userid) You Were Hit For +150 Damage By Scout Shot" "skill3_cmd" "es es_xif (server_var(wcs_dice) <= server_var(wcs_chance)) then est_isalive wcs_alive event_var(userid);es es_xif (server_var(wcs_dice) <= server_var(wcs_chance)) then es_xif (server_var(wcs_alive) = 1) then racealias_us3" "skill3_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_xgetplayerlocation wcs_x2 wcs_y2 wcs_z2 event_var(userid);es_xmath wcs_z1 + 20;es_xmath wcs_z2 + 20;es es_xif (server_var(wcs_dice) <= server_var(wcs_chance)) then est_Effect 3 #a 0 sprites/glow.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) 0.5 10 10 255 255 0 255" "skill4_setting" "es_xsetinfo wcs_gravity 0.90|es_xsetinfo wcs_gravity 0.75|es_xsetinfo wcs_gravity 0.60|es_xsetinfo wcs_gravity 0.50|es_xsetinfo wcs_gravity 0.40" "skill4_cmd" "es es_xdelayed 2 est_SetGravity event_var(userid) server_var(wcs_gravity);es es_xkeysetvalue WCSuserdata event_var(userid) gravity server_var(wcs_gravity);wcs_getlanguage wcs_lng wcs_lng_r_levitation;es es_xtell event_var(userid) #multi server_var(wcs_lng)" "skill4_sfx" "es es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(userid);es est_Effect 10 #a 0 sprites/lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 20 50 2 60 100 0.8 0 20 100 255 1" "skill5_setting" "es_xsetinfo wcs_alpha 200|es_xsetinfo wcs_alpha 300|es_xsetinfo wcs_alpha 400|es_xsetinfo wcs_alpha 500|es_xsetinfo wcs_alpha 600" "skill5_cmd" "es es_xif (server_var(wcs_team) = 2) then est_fade #c 0 2 1 255 255 255 255;es es_xif (server_var(wcs_team) = 3) then est_fade #t 0 2 1 255 255 255 255" "skill5_sfx" "0" "ultimate_cooldown" "20"
|
|
|
|
|
Logged
|
|
|
|
|
Angelღ
|
 |
« Reply #10 on: December 20, 2007, 11:41:42 PM » |
|
Looks good to me but if alphas dont work then you might want to try it the other way to make them last longer and be a litte stronger ever time you level or you can combied them so it works better and remember to use the Race Checker Found
|
|
|
|
|
Logged
|
"Death is just the first step" ~AJ 
|
|
|
Jeordy
Level 1 Trained Beginner
Offline
 United States
Posts: 20
|
 |
« Reply #11 on: December 20, 2007, 11:55:29 PM » |
|
thanks for ur ... also... is there somthin i can put in to have lightning hit somone, like the graphic? for a different race im working on.. the ult will do damage to an area and i want the graphic for it u get hit by it to be lightning if thats possible... ty
|
|
|
|
|
Logged
|
|
|
|
|
Angelღ
|
 |
« Reply #12 on: December 21, 2007, 12:31:10 AM » |
|
well you can add(lets take this) "skill1_setting" "es_xsetinfo wcs_Flash 0 2 1 55 55 55 255;es_xsetinfo wcs_alpha 200;es_xsetinfo wcs_range 100;es_xsetinfo wcs_dmg 10|es_xsetinfo wcs_Flash 0 3 2 155 155 155 255;es_xsetinfo wcs_alpha 300;es_xsetinfo wcs_range 150;es_xsetinfo wcs_dmg 20" "skill1_cmd" "es es_xif (server_var(wcs_team) = 2) then est_fade #c server_var(wcs_Flash);es es_xif (server_var(wcs_team) = 3) then est_fade #t server_var(wcs_Flash)" "skill1_sfx" "0"
how should we hurt them you say? add race Alias to it "skill1_setting" "es_xsetinfo wcs_Flash 0 2 1 55 55 55 255;es_xsetinfo wcs_alpha 200;es_xsetinfo wcs_range 100;es_xsetinfo wcs_dmg 10|es_xsetinfo wcs_Flash 0 3 2 155 155 155 255;es_xsetinfo wcs_alpha 300;es_xsetinfo wcs_range 150;es_xsetinfo wcs_dmg 20" "racealias_Flash15"es es_xif (server_var(wcs_team) = 2) then est_fade #c server_var(wcs_Flash);es es_xif (server_var(wcs_team) = 3) then est_fade #t server_var(wcs_Flash) then racealias_Flash16" "racealias_Flash16" "es wcs_dealdamage server_var(wcs_range)wcs_dmg)) "skill1_cmd" "if (server_var(wcs_dice) <= server_var(wcs_chance)) then racealias_Flash15" "skill1_sfx" "0"
because of no wcs_chance it should always happen But dont " me on the Wcs_dealdamge im still a little new at this
|
|
|
|
|
Logged
|
"Death is just the first step" ~AJ 
|
|
|
Jeordy
Level 1 Trained Beginner
Offline
 United States
Posts: 20
|
 |
« Reply #13 on: December 21, 2007, 12:38:45 AM » |
|
wait u just confused me... so i want the ultimate to do a fixed amount of damage, 50... with 5 levels, each level increasing the range... and when hit by it they get hit by lightning.. like the orc ult or somthin...
|
|
|
|
|
Logged
|
|
|
|
|
Angelღ
|
 |
« Reply #14 on: December 21, 2007, 12:42:12 AM » |
|
you can add that Sfx is this a new Skill you wanted or The same one where they flash because i can make a Ulitmate that you just said but i think im a little Confused atm.
so is it a new skill or an addon on to the Flash Skill?
|
|
|
|
|
Logged
|
"Death is just the first step" ~AJ 
|
|
|
|