EnglishGermanFrenchRussianItalianSpanish
Log inRegister
 
[SCRIPT]-(Updated 15-08-09)-Intelligent Targeting System v1.50
Post new topic Reply to topic Goto page 1, 2, 3  Next
View previous topic :: View next topic
Author Message
WindsOfBoreas





Joined: 03 Aug 2008

Location: Paranid Space - Killing the Fundamentalists

modified
PostPosted: Thu, 27. Nov 08, 12:26    Post subject: [SCRIPT]-(Updated 15-08-09)-Intelligent Targeting System v1.50 Reply with quote Print

Intelligent Targeting System

IF YOU DOWNLOADED VERSION 1.50 BEFORE AUGUST 15, 2009 AT 1400 CDT (UTC - 5), DOWNLOAD THE FILE AGAIN

Download

FileFront Downloads



Changelog

    Version 1.50
  • Reworked Category/Target hotkey scripts.
  • Added Saved Targets Menu.
  • Added Saved Targets Multi-Press Hotkey.

    Version 1.40
  • Reworked Entire text file system. Intelligent Targeting System is now available for localization.
  • Reworked Every script. Cleaned up the variable names.
  • Streamlined Entire plugin. Now uses less memory.
  • Fixed Searches not changing category if a search type was selected in the Search Menu.
  • Fixed Auto-Target script starting more than once under special circumstances.
  • Fixed Player-owned ships being subject to gravidar range limitation.
  • Added Select Non-Scanned function.

    Version 1.30
  • Fixed Global variable array not saving properly.
  • Fixed Corporation Strings for the Search String Menu.
  • Added Customizable Quad-Press of the Menu hotkey.

    Version 1.20
  • Fixed String Search interfering with Asteroids, Flying Wares, and Gates.
  • Added Double-Press and Triple-Press quick key function to the Menu hotkey.
  • Added Configuration Options
    • Sort Array Option (Alphabetically, Distance to All Objects, Distance to Enemies)
    • Customizable Double-Press of the Menu hotkey.
    • Customizable Triple-Press of the Menu hotkey.

  • Added Next Category hotkey.
  • Added Previous Category hotkey.

    Version 1.10
  • Fixed Class and Race menus registering unknown objects.
  • Reworked String Menu and Append System.
  • Reworked No Aim Next and Previous hotkey recognition.
  • Added Auto-Targeting of Enemies and Auto-Target Menu.
  • Added Search for Enemy Ships Option.
  • Added Search Mineral Menu
  • Added Search Ware Menu
  • Added Search Amount/Yield Menu
  • Added Search for Asteroids with Collectable Rocks Only Option.


What this Does...

There are seven (7) hotkeys added:

  • ITS: Next Target

  • ITS: Previous Target

  • ITS: Next Category

  • ITS: Previous Category

  • ITS: Search Menu
    • This hotkey also has double-press, triple-press, and quad-press functions.

  • ITS: Saved Menu

  • ITS: Saved Target
    • This hotkey has up to ten multi-presses.


The Intelligent Targeting System (ITS) is a system which targets objects based on context. When you press either the Next or the Previous hotkeys, the ITS will switch your target to the next or previous object of its kind. This is broken into five main groups.

  • Known Asteroids

  • Known Gates

  • Ships within gravidar distance.
    • Friendly or Neutral
    • Enemy
    • Owned

  • Known Stations
    • Friendly or Neutral
    • Enemy
    • Owned

  • Flying Wares within gravidar distance


The ITS also comes with a special search menu which allows you to have search expressions at your fingertips with the Search Menu hotkey. This menu includes Object Class, Distance to Object, Object Race, Yield of Asteroid, Amount of Flying Ware, Ware of Flying Ware, and even allows for string expressions for the object names.

In Version 1.50, Saved Targets was added to ITS. With this, you can save an unlimited amount of ships or stations that you can recall through the Saved Menu hotkey. As well, the Saved Targets hotkey takes up to ten presses, each having its own saved target. This hotkey must be configured through the Saved Menu.

How to Use...

To use the Intelligent Targeting System (ITS), simply press the Next Target or Previous Target hotkey. If something is currently targeted, this will switch your target to another object of similar type. If you have no aim, it will cycle through the categories until one is found; this is completely affected by you Search Menu choices.

Pressing the Next Category or Previous Category hotkeys will switch between the different object classes. Example: if you have an enemy ship selected and you press the Previous Category hotkey, if there are normal ships in the sector, the ITS will switch to Friendly or Neutral ships. Pressing the Next Category hotkey would switch it to player ships, if there were any in the sector.

