Jump to content

Edit History

Please note that revisions older than 365 days are pruned and will no longer show here
Tarf

Tarf

38 minutes ago, MrSamuelAdams said:

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:
 

Spoiler
<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.

Tarf

Tarf

21 minutes ago, MrSamuelAdams said:

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:
 

Spoiler
<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>

 

 

Tarf

Tarf

17 minutes ago, MrSamuelAdams said:

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 was create a file:
...\A21_Izayo_Firearms_Shotgun_packVAL\Config\loot.xml

with the contents of:
 

Spoiler
<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>

 

 

×
×
  • Create New...