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

5.56 Weapons pack (update final ver. : added 3 new guns)

@Izayo

Okay, I found some issues that might be causing your problems

Naming of the items

You should not use special characters and spaces in the names of your items:  5.56mm, 5.56mm AP, Civilian-Legal Rifle.  The game code has issues if you use special characters and spaces in your item names.  This is why TFP don't include those in the code (decimal places are strictly for values in variables).

I would use the same naming convention that TFP use in their vanilla items.   So

  • change 5.56mm into ammo556mmBulletBall
  • Change 5.56mm AP into ammo556mmBulletAP
  • change Civilian-Legal Rifle into gunCivilianLegalRifle
  • Continue doing the same with all of the items - These are just examples that I do in my mods, but the key is getting rid of the spaces and special characters like the decimal point and the -.
To get them to display properly in-game, we will need to add a localization file that will load up.  That is not hard to do, especially if you load it up via excel (as it splits the information into columns).  You can view the vanilla ammo and vanilla guns as examples.  Don't worry about additional languages as you can just do the English displayed name for each item.

I checked your loot file and it seems like it is loading correctly.  However, I would drop the loot_prob_template="guaranteed" from the lines (as anything without a probability is treated as 1 anyways).  I would also remove the one from treasure ammo since you already added it to both subgroups in that ammo group.  Addressing the issues in the names as I mentioned above might fix the loot issue you are seeing. 
thank you for the hard work.

 
Izayo said:
yes , just change  <property name="Magazine_items" value="name of ammo"/>
hi, i change de ammo but de damage is to low i have undeadlegacy mod and i want to loot the ammo or craft but i dont know how and what change im new in this

 
How does one get this to play well with UL?

I've got both izayo_weapons_firearms_556 and izayo_weapons_firearms_v2 mod folders in "K:\7d2d\Alpha20\undead_legacy\Undead_Legacy_Stable\Mods, however they don't appear in game, I've even checked the debug mode.

Am I missing a modlet?

 
How does one get this to play well with UL?

I've got both izayo_weapons_firearms_556 and izayo_weapons_firearms_v2 mod folders in "K:\7d2d\Alpha20\undead_legacy\Undead_Legacy_Stable\Mods, however they don't appear in game, I've even checked the debug mode.

Am I missing a modlet?
UL is a large overhaul of the game.  Those types of mods (Darkness Falls is another one) tend to make large changes to the game files that other modlets would have issues during loading.

You can try changing the location.   The two mods you listed above should be in the Mod folder, not inside the undead legacy mod folder (as they are separate from UL).  In addition, you should rename the folder so these mods load after UL (mods are loaded in Alphabetical order so izayo would be loaded first).

If that doesn't work, you would then need to mod Izayo's mod to work specifically with UL.

 
I'm on 20.5, I thought that mod folder location was for 20.6?

At any rate I'll try that out, plus the renaming.

Edit: Found the issue...

20220831_125208.jpg

 
Last edited by a moderator:
Fixed the bottom 4 wrn's by removing the T's, and now the weapons show up...still have to figure out the "groupammoAdvancedGunslinger" one.

Maybe it'll be as simple as removing the "Advanced" part.

 
Fixed the bottom 4 wrn's by removing the T's, and now the weapons show up...still have to figure out the "groupammoAdvancedGunslinger" one.

Maybe it'll be as simple as removing the "Advanced" part.
Give me some time and I might be able to point you in the right direction.

 
Give me some time and I might be able to point you in the right direction.
That would be great ty.

I also noticed that the ammunition is shown as "5.56mm", as opposed to "5.56mm Round" which UL uses. So maybe I'll try changing it to the latter, so as to chamber the UL ammunition.

So that leaves the 30.06 to fiddle with.

Well that and find a workbench solution for upgrading...it shows the correct UL tier levels, but upgrading isn't available.

 
Very good job on this mod! Models look great! I'm gonna use this and the 30-30 mod with some friends at our next 7dtd-session this month.

Can you give any indication when the .45 acp weapons will be ready? Would love to have more weapons at our next playthrough.

But no rush. If your next bundle will have the same quality, I certainly can wait for it

 
Very good job on this mod! Models look great! I'm gonna use this and the 30-30 mod with some friends at our next 7dtd-session this month.

Can you give any indication when the .45 acp weapons will be ready? Would love to have more weapons at our next playthrough.

But no rush. If your next bundle will have the same quality, I certainly can wait for it
October.  I'll enjoy the game for a month.

 
hey i know its been a while I've been busy but the next caliber i'd like to see is 7.92 which should include both 7.92x57mm mauser and 7.92x33mm kurz for the STG44. the soviet pack mod was fun but i miss the STG the most.

 
hey i know its been a while I've been busy but the next caliber i'd like to see is 7.92 which should include both 7.92x57mm mauser and 7.92x33mm kurz for the STG44. the soviet pack mod was fun but i miss the STG the most.
I already made the STG   look at  5:29 


 The original gun was too slim and it doesn't fit the hand position properly , so I added a wooden grip. please wait a month . I'll release it after .45acp pack

 
When you click on any of the guns for your 5.56 weapons mod while in a crafting window it gets errors saying search for object or something like that.  Im runing darkness falls so not sure if it is a compatibility issue...Thanks

I'm finding the 556 ammo in loot, but havent seen a gun in loot or trader yet...will update in a bit

Errors are:

EXC Object reference not set to an instance of an object

and 

ERR [XUi] error while updating window group 'crafting'

 
Last edited by a moderator:
Back
Top