zogthemighty Posted January 8, 2016 Share Posted January 8, 2016 I'm hoping to create a weapon and armor overhaul and could do with help working out how to make certain weapons only usable whilst wearing power armor. Link to comment Share on other sites More sharing options...
Arnaeus Posted January 8, 2016 Share Posted January 8, 2016 (edited) This doesn't prevent an insanely strong character from using the weapon, but you could increase the weight so much that no one wants to have it in the inventory without using powerarmor... The bonus to strength and carrying capacity of the powerarmor should be increased to counter the additional weight. Doesn't make much sense anyway that some characters are as strong without PA as they're with it. There already is a mod that changes the strength bonus: http://www.nexusmods.com/fallout4/mods/2537/? Not a perfect, but probably the easiest way to solve the problem. Edited January 8, 2016 by Arnaeus Link to comment Share on other sites More sharing options...
yerude Posted January 8, 2016 Share Posted January 8, 2016 (edited) I didnt find any way to create "equip conditions" some how. But i dont say it is impossible. I am just not well experienced enough. I think a lot modders thougt about some min. str requirement for some weapons.This would be more logical for your mod aswell. With min str 10 f.e. you would need a powerarmor in most cases to use the weapon.If someone knows how to create min str conditions (like the conditions for perks) for weapons feel free to tell us how ^^ edit:I could imagine a way:maybe it is possible to create a custom "spell" with certain conditions. This way the spell could unequip your weapon everytime the condition "not enough str" will be caused when equipping a weapon.This condition is already in the game, you can copy it of perk str conditions. But you have to create a min str property for every weapon. Dont have time to test it myself but i think it is possible this way (if you could find out the unequip function). If unequipping isnt possible for some reason, also a forcerd lowering weapon down or set speed 0 could do the job. Also i think it should be possible to create a on screen message "your str is not enough to use this weapon" Conditions for power armor should be somewhere too. There is a Pain Train mod which allows using this ability without a power armor, so i guess the condition will be somewhere inside the pain train effect. I dont know for sure, but i guess it is also a spell. Checking the mod will surely be helpful. Edited January 8, 2016 by yerude Link to comment Share on other sites More sharing options...
Darkangel13 Posted January 9, 2016 Share Posted January 9, 2016 Conditions and hidden perks my friend. most accurate would be a script that would play the weapon sheithing animation if conditions are not met. The spell is not bad either BUT beware a spell to do this would have to be constant for functionality cloak like spell. This is causing a ton of problems in Bethesda games. Good luck. Link to comment Share on other sites More sharing options...
lilkandeekid Posted January 9, 2016 Share Posted January 9, 2016 (edited) Sooo my thoughts - From looking at the "Fusion Core Ejector" which is a weapon the only works in power armor, the only thing i can see thats different then other weapons that would allow it to work only in power armor (other then maybe its equip slot) is a "DFOB" reference "PowerArmorFusionCoreLaunchWeapon_Do". My question - If you copy the DFOB, point the copy at your new weapon, would that work?? Edited January 9, 2016 by lilkandeekid Link to comment Share on other sites More sharing options...
zogthemighty Posted January 9, 2016 Author Share Posted January 9, 2016 Thanks for the replies. I'm going to have a play around with them and hopefully work out which is going to fit in with my idea. From results so far it could be a combination of stats adjustments, ie Strength, and a script but I'll check out the DFOB reference and spell posibilities as well . Link to comment Share on other sites More sharing options...
yerude Posted January 9, 2016 Share Posted January 9, 2016 (edited) Keep me up to date. I am also interrested in your solution because i would loveI also figured out another way how this could maybe work. For Weapons entrys:EITM - Object Effect You can use a custom perk for the Object Effect.In this perk you can change EffectsThese effects could set Speed 0 if you do not have PA equiped or str is to low or whatever you want.But i never created a perk, dont know what to take into consideration. Darkangel already said conditions are also perks, maybe he knows how to do. Edited January 9, 2016 by yerude Link to comment Share on other sites More sharing options...
zilav Posted January 9, 2016 Share Posted January 9, 2016 (edited) There is a condition function http://www.creationkit.com/GetEquippedIf you want to create a script using Caprica Papyrus Compiler to check that and perform some actions, then http://www.creationkit.com/IsEquipped_-_Actor Edited January 9, 2016 by zilav Link to comment Share on other sites More sharing options...
yerude Posted January 9, 2016 Share Posted January 9, 2016 (edited) I dont think that power armor is something you can handle with GetEquipped because it seems to be a perk.So you can follow what the Perk "Pain Train" does.PainTrain01 has the condition of min str 10 (only for chosing it) and grants the Ability "PerkPainTrainCloakSpell.If you follow the spell you will find another condition:CTDA-Type Equal toComparison Value 1Function HasPerkPerk PowerArmorPerk...So the Perk "PowerArmorPerk" defines if you are wearing a PA or not. 1 for yes 0 for no should be self-explanatory. So this condition can be used for your weapon. But weapons do not have conditions itself. (if it isnt any of the unknown data i dont know what it does) But weapons have EITM - Object EffectThese Effects are also abilitys/perks/spells or however you may call it.And this is what you need. You need an own effect, which requires PowerArmorPerk 1 + it will do whatever you want to forbid using the weapon without a power armor.You could also use some effects like overweighted without powerarmor. Or increasing its recoil. Whatever you like, to make people decide to use their weapon with powerarmors.Thats why i said set speed 0. This will result that you cannot shoot anymore.You could also do some perk requiriment for using these guns f.e. You would need heavyweapons 2 for using gatling lasers.Once you created your perk you can modifiy it the way you want it. If you managed to do so i also found a suitable stringGameSettings -> sCantEquipPa , sCantEquipPowerArmor Edited January 9, 2016 by yerude Link to comment Share on other sites More sharing options...
lilkandeekid Posted January 9, 2016 Share Posted January 9, 2016 The power armor also involves a race change, if not GetEquipped what about GetRace? Link to comment Share on other sites More sharing options...
Recommended Posts