• If you have a mod, tool or prefab, please use the Resources section. Click Mods at the top of the forums.

(A21) SHOTGUN Pack (v.3.1 Completed)

It seems like the Reflect Sight is bugged similarly to the way the 2x was.  The mod icon is now a question mark and when attaching to the shotguns from the pack and the aim down sight view is really off, several T1 shotguns the Reflect Sight doesn't show up on the model.  Several screenshots below to show what I'm talking about below. Really enjoying all the awesome shotgun action, can't wait to try out the 5.56 pack!  Keep up the great work!
 

https://steamcommunity.com/sharedfiles/filedetails/?id=3002372559

https://steamcommunity.com/sharedfiles/filedetails/?id=3002372572

 
I put together a loot.xml for this mod, similar to the one I posted in the 5.56 weapons mod thread.  I sprinkled some of the flechette ammo into the ammo lootgroups as well, since I like it.

Tested it and have seen shotguns and the flechettes in crates, etc.  Of course, all weapon drops are rarer in A21 than they were in A20 since they put in the new magazines.

Love the mod, especially the extended range guns.

Code:
<configs>

	<!-- append shotgun flechette ammo to quest reward ammo group -->
	<append xpath="//lootgroup[@name='groupQuestAmmo']">	
		<item name="ammoShotgunShellFlechette" count="40" loot_prob_template="QuestT2Prob"/>
	</append>

	<!-- define lootgroups, insert them  -->
	<insertBefore xpath="/lootcontainers/lootgroup[@name='groupScrapCommon']">

		<!-- lootgroups for shotgun flechette ammo -->
		<lootgroup name="groupShotgunShellFlechetteSmall">
		    <item name="ammoShotgunShellFlechette" count="1,2" loot_stage_count_mod="0.01" />
		</lootgroup>
		<lootgroup name="groupShotgunShellFlechetteMedium">
		    <item name="ammoShotgunShellFlechette" count="2,3" loot_stage_count_mod="0.01" />
		</lootgroup>
		<lootgroup name="groupShotgunShellFlechetteLarge">
		    <item name="ammoShotgunShellFlechette" count="3,15" loot_stage_count_mod="0.01" />
		</lootgroup>

		<!-- lootgroups for new shotguns -->
		<!-- T1 -->
		<lootgroup name="groupWeaponsT1_Boomstick_Doublebarrellong" count="all" loot_quality_template="QLTemplateT1">
			<item name="IZYgunT1shotgunDoublebarrellong"/>
		</lootgroup>
		<lootgroup name="groupWeaponsT1_Boomstick_BoltactionShotgun" count="all" loot_quality_template="QLTemplateT1">
			<item name="IZYgunT1shotgunBoltactionShotgun"/>
		</lootgroup>
		<lootgroup name="groupWeaponsT1_Boomstick_Model1887" count="all" loot_quality_template="QLTemplateT1">
			<item name="IZYgunT1shotgunModel1887"/>
		</lootgroup>
		
		<!-- T2 -->
		<lootgroup name="groupWeaponsT2_Boomstick_M31hunter" count="all" loot_quality_template="QLTemplateT2">
			<item name="IZYgunT2shotgunM31hunter"/>
		</lootgroup>
		<lootgroup name="groupWeaponsT2_Boomstick_M1897" count="all" loot_quality_template="QLTemplateT2">
			<item name="IZYgunT2shotgunM1897"/>
		</lootgroup>
		<lootgroup name="groupWeaponsT2_Boomstick_M870Police" count="all" loot_quality_template="QLTemplateT2">
			<item name="IZYgunT2shotgunM870Police"/>
		</lootgroup>
		
		<!-- T3 -->
		<lootgroup name="groupWeaponsT3_Boomstick_M4terminator" count="all" loot_quality_template="QLTemplateT3">
			<item name="IZYgunT3shotgunM4terminator"/>
		</lootgroup>
		<lootgroup name="groupWeaponsT3_Boomstick_XM12G" count="all" loot_quality_template="QLTemplateT3">
			<item name="IZYgunT3shotgunXM12G"/>
		</lootgroup>
		<lootgroup name="groupWeaponsT3_Boomstick_M590S" count="all" loot_quality_template="QLTemplateT3">
			<item name="IZYgunT3shotgunM590S"/>
		</lootgroup>

		<!-- T4 -->
		<lootgroup name="groupWeaponsT4_Boomstick_Saika12g" count="all" loot_quality_template="QLTemplateT3">
			<item name="IZYgunT4shotgunSaika12g"/>
		</lootgroup>
		<lootgroup name="groupWeaponsT4_Boomstick_HEXAGun" count="all" loot_quality_template="QLTemplateT3">
			<item name="IZYgunT4shotgunHEXAGun"/>
		</lootgroup>
		<lootgroup name="groupWeaponsT4_Boomstick_SPAS12" count="all" loot_quality_template="QLTemplateT3">
			<item name="IZYgunT4shotgunSPAS12"/>
		</lootgroup>

	</insertBefore>

	<!-- append new shotgun lootgroups to the general tiered ranged weapon groups -->
	<append xpath="//lootgroup[@name='groupWeaponsT1_Ranged']">	
		<item group="groupWeaponsT1_Boomstick_Doublebarrellong"/>
		<item group="groupWeaponsT1_Boomstick_BoltactionShotgun"/>
		<item group="groupWeaponsT1_Boomstick_Model1887"/>
	</append>
	
	<append xpath="//lootgroup[@name='groupWeaponsT2_Ranged']">	
		<item group="groupWeaponsT2_Boomstick_M31hunter"/>
		<item group="groupWeaponsT2_Boomstick_M1897"/>
		<item group="groupWeaponsT2_Boomstick_M870Police"/>
	</append>
	
	<append xpath="//lootgroup[@name='groupWeaponsT3_Ranged']">	
		<item group="groupWeaponsT3_Boomstick_M4terminator"/>
		<item group="groupWeaponsT3_Boomstick_XM12G"/>
		<item group="groupWeaponsT3_Boomstick_M590S"/>
		<!-- T4 -->
		<item group="groupWeaponsT4_Boomstick_Saika12g" prob="0.3"/>
		<item group="groupWeaponsT4_Boomstick_HEXAGun" prob="0.3"/>
		<item group="groupWeaponsT4_Boomstick_SPAS12" prob="0.3"/>
	</append>

	<!-- append new shotgrun flechette ammo lootgroups to the sized ammo groups -->
	<append xpath="//lootgroup[@name='groupAmmoSmall']">	
		<item group="groupShotgunShellFlechetteSmall"/>
	</append>

	<append xpath="//lootgroup[@name='groupAmmoSmallNoArrow']">	
		<item group="groupShotgunShellFlechetteSmall"/>
	</append>

	<append xpath="//lootgroup[@name='groupAmmoMedium']">	
		<item group="groupShotgunShellFlechetteMedium"/>
	</append>

	<append xpath="//lootgroup[@name='groupAmmoMediumNoArrow']">	
		<item group="groupShotgunShellFlechetteMedium"/>
	</append>

	<append xpath="//lootgroup[@name='groupAmmoLarge']">	
		<item group="groupShotgunShellFlechetteLarge"/>
	</append>

