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 2008-04-15 (original capture). Home · Forum · All archived topics · Downloads
Warcraft-Source.com - WCS mod for CSS
April 15, 2008, 11:47:28 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: WCS Tournament being opened for applications!

Post here for signups!
Google  
  Home   Forum   Help Search Login Register   *
Pages: [1]   Go Down
  Print  
This topic has not yet been rated! You have not rated this topic. Select a rating:
Author Topic: [Oddity]Flame Thrower ~{shopmenu}~  (Read 468 times)
[Oddity]TeacherCreature
Moderator
Level 7 Expert
*****
Offline Offline

United States United States

Posts: 567



WWW
« on: August 10, 2007, 02:40:32 PM »

My first shopmenu item  FLAME THROWER

Code:
  "oddity.counter.strike.com"
  {
  "name"        "Flamethrower"
  "description" "Burn your enemy"
  "category"    "3"
  "cost"        "6000"
  "level"       "0"
  "dab"         "1"
  "duration"    "1"
  "maxamount"   "0"
  "itemconfig"  "player_attacker"
  "cmdbuy"      "0"
  "shopalias_flame"  "es est_burn event_var(userid) 3;esnq est_csay event_var(attacker) Hit by a Flame Thrower;es es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(userid);es_xmath wcs_z1 + 15;es est_effect 11 #a 0 sprites/xfireball3.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 4 2 255" 
  "cmdactivate" "es es_xif (server_var(wcs_dice) <= 30) then shopalias_flame"
  }
« Last Edit: September 07, 2007, 06:49:55 PM by [Oddity]TeacherCreature » Logged

NovaKiller
<WCS coder>
Level 7 Expert
*****
Offline Offline

Denmark Denmark

Posts: 772


Loves WCS. Loves to make races. Loves to play WCS


WWW
PlaxGunner
« Reply #1 on: August 10, 2007, 03:00:06 PM »

Ok one thing i think there should be is a chance so its not always. In cmdactivate type es es_xif (server_var(wcs_dice) <= 30) then shopalias_flame then make a extra line thats called shopalias_flame and write code in it.
Logged

[Oddity]TeacherCreature
Moderator
Level 7 Expert
*****
Offline Offline

United States United States

Posts: 567



WWW
« Reply #2 on: August 10, 2007, 05:45:08 PM »

Sure go for it

I am gonna leave mine is but  Idid make it cost 7000
Logged

Stinkyfax
Watchdogs
Level 7 Expert
*****
Offline Offline

Lithuania Lithuania

Posts: 1054



WWW
Xrushiov
« Reply #3 on: August 10, 2007, 06:39:37 PM »

so it deals double damage and has many commands which are not needed?
Tell me what did you want to make, i think u did a mistake. Did you actually want give every hit +15 damage and also burn it? Don't forget that burn stucks.
Logged

[Oddity]TeacherCreature
Moderator
Level 7 Expert
*****
Offline Offline

United States United States

Posts: 567



WWW
« Reply #4 on: August 10, 2007, 10:28:31 PM »

Just wanted to burn for 3 seconds when hitting ..

Did I mess that up ?
Logged

Stinkyfax
Watchdogs
Level 7 Expert
*****
Offline Offline

Lithuania Lithuania

Posts: 1054



WWW
Xrushiov
« Reply #5 on: August 11, 2007, 07:01:25 AM »

Quote
es wcs_dealdamage event_var(attacker) event_var(userid) server_var(wcs_damage)
according to this it always deals 15 damage while hit, and also burns if player's hp more than 15.
Logged

[Oddity]TeacherCreature
Moderator
Level 7 Expert
*****
Offline Offline

United States United States

Posts: 567



WWW
« Reply #6 on: August 11, 2007, 02:30:29 PM »

Fixed is that better
Logged

Stinkyfax
Watchdogs
Level 7 Expert
*****
Offline Offline

Lithuania Lithuania

Posts: 1054



WWW
Xrushiov
« Reply #7 on: August 12, 2007, 08:20:23 AM »

it's great now and has no more useless strings like:
es_setinfo wcs_dmg 5
es_math wcs_dmg * 3 
Great job.
Logged

NovaKiller
<WCS coder>
Level 7 Expert
*****
Offline Offline

Denmark Denmark

Posts: 772


Loves WCS. Loves to make races. Loves to play WCS


WWW
PlaxGunner
« Reply #8 on: September 28, 2007, 01:44:37 PM »

Lol that pic looks fun. Is that soda he sprays whit XD or just pink color?
Logged

clown1337
Level 0 Beginner

Offline Offline

United States United States

Posts: 14




smartguy1319
« Reply #9 on: November 24, 2007, 05:20:31 PM »

Where do I put this very l337 object? Also if I buy it what will it look like? I don't understand. Thanks. (Big fan of oddity)
Logged

HOLLIDAY
<Race Maker>
Watchdogs
Level 7 Expert
*****
Offline Offline

Posts: 1528



WWW
Wc3_HOLLIDAY_Wc3
wc3hollidaywc3

myServer 72.249.51.26:27015 72.21.36.203:27015
(Warning: click connects through Steam)
« Reply #10 on: November 25, 2007, 02:03:00 AM »

looks more like some pepto bismo  lol

you should show a screenshot of the effect
you could also add an est_effect 3 fire beam so it looks more like a flame thrower
Logged



Pages: [1]   Go Up
  Print  
 
Jump to:  

Last 7 Shouts:
April 14, 2008, 08:47:37 PM
Seconds u there
April 14, 2008, 06:57:57 PM
Ty see u there
April 13, 2008, 11:00:29 PM
@overfinch123, your application has been accepted
April 13, 2008, 10:10:47 PM
ESELADDEN I entered your WCS tournament i left a reply want me to send itt to you?
April 13, 2008, 10:09:54 PM
Eseladden u there?
April 13, 2008, 08:30:55 AM
WCSUsers db file, move that file
April 13, 2008, 06:24:38 AM
Hey guys how do I move levels to another server?
Recent
[Today at 11:21:51 PM]

[Today at 09:22:37 PM]

[Today at 08:18:30 PM]

by West
[Today at 08:14:12 PM]

by Jeff
[Today at 06:51:25 PM]

[Today at 06:08:09 PM]

[Today at 06:03:36 PM]

[Today at 05:50:59 PM]

[Today at 04:20:36 PM]

[Today at 02:50:39 PM]
Theme switch

Powered by MySQL Powered by PHP Powered by SMF 1.1.4 | SMF © 2006-2007, Simple Machines LLC
TinyPortal v0.9.8 © Bloc
Valid XHTML 1.0! Valid CSS!
Page created in 0.053 seconds with 26 queries.