[SCR - TC] Auto Aim (v3, 20.02.09)
Moderators: Moderators for English X Forum, Scripting / Modding Moderators
Version 2 released.
Functions moved to separate hotkeys, improved targeting.
Functions moved to separate hotkeys, improved targeting.
My complete script download page. . . . . . I AM THE LAW!
There is no sense crying over every mistake. You just keep on trying till you run out of cake.
There is no sense crying over every mistake. You just keep on trying till you run out of cake.
- Sandalpocalypse
- Posts: 4447
- Joined: Tue, 2. Dec 03, 22:28
Oh, I am using 100 % classic mode now.s9ilent wrote:This is a nice simply script, but Gazz, why not just rebind your joystick/mouse/other to fire, instead of fire from boresight?
Some people have abysmal frame rates in TC. Telling them to use boresight is just mean when they can't possibly line up any target. =P
Basically this is auto aim deluxe and gives a player M4 some chance to survive a swarm missile attack.
A single missile is no problem but what about 8 Flail simultaneously?
My complete script download page. . . . . . I AM THE LAW!
There is no sense crying over every mistake. You just keep on trying till you run out of cake.
There is no sense crying over every mistake. You just keep on trying till you run out of cake.
Well, I'm all for convenience and it's quite unlikely that the space suit would become overpowered.
I haven't died by crashing the space suit into a ship, lately, but I remember doing that.
So it now has a hand brake, too...
Bootlegger reverse, Mr. Sulu!
Version 3 released.
Betty won't complain about missing lasers if the ship can't possibly have any cockpit lasers.
I haven't died by crashing the space suit into a ship, lately, but I remember doing that.
So it now has a hand brake, too...
Bootlegger reverse, Mr. Sulu!
Version 3 released.
Betty won't complain about missing lasers if the ship can't possibly have any cockpit lasers.
My complete script download page. . . . . . I AM THE LAW!
There is no sense crying over every mistake. You just keep on trying till you run out of cake.
There is no sense crying over every mistake. You just keep on trying till you run out of cake.
-
- Posts: 1
- Joined: Tue, 5. May 09, 12:42
This script here only affects cockpit guns which MARS does not touch.
My complete script download page. . . . . . I AM THE LAW!
There is no sense crying over every mistake. You just keep on trying till you run out of cake.
There is no sense crying over every mistake. You just keep on trying till you run out of cake.
-
- Posts: 49
- Joined: Sat, 5. Dec 09, 16:31
-
- Posts: 36
- Joined: Thu, 29. Nov 07, 18:58
- Jaga_Telesin
- Posts: 435
- Joined: Sat, 16. Sep 06, 22:48
You probably don't see a lot of feedback on this script Gazz, but I wanted to chime in and say "thank you".
I fly with a mouse/keyboard setup, and when in a ship that turns slowly (like most big ships), classic flight mode just doesn't cut it. Having to continually move the mouse to reset it on the mousepad and keep dragging to keep turning.. ugh. And using the mouse flight mode destroys shot accuracy as you know.
With your script, I can have the best of both worlds - easy turning of bigger/slower ships with a mouse, and good accuracy on forward guns. I have found my survivability has gone up in dogfights using it on an M3 fighter as well.
I would highly recommend this script to *anyone* using mouse/keyboard flight controls.
Cheers.
I fly with a mouse/keyboard setup, and when in a ship that turns slowly (like most big ships), classic flight mode just doesn't cut it. Having to continually move the mouse to reset it on the mousepad and keep dragging to keep turning.. ugh. And using the mouse flight mode destroys shot accuracy as you know.
With your script, I can have the best of both worlds - easy turning of bigger/slower ships with a mouse, and good accuracy on forward guns. I have found my survivability has gone up in dogfights using it on an M3 fighter as well.
I would highly recommend this script to *anyone* using mouse/keyboard flight controls.
Cheers.
yes it's a great script.Gazz wrote:I had the same issue for a while.
A complete reinstall of TC fixed the crashes.
After that the exact same script worked without a problem.
but it still cause random crashes.
i've tried to reinstall over itself, but still CTD. i've started to experience those crashes with me flying fast ships like Arrow.
should i remove the game and install it gain or what?
are you sure it's ok with other scripts cuz i have many of them running.
- anachron13
- Posts: 144
- Joined: Tue, 2. Nov 10, 23:41
It doesn't do anything "illegal".
It selects targets and fires the cockpit guns. All perfectly legit and harmless script instructions.
It does work on a fast timer to be able to do it's job but it's only one script like that among possibly thousands of concurrently running scripts in your game.
I don't know any way to "fix" it because it doesn't do anything... wrong.
Somehow X3 must have an issue with hotkey scripts per se.
The NICE script, which heavily relies on a lot and fast clicking of hotkeys, also has crash issues.
Some memory allocation issue where (large) hotkey scripts are loaded into memory at a fast pace before memory of the "finished" scripts can be reallocated? Who knows?
Will the issue be fixed at this point in the life of X3? Sorry, but I think not.
It selects targets and fires the cockpit guns. All perfectly legit and harmless script instructions.
It does work on a fast timer to be able to do it's job but it's only one script like that among possibly thousands of concurrently running scripts in your game.
I don't know any way to "fix" it because it doesn't do anything... wrong.
Somehow X3 must have an issue with hotkey scripts per se.
The NICE script, which heavily relies on a lot and fast clicking of hotkeys, also has crash issues.
Some memory allocation issue where (large) hotkey scripts are loaded into memory at a fast pace before memory of the "finished" scripts can be reallocated? Who knows?
Will the issue be fixed at this point in the life of X3? Sorry, but I think not.
My complete script download page. . . . . . I AM THE LAW!
There is no sense crying over every mistake. You just keep on trying till you run out of cake.
There is no sense crying over every mistake. You just keep on trying till you run out of cake.
-
- Posts: 189
- Joined: Mon, 22. Dec 08, 16:13
OK, I know this is an old thread, but I absolutely have to post here and say THANK YOU.
I was beginning to have real trouble in XTC (the X-Tended Mod for Terran Conflict, which is now in its first public release) because ALL of the M7 class frontal weapons are now flagged as "chargeable." This means if you hold down the boresight fire key, as I am used to doing, they don't fire a nice stream of projectiles, but rather "charge up" a shot... and usually miss.
This script was recommended to me simply to solve that issue, and it did... but it has done MUCH MORE for my game than that! I use a mouse + keyboard and, like Jaga said above, this script is UTTERLY INDISPENSABLE for anyone who uses that control setup.
Previously, I could only hit an enemy if my targeting reticule was placed over the leading "pip" and that meant that I could only shoot at my enemies while basically flying a collision course toward them!
Now, with this life-changing script, I can actually steer my million-ton frigate AWAY from a collision, and also strafe and roll, all while pouring hot death right into his bridge.
Is it fair? In my opinion, it perfectly simulates having a separate crew member firing the guns while the captain is busy with the helm... in other words, completely realistic. Can you imagine if the navy required the captain of a boat to aim and fire the guns, WHILE steering the ship? Ridiculous!
In short, this is one of those things that has the feeling of "ah, this should have been in the game all along." Gazz, I know I've said it before, but you're a genius. I was ready to quit playing this game, and your tiny little auto-aim script has made me excited to play it all over again. I wish I had known about this back when you wrote it... I'd have been using it the whole time.
You're the best. Thank you.
P.S. No compatibility issues with XTC that I've found, but I'm not really knowledgeable about scripting. Hopefully it won't do any damage down the road. I don't think I could go back to playing without it (at least not in an M7 with frontal guns).
EDIT - one last thought. The people who said the script wasn't switching on properly, or switching on, firing a shot or two, and toggling back off... I think I know why. At least, I figured out why it was doing it to me. I was holding down the left mouse button at the same time I hit the hotkey, and the game really doesn't like that. Any key you press while the button is held down seems to rapid-fire. Try it: with the left mouse button held down, try hitting any key, like "T" to switch off the little targeting brackets while they're flashing, and you'll hear several bleeps happen very quickly (and the brackets will still be flashing, because you've just pressed "T" more than once).
So just make sure you're not pressing any other keys or buttons at the same time (i.e. not "mouse steering") and it should work fine. It does for me, anyway.
Oh, and happy new year. There, I'm done.
I was beginning to have real trouble in XTC (the X-Tended Mod for Terran Conflict, which is now in its first public release) because ALL of the M7 class frontal weapons are now flagged as "chargeable." This means if you hold down the boresight fire key, as I am used to doing, they don't fire a nice stream of projectiles, but rather "charge up" a shot... and usually miss.
This script was recommended to me simply to solve that issue, and it did... but it has done MUCH MORE for my game than that! I use a mouse + keyboard and, like Jaga said above, this script is UTTERLY INDISPENSABLE for anyone who uses that control setup.
Previously, I could only hit an enemy if my targeting reticule was placed over the leading "pip" and that meant that I could only shoot at my enemies while basically flying a collision course toward them!
Now, with this life-changing script, I can actually steer my million-ton frigate AWAY from a collision, and also strafe and roll, all while pouring hot death right into his bridge.
Is it fair? In my opinion, it perfectly simulates having a separate crew member firing the guns while the captain is busy with the helm... in other words, completely realistic. Can you imagine if the navy required the captain of a boat to aim and fire the guns, WHILE steering the ship? Ridiculous!
In short, this is one of those things that has the feeling of "ah, this should have been in the game all along." Gazz, I know I've said it before, but you're a genius. I was ready to quit playing this game, and your tiny little auto-aim script has made me excited to play it all over again. I wish I had known about this back when you wrote it... I'd have been using it the whole time.
You're the best. Thank you.
P.S. No compatibility issues with XTC that I've found, but I'm not really knowledgeable about scripting. Hopefully it won't do any damage down the road. I don't think I could go back to playing without it (at least not in an M7 with frontal guns).
EDIT - one last thought. The people who said the script wasn't switching on properly, or switching on, firing a shot or two, and toggling back off... I think I know why. At least, I figured out why it was doing it to me. I was holding down the left mouse button at the same time I hit the hotkey, and the game really doesn't like that. Any key you press while the button is held down seems to rapid-fire. Try it: with the left mouse button held down, try hitting any key, like "T" to switch off the little targeting brackets while they're flashing, and you'll hear several bleeps happen very quickly (and the brackets will still be flashing, because you've just pressed "T" more than once).
So just make sure you're not pressing any other keys or buttons at the same time (i.e. not "mouse steering") and it should work fine. It does for me, anyway.
Oh, and happy new year. There, I'm done.
"Will you please get me a couple of things?" ~ Mahi Ma
Every Boron dies. Squiddy McSquid truly lived.
Every Boron dies. Squiddy McSquid truly lived.
This script is a very simplistic fight script - minus the steering - and it uses the same firing arc as AI ships.Sam Redstone wrote:Is it fair? In my opinion, it perfectly simulates having a separate crew member firing the guns while the captain is busy with the helm... in other words, completely realistic.
Every AI M7 works under the exact same conditions and they do not have to aim more carefully or anything like that.
In some ways it would be neater if the script could fire while the button is held down but the script engine does not know events like ButtonUp or ButtonDown.
You can, however, do that with macro software like Autohotkey. Pick a button and have it send one "key" on ButtonDown and a second on ButtonUp. Simple.
My complete script download page. . . . . . I AM THE LAW!
There is no sense crying over every mistake. You just keep on trying till you run out of cake.
There is no sense crying over every mistake. You just keep on trying till you run out of cake.
-
- Posts: 189
- Joined: Mon, 22. Dec 08, 16:13
I could see that being more appropriate for, say, an M3, sure. But for where I am right now, in the M7 range, the way it works now is just perfect. Captain gives the order to open fire, gun crew goes to town. Captain says cease fire, they stop. Love it, love it.
I'm getting handy at quickly redirecting it at different targets, too. I can have a long spray of Tetryon Pulses heading toward a Pirate M8, then switch targets and send a shorter spray at an M3, then switch and send a spray at an M4... and by the time they start connecting with their targets, 3 or 4 pirates are already doomed. Then the rest get in range for my Meson Blasters and Alpha Flak, and it's over for that battle group.
Against a single M7, I usually come out with my shields above 90%, whereas the best I could manage previously was 50%. Against two at once, I can still keep at least a third of my shields, whereas before I was in mortal danger.
Finally, since AI-controlled M8s and M7Ms actually FIRE TORPEDOES in XTC, I've got the "missile screen" bound to a hotkey, too. So far the ECM system in XTC has been sufficient to save my hide, but I feel more comfortable having a last-ditch backup.
I just can't say enough good things about it. I had the day off work today and spent most of it doing patrols and sector defense missions in my once-hated Cerberus. Pure joy. Thanks again.
I'm getting handy at quickly redirecting it at different targets, too. I can have a long spray of Tetryon Pulses heading toward a Pirate M8, then switch targets and send a shorter spray at an M3, then switch and send a spray at an M4... and by the time they start connecting with their targets, 3 or 4 pirates are already doomed. Then the rest get in range for my Meson Blasters and Alpha Flak, and it's over for that battle group.
Against a single M7, I usually come out with my shields above 90%, whereas the best I could manage previously was 50%. Against two at once, I can still keep at least a third of my shields, whereas before I was in mortal danger.
Finally, since AI-controlled M8s and M7Ms actually FIRE TORPEDOES in XTC, I've got the "missile screen" bound to a hotkey, too. So far the ECM system in XTC has been sufficient to save my hide, but I feel more comfortable having a last-ditch backup.
I just can't say enough good things about it. I had the day off work today and spent most of it doing patrols and sector defense missions in my once-hated Cerberus. Pure joy. Thanks again.
"Will you please get me a couple of things?" ~ Mahi Ma
Every Boron dies. Squiddy McSquid truly lived.
Every Boron dies. Squiddy McSquid truly lived.