</configs>
 
I put together a loot.xml for this mod, similar to the one I posted in the 5.56 weapons mod thread.  I sprinkled some of the flechette ammo into the ammo lootgroups as well, since I like it.
Neat. I tried it out and found a T2 shotgun in a weapon bag pretty quickly.

hnIMstS.png


I also added to the quest reward loot groups.

<!-- append new shotguns to tiered group quest reward loot groups -->

<append xpath="//lootgroup[@name='groupQuestWeaponsRangedT1']">
<item name="IZYgunT1shotgunDoublebarrellong"/>
<item name="IZYgunT1shotgunBoltactionShotgun"/>
<item name="IZYgunT1shotgunModel1887"/>
</append>

<append xpath="//lootgroup[@name='groupQuestWeaponsRangedT2']">
<item name="IZYgunT2shotgunM31hunter"/>
<item name="IZYgunT2shotgunM1897"/>
<item name="IZYgunT2shotgunM870Police"/>
</append>

<append xpath="//lootgroup[@name='groupQuestWeaponsRangedT3']">
<item name="IZYgunT3shotgunM4terminator"/>
<item name="IZYgunT3shotgunXM12G"/>
<item name="IZYgunT3shotgunM590S"/>
<!-- T4 -->
<item name="IZYgunT4shotgunSaika12g" prob="0.3"/>
<item name="IZYgunT4shotgunHEXAGun" prob="0.3"/>
<item name="IZYgunT4shotgunSPAS12" prob="0.3"/>
</append>



Managed to get a T1 shotgun as a reward for a T2 quest.

FSTp27V.png


A little confused what to do about the "groupInfestedT5MeleeRanged" loot group though. It has T2/T3 weapons in it. Feels weird to add T2/T3/T4 shotguns to it.

