Jump to content

Sentry 2 NPC Aim


Recommended Posts

Posted

Why does this thing have such bad aim? I have it wandering around a waypoint system and it follows me and attacks me, but, it can barely hit me. In the Doomgiver level these things were much more dangerous. 

 

 

 

 

Posted

Why does this thing have such bad aim? I have it wandering around a waypoint system and it follows me and attacks me, but, it can barely hit me. In the Doomgiver level these things were much more dangerous. 

How is sentry Npc  file Aim value? try to set to 5

Posted
//Generated by BehavEd

set ( /*@SET_TYPES*/ "SET_BEHAVIOR_STATE", /*@BSTATE_STRINGS*/ "BS_DEFAULT" );
set ( /*@SET_TYPES*/ "SET_LOOK_FOR_ENEMIES", /*@BOOL_TYPES*/ "true" );
set ( /*@SET_TYPES*/ "SET_EARSHOT", 1024.000 );
set ( /*@SET_TYPES*/ "SET_VIGILANCE", 1.000 );
set ( /*@SET_TYPES*/ "SET_VISRANGE", 1024.000 );
set ( /*@SET_TYPES*/ "SET_ANGERSCRIPT", "brew/droidattack" );


flush (  );
set ( /*@SET_TYPES*/ "SET_BEHAVIOR_STATE", /*@BSTATE_STRINGS*/ "BS_DEFAULT" );
set ( /*@SET_TYPES*/ "SET_VIGILANCE", 1.000 );
set ( /*@SET_TYPES*/ "SET_AIM", 5 );
set ( /*@SET_TYPES*/ "SET_CHASE_ENEMIES", /*@BOOL_TYPES*/ "true" );

Here are the two scripts I have for this. I have a waypoint system going around some grouping of cargo containers. The droid will follow me. If I hide, it will travel the waypoints and then shoot when it finds me. There is just really poor aim with this thing in general. My AIM field is set to 5. This makes a huge difference with NPC's like Stormtroopers but this thing doesn't seem to get any better.

 

I did add in two droids and its a bit better but I can stand in front of both of them and they still miss most of the time.

Posted
//Generated by BehavEd

set ( /*@SET_TYPES*/ "SET_BEHAVIOR_STATE", /*@BSTATE_STRINGS*/ "BS_DEFAULT" );
set ( /*@SET_TYPES*/ "SET_LOOK_FOR_ENEMIES", /*@BOOL_TYPES*/ "true" );
set ( /*@SET_TYPES*/ "SET_EARSHOT", 1024.000 );
set ( /*@SET_TYPES*/ "SET_VIGILANCE", 1.000 );
set ( /*@SET_TYPES*/ "SET_VISRANGE", 1024.000 );
set ( /*@SET_TYPES*/ "SET_ANGERSCRIPT", "brew/droidattack" );


flush (  );
set ( /*@SET_TYPES*/ "SET_BEHAVIOR_STATE", /*@BSTATE_STRINGS*/ "BS_DEFAULT" );
set ( /*@SET_TYPES*/ "SET_VIGILANCE", 1.000 );
set ( /*@SET_TYPES*/ "SET_AIM", 5 );
set ( /*@SET_TYPES*/ "SET_CHASE_ENEMIES", /*@BOOL_TYPES*/ "true" );

Here are the two scripts I have for this. I have a waypoint system going around some grouping of cargo containers. The droid will follow me. If I hide, it will travel the waypoints and then shoot when it finds me. There is just really poor aim with this thing in general. My AIM field is set to 5. This makes a huge difference with NPC's like Stormtroopers but this thing doesn't seem to get any better.

 

I did add in two droids and its a bit better but I can stand in front of both of them and they still miss most of the time.

 

Try to create a new NPC sentry with another DROID class. i suggest CLASS_ASSASSIN_DROID, so sentry can also electrucute the enemy if enemy touch it. CLASS_SENTRY, CLASS_PROBE and CLASS_REMOTE, seems to not have a good aim. try to the other droid class. Note: this can seriously affected behavour and animation of sentry droid.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...