I've just started to mess with items. I can already create new items and give them abilities. But I've been trying to understand and use weapon items and they're causing me some problems. My first idea was to create a new item (gun class) and make it enable a weapon when equipped. It caused the inventory slot to disappear and the unit got the weapon, but how could I unequip/drop it later? Now I'm trying to make it a general item that "equips" a weapon when activated, but enabling weapons through a buff causes some weird UI changes and I don't know what to do.
Can anyone help an item newbie here? I'm experient with data but the editor doesn't have good tooltips or even examples so I can't figure out what is going on.
I've just started to mess with items. I can already create new items and give them abilities. But I've been trying to understand and use weapon items and they're causing me some problems. My first idea was to create a new item (gun class) and make it enable a weapon when equipped. It caused the inventory slot to disappear and the unit got the weapon, but how could I unequip/drop it later? Now I'm trying to make it a general item that "equips" a weapon when activated, but enabling weapons through a buff causes some weird UI changes and I don't know what to do.
Can anyone help an item newbie here? I'm experient with data but the editor doesn't have good tooltips or even examples so I can't figure out what is going on.
Someone must know how to deal with that. At least a link to a tutorial? The tutorials on items I found don't cover these issues.
I would also be interested to know about weapon items, switching weapons, and equipping/switching out weapons in an inventory.
@EntityEnigma: Go
what exactly, the necro post already says everything. you can activate weapons with buffs but the UI will be messy
Just get the buff to add the weapon like the warbot does.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg