Jump to content

Caliber Patch for other gun mods


AgentCarolina

Recommended Posts

Just open thoose two mods in geck, find the right weapon and check what a ammo it uses, if it uses a single ammo type instead a Formlist, create a new Formlist and add to list all ammo types of calibers as you want to add, after change in weapon the current ammo type to a new created Formlist. Or if this weapon already uses a formlist as ammunition type, then find this list and add the needed calibers into it

 

Example with 10mm pistol

 

 

post-1148858-0-63174200-1506545678_thumb.png

post-1148858-0-75728600-1506545679_thumb.png

post-1148858-0-73599200-1506545680_thumb.png

post-1148858-0-78708900-1506545681_thumb.png

After you can save the plugin if you don't need to creating a new form list

 

post-1148858-0-75298600-1506545682_thumb.png

post-1148858-0-77747700-1506545683_thumb.png

post-1148858-0-93057300-1506545684_thumb.png

post-1148858-0-85377800-1506545685_thumb.png

After just click ok and save your new plugin

 

 

Link to comment

Since you answered this, maybe you can help with another question i have.

 

 

The mod that adds the new weapons, some of the pistols and such don't have the check for stealth when sneaking into casinos.

 

Where in the geck would I add that at?

Well, if you want to do it easily, you can just add the needed weapons into lists, but for this way changing lists can cause some incompatibilities things with other mods, and later I would recommend you to adding the needed weapons into lists through a script with simple ListAddForm command. For sneak check(if sneak >= 50) uses: "NVImprovedHoldoutWeapons" list. For weapons if your sneak < 50, uses: "NVHoldoutWeapons".

 

If you want to adding weapons through script, you need to save your script with Quest Script type, create a new quest, and after, connect a script with a quest

Example with screenshots and lines of code

 

 

post-1148858-0-30003800-1506610193_thumb.png

post-1148858-0-91187700-1506610198_thumb.png

post-1148858-0-62076600-1506610202_thumb.png

 

Lines for a script 

 

ListAddForm NVImprovedHoldoutWeapons SomeWeaponID ;NVImprovedHoldoutWeapons uses if pc's sneak >= 50

ListAddForm NVHoldoutWeapons SomeWeaponID ;NVHoldoutWeapons uses if pc's sneak < 50

 

example script with some weapons

scn AAACasinoWeaponsCheck

begin gamemode

	if (GetGameLoaded || GetGameRestarted)
		ListAddForm NVImprovedHoldoutWeapons Weap10mmPistol 
		ListAddForm NVHoldoutWeapons Weap10mmPistol
		ListAddForm NVImprovedHoldoutWeapons WeapNVThatGun
		ListAddForm NVHoldoutWeapons WeapNVThatGun
	endif

end 

 

Link to comment

I have a question about about the integration of weapons into a form list.

 

This is the script i created. 

 

scn G36LevelListScript


short iDoOnce

BEGIN GameMode

if (iDoOnce == 0)

Player.AddItem aaaG36transKey 1

AddItemToLeveledList VendorWeaponsGunsTier4 00G36cALoot 1 1 100
AddItemToLeveledList VendorWeaponsGunsTier4 00G36cLoot 1 1 100
AddItemToLeveledList VendorWeaponsGunsTier4 00G36LaLoot 1 1 100
AddItemToLeveledList VendorWeaponsGunsTier4 00G36LLoot 1 1 100
AddItemToLeveledList VendorWeaponsGunsTier4 00G36SVLoot 1 1 100

AddItemToLeveledList NCRTrooperGun2Weapon 00G36cALoot 1 1 100
AddItemToLeveledList NCRTrooperGun2Weapon 00G36cLoot 1 1 100
AddItemToLeveledList NCRTrooperGun2Weapon 00G36LaLoot 1 1 100
AddItemToLeveledList NCRTrooperGun2Weapon 00G36LLoot 1 1 100
AddItemToLeveledList NCRTrooperGun2Weapon 00G36SVLoot 1 1 100

