distance to refpoint/nav frequentie

Hi Arno,


It finally works, my hangar doors open and closes, really cool. But I had one question. The distance to refpoint is not based on the position of the aircraft, right? When my aircraft is standing in a distance so that doors are closed, and I rotate around the aircraft, I come to a certain distance from the hangar, so it opens. When I turn further around the doors closing directly after opening. (I'm talking about spot-plane view) It is not a big problem at all, but is there a variable so the trigger is based on the distance to the aircraft?
And a few more things were not clear to me, how do I have to give the nav frequenties, e.g. 108.00 or 108,00. Same questions for other variables. Maybe you could make a simple table, where you discribe how the numbers and signs must be typed, and put it into the manual.

btw: I'm really appreciating your work, thank you very much for all your effort.



Jorrit
 
Another question:


It is not very clear to me when to use the animation condition (the second screen) and when not to use it. For my hangar doors I only used the animation trigger.
 

arno

Administrator
Staff member
FSDevConf team
Resource contributor
Hi Jorrit,

jorritvandommelen said:
It finally works, my hangar doors open and closes, really cool. But I had one question. The distance to refpoint is not based on the position of the aircraft, right? When my aircraft is standing in a distance so that doors are closed, and I rotate around the aircraft, I come to a certain distance from the hangar, so it opens. When I turn further around the doors closing directly after opening. (I'm talking about spot-plane view) It is not a big problem at all, but is there a variable so the trigger is based on the distance to the aircraft?
Have you know used the 033B variable? That is the shortest distance from the plane to the refpoint of the scenery (could also be from the viewpoint not sure).

If you look in the variable list you will see there are also variables from the distances along the x, y and z axes. With these it should be possible to do what you want.

jorritvandommelen said:
And a few more things were not clear to me, how do I have to give the nav frequenties, e.g. 108.00 or 108,00. Same questions for other variables. Maybe you could make a simple table, where you discribe how the numbers and signs must be typed, and put it into the manual
For the frequencies it is a bit special. 1200h is 112.00, so 108.00 would become 0800h. For some of the other variables there is indeed also such a special way of formatting, but usually it is just the number.

I think it is a good idea to make a post about this and collect this information. I will do that.

jorritvandommelen said:
It is not very clear to me when to use the animation condition (the second screen) and when not to use it. For my hangar doors I only used the animation trigger.
Basically the animation condition is only needed if you for example want the entire animation only to work after a certain condition is met. For exampe your doors will never open when you are further then 500 meters away, no matter if the trigger is done or not.
If you just want to open them you can only use the trigger.
 

arno

Administrator
Staff member
FSDevConf team
Resource contributor
When you use one of the distances along the axes it should be possible to make the doors only close once you are completely inside the hangar (or not at all if you wish).
 
Formating

Arno wrote: "For the frequencies it is a bit special. 1200h is 112.00, so 108.00 would become 0800h. For some of the other variables there is indeed also such a special way of formatting, but usually it is just the number.

I think it is a good idea to make a post about this and collect this information. I will do that."

Arno, it would be really great if you could do that. I read the tutorial and thought that 1200h was a typo! If there are any other special formatting requirements please let us know or if you would let us know where we can ferret them out for ourselves. For example, if 1200h = 120.00 hz how do you format the time of 1200h? or does CAT know what 1200h means base on the type of animation condition chosen?

CAT is, without doubt, one of the greatest and most usefull tools available for scenery work and you are to be praised (Sp?) for devoting so much of your energy to its developement. All one can say is "Thank You"

Quig
 
Last edited:

arno

Administrator
Staff member
FSDevConf team
Resource contributor
Quig said:
Arno, it would be really great if you could do that. I read the tutorial and thought that 1200h was a typo! If there are any other special formatting requirements please let us know or if you would let us know where we can ferret them out for ourselves.
See this [thread=332]thread[/thread], I have started collectiing some additional information about variables. In the end I want to write a new tutorial with this information.

Quig said:
For example, if 1200h = 120.00 hz how do you format the time of 1200h? or does CAT know what 1200h means base on the type of animation condition chosen?
For the time you have two variables, one is 0388 which is the minute of the hour (0...59) and 0389 is the hour of the day GMT (0...23). So to check for 12:00 you can check 0389 for the value of 12.

The h in 1200h for the frequency stands for hexadecimal.
 
Top