So I looked into it myself, please remember, I'm not a scripter and consider myself a total novice at modding DA.
Anyway I found this in the "combat_h_nns" script (Thanks DA Wikia!):
if (nAttackType == ATTACK_TYPE_MELEE) {
if (nAbility == 0 && Combat_CheckBackstab (oAttacker, oTarget, oWeapon, fFlanking)) {
nRet = COMBAT_RESULT_BACKSTAB;
}
}
I assume I need to change nAttackType to include ranged attacks, but I don't know the Variables the toolset uses etc. or even if I change the script, how to save it as a mod. More importantly am I right in my assumption that the change needs to be made there, or am I walking blindly in the dark so to speak?
p.s. do we have no [.code] [./code] tags? they don't show up in the post, but they're there....they just seem to do nothing.
Modifié par Akimb0, 06 janvier 2010 - 01:34 .





Retour en haut






