Tuesday, April 23, 2024
Welcome, Guest
Username Password: Remember me

I made my first race :P
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: I made my first race :P

Like this thread on Facebook! Add this thread do Google Buzz

I made my first race :P 12 years, 9 months ago #23845

  • VooDoo
  • OFFLINE
  • Moderator
  • ✪ TheWalross ✪ ERRY DAY
  • Posts: 739
  • Karma: 22
Okay, I know there will be bugs, idk how to code races yet but it is worth a try at learning

Name: Twisted Psychopath

[Twisted Psychopath]
    required = 1650
    maximum = 0

    restrictmap = ""
    restrictteam = 0
    restrictitem = ""

    author = "VooDoo"
    desc = "A mental patient"
    spawncmd = ""
    deathcmd = ""
    roundstartcmd = ""
    roundendcmd = ""
    preloadcmd = ""
    allowonly = ""
    onchange = ""

    numberofskills = 4
    numberoflevels = 5
    skillnames = "Mental Speed|Psychic Damade|Mind Burn|Hidden bomb"
    skilldescr = "Learn to run Fast|Hit and deal more|Burn your foes|Blow up on death"
    skillcfg = "player_spawn|player_attacker|player_attacker|player_death"
    skillneeded = "0|0|0|8"

    [[skill1]]
        setting = " "es_xsetinfo wcs_speed 1.50|es_xsetinfo wcs_speed 1.60|es_xsetinfo wcs_speed 1.70|es_xsetinfo wcs_speed 1.80|"
        cmd = "es wcs_setfx speed event_var(userid) = server_var(wcs_speed) 0"
        sfx = ""
 
    [[skill2]]
        setting = ""
        cmd = "if (event_var(weapon) = null) then es_xif (server_var(wcs_dice) <= 30) then es_xif (event_var(es_userdead) = 0) then wcs_xalias racealias_XAzQc2UL"
        racealias_XAzQc2UL = "es wcs damage event_var(userid) event_var(attacker) server_var(wcs_dmg)"
        sfx = ""
 
    [[skill3]]
        setting = ""
        cmd = "if (server_var(wcs_dice) <= 20) then es_xif (event_var(es_userdead) = 0) then wcs_xalias racealias_IcBfaDsK"
        racealias_IcBfaDsK = "es wcs_setfx burn event_var(userid) = 1 server_var(wcs_time)"
        sfx = ""
 
    [[skill4]]
        setting = ""
        cmd = "if (server_var(wcs_dice) <= server_var(wcs_chance)) then es_xdoblock wcs/tools/ultimates/default/wcs_ulti_suicide"
        sfx = ""
Last Edit: 12 years, 9 months ago by VooDoo.

Re: I made my first race :P 12 years, 9 months ago #23846

  • Liquid Snake
grats on your first race voodoo! although this isnt your first mistake with the wrong section

Re: I made my first race :P 12 years, 9 months ago #23849

  • M3ntoz
  • OFFLINE
  • Administrator
  • Freshmaker!
  • Posts: 1180
  • Karma: 41
I can put it on the test server later on if you want. So you can see whats working and whats not.
Mr.Moo: Damn, Mentoz beat me to it -.-

Re: I made my first race :P 12 years, 9 months ago #23902

  • Gimp
  • OFFLINE
  • Official TWK Admin
  • Posts: 1157
  • Karma: 25
wheres the ultimate that plays dubstep santa 2 , ko love it
GIMP!!!

Re: I made my first race :P 12 years, 9 months ago #23924

  • VooDoo
  • OFFLINE
  • Moderator
  • ✪ TheWalross ✪ ERRY DAY
  • Posts: 739
  • Karma: 22
M3ntoz wrote:
I can put it on the test server later on if you want. So you can see whats working and whats not.


That would be great

Re: I made my first race :P 12 years, 9 months ago #23936

  • Supa
  • OFFLINE
  • Platinum Boarder
  • Hug me!
  • Posts: 361
  • Karma: 7
What the hell I come on the forum and suddenly everyone is making races. Did I miss something here ? Tournament making races or is someone forcing these poor guys ?

Well I'd say let them come aslong their not overpowered and that they are playable it's all good by me

Congratz with your first race
Last Edit: 12 years, 9 months ago by Supa.

Re: I made my first race :P 12 years, 9 months ago #23960

  • VooDoo
  • OFFLINE
  • Moderator
  • ✪ TheWalross ✪ ERRY DAY
  • Posts: 739
  • Karma: 22
Supa wrote:
What the hell I come on the forum and suddenly everyone is making races. Did I miss something here ? Tournament making races or is someone forcing these poor guys?


Well ive been learning for a while now and finally decided i would make one

Re: I made my first race :P 12 years, 9 months ago #23963

  • Pooky
  • OFFLINE
  • Official TWK Admin
  • Posts: 711
  • Karma: 49
I'll ask Dreamstate to bring the test server back to life ( it's currently offline, to save CPU ). Then mentoz can add it for ya and check it out

But there are quite some errors in it in a first glance.

Skill 1 : You must split the diff vars in settings with "|" instead of ";" Or else the server will think it's all for 1 lvl.

Eg. "es_xsetinfo wcs_speed 1.50|es_xsetinfo wcs_speed 1.60|..."

Skill 2 & 3 : They are missing setting vars? If you look into the cmd you see they use vars like "Server_var(wcs_dmg)" and "server_var(wcs_time)". But you haven't defined em before, so the server will give errors. So what you got to do, is put the same lay-out as skill 1's settings but with diff vars & values

Eg. "es_xsetinfo wcs_dmg 15|es_xsetinfo wcs_dmg 20|..."

Same goes for Skill 4; for that ultimate you need to define, the radius, magnitude & explosion.

Read the stuff i posted on here
www.twkgaming.com/forum/52-community-pri...17788-wcs-guide.html

And download the newest wcs version that's shared on warcraft-source.com, there you'll find the race called undead scourge, and that race uses the ultimate you're trying to use

Keep it up !

  • Page:
  • 1
Moderators: Chifilly, VooDoo, iMattR
Time to create page: 0.14 seconds