UnitInfo 1.1

by SKY



Useful tool for Operation Flashpoint

With the UnitInfo Console you get easy informations about units in a mission

Additionaly all units can be watched by a camera - finished in November 2004



The Unit Info Console:


1. ListBox of the console. Here all units are listed that are in a triggerlist/array.
The listbox has a slider if there are to many units.

2. Kind of unit:
V: Vehicle; T: Tank; A: Air; S: Ship; M: MG; C: Crew - (only after refresh, button 7).

3. Shows the number of elements in listbox.

4. Show and hide the UnitInfo console.

5. Turn on and -off camera. The button changes from "Camera" to "CamOff".

6. A list with informations about a unit, informations are shown with "hintc" - mission pauses.

7. Refreshes the listbox.
(Units that got out of their vehicle are after refresh in the listbox - only if you used a trigger fo fill the listbox!)

8. The listbox changes to the units that are in array "UnitInfoFavorites" (Favorites were defined in "Init.sqs" or with console (F+)).
The button "Fav" changes to "All". If you push "All" the listbox switches back to normal mode.

9. Adds the actual unit to favorites.

10. Deletes the actual unit out of favorites.



The camera console + additional funktions:



1. Position of the relativ X-,Y-,Z-coordinates of the camera to the actual unit.
You can edit all three coordinates!

2. Chooses the previous unit in listbox as camera target.

3. The camera target changes to next unit in listbox.

4. The cameraposition (Nr. 1) changes to the new coordinates.

5. Pushing the button "Pos" the target of camera changes to the position of a unit. The camera no longer follows the direction of a unit. The button changes to "Unit". Pushing "Unit" button the unit is camera target again.

6. Show and hide the camera console.

7. X- and Y- coordinates zoom in, the Z- coordinate will not be changed!

8. X- and Y- coordinates zoom out, the Z- coordinate will not be changed!

9. The camera position changes 90° in clock direction.

10. Pushing "X", the slider for finetuning X-,Y-coordinates appears. Push again and the slider disappears (For slider use read 13. to 15).

11. Pushing the button "Y", the edit fields for camera position (Nr. 1) changes to the positon of the activ unit.
"Y" changes to "#"; button "Set" changes to "NewPos" and under the console a new console element appears.
(look at picture; only possible on activ camera!).
Now you can change positions of units and objects or give orders.
Just fill in new coordinates (Nr. 1) and apply with "NewPos".
(Beware: Now this are absolute coordinates that mostly donīt fit to the direction of camera!)
Later, when the right position has been found, you can change it in init line of unit/object with the īsetposī order.
All the other buttons of the camera controls are still working!
Changing position of a unit or object - the camara will follow.
Orders can be written into new field (Nr. 16) then apply with button "x" (Nr. 17)
(If you use wrong orders - nothing happens or you get the normal OFP failure signs.)
Pushing the button "#" the console changes to normal camera mode.

12. The button "Z" opens the finetune slider for the Z- coordinates of camera on the left.

13. The arrow-buttons of the finetune sliders:
Top slider: The camera angle changes 5°. (The agle can be changed in file "UnitInfo1.1\SliderHSetup.sqs").
Left slider: The height changes 0.5 m. (The step range can be changed in file "UnitInfo1.1\SliderVSetup.sqs").

14. Clicking on the slider itself, the values changes in greater steps:
Top slider: The angle of camera changes 15°.
Left slider: The height changes 5 m.

15. Arrow slider postion. The normal position is "0", in the middle.
Clicking left or right the arrow position / over or under the arrow position, values crease or increase.
Top slider: Slider range is -180 to +180. Values are equal to angle changes of camera position at X-Y-level.
BY CLICKING AND HOLDING THE LEFT MOUSE BUTTON YOU GET A STEPLESS 360° SIGHT!!!
Left slider: Slider range is -50 to +50. Values are equal to changes of camera position at Z-level.
Holding the left mouse button you get a stepless height changing of camera position.

16. Here you can write in your orders (only if camera is activ).

17. With this button you call the order in field Nr. 16.

18. You can force the map on screen. The position of the actual unit will be shown.

19. To zoom out.

20. To zoom in.


With the button "Esc" (Escape, on your board) you can close UnitInfo 1.1. A activ camera will be deleted too.

Installation:

Copy the folder "UnitInfo1.1" and paste it into your mission.
If you donīt have a "Init.sqs" or a "Discription.ext" file: Copy the "Init.sqs" and "Description.ext" in the "UnitInfo_1.1" folder and paste them into your mission.
If you use your own "Init.sqs" and "Description.ext": Paste the content of the UnitInfo "Init.sqs" at the beginning of your file. For adding the UnitInfo "Description.ext" to your file, read "Info.txt" in folder "UnitInfoData".
Set a "dot" marker in editor - name: "Position"

For additional informations: Read in file "Init.sqs".
Mail: SKY-Mapper@gmx-topmail.de

Have fun on testing, SKY!