Jump to content

Recommended Posts

Thanks for testing , but  to answer to your results

 

1)probably you didn't change at all the settings for the deleting time so the script is running in every second.

2)I have an exlude list for vehicles.

3)I still don't have an idea about the removable zeus entity , zeus is enabled and working also in this mission.

4)There is a safe configurable distance , from 2 versions back.

 

Thanks anyway.

Share this post


Link to post
Share on other sites

1) yep i left 1 sec, in fact 60 secs or more is better, but still when it runs it slow down the server, dunno...maybe add some sleeps  to help not choke.
2) yep, i mean its usful to have a simple way to exclude an object , be it a corpse, a vehicle, a crater or anything else.
3) dunno, i have this problem, if i open zeus, and the associated dead corpse located at map left-down corner is deleted, i can no longer open zeus. i use #adminLogged zeus.
4) i missed that, good to know  :)

its a good work, i think its needs a little more touches here and there to be perfect !

  • Like 1

Share this post


Link to post
Share on other sites
34 minutes ago, dlegion said:

2) yep, i mean its usful to have a simple way to exclude an object , be it a corpse, a vehicle, a crater or anything else.

 

I 'll check about setting a variable for certain objects , as you have mentioned.

 

Thanks again dlegion !

Share this post


Link to post
Share on other sites

Updating

Changelog:


v4.0
A lot of code is reedited ,
added option to exclude certain objects , by setting a variable,
added option to create an Exclude Zone , by creating a marker,
for more information check the Notes + see ex. mission.
Code Performance and optimisation and minor fixes.

 

 

Notes:

Configurable Script.
You can select to delete :
Particlesource,Dead,Mines,Ruins,Craters,
Dropped Items,Static Weapon,Empty Groups,
Empty Vehicles,emptyDetector MP triggers.

 

You can exclude certain objects , by adding in the init of the object , in the editor or include in the scripted spawn :
this setVariable ["GF_Excude_from_cleanup",true];

 

It is possible to create an Exclude Zone , by creating a marker.
There are already 5 created in the editor as a working example , that you can just copy paste them in your mission.

 

 

Thanks

 

  • Like 1
  • Thanks 1

Share this post


Link to post
Share on other sites

Thank you very much dlegion , also for the tips !

 

This one , is really better than the previous versions and i noticed also some errors , that now have fixed.

Right now it's more configurable , with many options available.

 

Share this post


Link to post
Share on other sites
1 minute ago, GEORGE FLOROS GR said:

The cleanup script , for the example purpose is set to 1 , but i would suggest to run the script every 45 min to 2 hours top depending the mission and the players.

Share this post


Link to post
Share on other sites
2 minutes ago, MuRaZorWitchKING said:

Those of you having trouble with the GF_Cleanup_script and performance, in order to fix your performance drop you need to disable "debugging" and notifications, debugging runs OnEachFrame and can really tear up FPS it is mainly to show you that the script is working, and it does, I recommend it for custom spawning loot and any other spawner you would like to clean up. :) 

 

 

1 minute ago, GEORGE FLOROS GR said:
3 minutes ago, MuRaZorWitchKING said:

GF_Cleanup_script and performance,

 

Thank you very much for the Feedback MuRaZorWitchKING !

 

 

 

 

 

  • Like 1

Share this post


Link to post
Share on other sites

Hello great script, got a question about the vehicle exclusion :

I use this variable to protect spawned vehicle,

_veh setVariable ["GF_Excude_from_cleanup",true];

So that work fine in editor (solo), but didn't work on dedicated server. There is something special to do for excluding the vehicle on dedicated server ?

  • Thanks 1

Share this post


Link to post
Share on other sites

Hello there damsous !

 

I don't really know about ,

can you test also the example mission on dedicated , in order to know if the problem is the script ? because it shouldn't be any problem.

Else , you can add the classname in the excluded list .

I'll be waiting for your news !

 

  • Thanks 1

Share this post


Link to post
Share on other sites

Ok i added the classname on the excluded list it work thx 😀

  • Like 1

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×