Staredit Network > Forums > SC2 Assistance > Topic: Consumable Item Difficulties
Consumable Item Difficulties
Oct 1 2010, 8:21 am
By: Alzarath  

Oct 1 2010, 8:21 am Alzarath Post #1

Praetor

So I'm trying to learn about items and whatnot, but I'm stuck. What I'm trying to do is change an items charge count. It's strange, I seem to only be able to have an item that has 5 charges, or 1 charge. I assume this is at fault that I'm duplicating a health potion from the test items. But how would I successfully alter how many charges it can have?



None.

Oct 1 2010, 1:37 pm Temp Post #2



Count Start changes the number of starting charges while Count Max changes the number of maximum charges the item can have. If you would like the change the number of charges after the item has already been picked up you need to use triggers.



None.

Oct 1 2010, 3:54 pm Ahli Post #3

I do stuff and thingies... Try widening and reducing the number of small nooks and crannies to correct the problem.

The GUI editor lacks some direct item support with triggers.
This may help you. I made my hero dropping items with that.




Oct 1 2010, 6:57 pm payne Post #4

:payne:

This might be of interest as well: http://www.staredit.net/topic/12440/



None.

Oct 2 2010, 8:59 pm Alzarath Post #5

Praetor

Sorry, I think I worded that wrong. When I say I want to alter how many charges they have, I mean by default. The max charges only seem to be capable of using either 1 or 5 charges. When I try to set an item to 10 max, 10 start, and 1 use, it shows that it has 10 and the ability is used from the item, but the charges remain untouched, no matter how many times i use it.

EDIT: I just resorted to making them from scratch. I guess Blizzard just sucks at making example items, never duplicate from them. :|

EDIT2: I have 1 more tiny issue. I have a few items that go underground a bit when they have 0 height. I have it so they are 0.15 and 0.05 in height. When I pick them up and drop them, their height resets to 0. I've tried setting the height in the UI and Events for when the actor is created. I see nothing in the events that'd relate to items or dropping. Anyone know how I could solve that?

EDIT3: I also found another problem. When I select one unit and select another, the item slots from eachothers' inventories seem to overlap eachother for some reason. I'll post screenshots later.

Post has been edited 4 time(s), last time on Oct 4 2010, 9:54 pm by Artanis186.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[07:43 am]
NudeRaider -- Vrael
Vrael shouted: if you're gonna link that shit at least link some quality shit: https://www.youtube.com/watch?v=uUV3KvnvT-w
Yeah I'm not a big fan of Westernhagen either, Fanta vier much better! But they didn't drop the lyrics that fit the situation. Farty: Ich bin wieder hier; nobody: in meinem Revier; Me: war nie wirklich weg
[2024-4-29. : 6:36 pm]
RIVE -- Nah, I'm still on Orange Box.
[2024-4-29. : 4:36 pm]
Oh_Man -- anyone play Outside the Box yet? it was a fun time
[2024-4-29. : 12:52 pm]
Vrael -- if you're gonna link that shit at least link some quality shit: https://www.youtube.com/watch?v=uUV3KvnvT-w
[2024-4-29. : 11:17 am]
Zycorax -- :wob:
[2024-4-27. : 9:38 pm]
NudeRaider -- Ultraviolet
Ultraviolet shouted: NudeRaider sing it brother
trust me, you don't wanna hear that. I defer that to the pros.
[2024-4-27. : 7:56 pm]
Ultraviolet -- NudeRaider
NudeRaider shouted: "War nie wirklich weg" 🎵
sing it brother
[2024-4-27. : 6:24 pm]
NudeRaider -- "War nie wirklich weg" 🎵
[2024-4-27. : 3:33 pm]
O)FaRTy1billion[MM] -- o sen is back
Please log in to shout.


Members Online: Ultraviolet, Oh_Man