To customize the ITS somewhat, open the Configuration Menu.

  • The option Select Array Sort Type will change the way the ITS selects the next and previous targets. Setting this to Distance: All will sort the array so that with each press of the hotkey, you will select an object that is either closer or farther away. Setting this to Distance: Enemies will do the same but only for enemy ships and stations. The default is Alphabetically.

  • The Menu Key Double-Press menu allows you quick access to one of the Search Menu's functions. Once you have something selected, simply double-press the Menu hotkey to access the function.

  • The Menu Key Triple-Press menu performs the same as with the double-press menu. The only difference is that you must triple-press the Menu key to access the function.

  • The Menu Key Quad-Press menu performs the same as the double and triple-press menu. The only difference is that you must quad-press the Menu key to access the function.


To use the Search Menu, press the Search Menu hotkey to bring up the menu.

  • Using the Select Distance menu is simple. Choose to input a new distance, but be warned, you cannot search farther than your scanner range. Choose the No Distance option to return to a broader search.

  • The Select Non-Scanned menu allows you to narrow the search down to non-scanned objects. Unfortunately, this function is currently limited to Asteroids. The code is already in place if a patch gives the ability to find non-scanned ships.

  • The Auto-Target menu will select the routine which the computer will use to select the next enemy (either after one is destroyed or you lose aim). This can be by class or race (if you have selected one) or by the overall power of an enemy or simply by the closest proximity of an enemy. Choose No Auto-Target to return to a broader search.

  • The Search Enemies Only (On/Off) option, if turned on, will only cycle through enemy ships if you do not have any aim.

  • If you have a ship selected, the Select Class menu will have the ship classes; likewise, if you have a station targeted, station classes will be in that menu. Choosing a class will narrow the ITS search down further to only that class. Choose the No Class option to return to a broader search.

  • Selecting race with the Select Race menu is just as easy. Select a race and the search will be limited to objects owned by that race alone. Choose the No Race option to return to a broader search.

  • Use the Select String menu to narrow down the names of objects that can be targeted. You may use several strings here for greater accuracy. For instance, using Terracorp and Transporter will narrow down the search to bio, energy, and mineral transporters owned by Terracorp in the sector.
    • The Append to Search Array: option will merely add the selected string to the end of the array.
    • The Replace in Search Array: option will allow you to replace one of the words already in the array with the new word.
    • The Replace all Search Array: option will replace the entire search string array with the new word.

    You may also type your own string and save it for later usage. Choose No String to return to a broader search.

  • The Search Collectable Only (On/Off) option will only target asteroids which have collectable rocks.

  • The Select Mineral menu will allow you to select only asteroids of that mineral to target. Choose No Mineral to return to a broader search.

  • Using the Select Ware menu will allow you to only target flying wares of the type selected. Choose No Ware to return to a broader search.

  • The Select Amount menu allows you to choose the minimum yield for asteroids or the minimum amount of a ware within a flying crate. Choose No Amount to return to a broader search.


To use the Saved Targets Menu, press the Saved Menu hotkey to bring up the menu.

  • If you have a ship or station selected that is not already saved, the option Save Current Target will be available. With this, your target is saved to its appropriate array.

  • The option Save New Target will bring up a user input which will let you select a ship or station. If the selected object is already saved, the action will be canceled.

  • The option Edit Saved Targets will take you to a sub-menu which allows you to remove all saved targets or individual targets from their respective arrays.

  • Multi-Press Menu will take you to a sub-menu which allows you to set up the multi-presses.

  • If you have targets already saved, the targets will be listed under the Saved Ships or Saved Stations headings. Selecting one of these options will target the object if it is in open space and your sector. If it is docked, in a different sector, or no longer exists, the parentheses will say so.



To use the Multi-Press Menu, select its option in the Saved Targets Menu. This sub-menu will show you the ten multi-presses. Select one of the options to take you to the Assign Press Menu.

  • The option Assign Press ## will always be available. It will be the only option if nothing is currently assigned to the press slot. Pressing this will take to you a list of your saved targets. If something is already assigned to the slot, it will ask for confirmation to overwrite.

  • The option Move Press ## will allow you to move the key press to another slot. If something is already assigned to the slot you choose, it will ask for confirmation to overwrite.

  • Remove Press ## will remove the key press.


Enjoy,
The North Wind


_________________
"Humanity has the stars in its future, and that future is too important to be lost under the burden of juvenile folly and ignorant superstition." - Isaac Asimov


Last edited by WindsOfBoreas on Sat, 15. Aug 09, 20:49; edited 15 times in total
Back to top
View user's profile Send private message Send e-mail
Kilrathi Avenger



MEDAL

Joined: 06 Feb 2004
Posts: 275 on topic
Location: Edwinstowe, UK
Thank you for registering your game
PostPosted: Thu, 27. Nov 08, 12:37    Post subject: Reply with quote Print

Download not available


_________________
"As I slide down the banister of life;
my job is just another splinter in the bum"
Back to top
View user's profile Send private message
WindsOfBoreas





