I've created a unit inventory and equipment page for some hero units. I've set up the item classes that each one can hold, but when I try to specify which slot in the equipment window is for which item (weapon, armor, etc) any item seems to be able to go into either slot. Atm I have 3 slots, weapon, armor, and misc and the weapon and armor I have on the map work in both slots. I want them to only work in the slot I specify for them but I can't seem to get that working right.
I would like the slot at (0, 2) to be the weapon only slot and (4,2) to be armor only. How would I go about specifying the item class for each slot? Seemed easier in the beta editor(from the tutorial I watched) and now the settings are broken up more and I don't know where to look.
Need make in data editor:
<Speed Charm accessory example>
Button
Buff
Item <Object type = slot location>
Unit
That's just it, what you're suggesting, i already have done. All my items have units, buttons, item classes and actors. The problem is when I get into game to test, the items will go into any slot. The tutorials here were all made with the beta map editor so the screens don't look the same. In the editor I can see exactly what I would set to make it work. Now I can't find it and when I modify my settings my editor crashes. :( I have a hunch that I can't change what I need to because it does keep crashing.
And the editor keeps crashing every time I try to fix what I think is the problem >.>
If I make my "slots - classes" table reflect the actual rows/columns for each slot and set the classes like that it makes the "misc" slot work but the armor/weapon slots seem interchangeable and it adds an extra slot at (0,0) that I did not specify.
Solved. I had my index values wrong for the "slots- classes" array, but couldn't fix them right away due to the editor crashing each time I tried to modify one of the values.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I've created a unit inventory and equipment page for some hero units. I've set up the item classes that each one can hold, but when I try to specify which slot in the equipment window is for which item (weapon, armor, etc) any item seems to be able to go into either slot. Atm I have 3 slots, weapon, armor, and misc and the weapon and armor I have on the map work in both slots. I want them to only work in the slot I specify for them but I can't seem to get that working right.
I would like the slot at (0, 2) to be the weapon only slot and (4,2) to be armor only. How would I go about specifying the item class for each slot? Seemed easier in the beta editor(from the tutorial I watched) and now the settings are broken up more and I don't know where to look.
Specifying item location is done when you create the Data type Item
Following the guide here
http://rpg-exploiters.com/guides-strategies/starcraft-2-galaxyedit-complete-hero-tutorial/
Need make in data editor:
<Speed Charm accessory example>
Button
Buff
Item <Object type = slot location>
Unit
Actor
That's just it, what you're suggesting, i already have done. All my items have units, buttons, item classes and actors. The problem is when I get into game to test, the items will go into any slot. The tutorials here were all made with the beta map editor so the screens don't look the same. In the editor I can see exactly what I would set to make it work. Now I can't find it and when I modify my settings my editor crashes. :( I have a hunch that I can't change what I need to because it does keep crashing.
And the editor keeps crashing every time I try to fix what I think is the problem >.>
@currydevil: Go
If I make my "slots - classes" table reflect the actual rows/columns for each slot and set the classes like that it makes the "misc" slot work but the armor/weapon slots seem interchangeable and it adds an extra slot at (0,0) that I did not specify.
@currydevil: Go
Solved. I had my index values wrong for the "slots- classes" array, but couldn't fix them right away due to the editor crashing each time I tried to modify one of the values.