lol I had a bit of trouble translating what worked in previous COD titles to WaW because they changed things.
Anyway, this code works in multiplayer and will spawn a usable 30cal mounted turret anyway on the map you want:
turret = spawnTurret( "misc_turret", (-2795, 1526, 20), "30cal_bipod_crouch_mp" );
turret.angles = (0,90,0);
turret setmodel( "mounted_mp_30cal_bipod_lmg" );
turret setleftarc( 45 );
turret setrightarc( 45 );
turret settoparc( 15 );
turret setbottomarc( 15 );
turret.weaponinfo = "30cal_bipod_crouch_mp";
turret.targetname = "test01";
Now, that worked on a map which already had a 30cal, but I know from my demon mod for COD4, that its possible to do it on any map as long as you:
1. Add the weapon file to your zone/mod CSV file
2. Add the models - in this case the mounted_mp_30cal_bipod_lmg
3. Include the weapon file in your level/mod IWD file.
The SP/CoOp equivalent of 30cal_bipod_crouch_mp is obviously 30cal_bipod_crouch and the equivalent of mounted_mp_30cal_bipod_lmg is mounted_usa_30cal_bipod_lmg.
Other weapons are possible as long as there is a mounted_ model to go with it. So, there is one for Germans and Japanese as well.