67245b1c7904a

Post Reply

Your name:
Subject:
Message Icon:

Verification:
This box must be left blank:

In which year was System Shock 2 released:

Shortcuts: Alt+s to submit/post; Alt+p to preview


Topic Summary

Posted by: wolfy
« on: 29. October 2024, 19:24:26 »

vladdrak
I wanted both features too.
I modified file gamesys.dml.
I changed the number

ObjProp "compass HUD" "Scripts" {
   "Script 0" "zbFlashlight"
}

to

ObjProp "compass HUD" "Scripts" {
   "Script 1" "zbFlashlight"
}

And it works. :)
Posted by: ReconUnit
« on: 07. June 2023, 07:04:10 »

Might give this one a shot, been getting back into SS2 starting with some basic patches and graphical updates, including using Reshade to amp up the lighting in environments, problem is that it makes some areas a bit too dark, so this is a perfect solution.
Posted by: cowsha
« on: 31. July 2022, 10:53:23 »

>ShockGame.AddSpeedControl
Thanks for this line, actually like having it.
Can it possibly have requiement to recharge flashlight? Scaling of light ammount tied to energy left or something like that.
Thanks for mod, i love it.
Posted by: vladdrak
« on: 27. September 2021, 16:18:26 »

ZylonBaneat the end it seemed that i could actually get the desired yellowish color through some trial and error (apparently save - reload), plus i couldn't trust my perception skills enough to think that i might be the only one picking this issue up, so yeah. besides, i was so happy with the mod as it is, i slapped myself after reporting, tho im glad it's even better now. thx, zb!
Posted by: ZylonBane
« on: 25. September 2021, 19:33:24 »

There was indeed an issue with light color only updating after a save and reload (the original reporting comment which vlad has weirdly decided to remove from his post).

So I've done a minor rewrite, fixed all the edge cases (I hope), and reduced the number of times it hits the script database every frame. This should improve the CPU impact, though my system is fast enough that I can't tell any difference. Also consolidated all the light parameters at the top of the script for easier tweaking.
Posted by: JML
« on: 24. September 2021, 16:58:31 »

vladdrakDoubtful, considering you are running around in an alien infested spaceship. (joke)
Posted by: vladdrak
« on: 22. September 2021, 16:48:02 »

i activated the mod after i turned on compass, so for the time being i'm enjoying both worlds, but will i be safe on the long run?
Posted by: Alexander
« on: 13. February 2021, 13:46:13 »

if it slows down (there are friezes) on weak laptops, pc,  with the flashlight turned on, change the fps from 60 to 30  (but this problem is individual)
...noticed this information. (sorry, you can delete the post).

changed internal settings so that there was no too white  effect. (also individually)
const maxDist = 60.0;
const minRadius = 2.0;
const maxRadius = 40.0;
const maxLight = 100.0;


maxLight - the most important setting (brightness)
Posted by: ZylonBane
« on: 20. September 2020, 04:39:08 »

That would be slightly nontrivial since it currently just uses the default white dynamic light for the beam and player glow.

Okay, updated to allow customizing the color.
Posted by: Silversharp
« on: 19. September 2020, 21:39:00 »

Oh sweet Lord, I've been waiting for this for years! :O
One question though; how can I make the light color a little yellowish?
Posted by: ZylonBane
« on: 27. April 2020, 17:30:07 »

Of course.

Making it an implant would be a pain in the ass for players though. Vanilla implants are for passive, always-on augmentations, not abilities you might just use occasionally.
Posted by: unn_atropos
« on: 27. April 2020, 16:10:27 »

Very nice!
This could result in some new maps or FM.
Would it be posssible to have it as an implant? Upgradeable implant? Different colours?
[look at me asterix!.jpg expired]
Posted by: JML
« on: 27. April 2020, 11:46:41 »

Looks great! Well done!
Posted by: voodoo47
« on: 27. April 2020, 11:30:58 »

this supersedes the beta, I'd assume?
Posted by: ZylonBane
« on: 26. April 2020, 23:48:25 »

System Shock 2 Flashlight Augmentation v1.2
25 Sep 2021
by ZylonBane

Requires SS2 NewDark patch v2.48 or higher.
Should be compatible with all fan missions/campaigns.

TECHNICAL SPECIFICATIONS
  • Grey-market nanotech augmentation deposits bioluminescent cells within the retina to provide coherent illumination of the user's field of view.
  • Replaces compass module in standard cyber implant architecture. Use compass keybind to toggle activation state.
  • Light generation drains muscular glycogen stores, reducing movement speed by 20% while active.

CUSTOMIZATION
There are four config variables in this script:
  • UPDATE_FPS sets the rate at which the flashlight updates. Default is 60. Change to 30 if you experience slowdown while the flashlight is active.
  • SIM_INERTIA enables a small amount of inertia on the beam to make it feel more like a part of your body and less like an effect bolted to the game camera. Set false to disable.
  • LIGHT_HUE sets the light color. Default is 0.
  • LIGHT_SAT sets the light saturation. Default 0.

When using this mod, it is recommended to bind the "Compass HUD" command to something easier to press than the default Alt+C bind.

https://www.youtube.com/watch?v=dXvggHEi0DI
Contact SMF 2.0.19 | SMF © 2016, Simple Machines | Terms and Policies
FEEP
67245b1c7a43e