Gaming Underground Network

Come for the mods, stay for the community
 
HomePortalLatest imagesInterviewsRegisterLog in
Search
 
 

Display results as :
 

 


Rechercher Advanced Search
Info Panel
______________
MOD MASTER THREADS:
FALLOUT
THE ELDER SCROLLS

______________


______________


GUNinsider
Fallout Miami: Mika999
Stay Connected

GUNetwork
Keywords
Gear mandalorian dead riot vault NPCs khan Reforged boom leon marvel Mask wolfenstein port body Metal boomers machine Ryse commonwealth power brotherhood hunk Superpele ghoul money
Latest topics
» Roland Deschain ist The Mysterious Stranger and other t
[FNV] Need Help With A Script Emptyby SpaceRanger Mon Jul 22, 2024 11:15 am

» Guns you want in Fallout
[FNV] Need Help With A Script Emptyby SpaceRanger Mon Jul 22, 2024 10:25 am

» [FO4] Doom 2016 models as replecement.
[FNV] Need Help With A Script Emptyby SpaceRanger Sun Jul 21, 2024 10:12 am

» [FO4] Secret Service armor, helmet headlamp
[FNV] Need Help With A Script Emptyby fossaceca17 Sun Jul 21, 2024 5:19 am

» The Legion are fascists, let's discuss it.
[FNV] Need Help With A Script Emptyby Cipher22 Fri Jul 12, 2024 6:28 am

» The Next fallout
[FNV] Need Help With A Script Emptyby Cipher22 Fri Jul 12, 2024 6:25 am

» Your favorite mods for F:NV
[FNV] Need Help With A Script Emptyby Cipher22 Fri Jul 12, 2024 6:21 am

» Afterlife discord
[FNV] Need Help With A Script Emptyby Willaemann Tue Jul 09, 2024 8:44 pm

» What happened to Outlawer's pack 1?
[FNV] Need Help With A Script Emptyby Trappy82 Mon Jun 17, 2024 7:17 am

» Greetings
[FNV] Need Help With A Script Emptyby septron Fri Jun 14, 2024 3:49 pm

» Starfield
[FNV] Need Help With A Script Emptyby jaypak Mon Jun 10, 2024 10:56 am

» (Fo4) fo76 Steel Dawn Weapons and Armor ports
[FNV] Need Help With A Script Emptyby RockstarAC16 Mon Jun 03, 2024 12:19 pm

» Just a tired engineer with too little free time
[FNV] Need Help With A Script Emptyby Lonesome_Wanderer Fri May 31, 2024 6:02 am

» Hello everyone. Looking to add classic Fallout in FO4
[FNV] Need Help With A Script Emptyby Lonesome_Wanderer Fri May 31, 2024 5:53 am

» The Fallout TV show destroyed NV. I'm done with Todd.
[FNV] Need Help With A Script Emptyby SpookyGeist Wed May 29, 2024 3:39 pm

» XHX Discord server.
[FNV] Need Help With A Script Emptyby TheGoodKoosh Sun May 26, 2024 12:25 am

» Weird bug or glitch with Console Command. [FNV]
[FNV] Need Help With A Script Emptyby nickenicole47 Sat May 25, 2024 10:05 am

» What's your favorite weapon in the Fallout Series
[FNV] Need Help With A Script Emptyby FellowHumanOfOutpost31 Thu May 23, 2024 6:32 pm

» (FO4) FO76 BOS Objects
[FNV] Need Help With A Script Emptyby keelordd Wed May 22, 2024 9:53 am

» How to change the UI sound fx placed by a mod?
[FNV] Need Help With A Script Emptyby immortallegion Mon May 13, 2024 1:40 am

July 2024
MonTueWedThuFriSatSun
1234567
891011121314
15161718192021
22232425262728
293031    
CalendarCalendar
_
July 2024
MonTueWedThuFriSatSun
1234567
891011121314
15161718192021
22232425262728
293031    
CalendarCalendar

Share
 

 [FNV] Need Help With A Script

View previous topic View next topic Go down 
AuthorMessage
Prosp3ro

Prosp3ro

Posts : 455
Join date : 2016-12-03
Age : 31
Location : Long 15

Character sheet
Name: Laufer
Faction: 87th Tribe
Level: Spiritual

[FNV] Need Help With A Script Empty
PostSubject: [FNV] Need Help With A Script   [FNV] Need Help With A Script EmptyMon Jul 08, 2019 12:05 am

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:

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 4:48 am; edited 1 time in total
Back to top Go down
Anchev

Anchev

Posts : 248
Join date : 2015-03-20
Location : Brazil

Character sheet
Name: Anchev
Faction: Enclave
Level:

[FNV] Need Help With A Script Empty
PostSubject: Re: [FNV] Need Help With A Script   [FNV] Need Help With A Script EmptyMon Jul 08, 2019 2: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.
Back to top Go down
Prosp3ro

Prosp3ro

Posts : 455
Join date : 2016-12-03
Age : 31
Location : Long 15

Character sheet
Name: Laufer
Faction: 87th Tribe
Level: Spiritual

[FNV] Need Help With A Script Empty
PostSubject: Re: [FNV] Need Help With A Script   [FNV] Need Help With A Script EmptyMon Jul 08, 2019 5: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.
Back to top Go down
Anchev

Anchev

Posts : 248
Join date : 2015-03-20
Location : Brazil

Character sheet
Name: Anchev
Faction: Enclave
Level:

[FNV] Need Help With A Script Empty
PostSubject: Re: [FNV] Need Help With A Script   [FNV] Need Help With A Script EmptyMon Jul 08, 2019 5: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:
Back to top Go down
Prosp3ro

Prosp3ro

Posts : 455
Join date : 2016-12-03
Age : 31
Location : Long 15

Character sheet
Name: Laufer
Faction: 87th Tribe
Level: Spiritual

[FNV] Need Help With A Script Empty
PostSubject: Re: [FNV] Need Help With A Script   [FNV] Need Help With A Script EmptyMon Jul 08, 2019 10: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!
Back to top Go down
Anchev

Anchev

Posts : 248
Join date : 2015-03-20
Location : Brazil

Character sheet
Name: Anchev
Faction: Enclave
Level:

[FNV] Need Help With A Script Empty
PostSubject: Re: [FNV] Need Help With A Script   [FNV] Need Help With A Script EmptyTue Jul 09, 2019 12:30 am

@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.
Back to top Go down
Prosp3ro

Prosp3ro

Posts : 455
Join date : 2016-12-03
Age : 31
Location : Long 15

Character sheet
Name: Laufer
Faction: 87th Tribe
Level: Spiritual

[FNV] Need Help With A Script Empty
PostSubject: Re: [FNV] Need Help With A Script   [FNV] Need Help With A Script EmptyTue Jul 09, 2019 1:15 pm

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".
Back to top Go down
Sponsored content




[FNV] Need Help With A Script Empty
PostSubject: Re: [FNV] Need Help With A Script   [FNV] Need Help With A Script Empty

Back to top Go down
 

[FNV] Need Help With A Script

View previous topic View next topic Back to top 
Page 1 of 1

 Similar topics

-
» Help to understand a Script.
» Blender Nif Script help
» Changing PC Skeleton/Animations on the fly via script
» Issue with recompiling a script (for TTW)
» Weather script for Fallout 3

Permissions in this forum:You cannot reply to topics in this forum
Gaming Underground Network :: Fallout :: Troubleshooting-