I added in "sentry.scientist.static":1.0 into the data json, but sentries that I place are still not taking damage. Is there a way to add them in like the static samsites? Where the world spawned ones are still invincible, but admin placed ones are not?
Options for modifying sentriesSuggestion
I understand what you are asking for. Normally I use BotSpawn to place NPC on my map. Adding this would require tracking etc., basically a distinct plugin unto itself. I have a bit of a back log of updates for my plugins so will have to decline this suggestion for now, and suggest you consider BotSpawn as an alternative, or one of the other NPC plugins.
BotSpawn moved off umod, so message me if you need the URL.
BotSpawn moved off umod, so message me if you need the URL.
Sorry, I think you misunderstood. The sentry.scientist.static is the machine gun turret at outpost. I already have BotSpawn running. But I was looking at being able to spawn in those turrets, but they currently are invincible. I also have the copy/paste plugin, but it currently doesn't copy the ammo in a turret, so each time you spawn one in, it has to be reset. This would be easier to just spawn in an outpost turret, if it could be damaged.
did you try adding it to the data file?Sample new /data/DamageControl.json:{"sentry.scientist.static": 1.0}It might not work if they are hard coded to take zero damage (An override in the FacePunch code). I have not had a chance to play with this yet, but that would be a first test to see if it has any impact.
I did try that, and yes they still did not take damage. I was hoping they could be, but it makes sense if the face punch code cannot be overwridden
It would take a custom set of coding, outside the scope of damage control to override the facepunch code (If possible). Entities placed (Like the sams at launch) are not normal entities, they are immuned to damage other than admin kill. I'm not certain how FacePunch implemented this, but it is super annoying in terms of trying to modify a servers behaviour. I am sorry I could not help.
No worries, thanks for the reply though.