Up to @Izayo what he wants.

 
Last edited by a moderator:
Is there a modlet added, I'm not sure how that all works with the configs, not the best at that 😕

do you just add a quest.xml and a loot.xml folder and add those to their respective folders?

 
Is there a modlet added, I'm not sure how that all works with the configs, not the best at that 😕

do you just add a quest.xml and a loot.xml folder and add those to their respective folders?


Ultimately, Izayo makes the final decision since it is his mod. Just offering suggestions.

What I did to try it out locally was create a file:
...\A21_Izayo_Firearms_Shotgun_packVAL\Config\loot.xml

with the contents of:
 

<configs>

<!-- append shotgun flechette ammo to quest reward ammo group -->
<append xpath="//lootgroup[@name='groupQuestAmmo']">
<item name="ammoShotgunShellFlechette" count="40" loot_prob_template="QuestT2Prob"/>
</append>

<!-- define lootgroups, insert them -->
<insertBefore xpath="/lootcontainers/lootgroup[@name='groupScrapCommon']">

<!-- lootgroups for shotgun flechette ammo -->
<lootgroup name="groupShotgunShellFlechetteSmall">
<item name="ammoShotgunShellFlechette" count="1,2" loot_stage_count_mod="0.01" />
</lootgroup>
<lootgroup name="groupShotgunShellFlechetteMedium">
<item name="ammoShotgunShellFlechette" count="2,3" loot_stage_count_mod="0.01" />
</lootgroup>
<lootgroup name="groupShotgunShellFlechetteLarge">
<item name="ammoShotgunShellFlechette" count="3,15" loot_stage_count_mod="0.01" />
</lootgroup>

<!-- lootgroups for new shotguns -->
<!-- T1 -->
<lootgroup name="groupWeaponsT1_Boomstick_Doublebarrellong" count="all" loot_quality_template="QLTemplateT1">
<item name="IZYgunT1shotgunDoublebarrellong"/>
</lootgroup>
<lootgroup name="groupWeaponsT1_Boomstick_BoltactionShotgun" count="all" loot_quality_template="QLTemplateT1">
<item name="IZYgunT1shotgunBoltactionShotgun"/>
</lootgroup>
<lootgroup name="groupWeaponsT1_Boomstick_Model1887" count="all" loot_quality_template="QLTemplateT1">
<item name="IZYgunT1shotgunModel1887"/>
</lootgroup>

<!-- T2 -->
<lootgroup name="groupWeaponsT2_Boomstick_M31hunter" count="all" loot_quality_template="QLTemplateT2">
<item name="IZYgunT2shotgunM31hunter"/>
</lootgroup>
<lootgroup name="groupWeaponsT2_Boomstick_M1897" count="all" loot_quality_template="QLTemplateT2">
<item name="IZYgunT2shotgunM1897"/>
</lootgroup>
<lootgroup name="groupWeaponsT2_Boomstick_M870Police" count="all" loot_quality_template="QLTemplateT2">
<item name="IZYgunT2shotgunM870Police"/>
</lootgroup>

<!-- T3 -->
<lootgroup name="groupWeaponsT3_Boomstick_M4terminator" count="all" loot_quality_template="QLTemplateT3">
<item name="IZYgunT3shotgunM4terminator"/>
</lootgroup>
<lootgroup name="groupWeaponsT3_Boomstick_XM12G" count="all" loot_quality_template="QLTemplateT3">
<item name="IZYgunT3shotgunXM12G"/>
</lootgroup>
<lootgroup name="groupWeaponsT3_Boomstick_M590S" count="all" loot_quality_template="QLTemplateT3">
<item name="IZYgunT3shotgunM590S"/>
</lootgroup>

<!-- T4 -->
<lootgroup name="groupWeaponsT4_Boomstick_Saika12g" count="all" loot_quality_template="QLTemplateT3">
<item name="IZYgunT4shotgunSaika12g"/>
</lootgroup>
<lootgroup name="groupWeaponsT4_Boomstick_HEXAGun" count="all" loot_quality_template="QLTemplateT3">
<item name="IZYgunT4shotgunHEXAGun"/>
</lootgroup>
<lootgroup name="groupWeaponsT4_Boomstick_SPAS12" count="all" loot_quality_template="QLTemplateT3">
<item name="IZYgunT4shotgunSPAS12"/>
</lootgroup>

</insertBefore>

<!-- append new shotgun lootgroups to the general tiered ranged weapon groups -->
<append xpath="//lootgroup[@name='groupWeaponsT1_Ranged']">
<item group="groupWeaponsT1_Boomstick_Doublebarrellong"/>
<item group="groupWeaponsT1_Boomstick_BoltactionShotgun"/>
<item group="groupWeaponsT1_Boomstick_Model1887"/>
</append>

