| 11-20-2003, 09:35 PM | #1 |
ok, how do i change or make Bonus damage if the unit is on higher ground then the unit thats being attacked? |
| 11-20-2003, 09:45 PM | #2 |
Technetium figured out a workaround that you can use to approximate elevation, but it's by no means perfect. Basically, you can just tell how many raise/lower terrain increments a unit is standing on, but anything more specific than that (like actual Z distance) is probably impossible to determine. I guess you can check to see if the attacker's cliff height is > attacked unit's cliff height and give the attacker item bonus damage skill for a second. |
| 11-21-2003, 01:08 AM | #3 |
Or, as an alternate route.. Go into game constants.. Make ChanceToMiss 50% or something. Makes him miss 50% of the time.. Or another way to do it is make it 100%, and find the place where it allows you to set how much damage a unit does on a miss and change it to like 50%... Of course, I don't remember where that was. |
