Jump to content
Sign in to follow this  
Fortran

Binarize...Which files ?

Recommended Posts

Having a bit of a headache with this. If I pack my addon with the Binarize switch on then everything works correctly and no errors, however, I loose the specular/gloss/env effect on the glass/metal in some of my RVMAT files. I heard somewhere that certain RVMAT's shouldn't be binarized or this problem will occur.

If I just pack the PBO without binarizing it I get model.cfg errors when loading the model in ARMA2, this is due to the config.cpp not getting binarized correct ?

If I take out the config.cpp and binarize it on its own, extract that pbo and drop the config.bin back into my folder (removing the original config.cpp first) then pack the PBO without binarizing it I then get some other errors in the textures themselves and other problems such as some of the animations not playing.

Which files MUST be binarized and which files MUST NOT be binarized ? I am getting kind of confused with this, have tried all sorts of ways but none seem %100 correct.

My addon includes, the models p3d file, the model.cfg, the config.cpp and in the data folder all the RVMAT's and paa texture files.

Also is there a way to binarize the file without packing it into the PBO also ? Say for example I have to binarize only certain files, is this possible without it also creating the PBO which I then have to extract to get the binarized file?

I am using BinPBO from the BIS tools.

Share this post


Link to post
Share on other sites

In BinPBO click on options. In the opening window, on top theres a line "list of files to copy directly", there add *.rvmat to the existing list.

This way rvmat files will not be binarized and should work.

Share this post


Link to post
Share on other sites

Hi Myke, thanks again mate, been seriously helpful with all these problems I have been having. Actually did try that before posting but it didn't seem to work for some reason. I don't really understand why because as you said it should skip rvmat types. For example I just tried it again, binarized the file, loaded it up in ARMA2 and no gloss/env/spec on the A-10 (this is with *.rvmat; in the exclude list). Quit, opened BinPBO again and packed with no binarize, loaded up again and the gloss/env/spec work but I get the following error the first time I load the A-10 in the editor:

problem-1.jpg

Might try restart my PC as I have just noticed BinPBO is coughing out 87MB log files and the PBO is only 27MB. This has only just started happening, usually the log file had a handfull of errors only mostly related to the model itself.

Thanks again mate, will give this another go.

Share this post


Link to post
Share on other sites

Primary .rvmat's get embedded into model's by binarize.exe.

I suspect you will find that you are trying to use A2 material file features that ArmA1's bianrize.exe cannot understand and therefore does not embed them into your models.

You'll probably find error's or warning to this effect in your .log file produced when you use BinPBO.

For the time being, if you are intent on using A2 material features do not binarize your model's, make sure all the .rvmat's are copied into the .pbo and temporarily move the contents of your model.cfg into your config.cpp.

If you are not using 'new' material file features and are using supposedly valid A1 materials files that A1's binarize.exe should understand then I'd surmise there's still a problem with them that's preventing the program from embedding them in your models. Triple check them.

Good luck.

Cheers, Sy.

Share this post


Link to post
Share on other sites

Ahh thanks Synide, your right, BinPBO is obviously not understanding the new RVMAT, and yes I am using the new super shader in some of the files. I noticed even with the rvmat in the exclude list it is still binarizing them. Have copied my model.cfg entries into my config.cpp and most appears to be working correctly now. I must have some small errors in the cfg as without binarizing it only 90% of the anims work. Things like the elevators and rudder do not move whilst the airbrake, landing gear etc do work. I don't really understand why everything works when binarized and some anims dont when not binarized but I guess I have an error in my cfg somwhere.

Anyway thanks for your help with this, def. seems that BinPBO cannot handle the new material types for now.

---------- Post added at 01:05 AM ---------- Previous post was at 12:24 AM ----------

Ahh which I have just found out is because the new skeleton class for ARMA2 A-10 is differently named. Cannot extract the CFG to find the new skeleton name so I am a bit scuppered right now.

Share this post


Link to post
Share on other sites

Just create your own skeleton class for it. It isn't mandatory that you base it on a existing class.

I've uploaded the model.cfg from my F-16C to pastebin, you may use it as template for your A-10. I guess you'll have to replace almost everything but at least you don't have to start at full zero.

Share this post


Link to post
Share on other sites

Ahh fantastic Myke many thanks yet again man, by following your example and making some minor changes in my config that has actually fixed one of the errors I was getting when loading the A-10 unbinarized which was an error about "Default" not being in CfgModel or something.

