The forum has been set to read-only mode. For community discussion and questions, head over to our Discord: https://discord.taleoftwowastelands.com

Newb Weapon Damage Question

General mod discussion and requests.
Post Reply
Sandloon
Posts: 149
Joined: Sun May 12, 2013 5:49 am

Newb Weapon Damage Question

Post by Sandloon » Mon Dec 16, 2013 9:13 am

Is there any way, besides ammo types, to add a penetration value to a gun? Like for instance, a unique weapon would negate 2 DT over its base model. Is it just an enchant?


You do not have the required permissions to view the files attached to this post.
"If violence wasn't your last resort, you failed to resort to enough of it"

freakydoo
Posts: 232
Joined: Sun Nov 24, 2013 1:33 am

http://www.nexusmods.com

Post by freakydoo » Mon Dec 16, 2013 9:22 am

http://www.nexusmods.com/newvegas/mods/43557/? the author of this mod has done something similar to what your asking. maybe reverse engineer this work.


asus ROG laptop, specs: i5 3230 3.2, 8gb ram, nvidia gtx 660, Window 8 64 bit, logitech surround + sony xplode 250 car amp powering two 12inch 120 watts sub (wal-mart specials), sound system by freakenstein

mr01
Posts: 21
Joined: Sat Nov 23, 2013 8:29 pm

Absolutely, you have two

Post by mr01 » Mon Dec 16, 2013 10:30 am

Absolutely, you have two routes from what i can tell. One of them work and the other one I've not tested, but from what I see it should work.


Route #1: Make a hidden perk with an effect that decreases target's DT with a condition "GetisID" and have it reference the weapon you want == 1. This will make it so that the perk will only run when you are using the weapon. After that all you need to do is attach a one time run script that adds the hidden perk to the player either to the gun itself or to quest.


Route #2: I noticed that in OWB when i was tinkering around, that there was a specific base effect for DT reduction with a touch condition used for some enemies there. I'm pretty sure you can copy that effect and attach that to an object effect and attach that object effect to the gun and as long as the bullets touch the enemy, the DT reduction will happen. (This is the route that I haven't tested, since i never really thought of straight up giving a gun DT penetration as an effect. However, all other effects that i attach to guns with a touch range seems to work, no doubt that this will work as well).


The first option will be guaranteed but kinda messy since you have to give the player a hidden perk (shotgun surgeon did this). Second option, I haven't tested but theoretically it should be good.



Sandloon
Posts: 149
Joined: Sun May 12, 2013 5:49 am

Ok, that's all I was looking

Post by Sandloon » Tue Dec 17, 2013 6:24 am

Ok, that's all I was looking for. I'll try option 2 most likely since I will want NPCs to benefit from it as well. (and it sounds like it won't let me do that) Thanks! Do you have any idea what the enemy was the one with the trait?


"If violence wasn't your last resort, you failed to resort to enough of it"

mr01
Posts: 21
Joined: Sat Nov 23, 2013 8:29 pm

NVDLC03ReduceDT  [MGEF

Post by mr01 » Tue Dec 17, 2013 10:05 pm

NVDLC03ReduceDT  [MGEF:xx016955] and NVDLC03RoboscorpionGiantWeakenEffect [MGEF:xx0119D7]


These are the two DT reduction effects I remember seeing in OWB. One of them is used for Dr.Klien's Glove and the other deals with the Giant RoboScorpion. You can see if it is worth it to emulate these two base effects and attach them to an object effect for your weapon.


 



Post Reply