May 27, 2018, 03:34:43 PM

Author Topic: First C/P Race  (Read 920 times)

Offline Fat-Giraffe

  • Level 0 Beginner
  • Posts: 3
First C/P Race
« on: April 03, 2008, 07:44:40 PM »
First C/P Race, please comment and point out mistakes

Code: [Select]
"1"
{
    "name" "Shadow Knight"
    "author" "Fat Giraffe"
    "shortdescription" "A Ghostly Human from the depthness of hell"
    "required_level" "90"
    "maximum_level" "0"
    "allow_only" "0"
    "teamlimit" "0"
    "preloadcmd" "0"
    "player_spawn_cmd" "es wcs_restrict event_var(userid) knife;if (server_var(wcs_game) = server_var(wcs_game_dods)) then racealias_fp_dods;es wcs_givexp event_var(userid) 10 0 0"
    "round_start_cmd" "0"
    "round_end_cmd" "0"
    "numberofskills" "3"
    "numberoflevels" "4"
    "skillnames" "Ghostly Aura|Deathly Speed|Sacred Damage"
    "skilldescr" "Invisbility|Speed increase|Knife damage"
    "skillcfg" "player_spawn|player_spawn|player_attacker"

    "skill1_setting"    "es_xset wcs_invis 40|es_xset wcs_invis 30|es_xset wcs_invis 20|es_xset wcs_invis 10"   
    "skill1_cmd"        "es est_setplayercolor event_var(userid) 255 255 255 server_var(wcs_invis) 1;wcs_getlanguage wcs_lng wcs_lng_r_cloakinvis;es_tell event_var(userid) #multi server_var(wcs_lng);es_xmath wcs_invis float;es_xmath wcs_invis / -2.55;es_xmath wcs_invis + 100;es est_rounddecimal wcs_invis server_var(wcs_invis) 0;es_keysetvalue WCSuserdata event_var(userid) invisp server_var(wcs_invis)"     
    "skill1_sfx"        "es_getplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(userid);es_xmath wcs_z1 + 50;es est_effect 10 #a 0 sprites/lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 20 50 3 10 0 0 0 20 25 255 0"

    "skill2_setting"    "es_xset wcs_speed 1.3;es_xset wcs_hp 15|es_xset wcs_speed 1.4;es_xset wcs_hp 25|es_xset wcs_speed 1.5;es_xset wcs_hp 30|es_xset wcs_speed 1.6;es_xset wcs_hp 35"   
    "skill2_cmd"        "es_keygetvalue wcs_tmp WCSuserdata event_var(userid) speed;if (server_var(wcs_tmp) > server_var(wcs_speed)) then es_xset wcs_speed server_var(wcs_tmp);es_keysetvalue WCSuserdata event_var(userid) speed server_var(wcs_speed);es est_Speed event_var(userid) server_var(wcs_speed);es est_gethealth wcs_health event_var(userid);es_math wcs_health + server_var(wcs_hp);es est_sethealth event_var(userid) server_var(wcs_health);wcs_getlanguage wcs_lng wcs_lng_r_berserk;es_format wcs_lng server_var(wcs_lng) server_var(wcs_hp) server_var(wcs_speed);es_tell event_var(userid) #multi server_var(wcs_lng)"     
    "skill2_sfx"        "es_getplayerlocation 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) 20 50 3 10 0 0 0 20 250 255 0"

    "skill3_setting"    "es_xsetinfo wcs_chance 15|es_xsetinfo wcs_chance 30|es_xsetinfo wcs_chance 45|es_xsetinfo wcs_chance 60|es_xsetinfo wcs_chance 75"
    "racealias_ar3"     "es est_playplayer event_var(userid) npc/roller/mine/rmine_blades_out2.wav;es es_xsetinfo wcs_dmg event_var(dmg_health);es wcs_dealdamage event_var(attacker) event_var(userid) server_var(wcs_dmg);es es_xtell event_var(attacker) #multi #greenBlades: #lightgreenDid Extra Damage"
    "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_alive) = 1) then es_xif (event_var(weapon) = knife) then racealias_ar3"
    "skill3_sfx"        "es es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(userid);es est_effect 8 #a 0 effects/bluespark.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)"

Offline akasasori

  • Level 7 Expert
  • *****
  • Posts: 210
Re: First C/P Race
« Reply #1 on: April 05, 2008, 10:34:16 PM »
mmmhmm...

Invisibility is abuse...Can u reduce him??Knife dmg if we cant see the player and if he have a lot of speed + HP,It will be impossbile to play :/
96-97% invisibility max now...

Offline Espeladden

  • Level 7 Expert
  • *****
  • Posts: 592
  • Country: 00
    • Syndicate Gamers
Re: First C/P Race
« Reply #2 on: April 05, 2008, 10:42:02 PM »
akasori u cant complain. Remeber the races u made/make?
900 hp, and u said it was balanced.