HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Creating Item Types

09-08-2007, 02:50 PM#1
PsykieKILLA
Ok, I actually did a search for this one and didn't find anything (but, if there is something, I deserve a thrashing).

I want to know if it is possible to make more types of Items such as Artifact or Purchasable. The reason I want this is because I'm looking at making a weapon/armor system and I don't want to have to use Artifact for weapon and so on because it limits my item types.

So, I want to know if I can make 3 new Item Types: Weapon, Armor, Trinket.

Thank you for reading.
09-08-2007, 04:39 PM#2
Anitarf
Nope.
09-08-2007, 04:43 PM#3
Tiku
well actually you can make your own system, just put like a custom value on the items, then set if you pick up an item with the same custom value to drop or something... :D or you can use health, :/ it gives more possible equiptments. :D
09-09-2007, 01:30 AM#4
Alevice
Quote:
Originally Posted by Tiku
or you can use health

?
09-09-2007, 01:39 AM#5
PsykieKILLA
I don't understand either.
09-09-2007, 01:57 AM#6
TaintedReality
Quote:
I don't understand either.

For example, you could have Weapon items have 1 health. Then, check if the item has 1 health, if so it's a weapon. Armor could have 2 health, etc.
09-09-2007, 03:39 AM#7
teddybear
Tiku you just helped me too!
Thank! +rep
09-09-2007, 03:41 AM#8
PsykieKILLA
hmm, makes sense. Yeah, I could easily do that and just make it any type of item... Thank you.
09-09-2007, 04:02 AM#9
MercyfulJester
Yeah, and then when someone hits an item it transfers from being an armor to a weapon. You could also try using Custom Values.
09-09-2007, 04:29 AM#10
Tiku
maybe make a trigger if you is issued order, order is attack, attacked thing is an item order stop?

idk but heh custom value will probly work better
09-09-2007, 04:36 AM#11
PsykieKILLA
cant you make items invulnerable?
09-09-2007, 05:12 AM#12
Tiku
i dont think so, i tried but was unable to find it.... but maybe theres an ability for an item that makes them invulnerable?
09-09-2007, 05:16 AM#13
TaintedReality
Quote:
Yeah, and then when someone hits an item it transfers from being an armor to a weapon. You could also try using Custom Values.

How often is a unit going to be dealing <2 damage? Just make the health values low enough that they die in one hit.
09-09-2007, 05:19 AM#14
MercyfulJester
It could work for sure, but if Custom Values aren't used for anything else on the map, why not make the system that much more 'perfect'?
09-09-2007, 06:05 AM#15
TaintedReality
The main reason is because you then have to set it through triggers. I guess it depends on how you're doing it - if you're dynamically creating items (such as a prefix/suffix system) then custom values would be just as easy and probably easier. However if you're hand-creating all the items it would be easier to use health.