| 10-25-2006, 11:20 AM | #1 |
Is it possible to move the button that heroes click on to learn new abilities? I'd like to shift it up a space to (3,0), and, if possible, remove Patrol altogether. Can anyone give me a hand with this? |
| 10-26-2006, 03:47 PM | #2 |
Well I don't think you can change that but if you wanted to go far enough to get it done. Just make triggers to select a building. Give that building abilities such as move and attack and whatever abilities you want your heor to have. Then link those abilities to your hero. Example: (i havent opened the editor for a while so it may not be spot on) make an ability called move Event - player begins chaneling an ability condition - abiliy equal to "base spell you used to make the move ability" (make an ability called move) action - order "your hero" to "move to" the center of target ability. hotkey m to move ability, a to attack ability and stuff like that. so just use the selected building to move your hero and rearrange your icons anyway u like. there might be an easier way but i just made this up on the fly. use this one to link the selection to your hero and building event - player selects a unit condition - unit selected equals "your hero" action - select "building used to order hero" for player hope that helps :). |
| 10-26-2006, 04:57 PM | #3 |
Edit the "units\commandstrings.txt" file by adding the line "Buttonpos=x,y" where x and y are the coordinates for the position, and insert it in your map under that name to change the position of the movement command buttons and the heroselectskill button. As for removing them, I'm not sure, but removing 'Aatk' might remove the units ability to patrol. It will remove the units ability to attack, so it depends on if you need it. Edit: Just tested removing 'Aatk', it only removes the attack. You can remove 'Amov' and that should remove Move, Hold Position, and Patrol. (Added clarification to original post.) |
| 10-27-2006, 05:35 AM | #4 |
hmph good idea, removing patrol saves a slot for my spell book O_o so... it means there is no way to just remove the patrol button alone ? |
| 10-27-2006, 06:27 AM | #5 |
Not without losing the ability to turn/move your hero. |
| 10-27-2006, 06:47 AM | #6 |
Remove them all together? No one actually uses stop, and move, and attack buttons to actually interact with their hero... |
| 10-27-2006, 08:27 AM | #7 |
Having checked through... It's possible to relocate the hero abilities selection button by editing commandfunc.txt, but you can't get rid of any of the others without removing the units ability to move. This wouldn't be a great problem, since I'm using triggered arrow key movement, but it also removes the units ability to turn. With this in mind, I'm simply going to put the hero learn abilities button up as a hero icon in the top left, and learn abilities via triggers, since that will also allow more than five abilities to choose from. |
| 10-27-2006, 12:40 PM | #8 | ||
Quote:
native SetUnitFacing (unit whichUnit, real facingAngle) returns nothing Quote:
Attack-move requires a button... but, unfortunately, Tiki, removing them also means that they can't perform those actions. :/ |
| 10-27-2006, 04:34 PM | #9 |
SetUnitFacing doesn't function if they can't move, if I recall. |
| 10-27-2006, 04:55 PM | #10 | |
Quote:
Once again, blizz is a douche bag. |
| 10-27-2006, 06:10 PM | #11 | |
Quote:
I think it functions as long as they have a movement speed. |
