 |
View previous topic :: View next topic |
 |
|
|
|
|
Author |
Message |
|
|
|
|
|
Gazz

Joined: 13 Jan 2006 Posts: 9277 on topic Location: Bavaria

 |
Posted: Fri, 17. Oct 08, 02:31 Post subject: [SCR - TC] Auto Aim (v3, 20.02.09) |
|
|
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 haven't lost touch with reality. Reality has lost touch with me.
Last edited by Gazz on Wed, 4. Aug 10, 14:06; edited 10 times in total |
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
eladan Moderator

Joined: 07 Jan 2006 Posts: 4913 on topic Location: Sunshine Coast, Australia

|
Posted: Fri, 17. Oct 08, 03:33 Post subject: |
|
|
@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 ) just until the forum is open to avoid confusion.
_________________ My X3:Reunion Scripts |
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
Gazz

Joined: 13 Jan 2006 Posts: 9277 on topic Location: Bavaria

|
Posted: Fri, 17. Oct 08, 12:43 Post subject: |
|
|
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 haven't lost touch with reality. Reality has lost touch with me. |
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
ViceGrips
Joined: 01 Feb 2004 Posts: 17 on topic

|
Posted: Sat, 25. Oct 08, 05:33 Post subject: Possible issue |
|
|
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 |
|
|
|
 |
|
|
|
|
|
Gazz

Joined: 13 Jan 2006 Posts: 9277 on topic Location: Bavaria

|
Posted: Sat, 25. Oct 08, 08:51 Post subject: |
|
|
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 haven't lost touch with reality. Reality has lost touch with me. |
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
Grimm Spector
Joined: 23 Oct 2008
Location: Ontario, Canada
|
Posted: Sat, 25. Oct 08, 19:29 Post subject: |
|
|
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 |
|
|
|
 |
|
|
|
|
|
Gazz

Joined: 13 Jan 2006 Posts: 9277 on topic Location: Bavaria

|
Posted: Sat, 25. Oct 08, 20:42 Post subject: |
|
|
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 haven't lost touch with reality. Reality has lost touch with me. |
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
PunkiBastardo
Joined: 23 Mar 2008
|
Posted: Sat, 25. Oct 08, 21:47 Post subject: |
|
|
| 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 |
|
|
|
 |
|
|
|
|
|
Grimm Spector
Joined: 23 Oct 2008
Location: Ontario, Canada
|
Posted: Mon, 27. Oct 08, 22:38 Post subject: |
|
|
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 |
|
|
|
 |
|
|
|
|
|
Gazz

Joined: 13 Jan 2006 Posts: 9277 on topic Location: Bavaria

|
Posted: Tue, 28. Oct 08, 00:12 Post subject: |
|
|
| 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 haven't lost touch with reality. Reality has lost touch with me. |
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
DitDog
Joined: 04 Nov 2008 Posts: 14 on topic

|
Posted: Fri, 7. Nov 08, 23:38 Post subject: |
|
|
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 |
|
|
|
 |
|
|
|
|
|
bbgun77
Joined: 18 Nov 2008 Posts: 43 on topic Location: china

|
Posted: Mon, 24. Nov 08, 09:57 Post subject: |
|
|
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 |
|
|
|
 |
|
|
|
|
|
xiriod
Joined: 06 Nov 2002 Posts: 1021 on topic

|
Posted: Wed, 3. Dec 08, 16:01 Post subject: |
|
|
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 |
|
|
|
 |
|
|
|
|
|
Gazz

Joined: 13 Jan 2006 Posts: 9277 on topic Location: Bavaria

|
Posted: Wed, 3. Dec 08, 16:19 Post subject: |
|
|
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 haven't lost touch with reality. Reality has lost touch with me. |
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
xiriod
Joined: 06 Nov 2002 Posts: 1021 on topic

|
Posted: Wed, 3. Dec 08, 16:29 Post subject: |
|
|
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 |
|
|
|
 |
|
|
|
|
|
|
|