Jump to content

New perk has no effect.


Recommended Posts

Basically, this perk is supposed to make bludgeoning weapons ignore the target's DT. The script adds the perk just fine, but the perk does absolutely nothing. The effect is supposed to bring DT to 0 if the weapon is in a particular form list. Currently, this list only contains a baseball bat. There's only one bat, so that's not the problem. I've tried using the functions "IsInList" and "IsWeaponInList" with both "==" and ">=" as well as trying to lower it to 0 using "multiply value, 0" "add value, -999" "set value, 0" and "absolute value, 0." I've already checked to make sure it's the right "modify damage threshold" as well, and with each try gave my character a new bat, then removed the perk to refresh it. (The script adds it back automatically if it is ever removed.) I've also tried changing the priority of the perk and the priority of the perk "piercing strike" in case they were interfering with one another. I've tested it on legion assassins in centurian armour and sentry bots. No matter what I do, the target's DT either remains where it is or increases instead of decreasing, normally the former. So have I done something wrong? If so, what? If not, is it rigged to make this not work or something? (Wouldn't put it past them, honestly.)
Link to comment
Share on other sites

I've tried using the functions "IsInList" and "IsWeaponInList" with both "==" and ">=" as well as trying to lower it to 0 using "multiply value, 0" "add value, -999" "set value, 0" and "absolute value, 0."

 

I cannot follow what you tried to do at all.

 

http://img140.imageshack.us/img140/8900/33747024.png

 

...seems to carve up someone in power armor fairly well.

Link to comment
Share on other sites

I've tried using the functions "IsInList" and "IsWeaponInList" with both "==" and ">=" as well as trying to lower it to 0 using "multiply value, 0" "add value, -999" "set value, 0" and "absolute value, 0."

 

I cannot follow what you tried to do at all.

 

http://img140.imageshack.us/img140/8900/33747024.png

 

...seems to carve up someone in power armor fairly well.

 

Odd, seeing as how that looks like it would set their DT to 999.Doesn't make any sense, but f*** it, whatever, it works.Thank you, by the way.

Edited by avianmosquito
Link to comment
Share on other sites

Odd, seeing as how that looks like it would set their DT to 999.

 

That would be Modify Damage Threshold (defender).

 

Modify Damage Threshold (attacker) is the entry point used by the perk Piercing Strike to negate a targets damage threshold.

 

Not what I meant. I know which one is which, it's just written as "set value 999." That says to me "set value to 999" not "subtract 999 from value." Hey, while we're at it, you happen to know if I can make this apply to unarmed strikes as well? Would using "or isweaponskill unarmed" work? If not, do you know what will?

Edited by avianmosquito
Link to comment
Share on other sites

[Not what I meant. I know which one is which, it's just written as "set value 999." That says to me "set value to 999" not "subtract 999 from value."

 

It's probably meant in the programming sense of use value 999 for whatever function (i.e. entry point) you are calling.

 

Hey, while we're at it, you happen to know if I can make this apply to unarmed strikes as well? Would using "or isweaponskill unarmed" work?

 

That should work, just set it like it is in Piercing Strike. Make sure both conditions are set to OR.

Link to comment
Share on other sites

[Not what I meant. I know which one is which, it's just written as "set value 999." That says to me "set value to 999" not "subtract 999 from value."

 

It's probably meant in the programming sense of use value 999 for whatever function (i.e. entry point) you are calling.

 

Hey, while we're at it, you happen to know if I can make this apply to unarmed strikes as well? Would using "or isweaponskill unarmed" work?

 

That should work, just set it like it is in Piercing Strike. Make sure both conditions are set to OR.

 

Thanks, works great. One last thing: is there a way to make a script apply to every actor?

Link to comment
Share on other sites

Thanks, works great. One last thing: is there a way to make a script apply to every actor?

 

Not to my immediate knowledge. Depending on what you are trying to do, New Vegas Script Extender (NVSE) may be able to help with that. However, I am not knowledgeable about NVSE.

Link to comment
Share on other sites

Thanks, works great. One last thing: is there a way to make a script apply to every actor?

 

Not to my immediate knowledge. Depending on what you are trying to do, New Vegas Script Extender (NVSE) may be able to help with that. However, I am not knowledgeable about NVSE.

 

 

I am! What exactly is it that you want to do to every actor with a script? This will require NVSE for both you and the user, btw.

Link to comment
Share on other sites

Thanks, works great. One last thing: is there a way to make a script apply to every actor?

 

Not to my immediate knowledge. Depending on what you are trying to do, New Vegas Script Extender (NVSE) may be able to help with that. However, I am not knowledgeable about NVSE.

 

 

I am! What exactly is it that you want to do to every actor with a script? This will require NVSE for both you and the user, btw.

 

This script adds five perks to the actor. One is the perk we were discussing in this thread. The others give extra resistances to the actor based on their endurance. Namely, one adds DR and another DT equal to half their endurance score. (Rounded down.) Another gives energy resistance equal to their endurance and the last one fire resistance equal to twice endurance. (Naturally, in the mod they already get 3x endurance as radiation resistance and 4x as poison resistance.)

Edited by avianmosquito
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...