Jump to content

Flatlined

Community Member
  • Posts

    8
  • Joined

  • Last visited

  • Donations

    0.00 GBP 

Recent Profile Visitors

350 profile views

Flatlined's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Thank you all for the answers. I guess we can close this thread then.
  2. How so? It doesn't do anything or does something else?
  3. Stanhope: Unfortunately I do not know anything about SQF scripting and too little of the arma engine quirks to not f*ck it up completely. Know your limits.
  4. McKillen, yes. But the point was that the legwork of "finding things" already has been done by some other means; possibly as they happen with the use of event handler or what may be available in the arma engine. Now, if the buffer becomes very big, or the commands takes very long time to run, this probably will result in reduced performance. Which is why I added one example of an optimisation: sorted buffer. The point here is kind of trying to spread out the spike in resource-utilisation you mentioned over a longer period of time, in smaller batches that each takes less time to execute. This is something you want to do with applications that are run on a few/single thread since it blocks everything else while it's running. It also let's you execute things in more fine grained intervals (instead of 6-10 minutes).
  5. Great. Thanks for the explanation Stan. That is how I expected it was working. I have different idea... Why not have a script that runs every minute or so, its job is to go through a buffer/queue of commands. The commands may be a deletion, spawn entity, spawn a paradrop 12 minutes after an AO has started, etc. Anything really. Adding commands to the buffer can be done as a reaction (event handler) when (for example) an enemy soldier dies or it can be a separate script/loop whose only job is to add commands to the buffer. There may be multiple sources (producers) of commands to the buffer; each with their own responsibility, etc. Each of those commands have a time-to-execute value. The script/loop checks each element if their time has been passed: If time passed: Execute. If time has not passed: It puts it back at the front of the buffer so that it remains till the next loop. Commands that should run on an interval could put themselves back into the buffer with a new value every time they have executed. Alternatively the buffer could be sorted on the time-value so the loop knows that it's no point in chugging through the rest of the buffer. This may or not be more performant depending on the size of the buffer and the insert-time of the buffer implementation. This is usually how the main loop in games are (kinda/sometimes/theoretically) implemented although they tend to kick off commands to worker threads so that the main loop don't get clogged up.
  6. I've been thinking. Yes that actually happens sometimes, nothing good have ever come out of it but I'm trying. :/ The despawn script for dead soldiers and destroyed vehicles - how does it work? Is it on a timer that when triggered collects entities to be removed and does it immediately or is it something smarter? The reason I ask is that it is annoying when I am running low on for example RPGs - kill an RPG-gunner 20 in front of me, and when trying to pick up their launcher just to have it despawn just as I try to.
  7. It should be possible to disable VON is selected channels. Since arma 1.59 text and voice can be individually enabled/disabled. The description in the link below is a bit unclear how this works so I do not know if this actually works as I hope. https://community.bistudio.com/wiki/enableChannel Example: 0 enableChannel [true, false]; // Enable user ability to send text but disable voice on global channel 1 enableChannel [true, false]; // Enable user ability to send text but disable voice on side channel 2 enableChannel [true, false]; // Enable user ability to send text but disable voice on command channel
  8. Altis and Stratis suffers from lots of popping of grass/clutter due to bad LODing on BIs part and it's really annoying. It would be really nice if you allowed this mod on all your servers. This mod removes a whole bunch of offending vegetation models (rabbit bushes and a some of the wheat-like grass). See: https://forums.bistudio.com/forums/topic/202901-weedkiller-for-altis-stratis-and-malden/
×
×
  • Create New...