you can find the codes by searching for “// Unknown War” inside my entities.blk file. It is very long but they are well labelled. For modern conflict weapons, search for “// Modern Conflict”
// Unknown War
railgun_germany_zombie_gun{
_use:t="railgun_germany_gun"
_use:t="gun_with_initial_ammo"
_use:t="paid_loot_ressuply"
item__template:t="railgun_germany_zombie_gun_item"
item__weapTemplate:t="railgun_germany_zombie_gun"
paid_loot__ressuplyCost:i=300
"gun__ammoHolders:array"{
item:t="railgun_magazine"
}
}
railgun_germany_zombie_gun_item{
_use:t="item_gun"
_use:t="railgun_germany_zombie_gun"
collres__res:t="gewehr_43_collision"
_group{
_tags:t="server"
"gun__initialAmmoHoldersCount:list<i>"{
item:i=2
}
}
}
railgun_magazine{
_use:t="infinite_magazine"
ammo_holder__templateName:t="railgun_magazine"
ammo_holder__ammoCount:i=25
}
blaster_germany_zombie_gun{
_use:t="blaster_germany_gun"
_use:t="gun_with_initial_ammo"
_use:t="paid_loot_ressuply"
item__template:t="blaster_germany_zombie_gun_item"
item__weapTemplate:t="blaster_germany_zombie_gun"
paid_loot__ressuplyCost:i=200
"gun__ammoHolders:array"{
item:t="blaster_magazine"
}
}
blaster_germany_zombie_gun_item{
_use:t="item_gun"
_use:t="blaster_germany_zombie_gun"
collres__res:t="gewehr_43_collision"
_group{
_tags:t="server"
"gun__initialAmmoHoldersCount:list<i>"{
item:i=1
}
}
}
blaster_magazine{
_use:t="infinite_magazine"
ammo_holder__templateName:t="blaster_magazine"
ammo_holder__ammoCount:i=500
}
lightthrower_germany_zombie_gun{
_use:t="lightthrower_germany_gun"
_use:t="gun_with_initial_ammo"
_use:t="paid_loot_ressuply"
item__template:t="lightthrower_germany_zombie_gun_item"
item__weapTemplate:t="lightthrower_germany_zombie_gun"
paid_loot__ressuplyCost:i=250
"gun__ammoHolders:array"{
item:t="lightthrower_magazine"
}
}
lightthrower_germany_zombie_gun_item{
_use:t="item_gun"
_use:t="lightthrower_germany_zombie_gun"
collres__res:t="gewehr_43_collision"
_group{
_tags:t="server"
"gun__initialAmmoHoldersCount:list<i>"{
item:i=1
}
}
}
lightthrower_magazine{
_use:t="infinite_magazine"
ammo_holder__templateName:t="lightthrower_magazine"
ammo_holder__ammoCount:i=500
}
plasma_cannon_germany_zombie_gun{
_use:t="plasma_cannon_germany_gun"
_use:t="gun_with_initial_ammo"
_use:t="paid_loot_ressuply"
item__template:t="plasma_cannon_germany_zombie_gun_item"
item__weapTemplate:t="plasma_cannon_germany_zombie_gun"
paid_loot__ressuplyCost:i=400
_group{
_tags:t="server"
"gun__ammoHolders:array"{
item:t="plasma_cannon_magazine"
}
}
}
plasma_cannon_germany_zombie_gun_item{
_use:t="item_gun"
_use:t="plasma_cannon_germany_zombie_gun"
collres__res:t="gewehr_43_collision"
_group{
_tags:t="server"
"gun__initialAmmoHoldersCount:list<i>"{
item:i=5
}
}
}
plasma_cannon_magazine{
_use:t="infinite_magazine"
ammo_holder__templateName:t="plasma_cannon_magazine"
ammo_holder__ammoCount:i=2
}
blaster_auto_usa_zombie_gun{
_use:t="blaster_auto_usa_gun"
_use:t="gun_with_initial_ammo"
_use:t="paid_loot_ressuply"
item__template:t="blaster_auto_usa_zombie_gun_item"
item__weapTemplate:t="blaster_auto_usa_zombie_gun"
paid_loot__ressuplyCost:i=150
gun__kineticDamageMult:r=5
"gun__ammoHolders:array"{
item:t="blaster_auto_magazine"
}
item__name:t="Browning XM1918"
}
blaster_auto_usa_zombie_gun_item{
_use:t="item_gun"
_use:t="blaster_auto_usa_zombie_gun"
collres__res:t="browning_m1918_collision"
_group{
_tags:t="server"
"gun__initialAmmoHoldersCount:list<i>"{
item:i=1
}
}
}
blaster_auto_magazine{
_use:t="infinite_magazine"
ammo_holder__templateName:t="blaster_auto_magazine"
ammo_holder__ammoCount:i=500
}
I added custom ammo for each of the weapons so that they dont use the infinite magazine (infinite ammo isn’t fun and is just not fair for the zombies)