687c3fff26354

687c3fff2edcb
1 Guest is here.
 

Topic: SS2 light gem Read 941 times  

687c3fff31098ZylonBane

687c3fff3111f
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 »

687c3fff31376Nameless Voice

687c3fff313cb
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:

Name the AI in System Shock 2 that shares its name with a Persian king:
1 Guest is here.
…Yeah, it does all seem horribly cynical and manipulative, doesn’t it?
Contact SMF 2.0.19 | SMF © 2016, Simple Machines | Terms and Policies
FEEP
687c3fff34472