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-11-23 (original capture). Home · Forum · All archived topics · Downloads

Author Topic: [shop] Shopitem and shopinfo howto *updated*  (Read 4484 times)

Phat_Wizard

  • <WCS coder>
  • Level 7 Expert
  • Posts: 229
Re: [shop] Shopitem and shopinfo howto *updated*
« Reply #15 on: September 02, 2007, 05:27:36 PM »
Hey i think a good idea for a shop menu item could be a 10sec invul to wards? ;)


edit: i made this shop item. you can see here and here
« Last Edit: September 02, 2007, 08:33:10 PM by Phat_Wizard »

kryptonite

  • <WCS coder>
  • Administrator
  • Level 7 Expert
  • Posts: 1110
Re: [shop] Shopitem and shopinfo howto *updated*
« Reply #16 on: September 03, 2007, 06:51:23 AM »
nice item!! thanks a lot!  :mrgreen: :mrgreen:
(click to show/hide)

=[LSS]= Soldier

  • Level 7 Expert
  • Posts: 538
Re: [shop] Shopitem and shopinfo howto *updated*
« Reply #17 on: September 03, 2007, 09:37:46 AM »
itemconfig
When should the code be executed ?
player_attacker, player_victim, player_spawn, player_say, player_bomb, player_defuse
The Periapt gives health, so player_spawn is the correct choice.


Krypt, you posted that, and I was wondering about player_bomb and player_defuse...what exactly are they for?

Is defuse activated while your defusing a bomb?  If it is it'd be awesome to make an invincibility to headshots/torso shots while defusing

and is bomb for planting?  If it is, invincibility would be awesome while planting

And again, if it is, it would require blocks right?

=[LSS]= NEW Wc3 Server

Stinkyfax

  • I <3 WCS
  • Level 7 Expert
  • Posts: 2020
Re: [shop] Shopitem and shopinfo howto *updated*
« Reply #18 on: September 03, 2007, 10:02:44 AM »
you can already make those skills without this future, but it will be just a bit harder  ;)



chrishot

  • Level 7 Expert
  • Posts: 164
Re: [shop] Shopitem and shopinfo howto *updated*
« Reply #19 on: September 03, 2007, 01:26:45 PM »
what about a item which is basically the undead ultimate i have already made it here it is up to you though edit the name if you want

Code: [Select]
""
  {
  "name"        "Blowup Baby"
  "description" "Explode when die and do 69 dmg in an area of 150 ft"
  "category"    "5"
  "cost"        "10000"
  "level"       "0"
  "dab"         "1"
  "duration"    "1"
  "maxamount"   "0"
  "itemconfig"  "player_death"
  "cmdbuy"      "0"
  "cmdactivate" "es_xsetinfo wcs_chance 100;es_xsetinfo wcs_magnitude 69;es_xsetinfo wcs_radius 150;es es_xdoblock wcs/WCSultimates/wcs_ulti_suicide
  }

kryptonite

  • <WCS coder>
  • Administrator
  • Level 7 Expert
  • Posts: 1110
Re: [shop] Shopitem and shopinfo howto *updated*
« Reply #20 on: September 03, 2007, 01:39:43 PM »
right Soldier, when I coded this I thought of just that kind of skills:
get invisible when planting bomb or get invincible while defusing

But, that two events are removed, because nobody used them .....
Basically you can setup every event, even when you fire your weapon or your ammo is empty.

nice item chrishot!! But we should restrict that item for the Undead race, or they will get a double suicide bomber lol
(click to show/hide)

=[LSS]= Soldier

  • Level 7 Expert
  • Posts: 538
Re: [shop] Shopitem and shopinfo howto *updated*
« Reply #21 on: September 03, 2007, 09:07:32 PM »
Is it completely removed from EVERY WCS server, or only the core ones?  Cause they sound pretty awesome...I woulda made some if I actually new about it...I didn't even know about this sight until early/mid July

=[LSS]= NEW Wc3 Server

kryptonite

  • <WCS coder>
  • Administrator
  • Level 7 Expert
  • Posts: 1110
