ProjectsWhat's NewDownloadsCommunitySupportCompany
Forum Index » S.T.A.L.K.E.R.: Clear Sky Forum » Mod discussion
For those who hate night vision NPC's

1 2 3 | Next 10 events »| All Messages
Posted by/on
Question/AnswerMake Newest Up Sort by Descending
  02:25:29  16 September 2008
profilee-mailreply Message URLTo the Top
Natace
Independant games developer.
(Resident)

 

 
On forum: 02/13/2005
Messages: 618
For those who hate night vision NPC's

Ok, since alot of the non modder people complain about the NPC's being able to see you in the night super easy, or being able to see you through bushes as if the bushes weren't there, or simply hearing you whenever you try to sneak up to them, I have some fairly simple value change fixes for you all to use, however I will not post an ltx file as I would much rather people learn how to do these things so that they don't lose the files later and wonder where to find the links to the downloads again.
(excuse the wall of text)

Firstly, you need to have your gamedata files extracted, I won't cover how to do this since I have covered it in another thread somewhere on the boards. You can find the gamedata extractor on the russian website of stalker inside (google it)

If you're just editing other stalkers, bandits etc you can edit the m_stalker.ltx file found at:
gamedata/config/creatures/m_stalker.ltx

Ok, so in order to change the values of enemy stalkers being able to see you at night time super easy or in dark places. Open up the m_stalker.ltx file, press ctrl+F and type "luminocity_factor".

There are 2 of these values, one is for an NPC who is not alert and the other is for when an NPC is alert. All you need to do is change these values to something like ".85" or higher/lower if you want.
I have it at .85 for the time being since I am still testing what is a good setting to have, but I was happy with .85 since I found that having too high a value makes the NPC's not see you even if you're right infront of them when they have a torch on

In order to fix up NPC's being able to see you through things like reeds and bushes like the reeds and bushes weren't there, you need to change the setting which says:
"transparency_threshold"
I haven't played around too much, but I believe that since this is a threshold setting, this judges how long it takes before NPC's will spot you whilst you're hidden in a bush. I'm not 100% sure, but it could be the case since I've had NPC's standing there staring at me while I have higher settings and then suddenly they will shoot at me even if I haven't moved.
Play around with that settings until you've found a nice comprimise between realism and annoyance, lol.

For those who wish that they could sneak up on NPC's easily, you can find the setting for sound detection in the "stalker_sound_perceive" section of code.
The one you'll want to look at is the NPC line.
You will notice that it has 3 values, the middle one being the player I believe. (I haven't edited this things since the original stalker came out).
If you lower the setting too low, then you are able to run around right behind an enemy and he will not notice you, which is not fun at all, so play around with the setting until you find the one best suited to your tastes.
Currently the middle value is set as .25, but I think that may not be enough, I just had that number in my head from way back with SoC when I fiddled with the values before.
You could try something like .10
And if it's not the middle value, try the first or 3rd value.


I know that was a bunch to read, but I'd rather do that than to just post a download for all of you, because the settings that I enjoy, may differ from what you enjoy. This way you can tweak the settings to what YOU want, and also, you won't have to look for the download at a later date if you lose the file from a patch or something.

Now you can enjoy your nighttimes in STALKER.

It's very nice to fight in a small abandoned area with a bunch of enemies, you fire one shot at someone, then bugger off to the other side of the village and you can see NPC's shooting in your last direction, flanking it and basically trying to find out where the hell you are, oh it's great
  04:02:39  16 September 2008
profilee-mailreply Message URLTo the Top
woffen
(Novice)
 
On forum: 09/15/2008
Messages: 4
Thanks man, will try this out.

Might be very useful when you have to get past the military when you first arrive in cordon.
  07:02:24  16 September 2008
profilee-mailreply Message URLTo the Top
Pliskin
(Novice)
 
On forum: 10/10/2007
Messages: 9
Seriously, Natace, could you be any more vague?
  07:30:29  16 September 2008
profilee-mailreply Message URLTo the Top
Demoche
(Senior)
 
On forum: 03/24/2007
Messages: 101
yes, he could.
  07:40:58  16 September 2008
profilee-mailreply Message URLTo the Top
The Vandal
Senior Resident
 

 
On forum: 01/11/2008
Messages: 583
Cool. Could this somehow be grafted into other settings to make the smoke grenades usable in single player? That would be cool.
  08:39:55  16 September 2008
profilee-mailreply Message URLTo the Top
Pliskin
(Novice)
 
On forum: 10/10/2007
Messages: 9
Try this:

In:
"m_stalker.ltx"

find:
[stalker_vision_free]

edit the following:

visibility_threshold = 125.0
always_visible_distance =0.0025
time_quant =0.010
luminosity_factor =1.666
transparency_threshold =0.666

find:
[stalker_vision_danger]

edit the following:

visibility_threshold =100.0
always_visible_distance =0.1
time_quant =0.002
decrease_value =0.02
luminocity_factor =1.0
transparency_threshold =0.333

find:
[stalker_sound_perceive]

edit the following:

weapon =1.666; 0.75; 10
npc =0.4; 1; 2
anomaly =0.5
  10:09:35  16 September 2008
profilee-mailreply Message URLTo the Top
Natace
Independant games developer.
(Resident)

 

 
On forum: 02/13/2005
Messages: 618

---QUOTATION---
Try this:

In:
"m_stalker.ltx"

find:
[stalker_vision_free]

edit the following:

visibility_threshold = 125.0
always_visible_distance =0.0025
time_quant =0.010
luminosity_factor =1.666
transparency_threshold =0.666

find:
[stalker_vision_danger]

edit the following:

visibility_threshold =100.0
always_visible_distance =0.1
time_quant =0.002
decrease_value =0.02
luminocity_factor =1.0
transparency_threshold =0.333

find:
[stalker_sound_perceive]

edit the following:

weapon =1.666; 0.75; 10
npc =0.4; 1; 2
anomaly =0.5
---END QUOTATION---



Wonderful, now how bout you do that and tell people what all of that does as well

Next time don't be such an arse when someone is trying to help people out, you could have simply asked me to shorten what I wrote.
Now i'm not going to bother.
  11:48:03  16 September 2008
profilee-mailreply Message URLTo the Top
woffen
(Novice)
 
On forum: 09/15/2008
Messages: 4
It wasnt so vague if you know how to read properly. But I agree, having a combination of the explanation and the code itself would have been better
  18:16:39  18 September 2008
profilee-mailreply Message URLTo the Top
danosuke
(Novice)
 
On forum: 09/16/2008
Messages: 1
Great write up man. Thank you. I'm gonna tweak it until it feels like splinter cell. heheh.
  19:49:01  18 September 2008
profilee-mailreply Message URLTo the Top
Decane
Senior Resident
 

 
On forum: 04/04/2007
Messages: 1307
I wish Mr.Klorox or someone would come here and elaborate on what all of the detection settings do. I was going to start modding them after finishing AWB, but I'm afraid it'll be a lot of work to test all of them individually. It'd be nice to not have to re-invent the wheel...
 
Each word should be at least 3 characters long.
Search:    
Search conditions:    - spaces as AND    - spaces as OR   
 
Forum Index » S.T.A.L.K.E.R.: Clear Sky Forum » Mod discussion
 

All short dates are in Month-Day-Year format.


 

Copyright © 1995-2007 GSC Game World. All rights reserved.
This site is best viewed in Internet Explorer 4.xx and up and Javascript enabled. Webmaster.
Opera Software products are not supported.
If any problem concerning the site functioning under Opera Software appears apply
to Opera Software technical support service.