<append xpath="//lootgroup[@name='groupWeaponsT2_Ranged']">
<item group="groupWeaponsT2_Boomstick_M31hunter"/>
<item group="groupWeaponsT2_Boomstick_M1897"/>
<item group="groupWeaponsT2_Boomstick_M870Police"/>
</append>

<append xpath="//lootgroup[@name='groupWeaponsT3_Ranged']">
<item group="groupWeaponsT3_Boomstick_M4terminator"/>
<item group="groupWeaponsT3_Boomstick_XM12G"/>
<item group="groupWeaponsT3_Boomstick_M590S"/>
<!-- T4 -->
<item group="groupWeaponsT4_Boomstick_Saika12g" prob="0.3"/>
<item group="groupWeaponsT4_Boomstick_HEXAGun" prob="0.3"/>
<item group="groupWeaponsT4_Boomstick_SPAS12" prob="0.3"/>
</append>

<!-- append new shotgrun flechette ammo lootgroups to the sized ammo groups -->
<append xpath="//lootgroup[@name='groupAmmoSmall']">
<item group="groupShotgunShellFlechetteSmall"/>
</append>

<append xpath="//lootgroup[@name='groupAmmoSmallNoArrow']">
<item group="groupShotgunShellFlechetteSmall"/>
</append>

<append xpath="//lootgroup[@name='groupAmmoMedium']">
<item group="groupShotgunShellFlechetteMedium"/>
</append>

<append xpath="//lootgroup[@name='groupAmmoMediumNoArrow']">
<item group="groupShotgunShellFlechetteMedium"/>
</append>

<append xpath="//lootgroup[@name='groupAmmoLarge']">
<item group="groupShotgunShellFlechetteLarge"/>
</append>

<!-- append new shotguns to tiered group quest reward loot groups -->

<append xpath="//lootgroup[@name='groupQuestWeaponsRangedT1']">
<item name="IZYgunT1shotgunDoublebarrellong"/>
<item name="IZYgunT1shotgunBoltactionShotgun"/>
<item name="IZYgunT1shotgunModel1887"/>
</append>

<append xpath="//lootgroup[@name='groupQuestWeaponsRangedT2']">
<item name="IZYgunT2shotgunM31hunter"/>
<item name="IZYgunT2shotgunM1897"/>
<item name="IZYgunT2shotgunM870Police"/>
</append>

<append xpath="//lootgroup[@name='groupQuestWeaponsRangedT3']">
<item name="IZYgunT3shotgunM4terminator"/>
<item name="IZYgunT3shotgunXM12G"/>
<item name="IZYgunT3shotgunM590S"/>
<!-- T4 -->
<item name="IZYgunT4shotgunSaika12g" prob="0.3"/>
<item name="IZYgunT4shotgunHEXAGun" prob="0.3"/>
<item name="IZYgunT4shotgunSPAS12" prob="0.3"/>
</append>

</configs>



And that's it. Just the one file.

 
Last edited by a moderator:
okay and the other is a quest.xml? 

