| 01-09-2004, 05:28 PM | #1 |
This doesn't seem like it should be such a complicated thing... Okay, here's the deal: Hero picks up a 'bow' item, and his attack goes from melee to ranged. I am not looking for a 'swap the hero for another hero with similar blah blah' answer, I just want to switch the active attack index from 1 to 2. I looked to a few other character to see how it was done on them: Chimaera, Mountain Giant, and Hero's with Orbs. Chimaera: This seemed to be the perfect start. I note that it's default enabled attack is 2, and that the upgrade it gets enables both of them (Including attack 1). I conclude that the reason it does attack 1 to buildings is because the computer will attempt to attack with attack 1 first, and if it can't, THEN resort to attack 2. With that in mind, I make an Orb item that enables attack 1, and Hero's that have attack 2 as their default. First note: The darn attack box showing how much damage they do disappears. That's annoying. Even more annoying, is that it doesn't actually work either. Even with attack 1 enabled, and allowing a ranged target, the unit still attempts to use it's default attack 2 attack. I take a look at the mountain Giant: The war club skill is just ugly, requiring many triggers that I don't want to necessarily worry about, it is a fall back. My next idea: How about I disable BOTH of the Hero's Attacks, and make it so that non bow weapons enable attack 1, and bow weapons enable attack 2. Seems simple, logicly... yet once again just doesn't work. This is starting to urk me something fierce. Is there no simple method of enabling an attack that actually enables the darn attack in a useful way? |
| 01-10-2004, 01:30 AM | #2 |
How bout you give the bow an item ability that extends his firing range. The orb itself will provide a missile gfx. Use an item damage bonus ability to change damage. You dont need attack 2 at all with this method. |
| 01-10-2004, 01:35 AM | #3 |
Attack/Move etc are just abilities described in SLKs. So you can try modifying them... May be it helps you. |
| 01-10-2004, 01:35 AM | #4 |
Or you can use an upgrade. I'm using a method for my open rpg so when a person becomes a god, he gets a chaos attack. There's an upgrade, that when it's upgrade it switch all the person's attacks to attack 1 or 2, none or both. You'll have to looka round for it, but you can do something like this Events: Unit - Unit Aquires an Item Consitions: Item Being Manipulated is equal to Bow Actions: Set Ranged for Player 1 to level 1. Ranged is the upgrade. That'll work... |
