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

Trying to add Energy Resistance to armor

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

Trying to add Energy Resistance to armor

Post by Sandloon » Tue May 21, 2013 8:01 am

As the title suggests, im trying to add a built-in energy resistance to some armors, I found the energy resistance effect (Atomic Cocktail effect) but I have no idea how to add it to the armor using the GECK. 


anyone that could help me understand how to do this, I would be very appreciative. Thanks!


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

User avatar
pintocat
Posts: 576
Joined: Sun Apr 07, 2013 12:50 am

Fire resistance is a Base

Post by pintocat » Tue May 21, 2013 9:07 am

Fire resistance is a Base Effect. Base effects can be added to ingestibles, because they're actually a type of effect themselves. But to add it to armor you have to make an Object Effect, set the object effect's Type to "Apparel", add the base effect to the object effect, and add the object effect to the armor (because armor is an object).


A Base effect can be added to an Actor Effect, Ingestible, or Object Effect. Object effects are applied to weapons/armor. Actor effects are for abilities, such as added by perks.



Darkersun
Posts: 189
Joined: Mon Sep 17, 2012 7:29 am

There is an object effect

Post by Darkersun » Wed May 22, 2013 7:37 am

There is an object effect that can help you: NVenergyresistence (I'm not 100% sure about the writing).


Just look for the object effect under NV and you will find it.


(I added it to Tesla Power Armor without any problem)


Regards,

Darkersun


- semi FNV Modder
- Wasteland lover

- System Spec: AMD Phenom II X6 1090T / MSI GTX 970 /12GB DDR3 RAM

dawe1313
Posts: 162
Joined: Fri Mar 22, 2013 4:39 am

the problem with that is

Post by dawe1313 » Wed May 22, 2013 3:23 pm

[quote=Darkersun]...(I added it to Tesla Power Armor without any problem)[/quote]


the problem with that is Tesla armor already has an Object Effect: EnchTeslaArmor "Tesla Armor" [ENCH:0003D332]


this is what gives the +20 Rad Res & +10 Energy Weap, by replacing the EnchTeslaArmor Object Effect, you effectively removed those bonuses and replaced them with something else.


to ADD energy resistance in addition to the existing bonuses, you would need to edit the existing Object Effect: EnchTeslaArmor "Tesla Armor" [ENCH:0003D332] by adding the existing Base Effect: NVIncreaseEnergyResistance "Increased Energy Resistance" [MGEF:000E2F63]


basically, you need to do like pintocat said.


for armors WITHOUT existing Object Effect, you will need to create a new Object Effect and add the appropriate Base Effect.


for armors WITH an existing Object Effect, you will need to EDIT the existing Object Effect and add the appropriate Base Effect.


be careful editing existing Object Effects, they may be used by more than one item. if you want the edited Object Effect to apply to only your chosen item and not any others, you will need to duplicate the existing, give it a new unique EditorID, make your edits, then apply the new EditorID to you chosen item


example: EnchEnclaveArmor "Enclave Armor" [ENCH:0004443C] (+15 Rad Res, +1 STR) is used by Enclave PA, Remnants PA, and Shocktrooper PA.


if you wanted to add Energy Resist to ONLY the Shocktrooper PA, you would need to dupe EnchEnclaveArmor, rename the dupe to EnchShocktrooperArmor, edit EnchShocktrooperArmor to include NVIncreaseEnergyResistance "Increased Energy Resistance" [MGEF:000E2F63], and then apply EnchShocktrooperArmor as the Object Effect on Shocktrooper PA


this will give Shocktrooper PA +15 Rad Res, +1 STR, AND +xx Energy Resistance, but leave Enclave PA & Remnants PA with only their original +15 Rad Res & +1 STR


hope this explains things a little better 


 



Post Reply