Hi,
I have minicopters spawning on the road, if they spawn near launch, the SAMs target and smash them. It is annoying when they are behind a object that the SAMS keep firing rockets at the minicopter for hours on end as it can not destroy it.
I have installed/uninstalled the plugin but still makes no change. Also the plugin does not install a .json in the oxide config folder?
Thanks.
Launch SAMs smashing minicopters spawned on the road
This plugin does not have a config file.
Sam sites targeting empty vehicles is a vanilla issue, which the plugin currently fixes for player sam sites. The plugin does not currently affect monument sam sites. I will submit a patch this week to make the Monument sam sites also ignore empty vehicles.
Ok, thank you so much for that, is there anything i could do in the mean time?
Thank you.
Yes, you can edit the plugin code.
Change this:
if (samSite.staticRespawn)
return null;
var mountPoints = (target as BaseVehicle)?.mountPoints;
if (!IsOccupied(target, mountPoints))
return True;
To this:
var mountPoints = (target as BaseVehicle)?.mountPoints;
if (!IsOccupied(target, mountPoints))
return True;
if (samSite.staticRespawn)
return null;
Great, thank you so much for that. Ill give it a go today.