njmanga097

Posts : 979 Join date : 2016-04-24 Age : 26 Location : South East Asia
Character sheet Name: Captain Wick Faction: Wildfire Level: ∞
![[FNV] How do you add a weapon to a perk list? Empty](https://2img.net/i/fa/empty.gif) | Subject: [FNV] How do you add a weapon to a perk list? March 25th 2017, 12:05 pm | |
| So I recently learned how to add a weapon to a perk list on my own, but now I'm wondering how to add a weapon to a perk list through a script? I'm using AK&AR15 Weapons Pack as a test esp for this mini exercise of mine. Any help/tutorial is highly appreciated |
|
VWgolfR1

Posts : 328 Join date : 2015-10-11 Age : 32 Location : Slovenia
![[FNV] How do you add a weapon to a perk list? Empty](https://2img.net/i/fa/empty.gif) | Subject: Re: [FNV] How do you add a weapon to a perk list? March 26th 2017, 3:46 pm | |
| @njmanga097 I wrote a lengthy guide in this thread https://www.gunetwork.org/t10631-how-to-add-weapons-to-leveled-lists#197856 on how to add weapons to leveled lists, and there's a script sample in there too. You need to find a perk form list that you want to have the weapon in it and then put the code in the script properly; the formula is AddFormToFormList PerkEditorID WeaponEditorID, example given AddFormToFormList PerkCowboyWeapons WeapNVCowboyRepeateror AddFormToFormList ShotgunSurgeonWeaponsList WeapNVHuntingShotgun. The script should look like this: scn CustomWeaponsLeveledListScript
short iDoOnce
BEGIN GameMode
if (iDoOnce == 0) AddFormToFormList PerkCowboyWeapons WeapNVCowboyRepeater AddFormToFormList ShotgunSurgeonWeaponsList WeapNVHuntingShotgun set iDoOnce to 1 StopQuest CustomWeaponsLeveledListQuest endif
ENDDon't forget to check other details at the end of that guide. Good luck |
|
njmanga097

Posts : 979 Join date : 2016-04-24 Age : 26 Location : South East Asia
Character sheet Name: Captain Wick Faction: Wildfire Level: ∞
![[FNV] How do you add a weapon to a perk list? Empty](https://2img.net/i/fa/empty.gif) | Subject: Re: [FNV] How do you add a weapon to a perk list? March 26th 2017, 4:26 pm | |
| oh wow i did not know about that O__O thank you so much @VWgolfR1 !! |
|
VWgolfR1

Posts : 328 Join date : 2015-10-11 Age : 32 Location : Slovenia
![[FNV] How do you add a weapon to a perk list? Empty](https://2img.net/i/fa/empty.gif) | Subject: Re: [FNV] How do you add a weapon to a perk list? March 26th 2017, 7:16 pm | |
| No problem! Don't hesitate to ask for help if you run into any problems with the whole process  |
|
Sponsored content
![[FNV] How do you add a weapon to a perk list? Empty](https://2img.net/i/fa/empty.gif) | Subject: Re: [FNV] How do you add a weapon to a perk list? ![[FNV] How do you add a weapon to a perk list? Empty](https://2img.net/i/empty.gif) | |
| |
|