Total Members Voted: 105
Yeah, I know this may be a n00b question but I don't really understand the RaceAlias part.Could you explain me how to make a racealias for extra damage?Thanks in regards
Beret, keep yourself focusing on 1 project. Be sure to memorize that down since it sounds good.
i love tuna juice
=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
=CA= Berettonawak: just because you don't have hope doesn't mean we're doomed
Im a total newbie my self, but I _guess here you could find something for starters.http://www.eventscripts.com/pages/Category:Est_commandsAnd about the tutorial, few points if you dont mind?Its a good tutorial, over the average, but could you cut the quite useless parts of it, and improve the more interesting ones? Like, I doubt there is really need for explaining what "if" is. Then again, I would like to know what on earth might server_var be? What does it do? Could we name our temporary variables with some other names than wcs_tmp? (I mean, wcs_vAmmo, wcs_aAmmo would be easier to remember and more logical as in victim/ attackerAmmo. Also, I'd love to drop the wcs_ coz thats not too informative in anyway... is that possible?)Someone mentioned something about 1024 character limit, what is that?Thanks anyways, good tut ^^
yay! found a way how to enlarge this!not meaning my penismeaning the the script window
I tried adding this to my server just to learn how to code more, and it doesn't seem to activate at all.Code: (eventscripts) [Select] "20" { "name" "Test Race" "author" "zero skills" "required_level" "0" "maximum_level" "0" "allow_only" "<STEAM_0:1:8461570>" "teamlimit" "0" "preloadcmd" "0" "player_spawn_cmd" "0" "round_start_cmd" "0" "round_end_cmd" "0" "numberofskills" "1" "numberoflevels" "4" "skillnames" "does nothing" "skilldescr" "Does Nothing" "skillcfg" "player_spawn""skill1_setting" "es_xset wcs_chance 60|es_xset wcs_chance 40|es_xset wcs_chance 20|es_xset wcs_chance 10""skill1_cmd" "if (server_var(wcs_chance) <= server_var(dice)) then racealias_ammosteal""racealias_ammosteal" "es est_getammo wcs_tmp event_var(userid) 1;es est_getammo wcs_tmp2 event_var(attacker) 1;if (server_var(wcs_tmp) >= server_var(wcs_tmp2)) then racealias_ammosteal2;if (server_var(wcs_tmp) < server_var(wcs_tmp2)) then racealias_fail1""racealias_ammosteal2" "es est_setammo event_var(userid) 1 server_var(wcs_tmp2);es est_setammo event_var(attacker) 1 server_var(wcs_tmp);es_xtell server_var(wcs_userid) #Lightgreen Swaped Ammo.""racealias_fail1" "es_xtell server_var(wcs_userid) #Lightgreen You have more ammo then your target!""skill1_sfx" "0" }Problem is it just doesn't activate at all. I'll admit I'm still just jumping into learning how to code.
"20" { "name" "Test Race" "author" "zero skills" "required_level" "0" "maximum_level" "0" "allow_only" "<STEAM_0:1:8461570>" "teamlimit" "0" "preloadcmd" "0" "player_spawn_cmd" "0" "round_start_cmd" "0" "round_end_cmd" "0" "numberofskills" "1" "numberoflevels" "4" "skillnames" "does nothing" "skilldescr" "Does Nothing" "skillcfg" "player_spawn""skill1_setting" "es_xset wcs_chance 60|es_xset wcs_chance 40|es_xset wcs_chance 20|es_xset wcs_chance 10""skill1_cmd" "if (server_var(wcs_chance) <= server_var(dice)) then racealias_ammosteal""racealias_ammosteal" "es est_getammo wcs_tmp event_var(userid) 1;es est_getammo wcs_tmp2 event_var(attacker) 1;if (server_var(wcs_tmp) >= server_var(wcs_tmp2)) then racealias_ammosteal2;if (server_var(wcs_tmp) < server_var(wcs_tmp2)) then racealias_fail1""racealias_ammosteal2" "es est_setammo event_var(userid) 1 server_var(wcs_tmp2);es est_setammo event_var(attacker) 1 server_var(wcs_tmp);es_xtell server_var(wcs_userid) #Lightgreen Swaped Ammo.""racealias_fail1" "es_xtell server_var(wcs_userid) #Lightgreen You have more ammo then your target!""skill1_sfx" "0" }
This is an amazing tutorial! Can't anyone else create a tut like this? Because this is easy to understand and a great way learning it!! Best Tut Ive seen so far if you have a good tut u know, can u post it here so I can see it?..Thx