Joined: 03 Aug 2008

Location: Paranid Space - Killing the Fundamentalists

PostPosted: Thu, 27. Nov 08, 12:39    Post subject: Reply with quote Print

Both work fine for me. What browser are you using? If Firefox, do you have the NoScript extension and do you have FileFront enabled?


_________________
"Humanity has the stars in its future, and that future is too important to be lost under the burden of juvenile folly and ignorant superstition." - Isaac Asimov
Back to top
View user's profile Send private message Send e-mail
Coruskane





Joined: 13 Jun 2008
Posts: 796 on topic
Location: Under LV's Imperial Tasselled-Vintage-Leather Boot
Thank you for registering your game
PostPosted: Thu, 27. Nov 08, 14:41    Post subject: Reply with quote Print

what the default system should have been all along. I can't wait to try,

nice one

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





Joined: 03 Aug 2008

Location: Paranid Space - Killing the Fundamentalists

PostPosted: Fri, 28. Nov 08, 05:02    Post subject: Reply with quote Print

Has anyone had any problems with the script? Any suggestions for improvements?


_________________
"Humanity has the stars in its future, and that future is too important to be lost under the burden of juvenile folly and ignorant superstition." - Isaac Asimov
Back to top
View user's profile Send private message Send e-mail
WindsOfBoreas





Joined: 03 Aug 2008

Location: Paranid Space - Killing the Fundamentalists

PostPosted: Sat, 29. Nov 08, 12:59    Post subject: Reply with quote Print

Updated to version 1.10

    Version 1.10
  • Fixed Class and Race menus registering unknown objects.
  • Reworked String Menu and Append System.
  • Reworked No Aim Next and Previous hotkey recognition.
  • Added Auto-Targeting of Enemies and Auto-Target Menu.
  • Added Search for Enemy Ships Option.
  • Added Search Mineral Menu
  • Added Search Ware Menu
  • Added Search Amount/Yield Menu
  • Added Search for Asteroids with Collectable Rocks Only Option.



_________________
"Humanity has the stars in its future, and that future is too important to be lost under the burden of juvenile folly and ignorant superstition." - Isaac Asimov
Back to top
View user's profile Send private message Send e-mail
Thrandisher





Joined: 01 Jul 2007
Posts: 357 on topic

Thank you for registering your game
PostPosted: Mon, 1. Dec 08, 06:45    Post subject: Reply with quote Print

Hmm, i seem to target asteroids when there no enemy's around and i have it set to enemy's only. There a way to get it to not target them at all?

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





Joined: 03 Aug 2008

Location: Paranid Space - Killing the Fundamentalists

PostPosted: Mon, 1. Dec 08, 07:47    Post subject: Reply with quote Print

The way that ITS is set up is that it searches for categories when you have nothing currently targeted. The cycle goes like this.

  1. Friendly or Neutral Ships
  2. Enemy Ships
  3. Stations
  4. Flying Wares
  5. Asteroids
  6. Gates


So, if there are no friendly ships in an area, it'll switch to enemy ships. If there are no ships at all, it'll switch to stations, and so on.

That list, however, is if you have no search options turned on.

So in your case, if you have "Search Enemies Only" option turned on, the list starts at the Enemy Ships index. Even if there are friendly or neutral ships in the area, the hotkeys will not target them until you turn off the enemies only option.

The list is also the priority for search options; if you have selected a mineral type for an asteroid and you have nothing currently targeted, you will skip to targeting Asteroids. Or if you have a station class selected, it'll switch to targeting stations.

____________________________

On another note, I'm thinking of using the multiple hotkey press library by Gazz to allow the Next and Previous hotkeys to switch categories while you have something targeted. So if you have ships currently targeted and you press the next key two times, your aim will be set to the first station in the sector. Or if you press the previous key twice, you'll switch to the gates. This should completely eliminate the need for all six of the next/previous targeting keys.

Likewise, I could make the menu key a multi-function key to allow quick access to change search options. In example, you press the menu key twice and it toggles the "Search Enemies Only" option. Or I could have the multi-click functions be customizable via Cycrow's Community Plugin Configuration menu, so you can choose what you want to be double-press and triple-press and so on. Maybe you use the class menu a lot, make it double-press.

Tell me what you all think.


_________________
"Humanity has the stars in its future, and that future is too important to be lost under the burden of juvenile folly and ignorant superstition." - Isaac Asimov
Back to top
View user's profile Send private message Send e-mail
Thrandisher





Joined: 01 Jul 2007
Posts: 357 on topic

Thank you for registering your game
PostPosted: Mon, 1. Dec 08, 08:22    Post subject: Reply with quote Print

Ahh, ok then. Working as intended then so far!
I was so useta to haveing my target keys only for enemys, i didnt even think of that logic there, lol.

