Root/Unroot Question
- pandamanar
- Revenent of the Replies
- Posts: 324
- Joined: Mon Apr 21, 2008 11:39 am
- Contact:
Root/Unroot Question
Is it possible to make a tower rotate towards its target when it attacks using Root/Unroot or is that only a feature of the models of the Ancients (Protectors/AoW/AoL/AoW/Tree of Life). I've tried this, in an attempt to make more realistic towers that are based off of units, but none of them have been able to rotate. It also seems to be bugged if you alter the original spell too much, since I had to reset the spell to keep it from instantly killing the Ancient Protector when it was built. Some of these skills are just bizarre >_<
http://signup.leagueoflegends.com/?ref=4c242dfce214c
Play League of Legends, get to level 10 and I get buffs.
Play League of Legends, get to level 10 and I get buffs.
- Rising_Dusk
- Chosen of the Intargweeb
- Posts: 4031
- Joined: Sat Dec 15, 2007 1:50 pm
- Contact:
Re: Root/Unroot Question
It's both a feature of the ability and the model. The model must have a root bone to pivot around, and then the unit with that model must have the Root ability to actually do it.
"I'll come to Florida one day and make you look like a damn princess." ~Hep
- pandamanar
- Revenent of the Replies
- Posts: 324
- Joined: Mon Apr 21, 2008 11:39 am
- Contact:
Re: Root/Unroot Question
[Edit] Mmm problem solved. I turned them into units and changed the minimum movement speed to 1 so that they can't move within reason, but still operate as units. The only problem now is their collision size since they have to fit the requirements of a building (aka 2x2 space on buildable terrain) but only really take up half that space.
http://signup.leagueoflegends.com/?ref=4c242dfce214c
Play League of Legends, get to level 10 and I get buffs.
Play League of Legends, get to level 10 and I get buffs.
Re: Root/Unroot Question
You could use some form of holding effect on them upon creation, such that their movement speed would be 0, yet still considered units and thus able to pivotpandamanar wrote:[Edit] Mmm problem solved. I turned them into units and changed the minimum movement speed to 1 so that they can't move within reason, but still operate as units. The only problem now is their collision size since they have to fit the requirements of a building (aka 2x2 space on buildable terrain) but only really take up half that space.
- Rising_Dusk
- Chosen of the Intargweeb
- Posts: 4031
- Joined: Sat Dec 15, 2007 1:50 pm
- Contact:
Re: Root/Unroot Question
The point of Root is to pivot about your Root bone, though, not about your origin. (Which is what you get with ensnare/entangling roots)
"I'll come to Florida one day and make you look like a damn princess." ~Hep
- pandamanar
- Revenent of the Replies
- Posts: 324
- Joined: Mon Apr 21, 2008 11:39 am
- Contact:
Re: Root/Unroot Question
I took Oxygen's advice, and it works like a charm. Entangled Roots keeps you from attacking though, so I used Ensnare, which allows casting, attacking and pivoting, without movement. :] thanks
http://signup.leagueoflegends.com/?ref=4c242dfce214c
Play League of Legends, get to level 10 and I get buffs.
Play League of Legends, get to level 10 and I get buffs.
Re: Root/Unroot Question
wouldn't pivoting around the root bone be just about the same as around the origin? the only fail I would see there would be in angled terrain, then again, I'm not even certain
- Rising_Dusk
- Chosen of the Intargweeb
- Posts: 4031
- Joined: Sat Dec 15, 2007 1:50 pm
- Contact:
Re: Root/Unroot Question
The origin is an attachment point, the root is a bone. They are entirely different properties of a model.
"I'll come to Florida one day and make you look like a damn princess." ~Hep
Re: Root/Unroot Question
when it comes to rotating over a fixed point, wouldn't they be similar in function?
- Rising_Dusk
- Chosen of the Intargweeb
- Posts: 4031
- Joined: Sat Dec 15, 2007 1:50 pm
- Contact:
Re: Root/Unroot Question
That depends. The root of some models, the cannon tower for instance, is very high on the model. In the case of the cannon tower, the uppermost part is the root bone that pivots, whereas the origin is at the base of the tower.
"I'll come to Florida one day and make you look like a damn princess." ~Hep
Re: Root/Unroot Question
Oh. So, could you make, like, only a footman or archer's upper part actually rotate?Rising_Dusk wrote:That depends. The root of some models, the cannon tower for instance, is very high on the model. In the case of the cannon tower, the uppermost part is the root bone that pivots, whereas the origin is at the base of the tower.
- Rising_Dusk
- Chosen of the Intargweeb
- Posts: 4031
- Joined: Sat Dec 15, 2007 1:50 pm
- Contact:
Re: Root/Unroot Question
Yes.
"I'll come to Florida one day and make you look like a damn princess." ~Hep
Re: Root/Unroot Question
...even while moving?
- Rising_Dusk
- Chosen of the Intargweeb
- Posts: 4031
- Joined: Sat Dec 15, 2007 1:50 pm
- Contact:
Re: Root/Unroot Question
Yes. (That isn't done with the root ability, though, but rather the SetUnitLookAt native)
"I'll come to Florida one day and make you look like a damn princess." ~Hep