Stay Connected |
GUNetwork
|
Latest topics | » OICW Mod for New Vegas by DavidW75 Tue Oct 22, 2024 11:37 pm
» Looking for Gta 5 xbox one modded account by salman0786 Tue Oct 08, 2024 3:47 pm
» [FNV] Flickering Landscape Textures by zliu313 Fri Oct 04, 2024 1:33 pm
» Best Site Ever! by WasteNinja88 Sun Sep 29, 2024 4:38 am
» Weird bug or glitch with Console Command. [FNV] by nickenicole47 Tue Sep 24, 2024 6:11 pm
» Suggestions on npc mod that Blends with dragbodys mod? by ilovebees.com Sun Sep 22, 2024 5:31 am
» [FNV] Right Mouse Button Zoom/ADS Bug by Lankychazz2009 Sun Sep 22, 2024 3:20 am
» (FO4) FO76 BOS Objects by campesino.p Sat Sep 21, 2024 8:53 pm
» [FNV] Dragbody's FO4 Power Armors bug. by Lankychazz2009 Thu Sep 19, 2024 1:34 pm
» Fallout: New Vegas "Pizza Boy" Mod by MrMistyEyed2 Tue Sep 10, 2024 12:15 am
» Here Are Some Of The Best Mods From GunNetwork by Abyssfer Sun Sep 08, 2024 9:02 am
» Saying hi after two years by spiralsandspirals Wed Aug 28, 2024 11:39 pm
» Looking for an alternative to Nexus by freakoverse Fri Aug 23, 2024 9:50 am
» fallout 4 mods by salientguitar4 Mon Aug 19, 2024 4:47 pm
» [FNV] How to troubleshot infinite loading issues? by Abyssfer Wed Aug 14, 2024 4:28 pm
» Fnv Enable player control command by GenJohnWilliam Mon Aug 05, 2024 8:25 pm
» Problem with Dragbodies NCR overhaul by Lankychazz2009 Fri Aug 02, 2024 7:53 pm
» NCR Trooper Overhaul Armors with NCR Ultimate Overhaul by Abyssfer Thu Aug 01, 2024 7:29 pm
» Roland Deschain ist The Mysterious Stranger and other t by SpaceRanger Mon Jul 22, 2024 9:15 am
» Guns you want in Fallout by SpaceRanger Mon Jul 22, 2024 8:25 am
|
November 2024 | Mon | Tue | Wed | Thu | Fri | Sat | Sun |
---|
| | | | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | | Calendar |
|
November 2024 | Mon | Tue | Wed | Thu | Fri | Sat | Sun |
---|
| | | | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | | Calendar |
|
|
[FNV] Need Help With A Script | [FNV] Need Help With A Script | |
| Author | Message |
---|
Prosp3ro
Posts : 455 Join date : 2016-12-03 Age : 32 Location : Long 15
Character sheet Name: Laufer Faction: 87th Tribe Level: Spiritual
| Subject: [FNV] Need Help With A Script Sun Jul 07, 2019 10:05 pm | |
| Hello everyone. There is a weapon mod on the Nexus that I really appreciate. It is Custom Winchester 1873 Lever action rifle by bloodmeat08. Now, I would like to add the weapon to the Cow-boy perk list. I found a script posted by a user in the comments (Hectasword). Here it is: - Script:
scn 1873RifleListQuestScript
short iDoOnce
Begin GameMode
if (iDoOnce == 0)
AddFormToFormList NVAllWeapons 000Leveractionrifle AddFormToFormList WeaponRiflesList 000Leveractionrifle AddFormToFormList WeaponLISTRangedALL 000Leveractionrifle AddFormToFormList PerkCowboyWeapons 000Leveractionrifle
set iDoOnce to 1
StopQuest 1873RifleListQuest
endif
end
But I cannot save this script in the GECK. I read that if there is any error the GECK won’t save it. It’s maybe an explanation (or I do something wrong). So what's your opinion, is this script correct? Thanks GECK-users!
Last edited by Prosp3ro on Mon Jul 08, 2019 2:48 am; edited 1 time in total |
| | | Anchev
Posts : 248 Join date : 2015-03-20 Location : Brazil
Character sheet Name: Anchev Faction: Enclave Level:
| Subject: Re: [FNV] Need Help With A Script Mon Jul 08, 2019 12:41 am | |
| Yes the script is correct, the example below is from Weapons of the New Milenia Grunt Patch plugin. - Code:
-
scn WotnMGruntModQuestScript
short iDoOnce
BEGIN GameMode
if (iDoOnce == 0) AddFormToFormList NVDLC02PerkGruntWeapons WeapMStenMMP AddFormToFormList NVDLC02PerkGruntWeapons WeapMM1911MMP AddFormToFormList NVDLC02PerkGruntWeapons WeapTokarevMMP AddFormToFormList NVDLC02PerkGruntWeapons WeapMC96MMP AddFormToFormList NVDLC02PerkGruntWeapons WeapMAK74MMP AddFormToFormList NVDLC02PerkGruntWeapons WeapMAK47MMP AddFormToFormList NVDLC02PerkGruntWeapons WeapKABARMMP AddFormToFormList NVDLC02PerkGruntWeapons WeapFBSykesMMP AddFormToFormList NVDLC02PerkGruntWeapons WeapBM4A1MMP AddFormToFormList NVDLC02PerkGruntWeapons WeapMCM4A1MMP AddFormToFormList NVDLC02PerkGruntWeapons WeapMG36KMMP AddFormToFormList NVDLC02PerkGruntWeapons WeapMFNCMMP AddFormToFormList NVDLC02PerkGruntWeapons WeapMAUGA1MMP set iDoOnce to 1 StopQuest WotnMGruntMod endif
END
I think you can edit it through FNVEdit, try that. |
| | | Prosp3ro
Posts : 455 Join date : 2016-12-03 Age : 32 Location : Long 15
Character sheet Name: Laufer Faction: 87th Tribe Level: Spiritual
| Subject: Re: [FNV] Need Help With A Script Mon Jul 08, 2019 3:15 am | |
| @Anchev Thanks for your answer. I installed the GECK extender and when I try to save the script it says: Item 'NVAllWeapons' not found for parameter Form list I don't know if this line really matters... EDIT: Actually it says the same thing for every line... I must miss something important as I am not familiar with the GECK. |
| | | Anchev
Posts : 248 Join date : 2015-03-20 Location : Brazil
Character sheet Name: Anchev Faction: Enclave Level:
| Subject: Re: [FNV] Need Help With A Script Mon Jul 08, 2019 3:40 am | |
| @Prosp3ro I don't really know how GECK works, on FNVEdit I can search that ID, it's part of FalloutNV.ESM, maybe you need to put the FormID(number), not the EditorID, example below about FormID and EditorID: - IMG:
|
| | | Prosp3ro
Posts : 455 Join date : 2016-12-03 Age : 32 Location : Long 15
Character sheet Name: Laufer Faction: 87th Tribe Level: Spiritual
| Subject: Re: [FNV] Need Help With A Script Mon Jul 08, 2019 8:29 am | |
| @Anchev I finally found out how to add the weapon to the perk list in the GECK. Not very hard actually. Thanks for the help! |
| | | Anchev
Posts : 248 Join date : 2015-03-20 Location : Brazil
Character sheet Name: Anchev Faction: Enclave Level:
| Subject: Re: [FNV] Need Help With A Script Mon Jul 08, 2019 10:30 pm | |
| @Prosp3ro No problem, would be nice if you posted here how did you do it, so if someone has the same problem, would be simple to find. |
| | | Prosp3ro
Posts : 455 Join date : 2016-12-03 Age : 32 Location : Long 15
Character sheet Name: Laufer Faction: 87th Tribe Level: Spiritual
| Subject: Re: [FNV] Need Help With A Script Tue Jul 09, 2019 11:15 am | |
| OK, for those who may be interested, here is what I did: 0/ DL the GECK Extender by RoyBatterian. This program is not technically required but it will help to solve potential errors. 1/ Open the GECK, go to File/Data, check FalloutNV.esm, check LeverActionRifle.esp and set it as active file. 2/ Select Quest in Actor Data, create a quest by clicking “New”. Right click on the new created file, click “Edit”. The ID (Quest Data) of the quest will be: “1873RifleListQuest” (without the quotation marks). Check the “Start Game Enabled” box. Click OK. Go to File and Save. 3/ Select Script in Miscellaneous, create a scipt by clicking “New”. Copy and paste the following script (big thanks to Hectasword from the Nexus). Save the script. - Code:
-
scn 1873RifleListQuestScript
short iDoOnce
Begin GameMode
if (iDoOnce == 0)
AddFormToFormList NVAllWeapons 000Leveractionrifle AddFormToFormList WeaponRiflesList 000Leveractionrifle AddFormToFormList WeaponLISTRangedALL 000Leveractionrifle AddFormToFormList PerkCowboyWeapons 000Leveractionrifle
set iDoOnce to 1
StopQuest 1873RifleListQuest
endif
end 4/ Go back to the quest and select the newly created script. Click OK. Go to File and Save, then you can exit the GECK. Done! The LeverActionRifle.esp is now updated with the script as you can see in FNVEdit. According to Hectasword, "the next time you load the game, that will add the gun to the relevant perk- and challenge-related lists, and there's no need for a merged patch, since it adds them via script instead of via edits to the form lists themselves". |
| | | Sponsored content
| Subject: Re: [FNV] Need Help With A Script | |
| |
| | | | [FNV] Need Help With A Script | |
|
Similar topics | |
|
| Permissions in this forum: | You cannot reply to topics in this forum
| |
| |
| |