What makes a hostile, hostile?
Moderators: winston, another_commander
What makes a hostile, hostile?
I sometimes wonder while I'm out hunting...when I ID someone, would that make me show up red on their scanner?
Similarly, what actions do AI ships have to take to show up red on mine?
Similarly, what actions do AI ships have to take to show up red on mine?
- Killer Wolf
- ---- E L I T E ----
- Posts: 2279
- Joined: Tue Jan 02, 2007 12:38 pm
- Cody
- Sharp Shooter Spam Assassin
- Posts: 16081
- Joined: Sat Jul 04, 2009 9:31 pm
- Location: The Lizard's Claw
- Contact:
In immersion mode again, I imagine a difference between using the ident system to IFF a ship, and locking-on with a missile, which is an act of aggression. How it actually works in the game engine is a mystery to me.
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
And any survivors, their debts I will certainly pay. There's always a way!
- Cmdr James
- Commodore
- Posts: 1357
- Joined: Tue Jun 05, 2007 10:43 pm
- Location: Berlin
-
- Quite Grand Sub-Admiral
- Posts: 6683
- Joined: Wed Feb 28, 2007 7:54 am
This is one of the differences between player and NPCs. The NPCs realize the hostility of the player only the moment they have taken laser damage or a missile or mine launched at them. The player gets earlier warning of the intentions of other ships, as they turn red on the scanner before actually engaging in hostilities.
As for when an NPC turns red, that is pretty simple: An NPC is hostile when it exhibits any of the following behaviors:
BEHAVIOUR_ATTACK_TARGET
BEHAVIOUR_ATTACK_FLY_TO_TARGET
BEHAVIOUR_ATTACK_FLY_FROM_TARGET
BEHAVIOUR_RUNNING_DEFENSE
BEHAVIOUR_FLEE_TARGET
BEHAVIOUR_ATTACK_FLY_TO_TARGET_SIX
BEHAVIOUR_ATTACK_FLY_TO_TARGET_TWELVE
As for when an NPC turns red, that is pretty simple: An NPC is hostile when it exhibits any of the following behaviors:
BEHAVIOUR_ATTACK_TARGET
BEHAVIOUR_ATTACK_FLY_TO_TARGET
BEHAVIOUR_ATTACK_FLY_FROM_TARGET
BEHAVIOUR_RUNNING_DEFENSE
BEHAVIOUR_FLEE_TARGET
BEHAVIOUR_ATTACK_FLY_TO_TARGET_SIX
BEHAVIOUR_ATTACK_FLY_TO_TARGET_TWELVE
- Smivs
- Retired Assassin
- Posts: 8408
- Joined: Tue Feb 09, 2010 11:31 am
- Location: Lost in space
- Contact:
Strictly, you don't turn red as the NPC doesn't (strictly) have a scanner. It's a computer program and as such doesn't have eyes.
But that's boring, so let's assume it's a real entity with a scanner and you go red on it's scanner when you decide to attack it. It knows this because it's telepathic. Ah but that means it's the scanner that's telepathic. Some sort of radar/brain cyborg mutant thing. Man, this game's good!
But that's boring, so let's assume it's a real entity with a scanner and you go red on it's scanner when you decide to attack it. It knows this because it's telepathic. Ah but that means it's the scanner that's telepathic. Some sort of radar/brain cyborg mutant thing. Man, this game's good!
Commander Smivs, the friendliest Gourd this side of Riedquat.
- Killer Wolf
- ---- E L I T E ----
- Posts: 2279
- Joined: Tue Jan 02, 2007 12:38 pm
In my mind (such as it is, lol), when you "R" Ident a ship, you're doing nothing scanning/reading the ship's ID beacon. To all intents and purposes you'd never know someone was doing this to you, they'd never know you were doing it to them, and why should it matter, it's a harmless action.
If you're ship's sensors register a radar lock tho, that's hostil action and that's when someone turns red. i imagine the guy's locked my up to track my ship and be ready to launch a missle when he chooses.
(or SHE chooses, let's not be sexist.)
If you're ship's sensors register a radar lock tho, that's hostil action and that's when someone turns red. i imagine the guy's locked my up to track my ship and be ready to launch a missle when he chooses.
(or SHE chooses, let's not be sexist.)
- Darkbee
- ---- E L I T E ----
- Posts: 335
- Joined: Mon Aug 09, 2004 8:40 pm
- Location: Space... man!
- Contact:
That's how I had it pegged in my mind. *dust self down* *pat self on back* *job well done*. Of course, it falls down because some ships don't have missiles.. but but .. maybe they have lock they just don't have the pylons to fire anything.Killer Wolf wrote:In my mind (such as it is, lol), when you "R" Ident a ship, you're doing nothing scanning/reading the ship's ID beacon. To all intents and purposes you'd never know someone was doing this to you, they'd never know you were doing it to them, and why should it matter, it's a harmless action.
If you're ship's sensors register a radar lock tho, that's hostil action and that's when someone turns red. i imagine the guy's locked my up to track my ship and be ready to launch a missle when he chooses.
(or SHE chooses, let's not be sexist.)
So...
<immersion mode>
I consider myself a good citizen in my ooniverse. I try to keep a clean legal rating. I certainly don't want to be flying around terrorizing other pilots just because I want to know who they are.
</immersion mode>
Strictly speaking then, an AI ship shouldn't show up hostile until they score a hit on me, but even then I'd still consider 'warning' shots to be a hostile act and punishable by death.
This opens up some possibilities - I wonder if the AI could recognise a warning shot from the player and dump cargo in response (or turn and dispence mercilless laser fire)...but then this would be more immersive if combined with a ship to ship comms system to allow any pirates to announce their theats - a "stand and deliver" message if you will.
A ship to ship comms would also need a "Oh shit I'm sorry, I didn't mean to fire on you" message, just to try and calm the waters...
I'm rambling, and I really should be getting to work...
<immersion mode>
I consider myself a good citizen in my ooniverse. I try to keep a clean legal rating. I certainly don't want to be flying around terrorizing other pilots just because I want to know who they are.
</immersion mode>
Strictly speaking then, an AI ship shouldn't show up hostile until they score a hit on me, but even then I'd still consider 'warning' shots to be a hostile act and punishable by death.
This opens up some possibilities - I wonder if the AI could recognise a warning shot from the player and dump cargo in response (or turn and dispence mercilless laser fire)...but then this would be more immersive if combined with a ship to ship comms system to allow any pirates to announce their theats - a "stand and deliver" message if you will.
A ship to ship comms would also need a "Oh shit I'm sorry, I didn't mean to fire on you" message, just to try and calm the waters...
I'm rambling, and I really should be getting to work...
- Cody
- Sharp Shooter Spam Assassin
- Posts: 16081
- Joined: Sat Jul 04, 2009 9:31 pm
- Location: The Lizard's Claw
- Contact:
Dennis Moore.Bugbear1973 wrote:but then this would be more immersive if combined with a ship to ship comms system to allow any pirates to announce their theats - a "stand and deliver" message if you will.
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
And any survivors, their debts I will certainly pay. There's always a way!
- maik
- Wiki Wizard
- Posts: 2028
- Joined: Wed Mar 10, 2010 12:30 pm
- Location: Ljubljana, Slovenia (mainly industrial, feudal, TL12)
This is how Hacker Vipers from the Anarchies OXP react: At first they aggress you, and once they start taking hits they plead for mercy and offer to give up the position of their home base. Admittedly, the comms system only works one-way with those. But it shows there is merit to the idea.Bugbear1973 wrote:This opens up some possibilities - I wonder if the AI could recognise a warning shot from the player and dump cargo in response (or turn and dispence mercilless laser fire)...but then this would be more immersive if combined with a ship to ship comms system to allow any pirates to announce their theats - a "stand and deliver" message if you will.
- Commander McLane
- ---- E L I T E ----
- Posts: 9520
- Joined: Thu Dec 14, 2006 9:08 am
- Location: a Hacker Outpost in a moderately remote area
- Contact:
There is an element of this in the game mechanics.Bugbear1973 wrote:Strictly speaking then, an AI ship shouldn't show up hostile until they score a hit on me, but even then I'd still consider 'warning' shots to be a hostile act and punishable by death.
While you can identify a ship as hostile even before it has fired a shot, police ships or hunters in the vicinity will only detect an attack and come to your help once a shot has hit you. Note: it is not enough that your opponent fired at you and missed, but he has to actually hit you.