| 02-22-2008, 07:46 PM | #1 |
Made a lot of tests for getting all normal icons from command card (so that it looks like when you used the ward classification) and showing only abilities. I thought I could manage it anyhow with the help of PitzerMike's famous Warcraft III Ability Guide and then just throwing everything together in wild combinations, but well, to tell it very first, I had no succes BUT I found 2 interesting news (for me at least, don't seriously know if they were posted here in the forums) and my bad success doesn't mean that it is not possible anyhow! JASS:// NEW RESULT 1: // Ancient buildings ("etrp") (and perhaps others too) CAN'T move, CAN be selected and // when ordered a location issue with right click, they will immediately turn to that direction!! +CAN fully attack! // Set up: // In Object Editor: Go to Nightelf \ Buildings \ Ancient-Protector (RawData: "etrp"). // Open Abilities - Normal (RawData: "abiList") and remove root ability and add move ability. // (yeah!, here the 'Amov' ability (move) can easily be selected from the list, // although it isn't editable in the abilities window - anyhow without adding fixed AbilityData.slk to W3\Units\.) // Preplace the unit anywhere on your map and test =) // NEW RESULT 2: // Buildings can move like any other unit in game, although they stay buildings!! // Set up: // In Object Editor: Look for desired buildings and open their Abilities - Normal (RawData: "abiList") entry, // to add the move ability. Also give your building some move and turn speed. // Now you could already move your building in game, but remember the Rally Point Icon. // If you would try to click your selected buidling to a new location over right mouse button, // then it wouldn't move, only a rally point would be set. To avoid that, go... // In Trigger Editor: Use a trigger with a custom script for GUI or just Jass. // Type "call UnitRemoveAbility( <YOUR_BUILDING> , 'ARal' )" to remove the Rally point ability. // Now you can move your building like a normal unit. And type "ARal" and not "Aral" like stated in this post here, because then it can get a little bit annoying wondering why it doesn't work... In the end, I will have to use a way like posted here. In fact it isn't what I wanted, but it is another very nice trick for now to get rid of the patrol and organizing the icons. |
