October 18, 2019, 04:23:20 AM

Author Topic: [Race] Mr.Machine  (Read 2409 times)

Offline Patricken

  • Level 7 Expert
  • *****
  • Posts: 322
  • Country: de
  • Need racepack back contact me if you have!
[Race] Mr.Machine
« on: March 18, 2011, 11:55:46 PM »
Here A New Race To Drink Water
Code: [Select]
[Mr.Machine]
required           = 0
maximum            = 0
restrictmap        = ""
restrictteam       = 0
restrictitem       = ""
author             = "Patricken"
desc               = "You Are A Cool Drink Machine"
spawncmd           = "es playerset model event_var(userid) props_interiors/vendingmachinesoda01a.mdl"
deathcmd           = ""
roundstartcmd      = ""
roundendcmd        = ""
preloadcmd         = ""
allowonly          = ""
onchange           = ""
numberofskills     = 3
numberoflevels     = 6
skillnames         = "Drug Water|Burning Water|More Machines To Drink!"
skilldescr         = "Drug|Burn|Spawn More Vending Machines"
skillcfg           = "player_attacker|player_attacker|player_ultimate"
skillneeded        = "0|0|4"

racealias_drugdrink  = "es wcs drug event_var(userid) server_var(wcs_time);es wcs_xtell event_var(userid) r_banish attacker event_var(es_attackername) victim event_var(es_username) time server_var(wcs_time);es wcs_xtell event_var(attacker) r_banish attacker event_var(es_attackername) victim event_var(es_username) time server_var(wcs_time)"
racealias_burndrink  = "es wcs_setfx burn event_var(userid) = 1 3;es_tell event_var(attacker) #multi #green: #lightgreenYour GunSkill Make Enemy To #defaultburn#lightgreen"

[[skill1]]
setting        = "es_xset wcs_time 1.0|es_xset wcs_time 1.4|es_xset wcs_time 1.8|es_xset wcs_time 2.2|es_xset wcs_time 2.6|es_xset wcs_time 3.0"
cmd            = "if (server_var(wcs_dice) <= 30) then wcs_xalias racealias_drugdrink"
sfx            = "es_getplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(attacker);es_getplayerlocation wcs_x2 wcs_y2 wcs_z2 event_var(userid);es es_xmath wcs_z1 + 40;es es_xmath wcs_z2 + 40;es es_xif (server_var(wcs_dice) <= 100) then est_effect 3 #a 0 sprites/lgtning.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) 1 20 0 50 255 255 150;es es_xmath wcs_z1 + 40;es es_xmath wcs_z2 + 40;es es_xif (server_var(wcs_dice) <= 100) then est_effect 3 #a 0 sprites/lgtning.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) 1 0 20 0 255 255 150"

[[skill2]]
setting = "es_xset wcs_chance 10|es_xset wcs_chance 20|es_xset wcs_chance 30|es_xset wcs_chance 40|es_xset wcs_chance 50|es_xset wcs_chance 60"
cmd = "if (server_var(wcs_dice) <= server_var(wcs_chance)) then wcsx get isdead wcs_dead event_var(userid);if (server_var(wcs_dice) <= server_var(wcs_chance)) then es_xif (server_var(wcs_dead) = 0) then wcs_xalias racealias_burndrink"
sfx = "es_getplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(attacker);es_getplayerlocation wcs_x2 wcs_y2 wcs_z2 event_var(userid);es es_xmath wcs_z1 + 40;es es_xmath wcs_z2 + 40;if (server_var(wcs_dice) <= 100) then es est_effect 10 #a 0 sprites/lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 20 500 3 100 100 0 255 55 0 255 10;es es_xmath wcs_z1 + 40;es es_xmath wcs_z2 + 40"

