Archived copy of warcraft-source.com, the Warcraft: Source (WCS) forum (2007–2011), rebuilt from the Internet Archive by wc3mods.net. This page was captured on 2010-04-09 (original capture). Home · Forum · All archived topics · Downloads

Author Topic: Batman <3 (With Skin !)  (Read 362 times)

Offline tassin

  • Level 5 Trained Intermediate
  • *****
  • Posts: 100
  • Zombie Asylum <3 .
Batman <3 (With Skin !)
« on: November 28, 2009, 04:55:12 PM »
 
Code: [Select]
Hello all :) I've Created a new race with a skin !
A simple race with speed , respawn & Spanwer :D
No c/p
All skills are custom ;)
No effects! ://
Code: [Select]
"$"
  {
    "name"              "Batman <3"
    "author"            "ZA| � T 4 s S ! n < 3"
    "shortdescription"  "Batman is back <3"
    "required_level"    "0"
    "maximum_level"     "0"
    "allow_only"        "0"
    "teamlimit"         "0"
    "preloadcmd"        "0"
    "player_spawn_cmd"  "es est_setmodel event_var(userid) player/mk/ct_sas;es est_playplayer event_var(userid) weapons/physcannon/energy_sing_loop4.wav "
    "round_start_cmd"   "0"
    "round_end_cmd"     "0"
    "numberofskills"    "3"
    "numberoflevels"    "4"
    "skillnames"        "Help Of robin <3|Speed Of Batman <3|Batman spawn weapons <3"
    "skilldescr"        "Robin respawn you|You have speed|You spawn weapons"
    "skillcfg"          "player_death|player_spawn|player_ultimate"

    "skill1_setting"    "es_xset wcs_chance 20|es_xset wcs_chance 50|es_xset wcs_chance 80|es_xset wcs_chance 100"
    "racealias_respawn3""es es_delayed 3 est_spawn event_var(userid) 1;es es_delayed 3 es es_xtell event_var(userid) :Robin Respawn You "
    "skill1_cmd"        "if (server_var(wcs_dice) <= server_var(wcs_chance)) then racealias_respawn3"
    "skill1_sfx"        "0"

    "skill2_setting"    "es_xsetinfo wcs_speed 1.5|es_xsetinfo wcs_speed 2.0|es_xsetinfo wcs_speed 2.5|es_xsetinfo wcs_speed 3.0"
    "skill2_cmd"        "es es_xkeygetvalue wcs_tmp WCSuserdata event_var(userid) speed;es es_xif (server_var(wcs_tmp) > server_var(wcs_speed)) then es_xsetinfo wcs_speed server_var(wcs_tmp);es es_xkeysetvalue WCSuserdata event_var(userid) speed server_var(wcs_speed);es est_Speed event_var(userid) server_var(wcs_speed)"
    "skill2_sfx"        "0"

    "skill3_settings"   "es_xrand wcs_rand 1 1|es_xrand wcs_rand 1 1|es_xrand wcs_rand 1 1|es_xrand wcs_rand 1 1"
    "skill3_cmd"        "es es_xif (server_var(wcs_rand) <= 10) then est_give server_var(wcs_userid) weapon_deagle;es es_xif (server_var(wcs_rand) <= 10) then es_xtell server_var(wcs_userid) #multi #Green : You created a DEEEAGLE.;es es_xif (server_var(wcs_rand) <= 10) then est_give server_var(wcs_userid) weapon_m4a1;es es_xif (server_var(wcs_rand) <= 10) then es_xtell server_var(wcs_userid) #multi #Green : You created an M4444A1."
    "skill3_sfx"        "0"
    "ultimate_cooldown" "0"                                
 }

Code: [Select]
Have fun ;)
Skin:http://www.mediafire.com/?2mfmzmnjime
« Last Edit: December 02, 2009, 06:19:08 PM by tassin »

Offline tassin

  • Level 5 Trained Intermediate
  • *****
  • Posts: 100
  • Zombie Asylum <3 .
Re: Batman <3 (With Skin !)
« Reply #1 on: November 28, 2009, 05:40:17 PM »
No reply ?  ::)

Offline AvasT

  • Level 7 Expert
  • *****
  • Posts: 825
Re: Batman <3 (With Skin !)
« Reply #2 on: November 28, 2009, 07:52:56 PM »
Skill 1 is ok
Skill 2:
Is ok, but you can simplify it by using:
Code: [Select]
es est_speed event_var(userid) server_var(yourspeed)skill 3:
can be  simplified too but its ok :)

Lol?

Offline tassin

  • Level 5 Trained Intermediate
  • *****
  • Posts: 100
  • Zombie Asylum <3 .
Re: Batman <3 (With Skin !)
« Reply #3 on: November 29, 2009, 10:44:59 AM »
Ok
Thanks ;)

Offline MaroX

  • Level 3 Trained Apprentice
  • ***
  • Posts: 77
Re: Batman <3 (With Skin !)
« Reply #4 on: November 29, 2009, 11:18:05 AM »
    "skill3_settings"   "es_xrand wcs_rand 1 1|es_xrand wcs_rand 1 1|es_xrand wcs_rand 1 1|es_xrand wcs_rand 1 1|es_xrand 1 1"

    "racealias_respawn3""es es_delayed 3 est_spawn event_var(userid) 1;es es_delayed 3 es es_xtell event_var(userid) :Robin Respawn You "

Delete the red lines. And on skill 3:
Code: [Select]
es_xtell server_var(wcs_userid) #multi #Green : You created a DEEEAGLE.Dont write #Green with a big G. Just write #green... It would say "#Green <text>" in-game.
And btw 3x speed is a little bit op  :P

Offline Volunterrors

  • Level 3 Trained Apprentice
  • ***
  • Posts: 70
    • Warcraft Phoenix Forum
Re: Batman <3 (With Skin !)
« Reply #5 on: December 02, 2009, 04:56:05 PM »
"es_xrand wcs_rand 1 1|es_xrand wcs_rand 1 1|es_xrand wcs_rand 1 1|es_xrand wcs_rand 1 1|es_xrand 1 1"
    "skill3_cmd"        "es es_xif (server_var(wcs_rand) <= 10)"

You have five setting levels for a race with 4 levels per skill. The setting also makes the odds 100% at every level needs to be like:
"es_xrand wcs_rand 1 100|es_xrand wcs_rand 1 90|es_xrand wcs_rand 1 80|es_xrand wcs_rand 1 70|es_xrand 1 60"

depending on what you want the odds to be. Also no cooldown?

Offline tassin

  • Level 5 Trained Intermediate
  • *****
  • Posts: 100
  • Zombie Asylum <3 .
Re: Batman <3 (With Skin !)
« Reply #6 on: December 02, 2009, 06:20:25 PM »
Thanks for help marox ;)