• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Remove charges from shop items

Status
Not open for further replies.
Level 14
Joined
Nov 17, 2010
Messages
1,266
I was hoping someone could help me with a small problem. In my campaign I made a few different chests that sell dummy items like "Break it open", "Pick the Lock", "Use a key" etc. When the proper item is "sold" the chest opens blah blah blah.

The problem is that the dummy items have a little number 1 to show the number remaining in the shop. Is there a way to make it so that doesn't show up?

I'm hoping it is just something simple I missed, but it is driving me crazy.

Thanks to anyone who can help


EDIT: If this is unclear please let me know and I'll add a screenshot of what I mean.
 
Level 15
Joined
Oct 29, 2012
Messages
1,474
It's clear, you want the small squared number in the bottom right of the item disappear ?
Maybe knowing the purpose of that may give some benefit, if you just want to make infinitive charges, make Charges Maximum 99 and Splash Retentive Duration to 0 ...

But anyways, anything you see in-game is an UI/Texture, those numbers and square are textures, you must replace them in Import Editor to remove them ( You may see other numbers disappear which ain't related to charges but I don't assure )...

Yet, sorry I don't know the path of the textures ( the square background texture - and the textures of numbers from 0 to 9 )

Maybe someone can give a better idea ^^
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,258
Can you not make them abilities instead? The ownership share used by shops should let you use normal abilities that the shop unit has. Only problem is that you cannot direct usage at a unit, however since this is singleplayer where you probably have a very few main units you can make a guess.
 
Level 14
Joined
Nov 17, 2010
Messages
1,266
Can you not make them abilities instead? The ownership share used by shops should let you use normal abilities that the shop unit has. Only problem is that you cannot direct usage at a unit, however since this is singleplayer where you probably have a very few main units you can make a guess.

I'll give that a try to see if it works. I wasn't aware that the usage sharing of the shops would allow me to do that, but if so that would be perfect. Also there is no need to direct it at any unit since it will just create an item where the chest is opened rather than giving it to a specific unit.

EDIT: That worked. I added the select heroes (without the arrow) and shop sharing abilities along with the abilities I wanted it to use. It works great!
 
Last edited:
Status
Not open for further replies.
Top