Well if you added in the double hotkey thing, i would probly go with the Community plugin configuration menu. There are times where i do spam the target key trying to get a certain target. So id hate to have the double key go into effect when im trying to get just the right target. Then again im a joystick user so thats my reasoning behind that.

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





Joined: 03 Aug 2008

Location: Paranid Space - Killing the Fundamentalists

PostPosted: Mon, 1. Dec 08, 09:00    Post subject: Reply with quote Print

Well, it may be better then to have two other hotkeys. Gazz's script has a delay function, but the delay may be so much (due to the natural cycling through of the targets) that it would be too laborious for the player. The menu key, however, could still use it.


_________________
"Humanity has the stars in its future, and that future is too important to be lost under the burden of juvenile folly and ignorant superstition." - Isaac Asimov
Back to top
View user's profile Send private message Send e-mail
WindsOfBoreas





Joined: 03 Aug 2008

Location: Paranid Space - Killing the Fundamentalists

PostPosted: Tue, 2. Dec 08, 07:36    Post subject: Reply with quote Print

Updated to version 1.20

USE THE UNINSTALL SCRIPT FROM THE PREVIOUS VERSION BEFORE UPDATING TO VERSION 1.20

    Version 1.20
  • Fixed String Search interfering with Asteroids, Flying Wares, and Gates.
  • Added Double-Press and Triple-Press quick key function to the Menu hotkey.
  • Added Configuration Options
    • Sort Array Option (Alphabetically, Distance to All Objects, Distance to Enemies)
    • Customizable Double-Press of the Menu hotkey.
    • Customizable Triple-Press of the Menu hotkey.

  • Added Next Category hotkey.
  • Added Previous Category hotkey.



_________________
"Humanity has the stars in its future, and that future is too important to be lost under the burden of juvenile folly and ignorant superstition." - Isaac Asimov
Back to top
View user's profile Send private message Send e-mail
WindsOfBoreas





Joined: 03 Aug 2008

Location: Paranid Space - Killing the Fundamentalists

PostPosted: Fri, 5. Dec 08, 00:01    Post subject: Reply with quote Print

Well, it seems that I missed some of the corporation names.

Aside from Jonferco, NMMC, Plutarch, and Terracorp, what other corporations are there. I missed the others because I haven't come across them yet (haven't traveled outside of five sectors from Omicron Lyrae).

If people could list the corporation names, I would be very grateful.

____________________

Aside from that, how is this working for people?

Any suggestions to improve it? Any new functions you think it might need?

Please, I'm all ears.


_________________
"Humanity has the stars in its future, and that future is too important to be lost under the burden of juvenile folly and ignorant superstition." - Isaac Asimov
Back to top
View user's profile Send private message Send e-mail
Thrandisher





Joined: 01 Jul 2007
Posts: 357 on topic

Thank you for registering your game
PostPosted: Fri, 5. Dec 08, 01:00    Post subject: Reply with quote Print

Terracorp, Otas, Jsdo, Plurarch mining corporation, Nvidium minning and manafacturing corporation (ptni), Dukes Buccaneers, Atreus shipbuilding currents, Split strong arm.

Page 8-11 on manual, no idea on steam if ya have that one.

Thats how there listed as main names things. Jsdo is jonferco, Atreus is some boron one (can tell i go up there alot, heh).

So far so good for me on it, although i will admit i havent done to much advance targeting. The only pet peave i have probly is it doesnt save the settings for, Search Enemies Only. But that is really minor and only takes 2 clicks when loading up a game.

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





Joined: 03 Aug 2008

Location: Paranid Space - Killing the Fundamentalists

PostPosted: Fri, 5. Dec 08, 01:25    Post subject: Reply with quote Print

Thanks for the names, asser69.

It should save all search selections; each search selection is part of an array that is saved to a global variable.


_________________
"Humanity has the stars in its future, and that future is too important to be lost under the burden of juvenile folly and ignorant superstition." - Isaac Asimov
Back to top
View user's profile Send private message Send e-mail
WindsOfBoreas





Joined: 03 Aug 2008

Location: Paranid Space - Killing the Fundamentalists

PostPosted: Thu, 11. Dec 08, 23:11    Post subject: Reply with quote Print

Updated to version 1.30

    Version 1.30
  • Fixed Global variable array not saving properly.
  • Fixed Corporation Strings for the Search String Menu.
  • Added Customizable Quad-Press of the Menu hotkey.



______________________________

I'm not really sure what else I can add to this so unless there are some glaring mistakes that I have missed or someone suggests something, this will probably be the last release.


_________________
"Humanity has the stars in its future, and that future is too important to be lost under the burden of juvenile folly and ignorant superstition." - Isaac Asimov
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic Reply to topic Goto page 1, 2, 3  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 Wed, 13. Dec 17, 16:48

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.15751 seconds, sql queries = 29