However I am at a bit of a loss with this. When the model.cfg is binarized and gets included into the p3D file all the animations work perfectly, however when I attempt to add the contents of the cfg into the cpp file and not binarize everything (due to the rvmat issue) only some of the animations will play.

From what I notice these are the nonworking animations.

Flaps

Elevator

Ailerons

Rudder

All cockpit readouts aside from the artificial horizon

Every other animation seems to work correctly such as:

Landing Gear

Airbrakes

Cockpit canopy

Ladder

Front wheel

Engine Turbines

Here is the full contents of the model.cfg (now inside the config.cpp instead)

I don't know if you can spot any errors or obvious mistakes I have made which would result in the animations listed not working ? As I said before when binarized all the anims work perfectly.

The full code is here on pastebin http://fortran-arma.pastebin.com/m9746e7

Or shown in the spoiler below.

EDIT: Just check binarizing it again but this time binarized with the contents of the model.cfg in the config.cpp (so no separate model.cfg) and the animations all work perfectly again. I dont get this lol.

class CfgSkeletons
{
     class A10cas_Skeleton {

	isDiscrete=0;

	skeletonInherit="";

	skeletonBones[]= {

		"3dhud",
		"",
		"gear_lock",
		"",
		"flaps",
		"",
		"fuel_L",
		"",
		"fuel_R",
		"",
		"rpm_2",
		"",
		"rpm_1",
		"",
		"mph",
		"",
		"mph_3",
		"",
		"vario_1",
		"",
		"vario_2",
		"",
		"mala",
		"",
		"velka",
		"",
		"alt_1",
		"",
		"alt_2",
		"",
		"alt_3",
		"",
		"horizont_1",
		"",
		"horizont_2",
		"",
		"horizont_3",
		"",
		"compass_1",
		"",
		"compass_2",
		"",
		"compass_3",
		"",
		"rotor_1",
		"",
		"rotor_2",
		"",
		"flap_1_1",
		"",
		"flap_1_2",
		"",
		"flap_2_1",
		"",
		"flap_2_2",
		"",
		"elevator",
		"",
		"rudder_1",
		"",
		"rudder_2",
		"",
		"aileron_1",
		"",
		"aileron_2",
		"",
		"airbrake_1_1",
		"aileron_1",
		"airbrake_1_2",
		"aileron_1",
		"airbrake_2_1",
		"aileron_2",
		"airbrake_2_2",
		"aileron_2",
		"canopy_elevator",
		"",
		"canopy",
		"canopy_elevator",
		"gear_1_hatch_1",
		"",
		"gear_1_hatch_2",
		"",
		"gear_1",
		"",
		"gear_1_piston_2",
		"",
		"gear_1_piston_1",
		"gear_1",
		"gear_1_steering",
		"gear_1",
		"gear_1_damper",
		"gear_1_steering",
		"gear_1_stabil_2",
		"gear_1_steering",
		"gear_1_stabil_1",
		"gear_1_damper",
		"wheel_1",
		"gear_1_damper",
		"gear_2",
		"",
		"gear_2_damper",
		"gear_2",
		"gear_2_stabil_2_1",
		"gear_2",
		"gear_2_stabil_2_2",
		"gear_2",
		"gear_2_stabil_1_1",
		"gear_2_damper",
		"gear_2_stabil_1_2",
		"gear_2_damper",
		"wheel_2",
		"gear_2_damper",
		"gear_2_piston_2",
		"",
		"gear_2_piston_1",
		"gear_2",
		"gear_2_hatch_2",
		"",
		"gear_2_hatch_3",
		"",
		"gear_3",
		"",
		"gear_3_damper",
		"gear_3",
		"gear_3_stabil_2_1",
		"gear_3",
		"gear_3_stabil_2_2",
		"gear_3",
		"gear_3_stabil_1_1",
		"gear_3_damper",
		"gear_3_stabil_1_2",
		"gear_3_damper",
		"wheel_3",
		"gear_3_damper",
		"gear_3_piston_2",
		"",
		"gear_3_piston_1",
		"gear_3",
		"gear_3_hatch_2",
		"",
		"gear_3_hatch_3",
		"",
		"ladder_hatch",
		"",
		"ladder",
		"",
		"ladder1",
		"ladder",
		"ladder2",
		"ladder1",
		"ladder3",
		"ladder2"
	};
};
};
class Rotation;
class CfgModels {

class Default {


