Jump to content

Yyo

Member
  • Content Count

    40
  • Joined

  • Last visited

  • Medals

Community Reputation

10 Good

About Yyo

  • Rank
    Private First Class

Recent Profile Visitors

710 profile views
  1. Hey Larrow, it's a great honor to have had you solve my problem, you're a legend! Thank you so much, I really appreciate it! Have a wonderful rest of your week and stay safe boss!
  2. Hello all, I hope you're doing well. The basis of what I am trying to do is trying to change the position of a marker to another markers position via script. I have this line of code in my initServer.sqf: [] spawn {while {true} do {sleep 5; "MGIRespEastAI" setMarkerPos (getMarkerPos (selectRandom ["EastRESPmkr", "EastRESPmkr_1", "EastRESPmkr_3", "EastRESPmkr_2"]));};}; Basically, I am using PierreMGI's amazing addon "MGI Advanced Modules" and using his respawn system for AI. For my scenario, I have a sector placed and I have a trigger synced to an "Unlock" logic that is synced to the sectors module. The trigger will activate/unlock if OPFOR captures the sector. Within this trigger, I have it coded so that it creates markers ("EastRESPmkr_2", "EastRESPmkr_3") on other triggers I positioned around the AO of the sector, acting as potential positions for the "MGIRespEastAI" marker to be randomly teleported. These markers ("EastRESPmkr_2", "EastRESPmkr_3") will than be created if OPFOR captures the sector and would be deleted if OPFOR loses the sector. My other 2 markers ("EastRESPmkr", "EastRESPmkr_1") are acting as my base markers, essentially theses will already be activated upon start of my mission. Everything works as expected, where the "MGIRespEastAI" marker will teleport to either of the base markers, or if activated, would also be teleported to the captured sectors marker positions. But what sometimes happens is that the "MGIRespEastAI" marker will be sometimes positioned/teleported at the corner of the map? I was wondering if there's anything I should add or change about in my sqf file or maybe go a different route of randomly setting the position of a marker to an array of other marker positions? Any help will be greatly appreciated! If any more clarification or even a link for my mission file is needed, please let me know! Stay safe!
  3. Hey PierreMGI, I hope all is well! I wanted to ask for some help with my trigger setup, if that's okay! Basically, I was reusing an old template I had, using the "AI can respawn" module and sectors. Essentially, I had it to where in my AO for my sector, I had an "Unlock" logic synced to my sector, and I had my 2 triggers (RespEASTpos_1, RespEASTpos_2) synced to the "Unlock" logic. Triggers are acting as positions where I want the "MGIRespEastAI" marker to move to randomly if the sector is captured/recaptured. In both triggers, I had it to where they only activate when OPFOR is present (when they capture the sector). Inside my initServer.sqf I have written, [] spawn {while {true} do {sleep 5; "MGIRespEastAI" setMarkerPos selectRandom [RespEASTpos_1,RespEASTpos_2] };}; What I notice is that the "MGIRespEastAI" marker moves to the trigger positions even when they're not activated/when the sector isn't captured by OPFOR. I have also tried using markers for possible positions to move the "MGIRespEastAI" marker, which seems to have fixed the previous issue, but I notice that sometimes the marker seems to teleport to the corner of the map and I am not sure how I would fix this, here is the code I am using, where "EastRESPmkr" and "EastRESPmkr_1" are acting as base markers and "EastRESPmkr_2" and "EastRESPmkr_3" are markers that are made once the sector is captured : [] spawn {while {true} do {sleep 5; "MGIRespEastAI" setMarkerPos (getMarkerPos (selectRandom ["EastRESPmkr", "EastRESPmkr_1", "EastRESPmkr_2", "EastRESPmkr_3"]));};}; Is there any way there might be another workaround for moving the "MGIRespEastAI" marker to captured sectors randomly? Or anything I can do fix either of the issues I am having? Thanks PierreMGI! EDIT: I fixed this problem thanks to Larrow, here is the code: [] spawn { while {true} do { sleep 5; //Only markers that currently exist _activeMarkers = [ "EastRESPmkr", "EastRESPmkr_1", "EastRESPmkr_3", "EastRESPmkr_2" ] select{ getMarkerPos _x isNotEqualTo [0,0,0] }; "MGIRespEastAI" setMarkerPos getMarkerPos(selectRandom _activeMarkers); }; }; Thanks PierreMGI, Have a great day!
  4. Hey Gunter Severloh! Super sorry for the late reply, I've been quite busy lately! But I hope you had a nice Christmas! So, I recently switched my arma 3 back to my SSD but to answer your concern regarding my HDD performance, I had tested the game offline on my HDD and the stuttering had been fixed, but when I launched the game on my HDD with steam online, the stuttering had returned. I had come to the conclusion that Steam had been attempting to download/update (upon my game launching) compositions that I had subscribed to on the workshop, causing massive lag/stuttering. I have tested it with having subscribed to 1 composition, and it would stutter for 2 seconds. Than I had tested with subscribing to 10 compositions, and it would stutter for 20 seconds or so. So the stuttering depends a lot on how many compositions I have subscribed to, regardless of whether they're vanilla or compositions that require mods. I was also contemplating on purchasing more ram, but I just can't help with the idea that the game really needs more than 16gb of ram. Regarding ingame performance, I have played with many mods that alter explosions/AI and I notice I have a bit of a spike/freeze for 2 seconds or so when either combat commences or if there is an explosion. But this usually only happens once and the rest is playable. But in vanilla, my ingame gameplay runs smooth as butter. I have also downloaded the updated launcher from the Discord that fixed the issue with the steam workshop mods not showing in the launcher. I just believe that Arma 3 just might not be compatible with my certain PC build regarding compositions. I have tried everything under the sun, and nothing seems to work. As of now, my game runs fine without having any compositions downloaded, but I really wish I can have subscribed compositions and such. Anyways, I truly appreciate and am super grateful for your help/time with my problem. I still love Arma 3 after all this, it's been a very toxic relationship haha. But I hope you have wonderful new years, Gunter Severloh! Please stay safe and take care!
  5. Hey Oldbear! I hope you're doing well! So, I have done what you have suggested and to no avail, the problem still pursues. But I have good news! Basically, I found out that it was subscribed steam compositions that caused the massive lagging/stuttering issues in the first few minutes of my game launching. Now, I have launched the game offline and the stuttering goes away. But I have monitored my steam while my game was stuttering and I noticed that steam was downloading my compositions again upon starting up my arma for some reason. The stuttering would last depending on how many compositions I am subscribed to, an example would be around 2 seconds of stuttering per every composition. What I've done was mention it in the arma 3 troubleshooting channel in the official arma discord, and what I was told is that it would be an issue on my hardware end. But I have talked to other people who have had the same issue as me, and they believe that it may be an issue with either BI or steam. The only fix I know is to just unsubcribe from all steam workshop compositions, which is quite unfortunate but I'd much rather have a more a stable game. I really hope in the future this issue gets resolved. But thanks for your time, Oldbear! I really appreciate your suggestions and help!
  6. Yyo

    Arma 3 game stuttering

    Thanks Gunter Severloh!
  7. Hey guys, hope you're doing well! I was directed here by Gunter Severloh to seek help on my situation. I am currently having an issue with Arma 3 and potentially steam. Basically, for about a month now or so, my game on startup/launch would severally lag/stutter for about 2 minutes each and every time. I have launched the game with and without mods, and I have recently reinstalled the game and the problem still pursues (which was really frustrating considering it took all day).I believe the issue is that Steam is attempting to download/update workshop content each time I launch my game, which causes my game to lag heavily for the first few minutes. I believe this may also be the reason why my game potentially stutters/freezes at times during gameplay. I have a video example of what's going on and a list of my specs/what I have done so far. What I've done: - Reset my PC - Reinstalled Arma 3 - Reset my NVIDIA Control Panel settings - Updated all my drivers - Moved the game to a different drive - Tried countless combinations in terms of launcher params and NVIDIA Control Panel settings - Reinstalled Steam My Specs: - Game ran on an SSD (now on an HDD) - CPU: Ryzen 5 3600x - GPU: GTX 1660 Super - RAM: 16gb 3200 Mhz - BUILD AGE: Roughly around 2 years now VIDEO LINK: Any help is greatly appreciated, I will try to be as transparent as possible and answer any questions as much I can. Thank you for your time and be safe friends.
  8. Yyo

    Arma 3 game stuttering

    Here is a video showing the issue:
  9. Hello, I hope you're doing well! For a month or so now, I have been dealing with an issue where my game severely lags/stutters every 2 - 3 seconds upon startup/launch. It also stutters/lags (but not as consistently as on startup) anytime I either fire a weapon, explosions, and or just at random times during gameplay. I primarily play in singleplayer, I haven't played on any multiplayer sessions. I have, Reset my pc, reinstalled arma, and have tried countless combinations of settings ranging from the launcher parameters to NVIDIA control panel settings. Currently, I was able to narrow down the potential problem that may be causing this with the help of some good folks on the subreddit. Basically, each time I launch Arma, Steam starts downloading something arma related (most likely workshop content) and Steam does/attempts this for about 2 minutes into my game being launched. Within those 2 or so minutes, my game stutters severely up until steam is done/stops updating/downloading whatever was arma related. Gameplay wise, my game would stutter at times, either the first few seconds of a firefight or just randomly when in the editor, but what mainly bothers me is the startup. I have tried launching the game without internet and the stuttering is gone, and the stuttering that would occur during firefights and such was drastically decreased (although it still happens, it's arma haha). Any help/ideas I can try to fix this matter will be greatly appreciated, thanks for your time! Specs: CPU: Ryzen 5 3600x GPU: GTX 1660 Super RAM: 16gb 3200Mhz Installed on an SSD (500 GB WD Blue SSD -- Read: 545MB/s, Write: 525MB/s) link to my reddit post: https://www.reddit.com/r/arma/comments/zknasr/is_this_normal/
  10. I am trying to give a certain group a certain amount of respawn tickets, but I am unsure where to name/how to give a variable name to a group.
  11. Hey Pierremgi, I hope you're well! I just wanted to ask if it was possible to make it so the "AI can respawn" module can also save the custom identity/face of a unit (like how it saves the custom loadout on start) each time they respawn?
  12. Hey Pierremgi, I hope all is well. I wanted to know if there is any method/way I can make it so respawned AI are spawned in a switchable/playable state?
  13. Hey PierreMGI, thanks for the reply! Yes, that seems to do the trick! Thanks so much!
  14. Hey PierreMGI! Awesome mod, truly a necessity for me! I just had a quick question regarding the "AI can respawn" module! I just wanted to know if it was possible to have multiple, say as an example, "MGIRespWestAI" markers, instead of just having 1 marker for a side to respawn on?
×