EnglishGermanFrenchRussianItalianSpanish
Log inRegister
 
[SCR - TC] Auto Aim (v3, 20.02.09)
Post new topic Reply to topic Goto page 1, 2, 3, 4  Next
View previous topic :: View next topic
Author Message
Gazz





Joined: 13 Jan 2006
Posts: 12407 on topic
Location: Bavaria
Thank you for registering your game
modified
PostPosted: Fri, 17. Oct 08, 02:31    Post subject: [SCR - TC] Auto Aim (v3, 20.02.09) Reply with quote Print

English / Deutsch

TC has been improved in many places but there is one... design decision... that I'd rather live without. =)

In the cursor follow flight mode, Auto Aim is practically disabled.
If you don't hit the perfect pixel on that M5 that is circling you, you're SOL.

In classic mode (Boresight fire + Auto Aim on) I can annihilate the same M5 within short notice. Wonder why.

So I just combined those 2 flight / aim modes and I'm a happy pilot again. =)


  • This basically turns your cockpit lasers into a semi-automatic turret.
    Even with terrible FPS you still have a chance to hit something.

  • Fight Command Software Mk1 required.
  • Fight Command Software Mk2 required.

  • This script installs 4 Hotkeys.


  • Hotkey Auto Aim : Fire
    A targeted enemy is attacked whenever it enters the area in front of the ship, where lasers in cursor follow mode can normally fire.

    If autofire is currently enabled it is turned off and a confirmation ding sound played.

    Changing the target also disables Autofire.

    This is exactly the same aiming mode that your ship uses with a vanilla X3 combat script.
    It is not a cheat.


  • Hotkey Auto Aim : Missiles
    The Missile Defense Mode automatically uses the ship's main guns to engage missiles that are attacking the ship.

    Quite a few ships use swarm missiles in TC and an M4 without turrets has little hope of surviving that barrage.
    Trying to manually target and shoot all those missiles with the mouse is simply hopeless.

    The main guns fire in gatling mode increasing the rate of fire and conserving laser energy especially for heavy/slow lasers like HEPT.


  • Hotkey Auto Aim : Target
    Find next enemy ship in scanner range.
    Targets in front of the ship and in laser range are preferred.

    If a target is found it is immediately attacked. (Auto Aim : Fire enabled)

    If you are currently in your space suit this hotkey toggles between these targets instead:
    • closest claimable ship
    • closest own ship
    • second closest own ship


  • Hotkey Auto Aim : Repair
    Repair / Attack Target.
    Using this feature, all ships can be attacked - including neutral or own ships.

    This feature is highly convenient if you eject to repair your (or one of your capped ships) with the repair laser.
    Auto fire is - and stays - enabled until the ship is fully repaired.

    You can surely find more interesting things to do than holding down the fire button for 5 minutes....
    Check your property list, rule your fledgling empire...


  • If an autofire mode (Fire, Missiles) is currently enabled, any of the hotkeys disables it and a confirmation ding sound is played.



Download (ZIP)


_________________
My complete script download page. . . . . . Xai-Corp MSCI List is scripter's friend. I AM THE LAW!
There is no sense crying over every mistake. You just keep on trying till you run out of cake.


Last edited by Gazz on Wed, 4. Aug 10, 14:06; edited 10 times in total
Back to top
View user's profile Send private message Visit poster's website
eladan





Joined: 07 Jan 2006
Posts: 5307 on topic
Location: Sunshine Coast, Australia
Thank you for registering your game
PostPosted: Fri, 17. Oct 08, 03:33    Post subject: Reply with quote Print

