Hi all
I've spent three days trying to config my model, a bunker with a 47mm turret for a project. See more at
http://www.freewebs.com/ofp-screens/The model in question is the last two images on the page.
I can get it in game and enter the position, however I cant fire and the turret axis seem really off. Im confident I have set my points up correctly in 02, (do points face different direction?)
Why does my bunker hover 1 metre above ground, although it is placed on ground plane in O2? Not enough mass?
Also please see my config for any other issues.
Thanks ever so much for any help, once I've cracked the turret I can complete my defence bunkers and start on some ideas I've going to implement...more to come.
Cheers
Steve
http://www.freewebs.com/ofp-screens/// some basic defines
#define TEast 0
#define TWest 1
#define TGuerrila 2
#define TCivilian 3
#define TSideUnknown 4
#define TEnemy 5
#define TFriendly 6
#define TLogic 7
#define true 1
#define false 0
// type scope
#define private 0
#define protected 1
#define public 2
#define WeaponNoSlot 0// dummy weapons
#define WeaponSlotPrimary 1// primary weapons
#define WeaponSlotSecondary 16// secondary weapons
#define WeaponSlotItem 256// items
#define WeaponSlotBinocular 4096// binocular
#define WeaponHardMounted 65536
#define CanSeeRadar 1
#define CanSeeRye 2
#define CanSeeOptics 4
#define CanSeeEar 8
#define CanSeeCompass 16
#define CanSeeRadarC CanSeeRadar+CanSeeCompass
#define CanSeeAll 31
class CfgPatches
{
class mrs_tanktobruk
{
units[] = {mrs_tanktobruk};
weapons[] = {mrs_tanktobruk};
requiredVersion = 1.75;
};
};
class CfgAmmo
{
class mrs_tanktobruk
{
ammo=Gun102;
explosive=1;
requiredVersion = 1.75;
};
};
class CfgWeapons
{
class Default{};
class MGun: Default{};
class MachineGun7_6: MGun{};
class MachineGun12_7: MachineGun7_6{};
class Gun102: MachineGun12_7{};
class mrs_tanktobruk: Gun102
{
ammo=Gun102
burst=1;
initSpeed=100;
displayName="47mm Shell";
displayNameMagazine="47mm Shell";
shortNameMagazine="47mm Shell";
count=60;
reloadTime=0.100000;
sound[]={"\mrs_tanktobruk\SHOT3.wav",db0,1};
soundContinuous=0;
maxLeadSpeed=865;
aiRateOfFire=0.5; // delay between shots at given
distance
aiRateOfFireDistance=1000; // at shorter distance delay
goes lineary to zero
};
};
class CfgVehicles
{
class All{};
class AllVehicles:All{};
class Land: AllVehicles{};
class LandVehicle: Land{};
class Tank: LandVehicle{};
class APC: Tank{};
class M113:APC{};
class M2StaticMG: M113{};
class mrs_tanktobruk: M2StaticMG
{
displayName="R58c Tobruk with Renault turret";
gunnerOpticsModel = "optika_empty";
getInRadius=4.000000;
armorStructural=1.0;
picture="im113";
ejectDeadGunner=1;
model="\mrs_tanktobruk\mrs_tanktobruk.p3d";
cost=13000;
armor=100
weapons[]={"mrs_tanktobruk"};
magazines[]={"mrs_tanktobruk","mrs_tanktobruk"};
};
};
class CfgNonAIVehicles
{
class ProxyWeapon{};
class ProxyMaxim_MG: ProxyWeapon{};
};
class TurretBase
{
gunAxis="osa hlavne";
turretAxis="osa veze";
gunBeg="usti hlavne";
gunEnd="konec hlavne";
soundServo[]={"Vehicles\gun_elevate",0.001000,1.000000};
minElev=-5;
maxElev=30;
minTurn=-60;
maxTurn=60;
body="OtocVez";
gun="OtocHlaven";
};