AddItemToLeveledList LL2Tier2GunsMercenary 00G36cALoot 1 1 100
AddItemToLeveledList LL2Tier2GunsMercenary 00G36cLoot 1 1 100
AddItemToLeveledList LL2Tier2GunsMercenary 00G36LaLoot 1 1 100
AddItemToLeveledList LL2Tier2GunsMercenary 00G36LLoot 1 1 100
AddItemToLeveledList LL2Tier2GunsMercenary 00G36SVLoot 1 1 100

AddItemToLeveledList LL2Tier2GunsProspector 00G36cALoot 1 1 100
AddItemToLeveledList LL2Tier2GunsProspector 00G36cLoot 1 1 100
AddItemToLeveledList LL2Tier2GunsProspector 00G36LaLoot 1 1 100
AddItemToLeveledList LL2Tier2GunsProspector 00G36LLoot 1 1 100
AddItemToLeveledList LL2Tier2GunsProspector 00G36SVLoot 1 1 100

AddItemToLeveledList VFactionSquadLegionVeteranWeapons 00G36cALoot 1 1 100
AddItemToLeveledList VFactionSquadLegionVeteranWeapons 00G36cLoot 1 1 100
AddItemToLeveledList VFactionSquadLegionVeteranWeapons 00G36LaLoot 1 1 100
AddItemToLeveledList VFactionSquadLegionVeteranWeapons 00G36LLoot 1 1 100
AddItemToLeveledList VFactionSquadLegionVeteranWeapons 00G36SVLoot 1 1 100

AddItemToLeveledList VFactionSquadNCRVeteranTrooperWeapons 00G36cALoot 1 1 100
AddItemToLeveledList VFactionSquadNCRVeteranTrooperWeapons 00G36cLoot 1 1 100
AddItemToLeveledList VFactionSquadNCRVeteranTrooperWeapons 00G36LaLoot 1 1 100
AddItemToLeveledList VFactionSquadNCRVeteranTrooperWeapons 00G36LLoot 1 1 100
AddItemToLeveledList VFactionSquadNCRVeteranTrooperWeapons 00G36SVLoot 1 1 100

AddItemToLeveledList GunRunnerGunsAllTier4 00G36cALoot 1 1 100
AddItemToLeveledList GunRunnerGunsAllTier4 00G36cLoot 1 1 100
AddItemToLeveledList GunRunnerGunsAllTier4 00G36LaLoot 1 1 100
AddItemToLeveledList GunRunnerGunsAllTier4 00G36LLoot 1 1 100
AddItemToLeveledList GunRunnerGunsAllTier4 00G36SVLoot 1 1 100

AddItemToLeveledList RRCGreatKhanRanged 00G36cALoot 1 1 100
AddItemToLeveledList RRCGreatKhanRanged 00G36cLoot 1 1 100
AddItemToLeveledList RRCGreatKhanRanged 00G36LaLoot 1 1 100
AddItemToLeveledList RRCGreatKhanRanged 00G36LLoot 1 1 100
AddItemToLeveledList RRCGreatKhanRanged 00G36SVLoot 1 1 100

AddFormToFormList NVAllWeapons 00G36c
AddFormToFormList WeaponRiflesList 00G36c
AddFormToFormList WeaponLISTRangedALL 00G36c
AddFormToFormList NVAllWeapons 00G36c
AddFormToFormList WeaponRiflesList 00G36c

AddFormToFormList NVAllWeapons 00G36cA
AddFormToFormList WeaponRiflesList 00G36cA
AddFormToFormList WeaponLISTRangedALL 00G36cA
AddFormToFormList NVAllWeapons 00G36cA
AddFormToFormList WeaponRiflesList 00G36cA

AddFormToFormList NVAllWeapons 00G36L
AddFormToFormList WeaponRiflesList 00G36L
AddFormToFormList WeaponLISTRangedALL 00G36L
AddFormToFormList NVAllWeapons 00G36L
AddFormToFormList WeaponRiflesList 00G36L

