EDIT: Somehow, I mis-posted in this forum. I've reposted in the mods forum. Thanks
I'm playing around with a mod creating a small/medium caliber rapid-fire Gauss rifle I'm calling the AG/5. With a smaller caliber, the box would have a larger capacity than the standard Gauss box. However, I'm stumbling over the ammo box. I've tried matching either the stock AC/2 (naming) and several weapon mods (mod.json and techniques). Based on errors in the output log and the modtek log, I have one of two problems.
1) If I set the weapon's weaponsubtype to AG5 instead of Gauss, that throws an error into the logs that the reference is invalid and I get the spinning wheel of infinity.
2) If I set the weapon's weaponsubtype to Gauss, then I get a "no undamaged ammo box" error in the mech bay. A Gauss ammo box doesn't work either.
If I'm understanding the problem, I need to create a weaponsubtype of "AG5", but I can't find any instructions to do that. Is it possible to create/add a new weaponsubtype or am I barking up the wrong tree?
Thanks!
My mod files and folders are attachedin a zip - ignore the weapon values. I'm still tweaking them.
Here are the name and ID references I'm using:
AmmoCategory.json
ID: 801
Name: AG5
FriendlyName: AG/5
UIColorRef: Ballistic
Ammunition_AG5.json
ID: Ammunition_AG5
Name: AG/5 Ammo
Category: Gauss or AG5 ?????
Ammo_AmmunitionBox_Generic_AG5.json
AmmoID: Ammunition_AG5
Model: AG5
UIName: AG/5 Ammo
ID: Ammo_AmmunitionBox_Generic_AG5
Name: AG/5 Ammo
Weapon_Gauss_AG5_0-TommyGunn.json
Category: Ballistic
Type: Gauss
WeaponSubType: Gauss
ammoCategoryID: AG5
Manufacturer: TommyGunn Arms
Model: Rapid Fire Gauss Rifle
UIName: AG/5
ID: Weapon_Gauss_AG5_0-TommyGunn
Name: AG/5
I'm playing around with a mod creating a small/medium caliber rapid-fire Gauss rifle I'm calling the AG/5. With a smaller caliber, the box would have a larger capacity than the standard Gauss box. However, I'm stumbling over the ammo box. I've tried matching either the stock AC/2 (naming) and several weapon mods (mod.json and techniques). Based on errors in the output log and the modtek log, I have one of two problems.
1) If I set the weapon's weaponsubtype to AG5 instead of Gauss, that throws an error into the logs that the reference is invalid and I get the spinning wheel of infinity.
2) If I set the weapon's weaponsubtype to Gauss, then I get a "no undamaged ammo box" error in the mech bay. A Gauss ammo box doesn't work either.
If I'm understanding the problem, I need to create a weaponsubtype of "AG5", but I can't find any instructions to do that. Is it possible to create/add a new weaponsubtype or am I barking up the wrong tree?
Thanks!
My mod files and folders are attachedin a zip - ignore the weapon values. I'm still tweaking them.
Here are the name and ID references I'm using:
AmmoCategory.json
ID: 801
Name: AG5
FriendlyName: AG/5
UIColorRef: Ballistic
Ammunition_AG5.json
ID: Ammunition_AG5
Name: AG/5 Ammo
Category: Gauss or AG5 ?????
Ammo_AmmunitionBox_Generic_AG5.json
AmmoID: Ammunition_AG5
Model: AG5
UIName: AG/5 Ammo
ID: Ammo_AmmunitionBox_Generic_AG5
Name: AG/5 Ammo
Weapon_Gauss_AG5_0-TommyGunn.json
Category: Ballistic
Type: Gauss
WeaponSubType: Gauss
ammoCategoryID: AG5
Manufacturer: TommyGunn Arms
Model: Rapid Fire Gauss Rifle
UIName: AG/5
ID: Weapon_Gauss_AG5_0-TommyGunn
Name: AG/5
Attachments
Last edited: