Jump to content

horus0129

Members
  • Posts

    60
  • Joined

  • Last visited

Posts posted by horus0129

  1. Both of those functions are used to check if a generated point would be suitable for your needs. For instance isTerrainvalid simply checks to see if the point on the ground matches the type of point needed for a unit. The scripting engine actually allows you to place AI ground units on the black sea if you give it such a coordinate. The function terrainHeightDiff operates under the same principle, but it just tries to find a relatively flat piece of land. If the area you are checking is mountainous terrain it might not find a "flat" area.

     

     

    The function mist.teleportInZone() does use the isTerrainValid check as part of its code. So if you are using a trigger zone, and know its in a relatively flat area, you can just use that function and the script will figure out the type of terrain that needs to be checked depending on the group type.

     

    mist.teleportInZone('test', 'test zone') might be all you need. :)

     

    Thanks Grimes, as always!

     

    Sometimes the units are spawned on a steep area when teleportInZone is activated because I can't check every single point if it's how much flat. So I'm thinking It would be good to combine terrainHeightDiff and teleportInZone(loop checking until the area is flat, if it's flat then teleport the group), but how? The problem is that I have no idea what does the usage example codes in hoggit doc mean...:cry: I'm not a programmer. Could you tell me simple working example?

  2. Hi, MIST teleport function question here.

     

    I want to teleport ground unit groups on flat points in specific zone.

     

    I've found some terrain related mist functions like mist.isTerrainValid and mist.terrainHeightDiff but no working examples yet.

     

    Could someone show me how to use these scripts properly?

     

    Here is simple preset

    group name : test

    zone name : test zone

     

     

    Thanks in advance.

  3. I've been trying MIST message function.

    There is no script error, text is good, but I can't hear the sound.

    Of course the sound file is included.

     

    Please check the miz file attached and let me know what is wrong.

    First sound is ME trigger sound, Please ignore it.

    You can see the MIST meesage after 10 seconds.

     

    Thanks in advance.

    msgsoundtest.miz

  4. Ian;2354624']Lua is telling you that it encountered an error in line 1.

    The error was

     

    which means Lua was expecting to see a closing parenthesis but reached the "end of file" without finding it.

     

    Count the parenthesis in the code example. Note that the number of open and close parens does not match.

     

    Add a close parens to the end, problem solved :)

    trigger.action.smoke[b]([/b]mist.getAvgPos(mist.makeUnitTable({'[g]myGroup'}), "Orange")[b][color="red"])[/color][/b]
    

     

    EDIT: relevant xkcd (see what you did to that poor parser?

     

     

    Thanks Ian! Now I get it.

     

    For someone who suffers from the same thing :

     

    trigger.action.smoke(mist.getAvgPos(mist.makeUnitTable({'[g]myGroup'})), trigger.smokeColor.Green)

     

    this works.

  5. Hi guys I have a question here.

     

    You know there had been some options for the predators to set FAC role in advanced waypoint option. But it seems that the only ground vehicles have the option now. There's nothing about FAC for air recon units.

     

    Has the option been removed or a bug?

    I couldn't find any news or discussion about that.

     

    Of course my DCS is up to date.

  6. Finally we have driver's cockpits but the FOV is too narrow for me. I assume that is a problem for ultra wide resolution display - like sorround or eyefinity setting. The FOV seems to be decided by horizontal, not by vertical.

     

    So, Is there a way to adjust the FOV for vehicles, something like zoom in/out for airplanes? I don't think it's impossible but can't find how to.

  7. Hello,

     

     

    Please can you give me the name of this file ?

     

     

    Please can you explain how found this option, the name of menu ?

     

    A great thanks again, Skull.

     

    Run DCS > click option > click system tab > find monitor section.

    There should be your current monitor config name(e.g. 1camera).

    Find that lua file in monitorsetup folder and edit it as my instruction.

     

    I haven't tried cargo cam in 1.2.8 official yet, but don't think it would be different with the latest open beta. Good luck mate.

  8. Hello Horus,

     

    A great thanks for your explanations...

    I use the 1.2.8 Release version and at this adress: C:\Eagle Dynamics\DCS World\Config\MonitorSetup I can found these files:

     

    1Camera.lua

    3Cameras.lua

    Camera+LMFCD(on right side).lua

    Camera+LMFCD.lua

    Camera+LMFCD_auto_placement.lua

    Camera+RMFCD(on left side).lua

    Camera+RMFCD.lua

    Camera+RMFCD_auto_placement.lua

    LMFCD+Camera+RMFCD.lua

    Stereo.lua

     

    Please can you tell me what file I must edit for add these lines:

    UH_1H_cargocam =

    {

    x = 2340;

    y = 260;

    width = 360;

    height = 360;

     

    A great thanks in advance for your assistance. Skull

     

     

    It should be the lua file which is loaded ingame actually. If you're not sure what it is, check graphic option.

  9. My apologies if this has been asked & answered elsewhere, but is it possible to reposition & resize the cargo camera at all? Or the kneeboard for that matter?

     

    I'm using a tripple-head set-up, & the default position for the cargo camera is in the top right corner of my right-hand monitor, which makes it all but impossible to use as it's way outside my effective field of view if I'm looking through the canopy to watch visual markers for hovering.

     

    As such I'd like to be able to move it closer to the center of my field of view (top right of center monitor, or top left of the right-hand monitor would probably be ideal), so any pointers to how to do this, if it *can* be done would be appreciated.

     

    And if it can't be done currently, then would the Belsimtek guys please consider adding this feature to their excellent sim(s)? (hint-hint ;))

     

    Thanks in advance :)

     

    Hey I want to share my solution with you.

     

    1. Install PeterP's all MFD export mod.

    http://forums.eagle.ru/showpost.php?p=1541311&postcount=68

     

    2. Edit cargo cam's init file.

    Open CARGO_CAM_init.lua in ....DCS World OpenBeta\Mods\aircrafts\Uh-1H\Cockpit\Scripts\CARGO_CAM folder.

     

    Insert this line :

    try_find_assigned_viewport("UH_1H_cargocam")

     

    under dedicated_vieport blah blah line.

    'UH-1H_cargocam' is an example. Type any name as you want.

     

    3. Edit monitor setup file.

    Open your monitor setup file in ....DCS World OpenBeta\Config\MonitorSetup folder.

     

    Insert this lines :

     

    UH_1H_cargocam =

    {

    x = 2340;

    y = 260;

    width = 360;

    height = 360;

    }

     

    Edit x,y coordinates and W / H as your desired position.

    If you select your custom viewport name in step 2, use it rather than 'UH-1H_cargocam'.

    Because of step 1, you may have to edit some viewport names for A-10 and Ka-50.

    Check PeterP's example monitor setup file.

     

    Attached jpg file is my configuration result.

     

    Hope this would be helpful.

    Screen_140417_173559.thumb.jpg.1a244c55e67414659e3807a9e1931a64.jpg

    • Like 1
  10. Maybe only one? Actually I don't manage the logbook. SP is just testing grounds to check mission editor fuctions and game options for me. It would be useful if we have dynamic campaign or MP logbook. I think the former is impossible for DCS at this moment, the latter is probably easier to apply than DC.

  11. Huh, definitely weird.

     

    Just to check whether the problem persists with a mission that was created on another installation, I set up another simple refueling mission with the tanker on 150 VHF AM. Do you have the same problem when you fly this mission?

     

    For me it works flawlessly.

     

     

    Mate I found what was wrong.

    It was nothing about the mission. Just a ridiculous bug.

     

    I reported about this in detail at A-10C open beta bug reports forum.

    If you're interested in, please check my thread 'VHF AM issue'.

    http://forum.lockon.ru/showthread.php?t=119515

  12. I watched your track and couldn't see anything that you did wrong. I decided to save the track as a .miz file and launch your mission from the mission editor. When the mission launched, I set the VHF AM frequency to 140 MHz and I was able to contact the tanker.

     

    Just curious, was this a mission that was originally created in 1.2.6?

     

    Same here, I watched the track and the comms looked okay, but I observed the same problems that were described by horus0129.

     

    Actually, this looked 100% like the problems I had in 1.2.6, even though I replayed the track in 1.2.7.22998, so for now I'd go with kontiuka's question and suggest a problem that was sort of imported from 1.2.6.

     

    Thanks for your confirmations guys.

    The mission was created for the track upload immediately, so it's clean 1.2.7 mission. Nothing about 1.2.6 in that.

     

    You were able to refuel in my mission means definitely something is wrong with my installation or some settings. I'll repair the game and try again.

  13. You mentioned you were using easy comms in an earlier post. In which case, I'm not sure radio settings matter at all. Could be wrong though. If you are using easy comms, try just pressing the "\" key to open the comms menu.

     

    Thanks for your reply but please check the track first.

    You can see clearly from the comm menu that it's not an easy comm.

     

    I only have used easy comm for 'actual' refueling in 1.2.7, because the simul comm have never allowed me to start refuel process, as I mentioned.

×
×
  • Create New...