How to make WCS Races Difficulty: Intermediate |
| Category: CS:S > Scripting | Author(s): jking |

"WCSraces"
{
// Format:
// "number" // unique ID !!
// {
// "name" "race name" // The name of the race, keep it short
// "author" "your name" // Who coded this race (can be empty or 0)
// "shortdescription" "text" // you can give a SHORT description, shows in changerace, or "0"
// "required_level" "number" // Minimum level required to choose this race (can be 0, also see config file !!)
// "maximum_level" "number" // Maximum level possible to choose this race (can be 0, also see config file !!)
// "allow_only" " "// Allow only the given Steam-IDs to choose the race (can be 0, also see config !!)
// "teamlimit" "number" // You can limit the race to X for each team. Set 0 to disable
// "preloadcmd" "code" // The commands executed on server start, eg. used to create variables
// "player_spawn_cmd" "code" // Command is executed for players of this race, on spawning
// "round_start_cmd" "code" // Command is executed every round-start for all players
// "round_end_cmd" "code" // Command is executed every round-end for all players
// "numberofskills" "number" // How many skills does this race have ?
// "numberoflevels" "number" // Until which level can players go ?
// "skillnames" "name1|name2|..." // the name of the skills, divided by |
// "skilldescr" "text1|text2|..." // description of the skills, divided by |
// "skillcfg" "cfg1|cfg2|..." // The config it checks on, divided by |, valid are: player_death, player_attacker, player_victim, player_spawn, player_say, player_ultimate
// "skill1_setting" "set1|set2|..." // Setting for each skill, used for set variables/skill strength
// "skill1_cmd" "code" // Code to execute for skill 1
// "skill1_sfx" "code" // Effects code to execute for skill 1
// "skill2_setting" "set1|set2|..." // Setting for each skill, used for set variables/skill strength
// "skill2_cmd" "code" // Code to execute for skill 2
// "skill2_sfx" "code" // Effects code to execute for skill 2
// "skill3_setting" "set1|set2|..." // Setting for each skill, used for set variables/skill strength
// "skill3_cmd" "code" // Code to execute for skill 3
// "skill3_sfx" "code" // Effects code to execute for skill 3
// "skill4_setting" "set1|set2|..." // Setting for each skill, used for set variables/skill strength
// "skill4_cmd" "code" // Code to execute for skill 4
// "skill4_sfx" "code" // Effects to execute for skill 4
// "ultimate_cooldown" "time" // Cooldow time for the LAST skill (if setting is player_ultimate) should be > 0 !
// "racealias_anythng" "code" // create a new alias, good to avoid alot of "if(server_var(wcs_rand) = 1) then ...."
// }
//
// variables like wcs_x1, wcs_y1, wcs_z1, wcs_x2, wcs_y2, wcs_z2, wcs_rand, wcs_health, wcs_dmg already EXISTS and don't have to be initialized
// for the ultimate, DON'T use event_var(userid), use server_var(wcs_userid) instead !
If need some help PM me i also make custam races for points so just pm me |
| Added: 11 months ago | Tags: easy |
 Add Feedback Provide constructive feedback. What is "constructive"?You cannot post yet!Get involved on FPSB by posting your thoughts. Give authors your feedback to help them develop. To post in this submission register or login. |
 The community's verdict. Disapproval Warning This submission has been disapproved and will be automatically trashed if more are made. Please check the submission and vote accordingly. Disapproved for Credit theft (3 times) Disapproved for Double post (1 time)
You cannot assess yet!Moderating FPSB is in your hands - when you assess a submission your vote determines its success or failure. To vote on this submission register or login. This Tutorial in a nutshell... Confusing 2 x Confusing You cannot stamp yet!Stamps let you apply characteristics to submissions to help others understand them. To stamp this submission register or login. .Dont Blame Me Blame Video Games =D Want more? Find related tuts. |