@Gazz - there will be an X3:TC forum, so this will be moved soon. Probably best to hold off on releasing any more (if you have 'em Wink) just until the forum is open to avoid confusion.

Back to top
View user's profile Send private message
Gazz





Joined: 13 Jan 2006
Posts: 12407 on topic
Location: Bavaria
Thank you for registering your game
PostPosted: Fri, 17. Oct 08, 12:43    Post subject: Reply with quote Print

Nah, no worries. I'm not really scripting anything, yet.
This was more of a reflex when I couldn't get the hang of the new controls.

Why complain when I can change it? =P


_________________
My complete script download page. . . . . . Xai-Corp MSCI List is scripter's friend. I AM THE LAW!
There is no sense crying over every mistake. You just keep on trying till you run out of cake.
Back to top
View user's profile Send private message Visit poster's website
ViceGrips





Joined: 01 Feb 2004
Posts: 17 on topic

Thank you for registering your game
PostPosted: Sat, 25. Oct 08, 05:33    Post subject: Possible issue Reply with quote Print

I'm not sure if I'm the only one but everytime I run this script my game CTD. I have all of your other scripts, cycrows and 1 of LVs. I'm currently having no problems with any of the others. Just curious if you have any suggestions. Thanks

Back to top
View user's profile Send private message
Gazz





Joined: 13 Jan 2006
Posts: 12407 on topic
Location: Bavaria
Thank you for registering your game
PostPosted: Sat, 25. Oct 08, 08:51    Post subject: Reply with quote Print

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.


_________________
My complete script download page. . . . . . Xai-Corp MSCI List is scripter's friend. I AM THE LAW!
There is no sense crying over every mistake. You just keep on trying till you run out of cake.
Back to top
View user's profile Send private message Visit poster's website
Grimm Spector





Joined: 23 Oct 2008
Posts: 137 on topic
Location: Ontario, Canada
Thank you for registering your game
PostPosted: Sat, 25. Oct 08, 19:29    Post subject: Reply with quote Print

is there a way you could make it so it doesn't fire automatically, but simply attaches the "mouse fire location" perfectly to the lead indicator and let's you mouse fly normally and shoot at your own discretion?

Back to top
View user's profile Send private message MSN Messenger
Gazz





Joined: 13 Jan 2006
Posts: 12407 on topic
Location: Bavaria
Thank you for registering your game
PostPosted: Sat, 25. Oct 08, 20:42    Post subject: Reply with quote Print

It does exactly that right now. You can start/stop fire whenever.


_________________
My complete script download page. . . . . . Xai-Corp MSCI List is scripter's friend. I AM THE LAW!
There is no sense crying over every mistake. You just keep on trying till you run out of cake.
Back to top
View user's profile Send private message Visit poster's website
PunkiBastardo





Joined: 23 Mar 2008



PostPosted: Sat, 25. Oct 08, 21:47    Post subject: Reply with quote Print

Gazz wrote:
It does exactly that right now. You can start/stop fire whenever.


Yes it does, but i think he's trying to say that it could remain firing as long as you keep the button pressed, as if it were the fire button but not having to aim at the target.
I had thought of this too, the actual fps degradation has led me to rely heavily on this script for combat, as it is impossible to aim at about 2-5fps, and the problem is that at that point the game has a hard time registering the keys pressed and this makes it really hard to get it to recognaise any more than 2 clicks. I mean, for example I usually have to click 5 or 6 times for it to register the 4click "attack any target" command, and that leads to a couple of mins of me just standing still trying to get the combo right. Thank god you added that deactivation sound, as it is really helpfull at those times where you really don't know at what point of the autoaim modes you are .
I know you didn't want it to have lots of hotkeys, but perhaps there could be an extra hotkey that made autoaim work as long as you kept it pressed, I wish i could do this myself but I'm afraid I don't have the skills.

Oh and btw awesome scripts Gazz, I use all of em.

Edit
Ok I just thought of this, perhaps the same hotkey already in use could have this functionality when kept pressed, I don't know if it could be done, but it's just an idea... Thanks for reading!

Back to top
View user's profile Send private message
Grimm Spector





Joined: 23 Oct 2008
Posts: 137 on topic
Location: Ontario, Canada
Thank you for registering your game
PostPosted: Mon, 27. Oct 08, 22:38    Post subject: Reply with quote Print

yes I mean what PunkiBastardo said, I don't want it to fire ALL THE TIME on it's own when it's toggled on, maybe another thought would be a script that can when toggled on keeps the mouse cursor within the frontal "mouse fire" box area where the guns can actually angle to fire at, so that as I'm moving I must get the enemies lead indicator within that box under my mouse cursor before I know I can fire, forcing me to get them within the mouse fire angle range...?

Back to top
View user's profile Send private message MSN Messenger
Gazz





Joined: 13 Jan 2006
Posts: 12407 on topic
Location: Bavaria
Thank you for registering your game
PostPosted: Tue, 28. Oct 08, 00:12    Post subject: Reply with quote Print

PunkiBastardo wrote:
Yes it does, but i think he's trying to say that it could remain firing as long as you keep the button pressed, as if it were the fire button but not having to aim at the target.

A hotkey is executed once the key is pressed down.
X3 has no detectable event for a button remaining pressed.
The start/stop system is a workaround but the closest I could get to the "real thing".


Quote:
the actual fps degradation has led me to rely heavily on this script for combat, as it is impossible to aim at about 2-5fps, and the problem is that at that point the game has a hard time registering the keys pressed and this makes it really hard to get it to recognaise any more than 2 clicks. I mean, for example I usually have to click 5 or 6 times for it to register the 4click "attack any target" command

I never anticipated such low FPS.

There are 2 possible solutions.
- more hotkeys for the different features
- longer keypress delay to "chain" clicks.
Currently it's 400ms but that's just an arbitrarily picked number.


_________________
My complete script download page. . . . . . Xai-Corp MSCI List is scripter's friend. I AM THE LAW!
There is no sense crying over every mistake. You just keep on trying till you run out of cake.
Back to top
View user's profile Send private message Visit poster's website
DitDog





Joined: 04 Nov 2008
Posts: 18 on topic

Thank you for registering your game
PostPosted: Fri, 7. Nov 08, 23:38    Post subject: Reply with quote Print

i cant seem to get your script to run...i am new to this kinda thing...and was woundering if you could explain where and what to do, to get this thing running.

i already have the script editor running..so no need to tell me about name change n such...just what to do to get your script working, and the hotkey n such setup...please

Regards
DitDog

Back to top
View user's profile Send private message
bbgun77





Joined: 18 Nov 2008
Posts: 87 on topic
Location: china
Thank you for registering your game
PostPosted: Mon, 24. Nov 08, 09:57    Post subject: Reply with quote Print

Some strange happend, when after I use this script period of time, opens fire change to "Burst fire" about 1/3 fire rat of nomal.If I change ship that is nomal.Back this ship,question has hapended.What wrong did i do?

Back to top
View user's profile Send private message MSN Messenger
xiriod





Joined: 06 Nov 2002
Posts: 1102 on topic

Thank you for registering your game
PostPosted: Wed, 3. Dec 08, 16:01    Post subject: Reply with quote Print

This script works, some times. I set the hotkey to one of my joystick buttons, and some times it works. But most of the time it does not. Anyone else have this?

Back to top
View user's profile Send private message
Gazz





Joined: 13 Jan 2006
Posts: 12407 on topic
Location: Bavaria
Thank you for registering your game
PostPosted: Wed, 3. Dec 08, 16:19    Post subject: Reply with quote Print

Well, I pretty much abandoned this script because the cursor follow flight mode hmm... is there a polite version of "sucks"?

If anyone wants to butcher or rewrite it - feel free to do so.
Technically it's just a very very simple turret script.

Personally I only use it for targeting and for the repair laser autofire.
I completely switched to classic flight controls and they work beautifully.


_________________
My complete script download page. . . . . . Xai-Corp MSCI List is scripter's friend. I AM THE LAW!
There is no sense crying over every mistake. You just keep on trying till you run out of cake.
Back to top
View user's profile Send private message Visit poster's website
xiriod





Joined: 06 Nov 2002
Posts: 1102 on topic

Thank you for registering your game
PostPosted: Wed, 3. Dec 08, 16:29    Post subject: Reply with quote Print

Ok. Since it has a hotkey and everything, is there any hocus pocus to remove it? Or do I just simply remove the hotkey reference and delete the files?

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic Reply to topic Goto page 1, 2, 3, 4  Next
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum
Control Panel
Login Data
The time now is Thu, 14. Dec 17, 00:29

All times are GMT + 2 Hours


Board Security

Copyright © EGOSOFT 1989-2017
Powered by phpBB © 2001, 2005 phpBB Group
Template created by Avatar & BurnIt!
Debug: page generation = 0.13032 seconds, sql queries = 29