	sectionsInherit="";

               sections[]={};
};

class A10cas: Default {

	sections[]= 
{
		"zbytek",
		"podsvit pristroju",
		"clan",
		"clan_sign",
		"trup",
		"motor",
		"palivo",
		"L svetlo",
		"sklo predni L"
	};

	skeletonName="A10cas_Skeleton";

               class Animations
	{
		class rotorL: Rotation
		{
			type="rotation";
			source="rotor";
			selection="rotor_1";
			axis="rotor_1_axis";
			memory=1;
			sourceAddress="clamp";
			minValue=0.000000;
			maxValue=1.000000;
			angle0=0.000000;
			angle1=6.283185;
		};
		class rotorR: Rotation
		{
			type="rotation";
			source="rotor";
			selection="rotor_2";
			axis="rotor_2_axis";
			memory=1;
			sourceAddress="clamp";
			minValue=0.000000;
			maxValue=1.000000;
			angle0=0.000000;
			angle1=6.283185;
		};
		class Flap_1_1: Rotation
		{
			source="flap";
			selection="Flap_1_1";
			axis="Flap_1_1_axis";
			minValue=0.500000;
			maxValue=1.000000;
			angle1=-0.069813;
		};
		class Flap_1_2: Flap_1_1
		{
			selection="Flap_1_2";
			axis="Flap_1_2_axis";
			angle1=0.069813;
		};
		class Flap_2_1: Rotation
		{
			source="flap";
			selection="Flap_2_1";
			axis="Flap_2_1_axis";
			angle1=0.087266;
		};
		class Flap_2_2: Flap_2_1
		{
			selection="Flap_2_2";
			axis="Flap_2_2_axis";
			angle1=-0.087266;
		};
		class AileronL: Rotation
		{
			source="aileron";
			selection="aileron_1";
			axis="aileron_1_axis";
			minValue=-1.000000;
			maxValue=1.000000;
			angle0=-0.436332;
			angle1=0.523599;
		};
		class AileronR: AileronL
		{
			selection="aileron_2";
			axis="aileron_2_axis";
			angle0=-0.523599;
			angle1=0.436332;
		};
		class Elevator: Rotation
		{
			source="elevator";
			selection="elevator";
			axis="elevator_axis";
			minValue=-1.000000;
			maxValue=1.000000;
			angle0=-0.499164;
			angle1=0.499164;
		};
		class RudderL: Rotation
		{
			source="rudder";
			selection="rudder_1";
			axis="rudder_1_axis";
			minValue=-1.000000;
			maxValue=1.000000;
			angle0=-0.375246;
			angle1=0.375246;
		};
		class RudderR: RudderL
		{
			selection="rudder_2";
			axis="rudder_2_axis";
		};
		class canopy_elevator: Rotation
		{
			type="rotation";
			source="cabin";
			selection="canopy_elevator";
			axis="canopy_elevator_axis";
			memory=1;
			sourceAddress="clamp";
			minValue=0.000000;
			maxValue=8.000000;
			angle0=0.925025;
			angle1=0.000000;
		};
		class canopy: canopy_elevator
		{
			selection="canopy";
			axis="canopy_axis";
			minValue=0.000000;
			maxValue=8.000000;
			angle0=-1.326450;
			angle1=0.000000;
		};
		class Gear_1: Rotation
		{
			type="rotation";
			source="Gear";
			selection="Gear_1";
			axis="Gear_1_axis";
			memory=1;
			sourceAddress="clamp";
			minValue=0.000000;
			maxValue=0.600000;
			angle0=0.000000;
			angle1=1.570796;
		};
		class gear_1_Steering: Rotation
		{
			type="rotation";
			source="noseWheelTurn";
			selection="gear_1_Steering";
			axis="gear_1_damper_axis";
			memory=1;
			sourceAddress="clamp";
			minValue=-1.000000;
			maxValue=1.000000;
			angle0=0.349066;
			angle1=-0.349066;
		};
		class gear_1_hatch_1: Gear_1
		{
			selection="gear_1_hatch_1";
			axis="gear_1_hatch_1_axis";
			minValue=0.600000;
			maxValue=1.000000;
			angle0=1.570796;
			angle1=0.000000;
		};
		class gear_1_hatch_2: Gear_1
		{
			selection="gear_1_hatch_2";
			axis="gear_1_hatch_2_axis";
			minValue=0.000000;
			maxValue=0.600000;
			angle0=0.000000;
			angle1=1.378810;
		};
		class gear_1_piston_2: Gear_1
		{
			selection="gear_1_piston_2";
			axis="gear_1_piston_2_axis";
			minValue=0.000000;
			maxValue=0.570000;
			angle0=0.000000;
			angle1=-1.055924;
		};
		class gear_1_piston_1: Gear_1
		{
			selection="gear_1_piston_1";
			axis="gear_1_piston_1_axis";
			minValue=0.100000;
			maxValue=0.600000;
			angle0=0.000000;
			angle1=0.418879;
		};
		class gear_1_damper: Rotation
		{
			type="translation";
			source="altRadar";
			selection="gear_1_damper";
			axis="gear_1_damper_axis";
			memory=1;
			sourceAddress="clamp";
			minValue=0.000000;
			maxValue=1.000000;
			offset0=0.000000;
			offset1=-0.250000;
		};
		class gear_1_stabil_1: Rotation
		{
			type="rotation";
			source="altRadar";
			selection="gear_1_stabil_1";
			axis="gear_1_stabil_1_axis";
			memory=1;
			sourceAddress="clamp";
			minValue=0.000000;
			maxValue=1.000000;
			angle1=0.261799;
		};
		class gear_1_stabil_2: gear_1_stabil_1
		{
			selection="gear_1_stabil_2";
			axis="gear_1_stabil_2_axis";
			angle1=-0.261799;
		};
		class Gear_2: Rotation
		{
			type="rotation";
			source="Gear";
			selection="Gear_2";
			axis="Gear_2_axis";
			memory=1;
			sourceAddress="clamp";
			minValue=0.000000;
			maxValue=1.000000;
			angle0=0.000000;
			angle1=1.466077;
		};
		class gear_2_hatch_2: Gear_2
		{
			selection="gear_2_hatch_2";
			axis="gear_2_hatch_2_axis";
			minValue=0.000000;
			maxValue=1.000000;
			angle0=0.000000;
			angle1=1.221730;
		};
		class gear_2_hatch_3: Gear_2
		{
			selection="gear_2_hatch_3";
			axis="gear_2_hatch_3_axis";
			minValue=0.000000;
			maxValue=1.000000;
			angle0=0.000000;
			angle1=1.274090;
		};
		class gear_2_piston_2: Gear_2
		{
			selection="gear_2_piston_2";
			axis="gear_2_piston_2_axis";
			minValue=0.000000;
			maxValue=1.000000;
			angle0=0.000000;
			angle1=0.959931;
		};
		class gear_2_piston_1: Gear_2
		{
			selection="gear_2_piston_1";
			axis="gear_2_piston_1_axis";
			minValue=0.000000;
			maxValue=1.000000;
			angle0=0.000000;
			angle1=0.523599;
		};
		class Gear_2_damper: Rotation
		{
			type="translation";
			source="altRadar";
			selection="Gear_2_damper";
			axis="Gear_2_damper_axis";
			memory=1;
			sourceAddress="clamp";
			minValue=0.000000;
			maxValue=1.000000;
			offset0=0.150000;
			offset1=0.000000;
		};
		class gear_2_stabil_2_2: Rotation
		{
			type="Rotation";
			source="altRadar";
			selection="gear_2_stabil_2_2";
			axis="gear_2_stabil_2_2_axis";
			memory=1;
			sourceAddress="clamp";
			minValue=0.000000;
			maxValue=1.000000;
			angle0=0.226893;
			angle1=0.000000;
		};
		class gear_2_stabil_1_2: gear_2_stabil_2_2
		{
			selection="gear_2_stabil_1_2";
			axis="gear_2_stabil_1_2_axis";
			angle0=-0.226893;
			angle1=0.000000;
		};
		class gear_2_stabil_1_1: gear_2_stabil_2_2
		{
			selection="gear_2_stabil_1_1";
			axis="gear_2_stabil_1_1_axis";
			angle0=-0.226893;
			angle1=0.000000;
		};
		class gear_2_stabil_1_1_modifier: gear_2_stabil_2_2
		{
			source="Gear";
			selection="gear_2_stabil_1_1";
			axis="gear_2_stabil_1_1_axis";
			angle0=-0.226893;
			angle1=0.610865;
		};
		class gear_2_stabil_2_1: gear_2_stabil_2_2
		{
			selection="gear_2_stabil_2_1";
			axis="gear_2_stabil_2_1_axis";
			angle0=0.226893;
			angle1=0.000000;
		};
		class gear_2_stabil_2_1_modifier: gear_2_stabil_2_2
		{
			source="Gear";
			selection="gear_2_stabil_2_1";
			axis="gear_2_stabil_2_1_axis";
			angle0=-0.226893;
			angle1=-0.680678;
		};
		class Gear_3: Rotation
		{
			type="rotation";
			source="Gear";
			selection="Gear_3";
			axis="Gear_3_axis";
			memory=1;
			sourceAddress="clamp";
			minValue=0.000000;
			maxValue=1.000000;
			angle0=0.000000;
			angle1=-1.466077;
		};
		class gear_3_hatch_2: Gear_3
		{
			selection="gear_3_hatch_2";
			axis="gear_3_hatch_2_axis";
			minValue=0.000000;
			maxValue=1.000000;
			angle0=0.000000;
			angle1=-1.221730;
		};
		class gear_3_hatch_3: Gear_3
		{
			selection="gear_3_hatch_3";
			axis="gear_3_hatch_3_axis";
			memory=1;
			minValue=0.000000;
			maxValue=1.000000;
			angle0=0.000000;
			angle1=-1.274090;
		};
		class gear_3_piston_2: Gear_3
		{
			selection="gear_3_piston_2";
			axis="gear_3_piston_2_axis";
			minValue=0.000000;
			maxValue=1.000000;
			angle0=0.000000;
			angle1=-0.959931;
		};
		class gear_3_piston_1: Gear_3
		{
			selection="gear_3_piston_1";
			axis="gear_3_piston_1_axis";
			minValue=0.000000;
			maxValue=1.000000;
			angle0=0.000000;
			angle1=-0.523599;
		};
		class Gear_3_damper: Rotation
		{
			type="translation";
			source="altRadar";
			selection="Gear_3_damper";
			axis="Gear_3_damper_axis";
			memory=1;
			sourceAddress="clamp";
			minValue=0.000000;
			maxValue=1.000000;
			offset0=-0.150000;
			offset1=0.000000;
		};
		class gear_3_stabil_2_2: Rotation
		{
			type="Rotation";
			source="altRadar";
			selection="gear_3_stabil_2_2";
			axis="gear_3_stabil_2_2_axis";
			memory=1;
			sourceAddress="clamp";
			minValue=0.000000;
			maxValue=1.000000;
			angle0=-0.226893;
			angle1=0.000000;
		};
		class gear_3_stabil_1_2: gear_3_stabil_2_2
		{
			selection="gear_3_stabil_1_2";
			axis="gear_3_stabil_1_2_axis";
			angle0=0.226893;
			angle1=0.000000;
		};
		class gear_3_stabil_1_1: gear_3_stabil_2_2
		{
			selection="gear_3_stabil_1_1";
			axis="gear_3_stabil_1_1_axis";
			angle0=0.226893;
			angle1=0.000000;
		};
		class gear_3_stabil_1_1_modifier: gear_3_stabil_2_2
		{
			source="Gear";
			selection="gear_3_stabil_1_1";
			axis="gear_3_stabil_1_1_axis";
			angle0=-0.226893;
			angle1=-0.610865;
		};
		class gear_3_stabil_2_1: gear_3_stabil_2_2
		{
			selection="gear_3_stabil_2_1";
			axis="gear_3_stabil_2_1_axis";
			angle0=-0.226893;
			angle1=0.000000;
		};
		class gear_3_stabil_2_1_modifier: gear_3_stabil_2_2
		{
			source="Gear";
			selection="gear_3_stabil_2_1";
			axis="gear_3_stabil_2_1_axis";
			angle0=-0.226893;
			angle1=0.680678;
		};
		class Ladder: Rotation
		{
			type="rotation";
			source="cabin";
			selection="ladder";
			axis="ladder_rot_axis";
			memory=1;
			sourceAddress="clamp";
			minValue=9.000000;
			maxValue=10.000000;
			angle0=0.000000;
			angle1=0.130900;
		};
		class Ladder1: Rotation
		{
			type="translation";
			source="cabin";
			selection="ladder1";
			axis="ladder_axis";
			memory=1;
			sourceAddress="clamp";
			minValue=6.000000;
			maxValue=9.000000;
			offset0=0.000000;
			offset1=-0.900000;
		};
		class Ladder2: Ladder1
		{
			selection="ladder2";
			axis="ladder_axis";
			minValue=3.000000;
			maxValue=6.000000;
		};
		class Ladder3: Ladder1
		{
			selection="ladder3";
			axis="ladder_axis";
			minValue=0.000000;
			maxValue=3.000000;
		};
		class Ladder_Hatch: Rotation
		{
			type="rotation";
			source="cabin";
			selection="Ladder_Hatch";
			axis="Ladder_Hatch_axis";
			memory=1;
			sourceAddress="clamp";
			minValue=10.000000;
			maxValue=12.000000;
			angle0=0.000000;
			angle1=-3.141593;
		};
		class Wheel_1
		{
			type="rotationX";
			source="wheel";
			selection="wheel_1";
			axis="";
			memory=1;
			sourceAddress="loop";
			minValue=0.000000;
			maxValue=1.000000;
			angle0=0.000000;
			angle1=-3.141593;
		};
		class Wheel_2: Wheel_1
		{
			selection="wheel_2";
			axis="";
		};
		class Wheel_3: Wheel_1
		{
			selection="wheel_3";
			axis="";
		};
		class airbrake_1_1: Rotation
		{
			type="rotation";
			source="SpeedBrake";
			selection="airbrake_1_1";
			axis="airbrake_1_1_axis";
			memory=1;
			sourceAddress="clamp";
			minValue=0.000000;
			maxValue=1.000000;
			angle0=0.000000;
			angle1=-1.134464;
		};
		class airbrake_1_2: airbrake_1_1
		{
			selection="airbrake_1_2";
			axis="airbrake_1_2_axis";
			angle0=0.000000;
			angle1=-1.134464;
		};
		class airbrake_2_1: airbrake_1_1
		{
			selection="airbrake_2_1";
			axis="airbrake_2_1_axis";
			angle0=0.000000;
			angle1=1.134464;
		};
		class airbrake_2_2: airbrake_1_1
		{
			selection="airbrake_2_2";
			axis="airbrake_2_2_axis";
			angle0=0.000000;
			angle1=1.134464;
		};
		class IndicatorAltBaro1: Rotation
		{
			source="altBaro";
			selection="alt_1";
			axis="alt_1_axis";
			memory=0;
			sourceAddress="loop";
			maxValue=100.000000;
			angle1=-6.283185;
		};
		class IndicatorAltBaro2: IndicatorAltBaro1
		{
			selection="alt_2";
			axis="alt_2_axis";
			maxValue=1000.000000;
			angle1=6.283185;
		};
		class IndicatorAltRadar3: Rotation
		{
			source="altRadar";
			selection="alt_3";
			axis="alt_3_axis";
			minValue=0.000000;
			maxValue=10000.000000;
			angle0=0.000000;
			angle1=4.302237;
		};
		class Mala: Rotation
		{
			source="clockHour";
			selection="mala";
			memory="false";
			axis="clock_axis";
			angle1="rad 360";
		};
		class Velka: Mala
		{
			source="clockMinute";
			selection="velka";
			axis="clock_axis";
		};
		class IndicatorCompass: Rotation
		{
			source="direction";
			selection="compass_1";
			axis="compass_1_axis";
			minValue=-3.141593;
			maxValue=3.141593;
			angle0=0;
			angle1="-rad 360";
		};
		class IndicatorCompass2: IndicatorCompass
		{
			source="direction";
			selection="compass_2";
			axis="compass_2_axis";
			minValue=-3.141593;
			maxValue=3.141593;
			angle0=0;
			angle1="-rad 360";
		};
		class IndicatorCompass3: IndicatorCompass
		{
			source="direction";
			selection="compass_3";
			axis="compass_3_axis";
			minValue=-3.141593;
			maxValue=3.141593;
			angle0=0;
			angle1="-rad 360";
		};
		class HorizonDive
		{
			type="rotationX";
			source="horizondive";
			selection="horizont_1";
			axis="horizont_1_axis";
			memory=0;
			minValue=-0.785398;
			maxValue=0.785398;
			angle0=-0.785398;
			angle1=0.785398;
		};
		class Horizon2Dive: HorizonDive
		{
			selection="horizont_2";
			axis="horizont_2_axis";
		};
		class Horizon3Dive: HorizonDive
		{
			selection="horizont_3";
			axis="horizont_3_axis";
			minValue="rad -90";
			maxValue="rad 90";
			angle0=-1.570796;
			angle1=1.570796;
		};
		class HorizonBank
		{
			type="rotation";
			source="horizonBank";
			selection="horizont_1";
			axis="HorizontBank_1_axis";
			memory=0;
			minValue=-6.283190;
			maxValue=6.283190;
			angle0=-6.283185;
			angle1=6.283185;
		};
		class Horizon2Bank: HorizonBank
		{
			selection="horizont_2";
			axis="HorizontBank_2_axis";
		};
		class Horizon3Bank: HorizonBank
		{
			selection="horizont_3";
			axis="horizontBank_3_axis";
		};
		class IndicatorGMeter: Rotation
		{
			source="gmeter";
			selection="vario_2";
			axis="vario2_axis";
			memory=0;
			minValue=-3.000000;
			maxValue=9.000000;
			angle0=1.396263;
			angle1=-3.839724;
		};
		class IndicatorVertSpeed: Rotation
		{
			source="vertSpeed";
			selection="vario_1";
			axis="vario_1_axis";
			memory=0;
			minValue=-60.000000;
			maxValue=60.000000;
			angle0=3.141593;
			angle1=-3.141593;
		};
		class IndicatorSpeed: Rotation
		{
			source="speed";
			selection="mph";
			axis="mph_axis";
			memory=1;
			minValue=14.600000;
			maxValue=153.500000;
			angle0=-0.261799;
			angle1=-6.021386;
		};
		class IndicatorSpeed3: Rotation
		{
			source="speed";
			selection="mph_3";
			axis="mph_3_axis";
			memory=1;
			minValue=-55.549999;
			maxValue=277.769989;
			angle0=0.000000;
			angle1=1.570796;
		};
		class IndicatorRPM_1: Rotation
		{
			source="rpm";
			selection="rpm_1";
			axis="rpm_1_axis";
			memory=1;
			minValue=0.000000;
			maxValue=1.000000;
			angle0=0.000000;
			angle1=-4.712389;
		};
		class IndicatorRPM_2: IndicatorRPM_1
		{
			selection="rpm_2";
			axis="rpm_2_axis";
		};
		class IndicatorFuel_L: Rotation
		{
			source="Fuel";
			selection="Fuel_L";
			axis="Fuel_axis";
			memory=1;
			minValue=0.000000;
			maxValue=1.000000;
			angle0=0.000000;
			angle1=-2.792527;
		};
		class IndicatorFuel_R: IndicatorFuel_L
		{
			selection="Fuel_R";
			angle1=2.792527;
		};
		class IndicatorFlaps: Rotation
		{
			source="Flap";
			selection="flaps";
			axis="flaps_axis";
			memory=1;
			minValue=0.000000;
			maxValue=1.000000;
			angle0=0.000000;
			angle1=1.570796;
		};
		class IndicatorGear
		{
			type="translation";
			source="gear";
			selection="gear_lock";
			axis="gear_lock_axis";
			memory=1;
			minValue=0.000000;
			maxValue=1.000000;
			offset0=-1.000000;
			offset1=0.000000;
		};
		class 3dhudOn1: Rotation
		{
			type="translation";
			source="cabin";
			selection="3dhud";
			axis="3dhud_axis";
			memory=1;
			minValue=14.990000;
			maxValue=15;
			offset0=15;
			offset1=0;
		};
		class 3dhudOn2: 3dhudOn1
		{
			selection="horizont_3";
		};
		class 3dhudOn3: 3dhudOn1
		{
			selection="mph_3";
		};
		class 3dhudOn4: 3dhudOn1
		{
			selection="alt_3";
		};
		class 3dhudOn5: 3dhudOn1
		{
			selection="compass_3";
		};
		class damageHide
		{
			type="hide";
			source="damage";
			selection="damageHide";
		};
		class HideGear_1: damageHide
		{
			selection="Gear_1";
		};
		class HideGear_1_damper: damageHide
		{
			selection="gear_1_damper";
		};
		class HideGear_1_hatch_1: damageHide
		{
			selection="gear_1_hatch_1";
		};
		class HideGear_1_hatch_2: damageHide
		{
			selection="gear_1_hatch_2";
		};
		class HideGear_1_piston_1: damageHide
		{
			selection="gear_1_piston_1";
		};
		class HideGear_1_piston_2: damageHide
		{
			selection="gear_1_piston_2";
		};
		class HideGear_1_stabil_1: damageHide
		{
			selection="gear_1_stabil_1";
		};
		class HideGear_1_stabil_2: damageHide
		{
			selection="gear_1_stabil_2";
		};
		class HideGear_1_Steering: damageHide
		{
			selection="gear_1_Steering";
		};
		class HideGear_2: damageHide
		{
			selection="gear_2";
		};
		class HideGear_2_damper: damageHide
		{
			selection="gear_2_damper";
		};
		class HideGear_2_hatch_1: damageHide
		{
			selection="gear_2_hatch_1";
		};
		class HideGear_2_hatch_2: damageHide
		{
			selection="gear_2_hatch_2";
		};
		class HideGear_2_hatch_3: damageHide
		{
			selection="Gear_2_hatch_3";
		};
		class HideGear_2_piston_1: damageHide
		{
			selection="gear_2_piston_1";
		};
		class HideGear_2_piston_2: damageHide
		{
			selection="gear_2_piston_2";
		};
		class HideGear_2_stabil_1_1: damageHide
		{
			selection="gear_2_stabil_1_1";
		};
		class HideGear_2_stabil_1_2: damageHide
		{
			selection="gear_2_stabil_1_2";
		};
		class HideGear_2_stabil_2_1: damageHide
		{
			selection="gear_2_stabil_2_1";
		};
		class HideGear_2_stabil_2_2: damageHide
		{
			selection="gear_2_stabil_2_2";
		};
		class HideGear_3: damageHide
		{
			selection="gear_3";
		};
		class Hidegear_3_damper: damageHide
		{
			selection="gear_3_damper";
		};
		class Hidegear_3_hatch_1: damageHide
		{
			selection="gear_3_hatch_1";
		};
		class Hidegear_3_hatch_2: damageHide
		{
			selection="gear_3_hatch_2";
		};
		class Hidegear_3_hatch_3: damageHide
		{
			selection="gear_3_hatch_3";
		};
		class Hidegear_3_piston_1: damageHide
		{
			selection="gear_3_piston_1";
		};
		class Hidegear_3_piston_2: damageHide
		{
			selection="gear_3_piston_2";
		};
		class Hidegear_3_stabil_1_1: damageHide
		{
			selection="gear_3_stabil_1_1";
		};
		class Hidegear_3_stabil_1_2: damageHide
		{
			selection="gear_3_stabil_1_2";
		};
		class Hidegear_3_stabil_2_1: damageHide
		{
			selection="gear_3_stabil_2_1";
		};
		class Hidegear_3_stabil_2_2: damageHide
		{
			selection="gear_3_stabil_2_2";
		};
		class HideLadder: damageHide
		{
			selection="ladder";
		};
		class HideLadder1: damageHide
		{
			selection="ladder1";
		};
		class HideLadder2: damageHide
		{
			selection="ladder2";
		};
		class HideLadder3: damageHide
		{
			selection="ladder3";
		};
		class HideLadder_hatch: damageHide
		{
			selection="ladder_hatch";
		};
		class HideCanopy: damageHide
		{
			selection="canopy";
		};
	};
};
};

Edited by Fortran

Share this post


Link to post
Share on other sites

Binarize.exe does not go looking for model.cfg reference material as it does with config's.

For instance, in your excerpt, which I assume you now have in your config.cpp (at least till the tools come out) you have a declaration for...

class Rotation;

... And, then later you inherit from it... However, it does not appear to be defined anywhere... And, so binarize.exe does not know what a 'class Rotation;' is...

Or, perhaps you have it defined elsewhere within your amended/temporary config.cpp that you have not posted in pastbin, dunno.

You, would/should replace the 'class Rotation;' with...

class Rotation {
 type="rotation";
 minValue=0;
 maxValue=1;
 angle0=0;
 angle1=1;
};

Cheers, Sy.

Share this post


Link to post
Share on other sites

Thanks very much Synide. Added that but unfortunatly no change so far. Will go take a closer look through my config and see if I have any other undefined items which might be causing this issue. Thanks for your input. In the meantime I am just going to use the packed A10 shaders to get around my problem until the new tools come out I think.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×