[[skill3]]
setting        = "es_xset wcs_chance 15|es_xset wcs_chance 25|es_xset wcs_chance 35|es_xset wcs_chance 45|es_xset wcs_chance 55|es_xset wcs_chance 100"
cmd            = "es_prop_physics_create server_var(wcs_userid) props_interiors/vendingmachinesoda01a.mdl"
sfx            = "es_getplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(userid);es est_effect 10 #a 0 sprites/scanner.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 50 350 2 90 200 0 155 155 155 155 2"
cooldown       = "0"
« Last Edit: April 20, 2011, 01:06:25 PM by ραтяι¢кєη »
I'm back and code some races :)

Offline Darkii

  • Level 7 Expert
  • *****
  • Posts: 210
  • Country: 00
  • <3 WCS :)
Re: [Race] Mr.Machine
« Reply #1 on: March 18, 2011, 11:59:34 PM »
Ich würde die skills nicht so nennen.. Überlege mal z.B bei skills1 von welchem getränk wird dir schwindelig usw. wenn man zu viel getrunken hat?? Wenn es schon so ein drink automat ist^^
Bewirb dich jetzt und werde ein Shadow-Fighter
unter
http://shadow-fighter.de/news/?action=show&id=56
Your Search for a very good server...
Than your right by
http://www.server-junkys.de

Offline Patricken

  • Level 7 Expert
  • *****
  • Posts: 322
  • Country: de
  • Need racepack back contact me if you have!
Re: [Race] Mr.Machine
« Reply #2 on: March 19, 2011, 12:01:05 AM »
xD Sry Mir Ist Nix Anderes Eingefallen
I'm back and code some races :)

Offline Hypa

  • Level 7 Expert
  • *****
  • Posts: 352
  • Country: us
  • Blubb
Re: [Race] Mr.Machine
« Reply #3 on: March 19, 2011, 03:04:17 AM »
skill 2 sfx line...

(server_var(wcs_dice) <= 100)

it means that it alwasy triggers the sfx but not the burn

ultimate cooldowntime, and the chance acceleration it could be more smooth like

22|38|53|71|89|100
AWESOME STUFF HERE

If you need help contact me:
Steam: LiteLive
E-Mail: hypakiller@hotmail.de
or here on this Forum.

Supported Languages are German English Spanish

Offline Single

  • Level 5 Trained Intermediate
  • *****
  • Posts: 112
  • Country: pt
  • Basic Coding Aprentice
Re: [Race] Mr.Machine
« Reply #4 on: March 20, 2011, 12:56:02 AM »
Hey tell me a thing, why don't you just make this:

Post with this title - My 5 secs of race making
and then post 30 races! just to don't spam the topics.


Make a Skill Tutorial pls

Offline Patricken

  • Level 7 Expert
  • *****
  • Posts: 322
  • Country: de
  • Need racepack back contact me if you have!
Re: [Race] Mr.Machine
« Reply #5 on: March 20, 2011, 01:06:55 AM »
You Dont Really Like Me Right ?
I'm back and code some races :)

Offline '#kicK!

  • Level 5 Trained Intermediate
  • *****
  • Posts: 113
  • Country: br
  • Just Learning :D, I <3 WCS :)
    • [!RA] Clan Server <3
Re: [Race] Mr.Machine
« Reply #6 on: March 20, 2011, 02:14:13 AM »
niice one, >-<'
Goals
  • Post an race <3
  • Post an race pack <33
  • Learn how to do basic effects
  • Learn how to do advanced effects

[ ] Learn how to do advanced skills
[ ] Be level 7 *u*
[ ] Make a real big, and nice race pack and post it at warcraft-source.com *o*

Offline Impact

  • Level 0 Beginner
  • Posts: 15
  • Country: dk
  • Every coder has a rank.
Re: [Race] Mr.Machine
« Reply #7 on: March 23, 2011, 09:14:14 PM »
Hey tell me a thing, why don't you just make this:

Post with this title - My 5 secs of race making
and then post 30 races! just to don't spam the topics.

Single why don't you just stop looking at his posts?
Satisfaction?