Jump to content

Lorenz94

Member
  • Content Count

    168
  • Joined

  • Last visited

  • Medals

Community Reputation

6 Neutral

About Lorenz94

  • Rank
    Sergeant

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Hello, I've configured my dedicated server with a secondary IP under its NIC. I can start the Server by using the -ip parameter inside my server's .cfg file (eg -ip=123.456.789.0). The server starts, I can find it and play in it with no problems at all, and it has the set ip. The problem is that I can't have my headless client (local to the dedicated) to connect to the server. Without the use of a defined IP with the -ip parameter, I used to set localClient[]={"127.0.0.1"}; headlessClients[]={"127.0.0.1"}; and my headless clients had -connect=127.0.0.1 / -connect=localhost as parameters. With the new IP, for example the said "123.456.789.0", HCs can't connect even if I tried what follows: //server .cfg -ip=123.456.789.0 //server config.cfg localClient[]={"127.0.0.1","123.456.789.0"}; headlessClients[]={"127.0.0.1","123.456.789.0"}; //headless params -connect=123.456.789.0 Do someone how to achieve the headless client connection with a defined IP on the server? thank you.
  2. Lorenz94

    DUI - Squad Radar

    Hello! Can you please add a settings that allows to manually choose whether to show the medic icon on the radar if a player has the ace attribute or is of the medic classname? Let me better explain: now if a player has some sort of ace medical level, DUI automatically shows it on the radar as a medic. What I would like to do is to have the medic icon displayed only if a player is of a medic class (such as "B_medic_F" for example). This because me and my friends like to have "ace advanced diagnose" on for everyone (numeric values for heart rate and pressure), and to achieve this thing we need to set all our avatars to medic, restricting some actions such as stitching to doctors. Please let me know if I explained or not! Thank you.
  3. Thank you for your replies. The snippet it's just pseudo-code, not the actual set of functions of course, I simply summarized the steps I took in a very list-like manner to show the logic behind the process. @POLPOX - The same function is used to spawn normal and simple objects, so that's why there's also enableSimulationGlobal. You're right about being pointless on simple objects! @pierremgi - But if I'm spawning them on [0,0,0] before actually moving them to their final position, why do those simple object remain on their initial positions? The final position is the result of findSafePos. If the position format is wrong, shouldn't those simple object just disappear under the terrain or spawn at incorrect heights? That's what I can't understand! Thanks!
  4. Thank you guys. Both inputAction and actionKeys doesn't seem to work. I tried to have them in a hint under an onEachFrame loop (really simple and stupid debug), but I can't get anything prompted. I "solved" with a keyDown EH, when ctrl+shift+backspace are pressed, then the buttons get hidden/shown.
  5. ?? The topic is nothing near to your reply, sorry to say! The snippet shows how I create simple objects and the question is how to avoid simple objects created via script not being set at their position! The problem is not about gameplay logic, I'm *not* asking how to setup a mission to be played. The problem is only related to a single simple object placement, that seems, at least with my flow, to not work as expected.
  6. Hello, I'm having issues on spawning Simple and Super-Simple objects at a given position. I tried to troubleshoot the thing, but I can't find out what's wrong. I'm spawning custom compositions at random positions. Normal objects spawn well, but simple objects "get lost" near [0,0,0]. If all objects get spawned as normal (so using createVehicle, not createSimpleObject), no issues at all. What's going on: Any idea on what can be wrong? Thank you! EDIT: The snippet is intended to show how I retrieve an object' position from the sqe file, the code I tried to spawn the said object as "simple" and how I position it on the map. The positioning works with not-simple objects, while keeps simple objects near the spawn position (as you can see, [0,0,10000]). So I started this topic to kindly ask if anyone has got a similar experience and how to deal with simple objects creation. Thanks.
  7. Hello, I would like to add a custom button to the zeus/curator interface that disappears and reappears whenever backspace is pressed. Can someone please help me in hooking the interface? About the button creation no problem. Example code for the button Thank you!
  8. This got me crazy over the afternoon 😔 Anyway thank you, now my code starts to work as expected.
  9. Thank you Harzach, please see what happens if I use the *suggested* syntax ([center, [a, b, angle, rect]]), so a square bracket in addition: same code, with a larger radius: result
  10. Ok and that's what I also guessed. Is it a boolean? If true the function will do a*b? If false will be considered a triangle area? That's what I can't answer so anyone with direct experience would be appreciated! Thanks.
  11. Yeah, thanks, but I don't need just a radius, the question is specific to a particular blacklisting option, not completely documented! I would like to know what "[center, [a, b, angle, rect]]" does mean because I'm guessing is to build some kind of polygon shape, but I can't obtain what I need, that is a "slice"-shaped blacklist area.
  12. Hello, I'm trying to find n positions around a center using the command "BIS_fnc_findSafePos" and I would like to know if someone has ever successfully utilized the "advanced" blacklist settings, here in the spoiler: In particular, my interest is in blacklisting "slices" of the circle around a center. Can this be accomplished by using "[center, [a, b, angle, rect]]" as params? I tried some run of the code inside a loop, but I can't understand what these parameters do, first of all what does "rect" exactly means. If there's a way to set up triangle-shaped zones to be blacklisted it would be fine. Thank you!
  13. I would like to contribute, but the author does not log into this forum 😞
  14. Really thank you for your time and also for the explanation!
  15. Thank you 7erra, this works as I intended. I can't see the difference between my coordinates and yours, where can understand you're not using absolute values? Thank you!
×