No power to turret from modular carSolved
as stated above cannot figure out how to turn the turret on i assume this is a command but i cannot find it on the website
Turn on the electrical switch
I'm surprised this didn't come up sooner since I didnt actually document it. There is a switch on the back of the turret, but a change to Rust in the September update causes some parented entities to be partially or completely invisible unless they are near the 0,0,0 map origin. You just have to aim near the back and the prompt will appear.

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.
Try adding fuel to the car, The first turret i added to a car didnt turn on and i couldnt find a prompt but as soon as i put fuel in the car the turret turned on (?), as my "rank" on the server has infinite ammo (turret config permission) i didnt need to add any to the turret,
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.
5f1792699e67b.jpg 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.

5b7d22c4ef71f.jpg 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.

5f1792699e67b.jpg 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.prefab prefab.. 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,

Locked automatically