No power to turret from modular carSolved
Not sure about workarounds just yet. This week I took over the Turret Manager plugin which I am rewriting, and it has an auto on feature which can help here as well.
I'm not aware of any relationship between the car having fuel and the turrets being powered unless there's another plugin doing that. The switch may not work the first time if there's another plugin that uses the same hook (any plugin that adds turrets to switches, including minicopter options or warcopter). Working on adding new hooks to Oxide and updating those plugins to prevent that sort of conflict.
WhiteThunder
If you aren't seeing the prompt, one thing it may be is that the turret may be facing the opposite duration you are expecting (toward the front or back of the car), since the direction isn't as obvious when it's offline, so you may be looking in the wrong direction.
I'm not aware of any relationship between the car having fuel and the turrets being powered unless there's another plugin doing that. The switch may not work the first time if there's another plugin that uses the same hook (any plugin that adds turrets to switches, including minicopter options or warcopter). Working on adding new hooks to Oxide and updating those plugins to prevent that sort of conflict.
There is a switch (which is not normally on the turret) i found it on the mid right of the turret. it seems to only show when mounted on a car, it does not show when mounted on a foundation.
pookins
There is a switch (which is not normally on the turret) i found it on the mid right of the turret. it seems to only show when mounted on a car, it does not show when mounted on a foundation.
There must be another plugin that happens to generically add a switch to a turret if the turret is parented. It's likely hooking OnSwitchToggle, so you can search the code of your plugins for that hook to narrow it down. It's then likely either using OnEntitySpawned or OnEntityBuilt to detect the turret coming into existence, which is when it would parent the ElectricSwitch. You can also search for the assets/prefabs/deployable/playerioents/simpleswitch/switch.prefab prefab.. If you have any obfuscated plugins, you'll probably have to deobfuscate them or searching them won't work.
WhiteThunder
There must be another plugin that happens to generically add a switch to a turret if the turret is parented. It's likely hooking OnSwitchToggle, so you can search the code of your plugins for that hook to narrow it down. It's then likely either using OnEntitySpawned or OnEntityBuilt to detect the turret coming into existence, which is when it would parent the ElectricSwitch. You can also search for the
assets/prefabs/deployable/playerioents/simpleswitch/switch.prefabprefab.. If you have any obfuscated plugins, you'll probably have to deobfuscate them or searching them won't work.
Its working great so i wont bother looking for anything, I just posted to let anyone who is looking for the switch to have an idea where to find it and not go looking for it if setup on a base foundation,