up, cause important for me :|
probably it is a matter of "inheritance order" of "turret {}; or turret; newturret or mainturret" etc.
i am really surprised, cause i made a lot of vehicles with turrets (mostly tanks, apc) and this gunship helicopter is really pain in the... i will have to make it "fixed" or "overpowered" if use Mi24 armament :/
why do you not derive your class from the Mi24 then? Deriving from top level classes like Helicopter can be quite a hard task.
PHP Code:
class mi24_d { class Turrets { class MainTurret; }; class NewTurret; }; class VILAS_W3gunship_helicopter : mi24d { ... class Turrets : Turrets { class MainTurret : MainTurret { ... }; }; ... };
Last edited by Soul_Assassin; Nov 19 2010 at 19:15.
bullets do follow aim (turret, rifle barrel, sight) only when class is directly inherited without defining own turret (which is must to arm it other way than Mi24 D)
not works, i tried :
Spoiler:
class mi24_d
{
class Turrets
{
class MainTurret;
};
class NewTurret;
};
class VILAS_W3gunship_helicopter : mi24_d
{
rotorBig = "velkavrtule";
rotorBigBlend = "velkavrtule_blur";
rotorSmall = "malavrtule";
rotorSmallBlend = "malavrtule_blur";
selectionHRotorStill = "velkavrtule_staticka";
selectionHRotorMove = "velkavrtule_blur";
selectionVRotorStill = "malavrtule_staticka";
selectionVRotorMove = "malavrtule_blur";
class AnimationSource {};
class UserActions {};
scope = 0;
SIDE=1;
driverAction = "Mi8_Pilot";
cargoAction[] = {"Mi8_Cargo", "Mi17_Cargo02"};
i ll send you on PM link to MLOD and you can check yourself that it not works , something is wrong and it require inherit from Helicopter class, RKLS also tries solve it , but not solved yet
class Helicopter : Air
{
class NewTurret;
class AnimationSources; <<<<<<<< probably this was whole issue
class ViewPilot;
class Turrets;
class MainTurret;
};
i even not changed model (binarising it again) and it WORK
so model wouldn't even get changed, only this inheritance changed and it works
so seems that issue was inheritance of main class helicopter ?