Jump to content

striker(PANDA)

Member
  • Content Count

    47
  • Joined

  • Last visited

  • Medals

Posts posted by striker(PANDA)


  1. Sorry for double post, but can i have some more help, i go inside the greenhouse, and then i shoot, now for some reason, the flash of the bullet or whatever you wunna call it (Not a gun expert here) shows the ground instead of the building, hard to explain, tryed to get a screenshot.

    2psm6af.png


  2. Hello. Im getting an error when i binarize my addon. here is whats in the log.

    Error reading binary file 'p:\greenhouse\config.cpp'
    Error reading text file 'showroom\glass-pass2.rvmat'
    C:\Program Files\Bohemia Interactive\Tools\BinMake\CfgConvertFileChng\CfgConvertFileChng.exe returned error 1
    Error context units[] = {Greenhouse};
    File p:\greenhouse\config.cpp, line 4: '/CfgPatches.Greenhouse': '{' encountered instead of '='
    Config : some input after EndOfFile.
    Error 3 while parsing
    Error in config p:\greenhouse\config.cpp
    W:\c\El\ParamFile\paramFile.cpp(736) : Class destroyed, but still locked
    Error context units[] = {Greenhouse};
    File p:\greenhouse\config.cpp, line 4: '/CfgPatches.Greenhouse': '{' encountered instead of '='
    Config : some input after EndOfFile.
    Error 3 while parsing
    Error in config p:\greenhouse\config.cpp
    W:\c\El\ParamFile\paramFile.cpp(736) : Class destroyed, but still locked
    

    For some reason it keeps doing it, ive fiddled around with it and still cant find whats causeing it. And heres the model and config.

    Config

    #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
    #define private 0
    #define protected 1
    #define public 2
    
    class CfgPatches
    {
    Greenhouse
    {
    	units[] = {Greenhouse};
    	weapons[] = {};
    	requiredVersion = 
    };
    };
    
    class CfgVehicles
    {
     class All {};
        class AllVehicles: All {};
        class Land: AllVehicles {};
        class Static : Land {};
        class Building : Static {};
        class NonStrategic : Building {};
        class Fence : NonStrategic {};
        class WireFence: Fence {};
        class House: NonStrategic {};
        class ViewTower2: House{};
    
        class Greenhouse: ViewTower2
     {		
    	model="\Greenhouse\Greenhouse";
    	armor=2000;
    	scope=2;
    	vehicleClass="Objects";
    	displayName="Greenhouse";  
    	class AnimationSources {
    		class door {
    			animPeriod = 2;
    			initPhase = 0;
    			source = "user";
    		};
    	};
    	class UserActions
    	{
    		class Open_door {
    			displayNameDefault = open door;
    			displayName = open door;
    			position = "door";
    			radius = 15;
    			onlyForPlayer = 0;
    			condition = "this animationPhase ""door"" < 0.5";
    			statement = "this animate [""door"", 1]";
    		};
    
    		class close_door : Open_door {
    			displayNameDefault = close door;
    			displayName = close door;
    			condition = "this animationPhase ""door"" >= 0.5";
    			statement = "this animate [""door"", 0]";
    		};
    	};
    	actionBegin1 = "Open_door";
    	actionEnd1 = "Open_door";
    
     };		
    };
    
    
    

    Model.cfg

    class Rotation;
    class cfgSkeletons
    {
    class Default
    {
     isDiscrete = 1;
     skeletonInherit = "";
     skeletonBones[] = {};
    };
    class greenhouse : default
    {
     SkeletonBones[]=
     {"door","" };
    };
    };
    class CfgModels
    {
    class Default
    {
     sections[] = {};
     sectionsInherit="";
     skeletonName = "";
    };
    class greenhouse : default
    {
     skeletonName="greenhouse";
     sections[]=
     {
    
     };
     class Animations
     {
      class door: rotation
      {
        type="rotation";
        source="user";
        selection="door";
        axis="door_axis";
        minValue = 0;
        maxValue = 5;
        sourceAddress =clamp;
        angle0=0;
        angle1="rad -160";
        memory = 1;
      };
    
     };//Animations
    };//modelclass
    };//CfgModels
    

    Can someone help me with this issue? Thanks


  3. Hello Everyone, i have made a car, i want it to be a nice shine of yellow. I have this atm.

    ambient[] = {1.0, 1.0,1.0, 1.0};
    diffuse[] = {1.0, 1.0, 1.0, 1.0};
    forcedDiffuse[] = {1.0, 0.0, 0.0, 0.0};
    emmisive[] = {0.0, 0.0, 0.0, 1.0};
    specular[] = {1.0, 1.0, 1.0, 1.0};
    specularPower = 1000.0;
    PixelShaderID = "Super";
    VertexShaderID = "Super";
    
    class Stage1 {
    texture = "porche\yellow.paa";
    uvSource = "tex";
    
    class uvTransform {
    	aside[] = {1.0,0,0};
    	up[] = {0.0,1, 0.0};
    	dir[] = {0.0, 0.0, 0.0};
    	pos[] = {0.0, 0.0, 0.0};
    };
    };
    
    class Stage2 {
    texture = "porche\yellow_smdi";
    uvSource = "tex";
    
    class uvTransform {
    	aside[] = {1.0, 0.0, 0.0};
    	up[] = {0.0, 1.0, 0.0};
    	dir[] = {0.0, 0.0, 0.0};
    	pos[] = {0.0, 0.0, 0.0};
    };
    };

    It doesnt seem to work...

    Can anyone help me please?


  4. Ive got a basic square, i applyed texture 6 diffrent textures all around it useing the A tool, where you select a side, press a and load texture, then drag and press b, i pbo it and load it ingame, i get a message saying cant load texture xxx.

    Ive got the square p3d and config in p drive. Can anyone help me?


  5. Ok here is some views, the go kart isnt completely done, so dont expect everything to be there, since i have no idea what im doing im kinda stuck.

    Sorry for so many pictures, just really need this sinking and animation sorted out.

    116th6s.jpg

    wjamg5.jpg

    fnkoo.jpg

    2pru62v.jpg

    73f7ux.jpg

    http://i43.tinypic.com/v4q71c.jpg

    http://i43.tinypic.com/r8s8w6.jpg

    http://i42.tinypic.com/abrnzb.jpg

    If you want i can send you the model so you can have a proper look.

×