
Thank you very much to both of you.
Moderators: Scripting / Modding Moderators, Moderators for English X Forum
I can't remember whether I came across your script a few months ago while playing TC, vanilla, then XRM, then XTC 2, on Windows. Once Steam for linux came out I stopped playing X but jumped back to it when X3R was released. After a few weeks of that it was back to TC again.In other words, I want to avoid expending effort testing the TC version of Smart on vanilla and XRM. So do let me know if anyone is stuck on TC (and I sympathize with the Steam requirement), and relies on the TC version of Smart with vanilla/XRM. Bearing mind there is also MARS.
Code: Select all
<t id="952">COMMAND_TYPE_TURRET_52</t> : Offense Mode - Smart Turrets by Shimrod
Code: Select all
<language id="44">
...
<page id="2008" title="Cmd ID">
<t id="952">GLEN_SMART_TURRET_OFFENSE</t>
...
<page id="2010" title="Cmd Name">
<t id="952">\33GSmart\33X Offense</t>
...
<page id="2011" title="Cmd Shortname">
<t id="952">\33GSmart\33X.\33RO\33X</t>
...
<page id="2022" title="Cmd Desc">
<t id="952">This command assigns \33GSmart\33X Offense turret
Code: Select all
adrian@mort:~/Games/X3 Terran Conflict - no steam update/mods$ grep -r 'id="952"' ../t
../t/8845-L044.xml: <t id="952">\033GFCC\033X Movement step increased to: \033R%s\033X Metres %s</t>
../t/8845-L049.xml: <t id="952">\033BFCC\033X-Bewegungsschritt erhöht auf: \033R%s\033X Meter %s</t>
Code: Select all
8845: Dusty, Factory Complex Constructor
9050: Shimrod, Smart Turrets
Code: Select all
$Text = read text: page=$PageId id=4000
$Tmp = register hotkey $Text to call script 'glen.turret.smart.hk.cycle'
uh what? that's somewhat vague... so defense mode is actually better than offense?Shimrod wrote:The main use is to avoid shooting passing red traders.
The ship scans for enemies using the ship as their attack or command target, and puts them on an attackers list it remembers. Defense mode attacks anything on the attackers list as well as missiles.