Re: [shop] Shopitem and shopinfo howto *updated*
« Reply #22 on: September 04, 2007, 10:31:02 AM »
they were introduced in v0.60 I guess and are removed since 0.75.
The Core64 servers use always the latest version.

if you get the old version, you can try to compare this and see how you can insert any event you want, or just bounce around in the es_wcs.txt script.
(click to show/hide)

=[LSS]= Soldier

  • Level 7 Expert
  • Posts: 538
Re: [shop] Shopitem and shopinfo howto *updated*
« Reply #23 on: September 05, 2007, 07:54:29 PM »
Well now that we got a lot more coders, you could re-introduce it if you didn't have to do that much work?  I would start coding/editing skills/shopmenu items right away  :mrgreen: . 

@ Stinky ....I dont get what you mean?

=[LSS]= NEW Wc3 Server

Stinkyfax

  • I <3 WCS
  • Level 7 Expert
  • Posts: 2020
Re: [shop] Shopitem and shopinfo howto *updated*
« Reply #24 on: September 06, 2007, 10:36:28 AM »
good coders don't need it, introducing those events in skill settings only for beginners who doesn't know how events work.



n0Life

  • Part-time Admin
  • Moderator
  • Level 7 Expert
  • Posts: 873
  • WCS Moderator: WCS.de WCS.com WCS.net WCSP.net
Re: [shop] Shopitem and shopinfo howto *updated*
« Reply #25 on: September 06, 2007, 10:58:21 AM »
well i'm not a coder but i'm a user of all of these.
how about an item that makes you invul all areas of the player model except the head or any other part of the model.
surely it has to be expensive so it couldn't be used as an overpowered item.
this would force people to work on their aiming skills to aim the head which i would love to see more challenging people around.

this idea i honestly thought to add into the shadow hunter race so the only part of the model is the head that can take damage. the rest would be invul

restriction should be considered but haven't finished thinking it over but perhaps a level restriction. total level 50-60 required to use item
not stackable and if i remember correctly there's a 2 item limit on core servers so how about it would take both slots.
duration lasts until death or if survived until next round

apart from this item idea, could the next release include an info of what items has been purchased, not only that has been activated
i mean claws of attack or dust of appearance can be seen only when activated(when hitting a player)
like inserting a static message next to HUD that shows what items are in use and has been purchased


Could be called Aegis Armor ?!
Quote
yay! found a way how to enlarge this!
not meaning my penis
meaning the the script window


Stinkyfax

  • I <3 WCS
  • Level 7 Expert
  • Posts: 2020
Re: [shop] Shopitem and shopinfo howto *updated*
« Reply #26 on: September 06, 2007, 11:21:52 AM »
i'm not interested in overpowered items. Winning teams will buy it and loosing will never get a chance.



chrishot

  • Level 7 Expert
  • Posts: 164
Re: [shop] Shopitem and shopinfo howto *updated*
« Reply #27 on: September 06, 2007, 11:49:41 AM »
yeah it a good idea but a bit overpowered maybe if you made the head over sensitive? so that like a shot would cause more damage to the head ( won't make much of a difference)

n0Life

  • Part-time Admin
  • Moderator
  • Level 7 Expert
  • Posts: 873
  • WCS Moderator: WCS.de WCS.com WCS.net WCSP.net
Re: [shop] Shopitem and shopinfo howto *updated*
« Reply #28 on: September 06, 2007, 12:27:36 PM »
as i said, i'm a user not a coder and mostly coders has the best ideas since they think more clearly.
i'd hope to see that on core servers in action.
like mole is restricted to once per life
why not this also?
Quote
yay! found a way how to enlarge this!
not meaning my penis
meaning the the script window


Stinkyfax

  • I <3 WCS
  • Level 7 Expert
  • Posts: 2020
Re: [shop] Shopitem and shopinfo howto *updated*
« Reply #29 on: September 06, 2007, 03:00:33 PM »
coders how to code and know what it's possible to code and what is not. But ideas hm, it's a big problem for everybody.