Targeting problems

A place to post suggestions for new features, new bugs, and comments about the existing code.
Post Reply
Jonan
Posts: 377
Joined: Mon Mar 13, 2006 8:00 am
Location: Hyperborea

Post by Jonan »

O.K. Someone needs to explain to me why target nearest enemy picks cons on the other side of the sector and target hostile invariably chooses the miner NOT being hostile at all?

Is the fact that drones are not targetable a feature, bug or an omission?

These things must work. When you're busy and the screen is full of muck there is no time to cycle the targets through.

At least a dev point me to the general direction of the logic so I can find the random factor and take it out. Don't have real time to put in on learning to navigate the code, which is understandably mostly uncommented. Maybe there is a general description somewhere?
Last edited by Jonan on Sun Feb 11, 2007 11:01 pm, edited 1 time in total.
*****
My Sig
*****
madpeople
Posts: 4787
Joined: Tue Dec 16, 2003 8:00 am
Location: England

Post by madpeople »

bind target enemy miner, base and bomber to some keys.

all you need is
target enemy / hostile (default t i htink)
target centre
target base *
target bomber *
target miner *

* alt+same key for friendly version

but other than helping you with game, i cant do much for the code question
Jonan
Posts: 377
Joined: Mon Mar 13, 2006 8:00 am
Location: Hyperborea

Post by Jonan »

Done on day one. This is not a gameplay question. Tghis is a 'what the hell is the software doing' kind of a question.

Thanks again for trying to be helpful madpeople. I was counting on you to be there for me.

P.S. Binding alt gets me into trouble with overlapping o/s shortcuts. Can't remember specifics.
*****
My Sig
*****
AdmiralKirk
Posts: 14
Joined: Mon Feb 12, 2007 10:52 pm

Post by AdmiralKirk »

I noticed the same problem, I was just about to post in Helpline about this actualy because I thought it was something I was doing wrong. I bound "Target Enemy Nearest" to a joystick button, figuring that when im turreting in the middle of 20 defenders, I could just mash that button and always have the nearest enemy targeted... But apperently it does some kind of wierd cycling. Like, if thier were two enemys in a sector, one at 1500m and one at 2500m, and i hit the Nearest enemy button, id get the one at 1500, great.. But if i hit it again, itll switch to the one at 2500m. Its a massive pain when your gunning not to be able to keep tabs on whos closest to your bomber ^^. Is thier mabye a hack or work around for this? Thanks /tongue.gif" style="vertical-align:middle" emoid=":P" border="0" alt="tongue.gif" />
Anguirel
Posts: 407
Joined: Tue Mar 09, 2004 8:00 am
Location: El Pueblo de Nuestra Señora la Reina de los Ángeles del Río de Porciúncula

Post by Anguirel »

AdmiralKirk wrote:QUOTE (AdmiralKirk @ Feb 14 2007, 08:26 AM) I noticed the same problem, I was just about to post in Helpline about this actualy because I thought it was something I was doing wrong. I bound "Target Enemy Nearest" to a joystick button, figuring that when im turreting in the middle of 20 defenders, I could just mash that button and always have the nearest enemy targeted... But apperently it does some kind of wierd cycling. Like, if thier were two enemys in a sector, one at 1500m and one at 2500m, and i hit the Nearest enemy button, id get the one at 1500, great.. But if i hit it again, itll switch to the one at 2500m. Its a massive pain when your gunning not to be able to keep tabs on whos closest to your bomber ^^. Is thier mabye a hack or work around for this? Thanks /tongue.gif" style="vertical-align:middle" emoid=":P" border="0" alt="tongue.gif" />
The workaround is to use "Target Nothing". Allegiance won't allow you to target nothing if there's an enemy in sector somewhere. Target Nothing will do as it says, (for a split second) and then target the closest enemy every time. At some point we'll probably fix these so there is an actual "Target Nothing" as well as a non-cycling "Target Nearest".
Image
"I disapprove of what you say, but I will defend to the death your right to say it" - Beatrice Hall, The Friends of Voltaire
AdmiralKirk
Posts: 14
Joined: Mon Feb 12, 2007 10:52 pm

Post by AdmiralKirk »

Ahh sweet! Thanks /mrgreen.gif" style="vertical-align:middle" emoid=":D" border="0" alt="mrgreen.gif" /> btw, I took a peak at the FindTarget function, and with 320 lines of code for a single function, ya... Good luck /tongue.gif" style="vertical-align:middle" emoid=":P" border="0" alt="tongue.gif" />
BlackViper
Posts: 6993
Joined: Thu Aug 07, 2003 7:00 am
Location: Green Bay, WI

Post by BlackViper »

Or use the Z key to target your self for a moment.
Always in the Shadows...
Post Reply