Tutorial for adding weapons/Xcaliber ammo to NPCs through scripts

I'm currently tinkering with some nexus weapons- mostly russian weapons such as the SVT, Mosin, PKM. I have enabled the 7.62R rounds on XCaliber. I have added SKS rifles to NPCs, but I was stumped how to get them to fire- it seems like I was unable to add the proper 7.62x39 xcaliber ammo to them, and even more so lost on getting 7.62R to show up at all.

Anyone who tried anything similar? a copypaste of the script's contents would be awesome, if anyone has it.

You need to edit the leveled item that's added via script and change the ammo to the correct type.

Its probably something like WithAmmoSKSLoot under the leveled item branch in the GECK. it should be pretty self explanatory from there.

Let me know if you need more help.

Edit: i forgot to ask, the weapons have already been added to the the leveled list via script right? if not i can help you with that too.

Hey, thanks for the real prompt help. the SKS and AK have been added, but the Mosin / SVT-40 and the PKM have not.I'll first try what you suggested for the AK / SVT, and move on to the unadded weapons.