[XND] Turret Extensions 1.1

Mod, 1.0, 1.1


RimWorld Version 1.2The 1.2 version of Turret Extensions, Turret Extensions - Continuum, is now being maintained by Netrve, please find the workshop page here -

https://steamcommunity.com/sharedfiles/filedetails/?id=2201064941

Netrve's fork also has an optimised 1.1 version of this mod which doesn't suffer from the performance issues this release suffers from, and is even compatible...

Author: XeoNovaDan

Created: 28 Aug, 2018 @ 8:57am

Updated: 14 Mar, 2020 @ 9:30am

Subscribers: 22065


Size (unpacked) : 0.472 MB

RimWorld Version 1.2
The 1.2 version of Turret Extensions, Turret Extensions - Continuum, is now being maintained by Netrve, please find the workshop page here -

https://steamcommunity.com/sharedfiles/filedetails/?id=2201064941

Netrve's fork also has an optimised 1.1 version of this mod which doesn't suffer from the performance issues this release suffers from, and is even compatible with 1.0




Translations
Deutsch - Energistics

Overview
Turret Extensions is a multi-purpose mod that does the following:
  • Fixes several vanilla bugs such as inaccurate cooldown/warmup stat readouts, pawns always facing south when manning turrets, and siegers potentially using wrong shell types
  • Makes manned turrets use the Shooting Accuracy and Aiming Time stats of the pawn using them
  • Allows you to view the damage amount and damage type of turret ammuniton (e.g. shells)
  • Adds various, well-documented turret framework extensions that allow modders to easily do what was previously impossible without C#, purely via XML

Turret Extensions' various framework extensions allows for turret mods that fill niches that could simply never be filled before without the extra capabilities that Turret Extensions brings to the table. Here's some of what Turret Extensions allows for as of v1.3.0:
  • Manned turrets that actually factor in their operator's accuracy and/or aiming time stats
  • Automatic turrets that can be force-targeted by the player, just like with pawns
  • Turret force-targeting to auto-cancel when the target is downed, just like with pawns
  • Turrets with limited firing arcs, as opposed to always being 360 degrees
  • Upgradable turrets with a large variety of parameters that can be adjusted

An example of a mod that uses a significant chunk of this mod's framework is TE Turret Expansion, which you can find in the Links section.

All of the above can now be done purely in XML; not a single line of C# is required! There is comprehensive documentation in the Links section for how to use this framework in your mods.

If you want to spice up your mod's thumbnail a bit, you can download a 'Powered by Turret Extensions' overlay image from Dropbox here[www.dropbox.com] - with and without drop shadows.
Preview:



If you have any suggestions or other constructive feedback, feel free to let me know!

Compatibility
Mods:
Turret Extensions naturally won't be compatible with Combat Extended. Mods that aren't patched with Turret Extensions will mostly behave as they would in vanilla.

Saves:
Should be safely addable to existing savegames. There shouldn't be any problems removing this from existing savegames if you're not running any mods that depend on this.

Links
GitHub releases: https://github.com/RimWorld-CCL-Reborn/TurretExtensions/releases
Documentation for modders: https://github.com/RimWorld-CCL-Reborn/TurretExtensions/wiki
Source code: https://github.com/RimWorld-CCL-Reborn/TurretExtensions

TE Turret Expansion: https://steamcommunity.com/sharedfiles/filedetails/?id=1496140597

Credits
Big thanks to Mehni, erdelf, Lanilor, ChJees, Spdskatr, Telefonmast and FuriouslyEloquent for helping me with the C#!
Pardeike (AKA Brrainz) - for making the Harmony Patch Library - this probably wouldn't have been possible without his work
Diana Winters - for proofreading the documentation
Marnador - for the RimWorld-style font

How do I download and install mods?

Simply click the blue button above. It will open the file hosting page with the mod repacked by us from the official source.

How do I install this mod?

See the 'How to install' tab.

Is this mod safe to use?

The mods are repacked as is, without any additional software, malware, or bloatware added. To check for viruses, use a reliable antivirus or upload the archive to a website like virustotal.com. Anyway, It's always a good practice to keep backups of your saves in case of mod incompatibility .

There is a folder in the .zip archive. To install the mod, move the entire folder (not just its contents) into 'Mods' folder located under your RimWorld root isntallation folder.
So, for steam version of the game, the path would look like this: C:\Program Files (x86)\Steam\steamapps\common\RimWorld\Mods
For any other distribution, firstly locate your rimworld installation path and then unpack the archive into the 'Mods' folder.
Then enable the mod in the game mods menu by double clicking on its name and restart the game