Home » MODDING HQ 1.13 » v1.13 Features How-Tos & Discussions » Adjusting enemy vision
Adjusting enemy vision[message #365857] Tue, 16 January 2024 17:11 Go to next message
Riiccia is currently offline Riiccia

 
Messages:41
Registered:December 2009
Location: Finland
How do I adjust the enemy vision settings? It seems like after getting your first sniper rifle, it is enough just to sit and wait for the enemy to run towards you on outdoor maps.

Report message to a moderator

Corporal
Re: Adjusting enemy vision[message #365873 is a reply to message #365857] Wed, 31 January 2024 15:22 Go to previous messageGo to next message
Asdow is currently offline Asdow

 
Messages:122
Registered:August 2010
in ja2_options.ini

[Tactical Vision Settings]

;******************************************************************************************************************************
; These settings change the sight distance of all characters in the game.
;******************************************************************************************************************************

;------------------------------------------------------------------------------------------------------------------------------
; Base sight range for every person in the game. This value is automatically multiplied by 2!
; JA2 Default is 13.
; Range: 0-255
;------------------------------------------------------------------------------------------------------------------------------

BASE_SIGHT_RANGE = 14

Report message to a moderator

Sergeant
Re: Adjusting enemy vision[message #365874 is a reply to message #365873] Wed, 31 January 2024 19:41 Go to previous messageGo to next message
Riiccia is currently offline Riiccia

 
Messages:41
Registered:December 2009
Location: Finland
I know, but for enemies only. Essentially I want to make them see further away, so they don't just run around while getting shot at.

Report message to a moderator

Corporal
Re: Adjusting enemy vision[message #365877 is a reply to message #365874] Thu, 01 February 2024 22:21 Go to previous message
Asdow is currently offline Asdow

 
Messages:122
Registered:August 2010
You'd need to modify the source code for that I think. The vision routines are the same for player controlled mercs and enemies/npcs

Report message to a moderator

Sergeant
Previous Topic: Facilities in training/student
Goto Forum:
  


Current Time: Mon Mar 04 05:59:41 GMT+2 2024

Total time taken to generate the page: 0.00967 seconds