HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

possible to create custom item class?

12-30-2003, 04:12 AM#1
SektorGaza
I have to make a custom item class for weapons, but is it possible to make it other than the ones that already exist such as Artifact, misselenius, etc etc?
thanx in advance
12-30-2003, 08:58 AM#2
Krakou
I don't think it's possible.
12-30-2003, 09:26 AM#3
Captain Griffen
Probably possible...but it would be more work than it is worth.

Why?

Because if it is so that you have swords, armour, etc. that you drop one if you have one already, just use item hp.

1hp-Weapon.
2hp-Shield

etc.
12-30-2003, 11:50 AM#4
Krakou
How would you create new classes?
Some times ago I asked the UMSWE team to add this feature and they replied that it wasn't possible.
12-30-2003, 12:04 PM#5
Stinky_Pooh
well, if u dont wanna do the hp method (which i belive would work) then just make an item-type array, load up all the types that are part of the class u would like to have, and triggerify ur class... make sure u talk 2 jass team though, there is probably some significant memory leakage with that type of method (seems any pick evey ___ type method leaks, go figure)
12-30-2003, 12:24 PM#6
Krakou
I use the HP system, I was just curious to know.
12-30-2003, 12:28 PM#7
Stinky_Pooh
aight. i think i might try that to.... could be useful
12-30-2003, 01:45 PM#8
FerretDruid
You could also just use the existing classes. Try changing the class of all existing items to "Other" or something, then only putting the items that you want in the classes that you want. It's just a matter of Copy/Pasting the field value a bunch of times...
12-30-2003, 05:01 PM#9
SektorGaza
Quote:
Originally posted by FerretDruid
You could also just use the existing classes. Try changing the class of all existing items to "Other" or something, then only putting the items that you want in the classes that you want. It's just a matter of Copy/Pasting the field value a bunch of times...


yeah I was thinking of doing this, but I might give the HP method a try :) thanx