making a shooter with extended radius.
-
- Scout
- Posts: 173
- Joined: 28 Apr 2006
making a shooter with extended radius.
I want the magma elemental to be able to throw once per battle a rock which will explode (like the cyclops in H4). how do I do that?
- Qurqirish Dragon
- Genie
- Posts: 1011
- Joined: 06 Jan 2006
- Location: Flying the skies of Ohlam
Re: making a shooter with extended radius.
First, you need to add a shooting animation to the graphics file for the elemental (otherwise, when it does a ranged attack, you'll most likely have a crash). Then you can give it the shooting ability with one shot. Using the appropriate commands, you can locate the target of the shot, use any animation you would like (probably the fireball or meteor shower animation), and manually deal the damage to the affected stacks.Le_Faucheur wrote:I want the magma elemental to be able to throw once per battle a rock which will explode (like the cyclops in H4). how do I do that?
If you don't care about having the shooting animation, you can make it an activated ability instead.
I don't have much experience with doing this, so I cannot give you specifics.
- Acid Dragon
- Leprechaun
- Posts: 13
- Joined: 06 Jan 2006
actually about shooting - that won't work, because aside from the *creature* shooting animation you also need to have the *missile* animation - the animation of the thing you shoot at the enemy.
And as far as I know, there's no way of adding that 'shot' animation to the game without hard-coding, so you'll still get a crash.
I don't think it's possible to make the magma elemental shoot.
And as far as I know, there's no way of adding that 'shot' animation to the game without hard-coding, so you'll still get a crash.
I don't think it's possible to make the magma elemental shoot.
-
- Scout
- Posts: 173
- Joined: 28 Apr 2006
too bad, I need to find another idea for it, the magma elemental sucks as it is now.
I managed to make the arrow appear when I target a stack at long range with magma elemental, but indeed it crashed when I clicked.
wait, I saw in the code of the script n°50 that they tried to give the shooting hability to the centaur, but deactivated it. was it because it was too powerful, or because it didn't work?
I managed to make the arrow appear when I target a stack at long range with magma elemental, but indeed it crashed when I clicked.
wait, I saw in the code of the script n°50 that they tried to give the shooting hability to the centaur, but deactivated it. was it because it was too powerful, or because it didn't work?
-
- Scout
- Posts: 173
- Joined: 28 Apr 2006
- Acid Dragon
- Leprechaun
- Posts: 13
- Joined: 06 Jan 2006
Maybe try the !?BR trigger and check if it's round 0 (first round, after tactics phase). Then do a !!DO loop through all your stacks to find an archdevil stack (checking with the !!BM:T? command) and then use the !!BM:C command to have the creature cast a spell.
About the centaur - the centaur is actually the ony creature I know of that has an 'arrow' animation aplied to him but doesn't shoot by default. So you can make the centaur shoot by ERM, I suppose. He already does shoot if he gains enough experience .
EDIT: and about the script - I'm not sure, but I guess it was just considered too powerful to give centaurs the shooting ability from the start...
About the centaur - the centaur is actually the ony creature I know of that has an 'arrow' animation aplied to him but doesn't shoot by default. So you can make the centaur shoot by ERM, I suppose. He already does shoot if he gains enough experience .
EDIT: and about the script - I'm not sure, but I guess it was just considered too powerful to give centaurs the shooting ability from the start...
-
- Scout
- Posts: 173
- Joined: 28 Apr 2006
- UndeadHalfOrc
- Titan
- Posts: 1363
- Joined: 13 Mar 2007
-
- Scout
- Posts: 173
- Joined: 28 Apr 2006
- Qurqirish Dragon
- Genie
- Posts: 1011
- Joined: 06 Jan 2006
- Location: Flying the skies of Ohlam
Who is online
Users browsing this forum: No registered users and 1 guest