Hi im trying to create a custom wepon, for starters just based off another.. So basically say an m4a1 with a 200 rnd mag. I edited my ugxm_weapons.iwd and went to sp,weapons where all the weapons are and copy pasted a m4_carbine and renamed it m4_lmg.. Then I edited the ammo count..
Next step I went to zombiemode_weapons and added the line:
include_zombie_weapon_ugx("m4a1_lmg", "M4A1_LMG", 2000);
and then
for the final step
I added
weapon,sp\m4a1_lmg
to mymapname's mod.csv
and then I get the warning/error in launcher when compiling the mod.csv
ERROR: xmodel 'viewmodel_m4' not found
failed loading xmodel 'viewmodel_m4' for asset 'sp/m4a1_lmg' found in source file '../zone_source/mod.csv'
failed loading 'viewmodel_M4' of type 'xmodel' found in source file '../zone_source/mod.csv'
ERROR: xmodel 'weapon_m4grunt_sp' not found
failed loading xmodel 'weapon_m4grunt_sp' for asset 'sp/m4a1_lmg' found in source file '../zone_source/mod.csv'
failed loading 'weapon_m4grunt_sp' of type 'xmodel' found in source file '../zone_source/mod.csv'
failed loading 'sp/m4a1_lmg' of type 'weapon' found in source file '../zone_source/mod.csv'
btw the m4_carbine works in game fine..
i thought this was just a warning so I went in game tried to give it to myself and viola no weapon??
any ideas-Teddi
*EDIT this post is to update my previous post on the subject with more details, I dont know if this is allowed, if it isnt sorry*