AddFormToFormList NVAllWeapons 00G36La
AddFormToFormList WeaponRiflesList 00G36La
AddFormToFormList WeaponLISTRangedALL 00G36La
AddFormToFormList NVAllWeapons 00G36La
AddFormToFormList WeaponRiflesList 00G36La

AddFormToFormList NVAllWeapons 00G36SV
AddFormToFormList WeaponRiflesList 00G36SV
AddFormToFormList WeaponLISTRangedALL 00G36SV
AddFormToFormList NVAllWeapons 00G36SV
AddFormToFormList WeaponRiflesList 00G36SV

AddFormToFormList NVAllWeapons 00G36SVSp
AddFormToFormList WeaponRiflesList 00G36SVSp
AddFormToFormList WeaponLISTRangedALL 00G36SVSp
AddFormToFormList NVAllWeapons 00G36SVSp
AddFormToFormList WeaponRiflesList 00G36SVSp

AddFormToFormList NVAllWeapons 00G36cNPC
AddFormToFormList WeaponRiflesList 00G36cNPC
AddFormToFormList WeaponLISTRangedALL 00G36cNPC
AddFormToFormList NVAllWeapons 00G36cNPC
AddFormToFormList WeaponRiflesList 00G36cNPC

AddFormToFormList NVAllWeapons 00G36LNPC
AddFormToFormList WeaponRiflesList 00G36LNPC
AddFormToFormList WeaponLISTRangedALL 00G36LNPC
AddFormToFormList NVAllWeapons 00G36LNPC
AddFormToFormList WeaponRiflesList 00G36LNPC

AddFormToFormList NVAllWeapons 00G36SVNPC
AddFormToFormList WeaponRiflesList 00G36SVNPC
AddFormToFormList WeaponLISTRangedALL 00G36SVNPC
AddFormToFormList NVAllWeapons 00G36SVNPC
AddFormToFormList WeaponRiflesList 00G36SVNPC

;Weapon Mods

AddItemToLeveledList 188NCRArmsMerchantMods 00g36ceotech 1 1 100
AddItemToLeveledList 188NCRArmsMerchantMods 00g36csilencer 1 1 100
AddItemToLeveledList 188NCRArmsMerchantMods 00g36ctackit 1 1 100
AddItemToLeveledList 188NCRArmsMerchantMods 00g36lacog 1 1 100
AddItemToLeveledList 188NCRArmsMerchantMods 00g36lsilencer 1 1 100
AddItemToLeveledList 188NCRArmsMerchantMods 00g36ltackit 1 1 100
AddItemToLeveledList 188NCRArmsMerchantMods 00g36svsilencer 1 1 100

set iDoOnce to 1
StopQuest G36LvlIntQuest
endif

END

 

 

Shoul i change the "AddFormToFormList" to "ListAddForm" ?

Link to comment

I have a question about about the integration of weapons into a form list.

 

This is the script i created.

 

scn G36LevelListScript

 

 

short iDoOnce

 

BEGIN GameMode

 

if (iDoOnce == 0)

 

Player.AddItem aaaG36transKey 1

 

AddItemToLeveledList VendorWeaponsGunsTier4 00G36cALoot 1 1 100

AddItemToLeveledList VendorWeaponsGunsTier4 00G36cLoot 1 1 100

AddItemToLeveledList VendorWeaponsGunsTier4 00G36LaLoot 1 1 100

AddItemToLeveledList VendorWeaponsGunsTier4 00G36LLoot 1 1 100

AddItemToLeveledList VendorWeaponsGunsTier4 00G36SVLoot 1 1 100

 

AddItemToLeveledList NCRTrooperGun2Weapon 00G36cALoot 1 1 100

AddItemToLeveledList NCRTrooperGun2Weapon 00G36cLoot 1 1 100

AddItemToLeveledList NCRTrooperGun2Weapon 00G36LaLoot 1 1 100

AddItemToLeveledList NCRTrooperGun2Weapon 00G36LLoot 1 1 100

AddItemToLeveledList NCRTrooperGun2Weapon 00G36SVLoot 1 1 100

 

AddItemToLeveledList LL2Tier2GunsMercenary 00G36cALoot 1 1 100

AddItemToLeveledList LL2Tier2GunsMercenary 00G36cLoot 1 1 100

AddItemToLeveledList LL2Tier2GunsMercenary 00G36LaLoot 1 1 100

AddItemToLeveledList LL2Tier2GunsMercenary 00G36LLoot 1 1 100

AddItemToLeveledList LL2Tier2GunsMercenary 00G36SVLoot 1 1 100

 

AddItemToLeveledList LL2Tier2GunsProspector 00G36cALoot 1 1 100

AddItemToLeveledList LL2Tier2GunsProspector 00G36cLoot 1 1 100

AddItemToLeveledList LL2Tier2GunsProspector 00G36LaLoot 1 1 100

AddItemToLeveledList LL2Tier2GunsProspector 00G36LLoot 1 1 100

AddItemToLeveledList LL2Tier2GunsProspector 00G36SVLoot 1 1 100

 

AddItemToLeveledList VFactionSquadLegionVeteranWeapons 00G36cALoot 1 1 100

AddItemToLeveledList VFactionSquadLegionVeteranWeapons 00G36cLoot 1 1 100

AddItemToLeveledList VFactionSquadLegionVeteranWeapons 00G36LaLoot 1 1 100

AddItemToLeveledList VFactionSquadLegionVeteranWeapons 00G36LLoot 1 1 100

AddItemToLeveledList VFactionSquadLegionVeteranWeapons 00G36SVLoot 1 1 100

 

AddItemToLeveledList VFactionSquadNCRVeteranTrooperWeapons 00G36cALoot 1 1 100

AddItemToLeveledList VFactionSquadNCRVeteranTrooperWeapons 00G36cLoot 1 1 100

AddItemToLeveledList VFactionSquadNCRVeteranTrooperWeapons 00G36LaLoot 1 1 100

AddItemToLeveledList VFactionSquadNCRVeteranTrooperWeapons 00G36LLoot 1 1 100

AddItemToLeveledList VFactionSquadNCRVeteranTrooperWeapons 00G36SVLoot 1 1 100

 

AddItemToLeveledList GunRunnerGunsAllTier4 00G36cALoot 1 1 100

AddItemToLeveledList GunRunnerGunsAllTier4 00G36cLoot 1 1 100

AddItemToLeveledList GunRunnerGunsAllTier4 00G36LaLoot 1 1 100

AddItemToLeveledList GunRunnerGunsAllTier4 00G36LLoot 1 1 100

AddItemToLeveledList GunRunnerGunsAllTier4 00G36SVLoot 1 1 100

 

AddItemToLeveledList RRCGreatKhanRanged 00G36cALoot 1 1 100

AddItemToLeveledList RRCGreatKhanRanged 00G36cLoot 1 1 100

AddItemToLeveledList RRCGreatKhanRanged 00G36LaLoot 1 1 100

AddItemToLeveledList RRCGreatKhanRanged 00G36LLoot 1 1 100

AddItemToLeveledList RRCGreatKhanRanged 00G36SVLoot 1 1 100

 

AddFormToFormList NVAllWeapons 00G36c

AddFormToFormList WeaponRiflesList 00G36c

AddFormToFormList WeaponLISTRangedALL 00G36c

AddFormToFormList NVAllWeapons 00G36c

AddFormToFormList WeaponRiflesList 00G36c

 

AddFormToFormList NVAllWeapons 00G36cA

AddFormToFormList WeaponRiflesList 00G36cA

AddFormToFormList WeaponLISTRangedALL 00G36cA

AddFormToFormList NVAllWeapons 00G36cA

AddFormToFormList WeaponRiflesList 00G36cA

 

AddFormToFormList NVAllWeapons 00G36L

AddFormToFormList WeaponRiflesList 00G36L

AddFormToFormList WeaponLISTRangedALL 00G36L

AddFormToFormList NVAllWeapons 00G36L

AddFormToFormList WeaponRiflesList 00G36L

 

