Jump to content

engener

Member
  • Content Count

    21
  • Joined

  • Last visited

  • Medals

Posts posted by engener


  1. unfortunately does not work. i know about

    @If you study it, you will notice that the radar dome animation settings seem pretty odd. And they sure are! They seem to have an very large angle1 (60000+ in radians) and the animPeriod is set to 100.000. Well, the thruth is that ofp didnt support constant rotating animations (except for some hardcoded onces like the ship class` radar) and with normal settings and a angle1 set at 2*3.14159 (360*), it would just rotate one cycle and then stop. But thanks to some pioneers on the forums, they found a way to break this limit and create a constant spinning animation. Basically by setting the angle1 AND animPeriod to very high, you will force the radar to rotate slowly around the axis multiple times. It wont be forever, but with such a high angle (60.000 radians is ALOT of degrees!) and the time set to 100000 it will most certanly run for hours before it stops, and most people wont ever see it finally stopping.@
    but anims still have stop time, seems this is only way to do wot i want

  2. Hi, a tru to create my flag, a model "panel" is corect:

    1."xsize", "ysize" Property name chenget to my flag size.

    2."ycount", "xcount" Property name same as BIS: 5/6 (not chenge becose not know about this parametr).

    3.All model have nemed selection: "latka", "pevne", "volne".

    My Config.cpp:

    #define protected	1
    #define public		2
    #define true	        1
    #define false	        0
    
    class CfgPatches {
    class NPMisc {
    	units[] = {PORTOTIP};
    	weapons[] = {};
    	requiredVersion = 0.1;
    	requiredAddons[] = {};
    };
    };
    
    class cfgVehicleClasses {
    class NEW_PROJECT {
    	displayName = "NEW_PROJECT";
    };
          };
    
    class cfgVehicles
    {
    class FlagCarrier;	
    
    
    class Bazef_vlajkstozar : FlagCarrier 
           {
    	scope = public;
    	accuracy = 1000;	
                   model = "\PROJECT_MATERIA\Bazef_vlajkstozar.p3d";
    	displayName = "PORTOTIP";
    	vehicleClass = NEW_PROJECT;
    
    };
    
    class cfgNonAiVehicles 
    {
    class ProxyFlag 
    {
    	autocenter = 0;
    	scope = 2;
    	reversed = 0;
    	model = "";
    	simulation = "flag";
    	selectionFabric = "latka";
    };
    class flag_Bstozar : ProxyFlag
    {
    	model = "\PROJECT_MATERIA\flag_Bstozar";
    };
    };
    };

    My Models.cfg:

    class CfgSkeletons
    {
    
    class Default
    {
    isDiscrete = 1;
    skeletonInherit = "";
    skeletonBones[] = {};
    };
    
    class Flag: Default {};
    
    class FlagCarrier: Default
    {
    skeletonInherit = "Default";
    skeletonBones[] =
    {
    "stozar","",
    "vlajka",""
    };
    };
    class Bazef_vlajkstozar: FlagCarrier
    {
    skeletonInherit = "Default";
    skeletonBones[] =
    {
    "stozar","",
    "vlajka",""
    };
    };
    };
    
    class CfgModels
    {
    class Default
    {
    sectionsInherit="";
    sections[] = {};
    skeletonName = "";
    };
    
    class Flag: Default
    {
    sections[] = {"latka"};
    };
    class flag_Bstozar: Flag
    {
    sections[] = {"latka"};
    };
    };
    };

    Problem: Flag after attaching witch FlagCarrier stay static (does not develop on a wind)

×