Added, Updated and Removed Mods
Added: - HUD Offsets Editor - NPC Wounded Redone Updated: - Stealth Overhaul - Redone Pripyat + Jupiter - Redone Limansk and Hospital - Outfit Animations - Modded Executables Removed: - Arrival
This commit is contained in:
@@ -28,14 +28,15 @@ function actor_on_update()
|
||||
end
|
||||
|
||||
local npc = level.object_by_id(npc_id)
|
||||
local npc_is_stalker = npc and IsStalker(npc)
|
||||
-- play or move if stealth mcm, npc exist and night
|
||||
if stealth_mcm.get_config("nvg_val") > 0 and npc and is_night then
|
||||
if stealth_mcm.get_config("nvg_val") > 0 and npc_is_stalker and is_night then
|
||||
play_or_move_particles(npc, particles_t[npc_id])
|
||||
-- stop playing if not stealth mcm or not night
|
||||
elseif (stealth_mcm.get_config("nvg_val") <= 0 or (not is_night)) then
|
||||
stop_if_playing(particles_t[npc_id])
|
||||
-- stop playing if not npc and remove key
|
||||
elseif (not npc) then
|
||||
elseif (not npc_is_stalker) then
|
||||
stop_if_playing(particles_t[npc_id])
|
||||
stealth_nvg_ps[npc_id] = nil
|
||||
particles_t[npc_id] = nil
|
||||
@@ -47,7 +48,8 @@ end
|
||||
|
||||
function play_or_move_particles(npc, particle_obj)
|
||||
local eye_bone_pos = vector():set(npc:bone_position("eyelid_1"))
|
||||
local eye_pos = eye_bone_pos:add(npc:direction():mul(0.1))
|
||||
local npc_dir = vector():set(npc:direction())
|
||||
local eye_pos = eye_bone_pos:add(npc_dir:mul(0.1))
|
||||
eye_pos = vector():set(eye_pos.x, eye_pos.y + 0.05, eye_pos.z)
|
||||
-- play particle
|
||||
if not (particle_obj:playing()) then
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
[General]
|
||||
gameName=stalkeranomaly
|
||||
modid=0
|
||||
version=d2024.2.27.0
|
||||
version=d2024.4.5.0
|
||||
newestVersion=
|
||||
category="10,"
|
||||
nexusFileStatus=1
|
||||
installationFile=Stealth_2.3.zip
|
||||
installationFile=Stealth_2.31.zip
|
||||
repository=Nexus
|
||||
ignoredVersion=
|
||||
comments=
|
||||
@@ -22,10 +22,11 @@ validated=false
|
||||
color=@Variant(\0\0\0\x43\0\xff\xff\0\0\0\0\0\0\0\0)
|
||||
tracked=0
|
||||
|
||||
[Plugins]
|
||||
BAIN%20Installer\option0=(Patch) Death Animations
|
||||
BAIN%20Installer\option1=Stealth_2.31
|
||||
|
||||
[installedFiles]
|
||||
1\modid=0
|
||||
size=1
|
||||
1\fileid=0
|
||||
|
||||
[Plugins]
|
||||
BAIN%20Installer\option0=Stealth_2.3
|
||||
|
||||
Reference in New Issue
Block a user