Jump to content

lynx75

Member
  • Content Count

    59
  • Joined

  • Last visited

  • Medals

Posts posted by lynx75


  1. this tools provide means to copy/paste the code required to spawn objects.

    It s for advanced mission designer, you have to know what you are doing.

    Here is an exemple of how to use it :

    i want build three sites A, B and C

    1 -in my init.sqf i put the following code

    if (isServer) then {
      call compile preprocessFileLineNumbers "mission\initAllBuildings.sqf";
    };
    

    2 - i create the script initAllBuildings.sqf in a directory named "mission" as in the demo mission.

    this script is responsible to create all the buildings.

    #include initA.sqf
    #include initB.sqf
    #include initC.sqf
    

    3 - I create three scripts in the same directory as initAllBuildings.sqf : initA.sqf, initB.sqf and initC.sqf

    when i copy/paste the code from the lxOPS, i copy the code inside this scripts.

    4 - when i ve finished and all the required code has beed copied, i remove the object positioning system from the mission


  2. Thanks everyone, this is a very early version. If you have some troubles with the UI, reduce your interface resolution to small size, i will fix it for the next release. I keep working on it to implement pitch/bank rotation and submarine object placement. This is just a tool for object positioning at the moment. Be aware that if you want to militarize the area, you have to use spawn technics after the creation of the buildings. Maybe in the future i will improve the tool for IA positionning.

    Thanks for reports :cool:


  3. 17080421logo-gid.png

    Hi everyone, i ve made a script to place very precisely all placable object with 3D view feature.

    I use it for mission design in my team (GID). I think its time for a first public release for the benefit of this great community.

    All mission designers know about time consuming with precise object placement.

    Usage :

    This script provides a userfriendly precise 3D object placement tool based on the BIS Splendid camera.

    This is a usefull tool for confirmed mission designer.

    Installation :

    1 - Put the LxOPS directory inside your mission

    2 - declare #include "LxOPS\lxOPS_dlg.hpp" in your description.ext

    3 - create an empty script

    5 - create a repeatedly radio trigger with the following activation code : nul = [] execVM "LxOPS\lxOPS.sqf";

    4 - play with the object positioning system (radio menu 0-0-1) - press copy button for the locked object - paste the code stuff in your script (ctrl + V) - unlock object and create new one

    5 - call your script at the beginning of the mission (server side)

    6 - When you ve finished, Suppress the line #include "LxOPS\lxOPS_dlg.hpp" from your description.ext

    and delete LxOPS directory from your mission

    Features:

    - Objects list not hard coded (CfgVehicles config explorer with scope > 0)

    - creation/deletion

    - translation/rotation with increment options (0.001m - 10m, 0.001° to 10°)

    - save created object in a script called on server side when you want

    - Pitch/Bank Rotation

    - ATL/ASL coordinates system

    - Object Filter

    - Log object charracteristics in RPT

    - Surface/Submarine object placement

    Short description:

    The script provides means to create/delete/translate/rotate all placable objects in 3D view by exploring the CfgVehicles.

    Press New object to create a new object, lock it with the Lock button. You can change its class by clicking in the list.

    The list is all your CfgVehicles with scope > 0, so becarefull, there is some objects not placeable.

    Try to use is with Land_... or vehicles (at the end of the list).

    Do not use it for IA spawn. Use BIS function instead.

    When an object is locked, you can translate and rotate it. Choose the increment you want in the combobox.

    Press the copy button to copy all the code stuff required to spawn the object.

    Go to your spawn script (in the mission demo its initBuildings.sqf) and press ctrl+v at the end of the file to write the code.

    Go back to the preview (press alt to switch the Splendide camera speed), unlock the object and play again

    V1.31

    Fix the float to string conversion for altitude

    V1.3

    Changed : conversion of position to string with high precision (5DM)

    V1.2

    Add new combo box to enable/disable object simulation

    Changed log button to log required code in RPT

    Changed updated GUI Resources

    V1.1

    Pitch/Bank feature

    UI improvment

    Surface/Submarine object placement

    Add log button to write object characteristic in RPT

    Add filter combobox

    Add ASL/ATL switch coordinates system

    Add Reset button for horizontality, normal surface, ATL level, ASL level

    Code improvment

    V1.0 :

    First release. Only objects on ground.

    There is a correlation between Splendid Camera and Vehicles list when you use the scroll bar of the list, use scroll mouse instead.

    Dont forget to press alt when you switch from preview and desktop to paste the code, because of alt+tab, switch the camera speed.

    Credits & thanks:

    Bohemia Interactive for Arma 3

    Karel Moricky (BIS) author of the BIS splendid camera

    Download link V1.3 : (script and demo mission)

    http://www.mediafire.com/download/6ycx1b9h7bje40v/object_positioning_system_v1_31.rar

    20081259bis-lxops-pic3.jpg

×