Jump to content

1212PDMCDMPPM

Member
  • Content Count

    846
  • Joined

  • Last visited

  • Medals

Posts posted by 1212PDMCDMPPM


  1. Does anyone know if there is any parachute object of an "ejected and landed" parachute which you can ad as an object on the ground for enhancing the immersion of when the mission starts like if you where a paratrooper? I cannot find any in the CUP objects anyway. Anybody knowing any mod of this or similar?

    Thx

     

    I44 had that IIRC. Never seen it elsewhere but it's an excellent request idea ! 


  2.  

    probably because he's still targeting you. Seba's post above should help!

     

    I already included his advice.

    g1 =  group wz_g1;
    
    hint "flee you fools !";
    
    g1 setCombatMode "BLUE";
    sleep 10.0;
    
    {
      sleep 0.1;
      _x disableAI "AUTOCOMBAT";
      _x disableAI "TARGET";
      _x disableAI "AUTOTARGET";
      _x disableAI "COVER";
      _x disableAI "SUPPRESSION";
      _x commandWatch objNull;
    
    } forEach units group wz_g1;
    
    sleep 3.0;
    
    _wp = g1 addWaypoint [getMarkerPos "wz_wp1", 20] ;
    _wp setWaypointSpeed "FULL";
    _wp setWaypointBehaviour "AWARE";
    _wp setWaypointType "MOVE";
    

  3. I'm getting better result in setting the waypoing after a 3 second sleep after all the disableAI.

    Still, if an AI was firing at me when the script si started, the AI is completly stuck, unable to move, even through Zeus assigned WP for example.

    I even tried to start by a setCombatMode "BLUE", wait some time but I always get the same result...


  4. Hm, disappointing to hear. Was autocombat disabled for all the units, or just the group lead ?

     

    All units.

     

    Here the sqf I'm calling through a trigger. Feel free to comment or tell me how to correct/improve it (just place a group where the leader is called wz_g1 and a marker called wz_wp1 where they'll run to)

    g1 =  group wz_g1;
    
    hint "flee you fool !";
    
    _wp = g1 addWaypoint [getMarkerPos "wz_wp1", 20] ;
    _wp setWaypointSpeed "FULL";
    _wp setWaypointBehaviour "AWARE";
    _wp setWaypointType "MOVE";
    
    {
      sleep 0.1;
      _x disableAI "AUTOCOMBAT";
      _x disableAI "TARGET";
      _x disableAI "AUTOTARGET";
      _x disableAI "COVER";
    
    } forEach units group wz_g1;
    

    Test scenario:

    I start shooting the group, they get on the ground and start firing back then after few 15 seconds the trigger is running this small sqf.


  5. The real problem was not preventing the AI units from going into danger mode by themselves, it was getting them out of it by some condition, external to their own FSMs, and still is.

     

    It's still barely working... The group leader is fleeing like a rabbit when disabling autocombat but for the rest of his team, it's clearly unreliable. Sometimes they follow their leader, some are getting stuck, some are still firing...


  6. Your picture of Stratis is off-centered.

     

    Yes, I had the unpleasant surprise to notice that this map from 10T is not square... I haven't checked the others yet.

    I asked a friend to modify it so that it fits with the real Stratis.

     

    So far, the drawIcon version has too many limitations (impossible to use markers) and too unreliable (why don't I see anything when I don't spawn the car, this is ridiculous).

    The addon version is working far better, except when invoking the map mode while in camera mode, something I'm ready to sacrifice :)


  7. Very cool man.

    Thanks for sharing.

    Is there any flickering problems, position problem ?

     

    Thanks.

     

    No flickering problem (or my eyes are poor enough to have not noticed ;) ).

     

    You'll have position problem in the marker addon version if the picture you're using for the map is not perfectly aligned with the real Arma map. Except if you don't care (possible if you dont use positioning system/marker and in a difficulty where ennemies and yourself are not displayed on the map), I would advise using topography export or 10T maps as base of your picture.

     

    In the drawIcon version, it's not really an issue as the drawIcon seems to be always on top of everything, so you can't use marker, ACE gesture or anything on the map... I don't think it something Arma can handle at the moment (ordering layers between markers and drawing stuff). It could be a useful feature request when the tracker will be back online.

     

    To summarize, the icon version is addon free but you have the map picture and that's all, not other functionnality. The addon version (I need to refine it, the zoom ratio is not good enough) seems to be fully functionnal but you need to add an addon (potential issue in some communities).


  8. It seems I have a weird bug with the drawIcon function.

     

    Here's my code.

     

    descritpion.ext

    __EXEC (MISSION_ROOT = __FILE__ select [0, count __FILE__ - 15])
    

    init.sqf

    wz_carte = "";
    _root = parsingNamespace getVariable "MISSION_ROOT";
    wz_carte = _root + "stratis5.jpg";
    
    car = "C_Offroad_01_F" createVehicle position player;
    // ((findDisplay 12) displayCtrl 51) mapCenterOnCamera true;  // auto center
    _eh = ((findDisplay 12) displayCtrl 51) ctrlAddEventHandler ["Draw", '
        (_this select 0) drawIcon [
            wz_carte,
            [1,1,1,1],
            [worldSize/2, worldSize/2,0],
            640/ctrlMapScale (_this select 0),
            640/ctrlMapScale (_this select 0),
            360
        ];
    '];
    

    if I comment out the creation of the offroad, the icon (big picture in fact) is not drawn on the map.

     

    Tested in 2D editor, vanilla (no mod).

    Repro mission:

    https://www.dropbox.com/s/l77lhsuc6x4ugaj/test_map_icon.Stratis.zip?dl=0

     

    I asked a friend, expert in sqf who was not able to find any issue in the code (most is coming from KK).

     

    end of the rpt file

    20:31:41  Mission id: 678f60bc40d5277cc52a01971eee211987910175
    20:31:41 Fresnel k must be >0, given n=2.51,k=0
    20:32:04 Starting mission:
    20:32:04  Mission file: test_map_icon
    20:32:04  Mission world: Stratis
    20:32:04  Mission directory: C:\Users\XXX\Documents\Arma 3 - Other Profiles\Warzen\missions\test_map_icon.Stratis\
    20:32:05 Attempt to override final function - bis_functions_list
    20:32:05 Attempt to override final function - bis_functions_listpreinit
    20:32:05 Attempt to override final function - bis_functions_listpostinit
    20:32:05 Attempt to override final function - bis_functions_listrecompile
    20:32:06 Attempt to override final function - bis_fnc_missiontaskslocal
    20:32:06 Attempt to override final function - bis_fnc_missionconversationslocal
    20:32:06 Attempt to override final function - bis_fnc_missionflow
    20:32:07  Mission id: 678f60bc40d5277cc52a01971eee211987910175
    

  9. Adding info so that you d'ont have to open the file to see the code:

     

    description.ext:

    __EXEC (MISSION_ROOT = __FILE__ select [0, count __FILE__ - 15])
    

    init.sqf

    
    wz_carte = "";
    _root = parsingNamespace getVariable "MISSION_ROOT";
    wz_carte = _root + "stratis5.jpg";
    
    car = "C_Offroad_01_F" createVehicle position player;
    // ((findDisplay 12) displayCtrl 51) mapCenterOnCamera true;  // auto center
    _eh = ((findDisplay 12) displayCtrl 51) ctrlAddEventHandler ["Draw", '
        (_this select 0) drawIcon [
            wz_carte,
            [1,1,1,1],
            [worldSize/2, worldSize/2,0],
            640/ctrlMapScale (_this select 0),
            640/ctrlMapScale (_this select 0),
            360
        ];
    '];
    
    

    if I comment out the "car = ...blablabla, nothing is displayed on the map. Icon is not drawn.

    • Like 1

  10. Here's a version based on drawIcon:

    https://www.dropbox.com/s/l77lhsuc6x4ugaj/test_map_icon.Stratis.zip?dl=0

    (yes, I know there's an issue with the picture, the blank on the top and right should not be there)

     

    The code is coming from  KillzoneKid (thx to Hardballer for pointing me in this direction).

     

    One thing I can't understand: if I remove the line creating the car, no icon are drawn on the map. Could someone help me there please ?

     

    Thx !


  11. Hey,

     

    For those that want to goof around a little on transportation stuff and supply some early feedback. Its all yours! Put it into your editor mission folder (like this C:\Users\rjjoo\Documents\Arma 3 - Other Profiles\Spirit\missions):

    https://onedrive.live.com/redir?resid=5B56E83CAD09AC30!564&authkey=!AAYlL2ivsi_qELc&ithint=file%2c7z

     

    Goof around in editor, press play, go do some stuff.

     

     

    So far it's working nicely !! Excellent job !! :) 

     

    What I noticed so far:

    - gaia is hikacking non gaia chopper for a one way trip. on destination, the non gaia chopper stays on the landing zone indefinitely, motor on

    - infanteries are now lazy !! they call a chopper for a 1 km walk. I guess you plan some toggle to manage the min distance before calling air transport or having some groups unable to call air transport

    - AI are stacked (ie overlapping) when loading in. disembarking doesn't have this issue. you can noticed this if the inf are on the LZ before the chopper

     

    Thx again for working on Gaia !!

    • Like 1
×