Jump to content

murgatroyde

Members
  • Posts

    2
  • Joined

murgatroyde's Achievements

Refugee

Refugee (1/15)

2

Reputation

  1. 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. <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>
  2. I spent some time looking through the base game XML and XML from other mods then put together a loot.xml for you. I tested by opening a ton of Shotgun Messiah crates and teleporting to Army POIs to check ammo piles and munitions crates. <configs> <!-- append 5.56mm ammo to quest reward ammo group --> <append xpath="//lootgroup[@name='groupQuestAmmo']"> <item name="IZYammo556mmBulletBall" count="70" loot_prob_template="QuestT1Prob"/> <item name="IZYammo556mmArmorpiercing" count="35" loot_prob_template="QuestT2Prob"/> <item name="IZYammo556mmHighPower" count="35" loot_prob_template="QuestT2Prob"/> </append> <!-- define lootgroups, insert them --> <insertBefore xpath="/lootcontainers/lootgroup[@name='groupScrapCommon']"> <!-- lootgroups for 5.56mm ammo --> <lootgroup name="group556mmSmall"> <item name="IZYammo556mmBulletBall" count="6,8" loot_stage_count_mod="0.01" /> </lootgroup> <lootgroup name="group556mmMedium"> <item name="IZYammo556mmBulletBall" count="15,20" loot_stage_count_mod="0.01" /> </lootgroup> <lootgroup name="group556mmLarge"> <item name="IZYammo556mmBulletBall" count="30,50" loot_stage_count_mod="0.01" /> </lootgroup> <!-- lootgroups for 5.56 weapons --> <lootgroup name="groupWeaponsT1_Machinegunner_CAR15" count="all" loot_quality_template="QLTemplateT1"> <item name="IZYgunT1assaultrifleTacticalCarbineCAR15"/> </lootgroup> <lootgroup name="groupWeaponsT1_Machinegunner_FNNLCAL" count="all" loot_quality_template="QLTemplateT1"> <item name="IZYgunT1assaultrifleBattleCarbineFNLcal"/> </lootgroup> <lootgroup name="groupWeaponsT2_Machinegunner_M4C" count="all" loot_quality_template="QLTemplateT2"> <item name="IZYgunT2assaultrifleTacticalCarbineM4C"/> </lootgroup> <lootgroup name="groupWeaponsT2_Machinegunner_HK33" count="all" loot_quality_template="QLTemplateT2"> <item name="IZYgunT2assaultrifleBattleCarbineHK33"/> </lootgroup> <lootgroup name="groupWeaponsT3_Machinegunner_SOCMK1" count="all" loot_quality_template="QLTemplateT3"> <item name="IZYgunT3assaultrifleTacticalCarbineSOCmk1"/> </lootgroup> <lootgroup name="groupWeaponsT3_Machinegunner_AKWA2" count="all" loot_quality_template="QLTemplateT3"> <item name="IZYgunT3assaultrifleBattleCarbineAKWa2"/> </lootgroup> <lootgroup name="groupWeaponsT4_Machinegunner_SCARL" count="all" loot_quality_template="QLTemplateT3"> <item name="IZYgunT4assaultrifleBattleCarbineScarLight"/> </lootgroup> </insertBefore> <!-- append new 5.56mm weapon lootgroups to the general tiered ranged weapon groups --> <append xpath="//lootgroup[@name='groupWeaponsT1_Ranged']"> <item group="groupWeaponsT1_Machinegunner_CAR15"/> <item group="groupWeaponsT1_Machinegunner_FNNLCAL"/> </append> <append xpath="//lootgroup[@name='groupWeaponsT2_Ranged']"> <item group="groupWeaponsT2_Machinegunner_M4C"/> <item group="groupWeaponsT2_Machinegunner_HK33"/> </append> <append xpath="//lootgroup[@name='groupWeaponsT3_Ranged']"> <item group="groupWeaponsT3_Machinegunner_SOCMK1"/> <item group="groupWeaponsT3_Machinegunner_AKWA2"/> <!-- ooooo TIER4 ooooo --> <item group="groupWeaponsT4_Machinegunner_SCARL" prob="0.3"/> </append> <!-- append new 5.56mm ammo lootgroups to the sized ammo groups --> <append xpath="//lootgroup[@name='groupAmmoSmall']"> <item group="group556mmSmall"/> </append> <append xpath="//lootgroup[@name='groupAmmoSmallNoArrow']"> <item group="group556mmSmall"/> </append> <append xpath="//lootgroup[@name='groupAmmoMedium']"> <item group="group556mmMedium"/> </append> <append xpath="//lootgroup[@name='groupAmmoMediumNoArrow']"> <item group="group556mmMedium"/> </append> <append xpath="//lootgroup[@name='groupAmmoLarge']"> <item group="group556mmLarge"/> </append> </configs> Note the change to how the 5.56mm ammo is added to the loot groups. I copied the syntax from the base game XML. If you do it the old A20 way, you end up with too much 5.56 showing up. I copied the line for inserting the lootgroup definitions before 'groupScrapCommon' from the loot.xml in @bdubyah's vehicles pack. It seemed like a clean way to do it. I've been enjoying your mods for a while and have some experience with XML so I thought I'd try to pay you back for the fun. Hope it helps. Oh, I also put together a loot.xml for your shotgun mod and will be posting it over in that thread.
×
×
  • Create New...