Think I'll just wait till OP adds it to the official file, my luck I'll mess something up :(

 
Last edited by a moderator:
I'm very impressed with your mod's gun reload animations (mainly the "Mauser C96", the M1 Garland in ".30-06 Weapons" and the auto-shotguns like the SPAS in the "SHOTGUN Pack") and the "A21_Izayo_Visible_Mods_mod" to make visible Attachments that were not displayed in vanilla.
I would like to make my own "mods" inspired by these animations and ideas. May I make them?
 

 
I'm very impressed with your mod's gun reload animations (mainly the "Mauser C96", the M1 Garland in ".30-06 Weapons" and the auto-shotguns like the SPAS in the "SHOTGUN Pack") and the "A21_Izayo_Visible_Mods_mod" to make visible Attachments that were not displayed in vanilla.
I would like to make my own "mods" inspired by these animations and ideas. May I make them?
 
sure

 
MrSamuelAdams said:
okay and the other is a quest.xml? 

Think I'll just wait till OP adds it to the official file, my luck I'll mess something up :(


I can create a small modlet to add that as an option.  I never thought of asking Izayo if he wanted them as a quest reward option when I was helping him with traders and loot drops.

 
@MrSamuelAdams

Here you go, adds the weapons to the quest rewards (not the bundle packages though)

https://github.com/BFT2020/A21IzayoShotgunQuestRewards.git

@Izayo

As always you are more than welcome to incorporate the code into your mod so users don't have to search for this modlet.  In addition, you can use it as a baseline for your other weapon mods (copy and paste), just remember to change the items from the shotguns to your other modded weapons.

Everything loaded on my end fine, but I am not able to test fully in game since I am working on my own mods.  If anyone sees an issue with it, please let me know.

 
Here is an xml edit that I did for my personal use. I like being able to craft bundled ammo.

Added to items.xml

<item name="ammoBundleShotgunShellFlechette">
<property name="Extends" value="ammoBundleMaster"/>
<property name="CustomIcon" value="ammo12gFlechette"/>
<property name="EconomicValue" value="1700"/>
<property name="UnlockedBy" value="perkShotgunMessiahComplete"/>
<!-- BOOK_PERK -->
<property name="TraderStageTemplate" value="ammoTier2"/>

<property class="Action0">
<property name="Create_item" value="ammoShotgunShellFlechette"/>
</property>
</item>

<item name="ammoBundleShotgunShellTokenShot">
<property name="Extends" value="ammoBundleMaster"/>
<property name="CustomIcon" value="ammoShotgunShellTokenShot"/>
<property name="EconomicValue" value="1100"/>
<property name="UnlockedBy" value="perkShotgunMessiahComplete"/>
<!-- BOOK_PERK -->
<property name="TraderStageTemplate" value="ammoTier1"/>

<property class="Action0">
<property name="Create_item" value="ammoShotgunShellTokenShot"/>
</property>
</item>

<item name="ammoBundleShotgunSuperpenetratorslug">
<property name="Extends" value="ammoBundleMaster"/>
<property name="CustomIcon" value="ammoShotgunSuperpenetratorslug"/>
<property name="EconomicValue" value="2800"/>
<property name="UnlockedBy" value="perkShotgunMessiahComplete"/>
<!-- BOOK_PERK -->
<property name="TraderStageTemplate" value="ammoTier3"/>

<property class="Action0">
<property name="Create_item" value="ammoShotgunSuperpenetratorslug"/>
</property>
</item>



Added to recipes.xml

<recipe name="ammoBundleShotgunShellFlechette" count="1" craft_time="360" craft_area="workbench" tags="learnable,workbenchCrafting">
<ingredient name="ammoDartIron" count="320"/>
<ingredient name="resourceGunPowder" count="400"/>
<ingredient name="resourceScrapPolymers" count="80"/>
</recipe>

<recipe name="ammoBundleShotgunShellTokenShot" count="1" craft_time="240" craft_area="workbench" tags="learnable,workbenchCrafting">
<ingredient name="casinoCoin" count="560"/>
<ingredient name="resourceGunPowder" count="320"/>
<ingredient name="resourcePaper" count="80"/>
</recipe>

<recipe name="ammoBundleShotgunSuperpenetratorslug" count="1" craft_time="360" craft_area="workbench" tags="learnable,workbenchCrafting">
<ingredient name="resourceForgedSteel" count="80"/>
<ingredient name="resourceGunPowder" count="480"/>
<ingredient name="resourceScrapPolymers" count="80"/>
</recipe>



Added to progression.xml

<append xpath="//book[@name='perkShotgunMessiahComplete']/effect_group">
<passive_effect name="RecipeTagUnlocked" operation="base_set" level="1" value="1" tags="ammoBundleShotgunShellFlechette,ammoBundleShotgunShellTokenShot,ammoBundleShotgunSuperpenetratorslug"/>
</append>


End result is boxes of the custom ammo in @Izayo pack that is tied to reading all the shotgun perk books.

NsDOJHf.png


rw3IypI.png


Not a clue how to do a modlet so here are all the files that I modified in the mod's config.

https://file.io/LgLtjXw2n09j

 
Not a clue how to do a modlet so here are all the files that I modified in the mod's config.


I will convert your code into a modlet, or maybe just update the modlet I already created and add your additional code to it.

 
Sorry for very late update , I have to reimport>export all assets again.

Update V2

- fixed errors

- fixed boltaction shotgun bug

- fixed loot,trader xml

- fixed saika textures (too dark)

- new 3D icons

- small balance changed

- added localization for DE,JP

- broken sounds fixed 

also... I recommended FOV mod : https://www.nexusmods.com/7daystodie/mods/1995 

you can change value in Mods\Ragnars_FovChanger\config.xml

my best setting is  <weapon_fov value="55" />   work great with pistols and long guns

 
Last edited by a moderator:
Back
Top