684c5e8043f04

684c5e8047b5c
1 Guest is here.
 

Topic: SS2 light gem Read 748 times  

684c5e8048213ZylonBane

684c5e8048292
I'm trying to get the (undocumented) NVVisibilityGem script to work, but I'm not having much luck figuring out how exactly it's supposed to be set up. I've copied over all the light gem models and textures from Thief. I've placed the script on the player object, which seems to do something... it says "  equipped" at the top of the screen... but no light gem appears.

Looking at the source, it seems like all the script needs is to be on an object at the moment of creation, then it should take care of everything else itself.

If this can be made to work, it might be a fun project to reskin it to fit in with the SS2 UI.

EDIT: Okay so it is actually spawning the light gem, but it's positioned facing away from the player. WTF?

EDIT2: Have managed to manually dink around with the camera attach settings, and there appears to be no combination of settings that will force a camera-attached object to just face the camera. So I have no idea how NV did it.
« Last Edit: 06. February 2025, 01:18:39 by ZylonBane »

684c5e80484c3Nameless Voice

684c5e8048518
Sounds like you've already seen the source, but it's here for future reference:
https://github.com/NamelessVoice/NVScript/blob/master/NVScript/NVScript-ThiefShock.cpp

It should "just work" if you slap in on the player archetype, so long as you have the relevant UI files.

I don't think these are the actual original Thief UI files. They're modified in 2007 so are probably something custom.
Attached.

SS2's camera attachment system is also a bit buggy (hence why the gem wobbled around in the video I made back then); these days it would be better to create a custom overlay using NewDark functionality.
« Last Edit: 06. February 2025, 13:58:22 by Nameless Voice »
Acknowledged by: ZylonBane

Your name:
This box must be left blank:

A familiar door code with 3 digits:
1 Guest is here.
You could only know I am everywhere if YOU are everywhere.. you getting a paycheck? No?
Contact SMF 2.0.19 | SMF © 2016, Simple Machines | Terms and Policies
FEEP
684c5e80497bf