AddFormToFormList NVAllWeapons 00G36La

AddFormToFormList WeaponRiflesList 00G36La

AddFormToFormList WeaponLISTRangedALL 00G36La

AddFormToFormList NVAllWeapons 00G36La

AddFormToFormList WeaponRiflesList 00G36La

 

AddFormToFormList NVAllWeapons 00G36SV

AddFormToFormList WeaponRiflesList 00G36SV

AddFormToFormList WeaponLISTRangedALL 00G36SV

AddFormToFormList NVAllWeapons 00G36SV

AddFormToFormList WeaponRiflesList 00G36SV

 

AddFormToFormList NVAllWeapons 00G36SVSp

AddFormToFormList WeaponRiflesList 00G36SVSp

AddFormToFormList WeaponLISTRangedALL 00G36SVSp

AddFormToFormList NVAllWeapons 00G36SVSp

AddFormToFormList WeaponRiflesList 00G36SVSp

 

AddFormToFormList NVAllWeapons 00G36cNPC

AddFormToFormList WeaponRiflesList 00G36cNPC

AddFormToFormList WeaponLISTRangedALL 00G36cNPC

AddFormToFormList NVAllWeapons 00G36cNPC

AddFormToFormList WeaponRiflesList 00G36cNPC

 

AddFormToFormList NVAllWeapons 00G36LNPC

AddFormToFormList WeaponRiflesList 00G36LNPC

AddFormToFormList WeaponLISTRangedALL 00G36LNPC

AddFormToFormList NVAllWeapons 00G36LNPC

AddFormToFormList WeaponRiflesList 00G36LNPC

 

AddFormToFormList NVAllWeapons 00G36SVNPC

AddFormToFormList WeaponRiflesList 00G36SVNPC

AddFormToFormList WeaponLISTRangedALL 00G36SVNPC

AddFormToFormList NVAllWeapons 00G36SVNPC

AddFormToFormList WeaponRiflesList 00G36SVNPC

 

;Weapon Mods

 

AddItemToLeveledList 188NCRArmsMerchantMods 00g36ceotech 1 1 100

AddItemToLeveledList 188NCRArmsMerchantMods 00g36csilencer 1 1 100

AddItemToLeveledList 188NCRArmsMerchantMods 00g36ctackit 1 1 100

AddItemToLeveledList 188NCRArmsMerchantMods 00g36lacog 1 1 100

AddItemToLeveledList 188NCRArmsMerchantMods 00g36lsilencer 1 1 100

AddItemToLeveledList 188NCRArmsMerchantMods 00g36ltackit 1 1 100

AddItemToLeveledList 188NCRArmsMerchantMods 00g36svsilencer 1 1 100

 

set iDoOnce to 1

StopQuest G36LvlIntQuest

endif

 

END

 

 

Shoul i change the "AddFormToFormList" to "ListAddForm" ?

Difference between "AddFormToFormList" and "ListAddForm" is that "AddFormToFormList" places FormID reference at 0th index and adding 1 to the current entries. "ListAddForm" can place this reference at any index you want, or if you didn't set a index, it'll place reference at the end of the list. Also "ListAddForm" is a command from script extender, that requires launching Geck via nvse with "-editor" flag.

 

http://geck.bethsoft.com/index.php?title=AddFormToFormList

http://geck.bethsoft.com/index.php?title=ListAddForm

Link to comment

 

Difference between "AddFormToFormList" and "ListAddForm" is that "AddFormToFormList" places FormID reference at 0th index and adding 1 to the current entries. "ListAddForm" can place this reference at any index you want, or if you didn't set a index, it'll place reference at the end of the list. Also "ListAddForm" is a command from script extender, that requires launching Geck via nvse with "-editor" flag.

 

http://geck.bethsoft.com/index.php?title=AddFormToFormList

http://geck.bethsoft.com/index.php?title=ListAddForm

 

Thank you.

 

I have now changed the script to use the "ListAddForm" command.

Link to comment

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more information, see our Privacy Policy & Terms of Use