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
Doom boomers ghoul powder dead Drag boba outlawer resident jedi armor boom money hunk Ryse FCOM khan drags riot fett Reforged NPCs marvel race body machine
Latest topics
» Highly Under rated Fo4 mod - Bows And Arrows
[FNV] Need Help With A Script Emptyby FireFly500 Today at 7:22 pm

» Helloo Everyone!
[FNV] Need Help With A Script Emptyby nerevarine1447 Yesterday at 2:18 pm

» Fallout 76 10 mm SMG port to Fallout 4
[FNV] Need Help With A Script Emptyby Carl_JonshonSA Yesterday at 11:53 am

» XHX Discord server.
[FNV] Need Help With A Script Emptyby BOWillock Yesterday at 5:48 am

» Hello there!
[FNV] Need Help With A Script Emptyby Sword_Singer Fri Jan 27, 2023 6:18 pm

» Dragbody npc overhaul issue
[FNV] Need Help With A Script Emptyby ATAMAHbI4 Wed Jan 25, 2023 3:18 pm

» dragbody NPC Overhaul including Goodsprings
[FNV] Need Help With A Script Emptyby ATAMAHbI4 Wed Jan 25, 2023 3:15 pm

» Help with dragbody mods
[FNV] Need Help With A Script Emptyby ATAMAHbI4 Wed Jan 25, 2023 3:05 pm

» Help with ENB
[FNV] Need Help With A Script Emptyby Acies Mon Jan 23, 2023 8:23 am

» Hello there
[FNV] Need Help With A Script Emptyby Guest Sun Jan 22, 2023 5:18 pm

» 20th Century Weapons
[FNV] Need Help With A Script Emptyby NamAn Sat Jan 21, 2023 3:29 am

» Free: Haven Park
[FNV] Need Help With A Script Emptyby Wertologist Fri Jan 20, 2023 9:46 am

» Question about we are legion
[FNV] Need Help With A Script Emptyby ateios Sun Jan 01, 2023 4:04 pm

» Hey folks
[FNV] Need Help With A Script Emptyby TheYoinkee Sat Dec 31, 2022 9:32 am

» Weird graphical artifacts in specific worldspace (video
[FNV] Need Help With A Script Emptyby anstand Fri Dec 30, 2022 11:13 am

» (Fo4) fo76 Steel Dawn Weapons and Armor ports
[FNV] Need Help With A Script Emptyby l_Diego_l Thu Dec 29, 2022 1:54 am

» What your favorite type of weapon says about you
[FNV] Need Help With A Script Emptyby gavin gold Tue Dec 20, 2022 5:40 pm

» Question for Fallout 76 Players
[FNV] Need Help With A Script Emptyby Fallout1984 Mon Dec 19, 2022 3:51 pm

» compatible body mods for dragbody overhaul
[FNV] Need Help With A Script Emptyby ateios Thu Dec 15, 2022 1:29 pm

» Apologies for lurking
[FNV] Need Help With A Script Emptyby Alexander Brossart Wed Dec 14, 2022 7:36 pm

January 2023
MonTueWedThuFriSatSun
      1
2345678
9101112131415
16171819202122
23242526272829
3031     
CalendarCalendar
_
January 2023
MonTueWedThuFriSatSun
      1
2345678
9101112131415
16171819202122
23242526272829
3031     
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-02
Age : 30
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 EmptySun Jul 07, 2019 5: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:

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 Sun Jul 07, 2019 9:48 pm; edited 1 time in total
Back to top Go down
Anchev

Anchev

Posts : 246
Join date : 2015-03-19
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 EmptySun Jul 07, 2019 7:41 pm

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-02
Age : 30
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 EmptySun Jul 07, 2019 10:15 pm

@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 : 246
Join date : 2015-03-19
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 EmptySun Jul 07, 2019 10:40 pm

@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-02
Age : 30
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 3: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 : 246
Join date : 2015-03-19
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: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.
Back to top Go down
Prosp3ro

Prosp3ro

Posts : 455
Join date : 2016-12-02
Age : 30
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 6: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".
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

-
» Blender Nif Script help
» Help to understand a Script.
» Weather script for Fallout 3
» Blender Python script error
» Issue with recompiling a script (for TTW)

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