Jump to content

Instynct

Member
  • Content Count

    70
  • Joined

  • Last visited

  • Medals

Posts posted by Instynct


  1. But that won't really work in my context, I just need to get the mouse position once, not every time it moves. I need to get the position inside of another event handler to set the position of a different control.

    Like this -> User clicks a button -> get mouse position -> set another control to that position.

    And another problem I'm having is the MouseEnter and MouseExit event handlers don't work at all....

    Easily the worst UI system i've ever seen in a game.


  2. I've never been able to get importing config format working.

    Here's what I do:

    1. Lay out my GUI the way I want it

    2. CTRL+S and pick GUI Editor format

    3. Paste it somewhere you'll remember

    4. To import it again, go to where you saved the exported GUI editor format

    Here's an example of what it gave me:

    /* #Wofixy
    $[
    1.062,
    ["FUBAR",[[0,0,1,1],0.03125,0.05,"GUI_GRID"],0,0,0],
    [1102,"",[1,"Money",["0.00371093 * safezoneW + safezoneX","0.83 * safezoneH + safezoneY","0.174023 * safezoneW","0.04125 * safezoneH"],[-1,-1,-1,-1],[-1,-1,-1,0],[-1,-1,-1,-1],"","-1"],[]],
    [1103,"",[1,"Fatigue",["0.00371093 * safezoneW + safezoneX","0.78875 * safezoneH + safezoneY","0.174023 * safezoneW","0.04125 * safezoneH"],[-1,-1,-1,-1],[-1,-1,-1,0],[-1,-1,-1,-1],"","-1"],[]],
    [1106,"",[1,"Rep",["0.00371093 * safezoneW + safezoneX","0.87125 * safezoneH + safezoneY","0.174023 * safezoneW","0.04125 * safezoneH"],[-1,-1,-1,-1],[-1,-1,-1,0],[-1,-1,-1,-1],"","-1"],[]],
    [1107,"",[1,"Scrap",["0.00371093 * safezoneW + safezoneX","0.95375 * safezoneH + safezoneY","0.174023 * safezoneW","0.04125 * safezoneH"],[-1,-1,-1,-1],[-1,-1,-1,0],[-1,-1,-1,-1],"","-1"],[]],
    [1109,"",[1,"Squad Info",["0.744923 * safezoneW + safezoneX","0.10125 * safezoneH + safezoneY","0.251367 * safezoneW","0.31625 * safezoneH"],[-1,-1,-1,-1],[-1,-1,-1,0],[-1,-1,-1,-1],"","-1"],[]],
    [1100,"",[1,"Health",["0.00371093 * safezoneW + safezoneX","0.7475 * safezoneH + safezoneY","0.174023 * safezoneW","0.04125 * safezoneH"],[-1,-1,-1,-1],[-1,-1,-1,0],[-1,-1,-1,-1],"","-1"],[]],
    [1105,"",[1,"ZoneInfo",["0.351758 * safezoneW + safezoneX","0.94 * safezoneH + safezoneY","0.296484 * safezoneW","0.055 * safezoneH"],[-1,-1,-1,-1],[-1,-1,-1,0],[-1,-1,-1,-1],"","-1"],[]],
    [1101,"",[1,"ServerFPS",["0.822266 * safezoneW + safezoneX","0.95375 * safezoneH + safezoneY","0.174023 * safezoneW","0.04125 * safezoneH"],[-1,-1,-1,-1],[-1,-1,-1,0],[-1,-1,-1,-1],"","-1"],[]],
    [1104,"",[1,"ClientFPS",["0.822266 * safezoneW + safezoneX","0.9125 * safezoneH + safezoneY","0.174023 * safezoneW","0.04125 * safezoneH"],[-1,-1,-1,-1],[-1,-1,-1,0],[-1,-1,-1,-1],"","-1"],[]],
    [1108,"",[1,"SupplyCalls",["0.00371093 * safezoneW + safezoneX","0.9125 * safezoneH + safezoneY","0.174023 * safezoneW","0.04125 * safezoneH"],[-1,-1,-1,-1],[-1,-1,-1,0],[-1,-1,-1,-1],"","-1"],[]],
    [1110,"",[1,"Operation Title",["0.338867 * safezoneW + safezoneX","0.07375 * safezoneH + safezoneY","0.309375 * safezoneW","0.0825 * safezoneH"],[-1,-1,-1,-1],[-1,-1,-1,0],[-1,-1,-1,-1],"","-1"],[]],
    [1111,"",[1,"Operation Second Text",["0.338867 * safezoneW + safezoneX","0.17 * safezoneH + safezoneY","0.309375 * safezoneW","0.1375 * safezoneH"],[-1,-1,-1,-1],[-1,-1,-1,0],[-1,-1,-1,-1],"","-1"],[]],
    [1112,"",[1,"OperationInfo",["0.822266 * safezoneW + safezoneX","0.665 * safezoneH + safezoneY","0.174023 * safezoneW","0.22 * safezoneH"],[-1,-1,-1,-1],[-1,-1,-1,0],[-1,-1,-1,-1],"","-1"],[]]
    ]
    */
    

    5. To import it, select from the $[ to the ending ]. Put that into your clipboard.

    6. Boot up the single player editor (multiplayer editor doesn't seem to support GUI editor importing functions - probably clipboard related) and open the GUI editor

    7. Upon opening it, it should autoload your GUI.

    Basically I always keep an updated GUI Editor format source somewhere and use that to make modifications. I only export to config format when I plan to put it ingame.

    Thanks man. I was copying the multiline comment by accident, duh -.- lol


  3. I think I might be doing something wrong here... so when I export my gui to gui editor format and copy all of that to my clipboard and later want to import it I try to use ctrl+o to "import gui format" back into the gui editor but nothing happens....

    Also for the "import config format" what exactly do I enter to import my config class back into the gui editor.


  4. you can't really optimize software until it is (mostly) complete. it would make little sense to spend a lot of effort on it now, as the codebase is changing daily.

    I bet there will be a large optimization effort toward the end of the beta.

    That doesn't really make any sense, there is a core problem with the engine that makes it unplayable for many people, it's not like it's a slight fps drop. A problem like this should be addressed before more content is added.


  5. So, since this was the last update for Alpha I'm guessing this shows they can't fix the most reported issue in the feedback tracker about low fps / utilization just as most people thought. I'm really disappointed and probably won't buy another bohemia interactive game if they don't listen to their community. With issues like this you shouldn't keep quiet about and at least inform us on progress if you don't want people to think the worst. When this thread get locked like all other threads related to this issue do I guess it's further proof they are trying to cover something up.


  6. Is it possible to get a list of .sqf files a user has in their arma 3 folder and read them? If it is possible you could easily make an admin panel and check suspect users sqf files manually for hacking scripts instead of scanning for functions like other antihack scripts do.

×