[quote=“Blaze, post:97, topic:7616”]My attempt at coding aim-able turrets ended in failure unfortunately.
- You can install multiple autoloaders to hold more ammo.
- Autoloaders can be filled the same way you pour gas into a car.[/quote]
My attempt didn’t. It didn’t got merged yet, but I think it’s relatively solid.
If it gets merged, turrets with “MANUAL” tag will not acquire targets by themselves.
It will be a new menu in the vehicle. It goes like this: vehicle controls->manual aim->turret->(uses aiming menu like shooting)pick target->wastes some time->turret shoots the target (or doesn’t, if it can’t).
About autoloaders: if you implemented them using current code, they wouldn’t be very satisfying to use or even mod. You’d have to make them fuel tanks and fuel tanks only accept and dispense the default ammo type from a given category (for example, autoloader for 9mm would only accept plain 9mm, not 9mm +P).
If you think you can code them, it may be worth a try. If you can’t code them, I may implement them later on.
My idea of autoloader is as follows: a part with cargo that by itself does nothing, but some parts can get items from their cargo as if they were in own cargo. Possibly with a limitation that only the first item (on the stack in loader’s cargo) is viewed or that only nearby autoloaders are used.