Jump to content

Photo

Is it possible to add an existing Perk to an Armor?


  • Please log in to reply
3 replies to this topic

#1
fentonalpha

fentonalpha

    Regular

  • Supporter
  • PipPip
  • 60 posts
I'm not too useless with G.E.C.K but cannot figure out, or in fact do not even know if it's possible, to add a specific existing Perk to an armor item.

Basically i want to be able to add Boone's Spotter Perk so that it is always on when using the Combat Helmet. The end result being for a Quest mod i am making that involves satellite support at one point so the player can have all enemies glow highlighted, out of targeting mode when the helmet is equipped.

Even if someone could identify the name of the effect i need to add to the list in my Object Effect.

Any help would be awesome. Thanks in advance.

#2
thedarkfreak

thedarkfreak

    Stranger

  • Members
  • Pip
  • 9 posts
You can do it with a script, but I would recommend duplicating the Perk so your script doesn't conflict with the game.

For example, make a copy of the Spotting perk(that's the internal name), call it SpottingCombatHelmet.


Then, create a script like this:

scn ArmorCombatHelmetSpottingScript

begin OnEquip
	player.addperk SpottingCombatHelmet
end

begin OnUnEquip
	player.removeperk SpottingCombatHelmet
end



Then, go to your armor, and have it use the script. It'll behave the same way as Boone's perk, though, and I don't think you can change that.

#3
fentonalpha

fentonalpha

    Regular

  • Supporter
  • PipPip
  • 60 posts
You are awesome! Thank you. It's a good starting point either-way. I had a feeling about the script being possible but it's way ahead of my abilities right now. Thank you for writing that out for me. I might just have to name an NPC after you :-)

Edit: Works great, thanks again. Still has the active targeting effect but it's better than nothing. It's all more for atmosphere than effect.

#4
thedarkfreak

thedarkfreak

    Stranger

  • Members
  • Pip
  • 9 posts
No problem. It was a good learning exercise for me, figuring all that out just from the GECK. It was fun ^_^




Page loaded in: 1.358 seconds