665c6e5f9364a

665c6e5f94383
1 Guest is here.
 

Topic: SS2 Laser Rapier illuminate surroundings? Read 1225 times  

665c6e5f94926NeilHoward17

665c6e5f9498d
Am I misremembering? I could have sworn there was a mod that allowed for the Laser sword to illuminate nearby level geometry.

I have installed:

SHTUP-ND_beta1
Four Hundred v20u
SCP_Beta4

All are active, and I've gone through cam_ext to try and find the setting.

Did this feature ever get modded in?

665c6e5f94cc1voodoo47

665c6e5f94d0b
trivial to dml add anywhere, in fact, I think I've already dropped the code somewhere around here.

Code: [Select]
// Renderer->LightColor
+ObjProp "Electro Shock" "LightColor"
{
"hue" 0.66
"saturation" 0.80
}
// Renderer->Dynamic Light
+ObjProp "Electro Shock" "SelfLit"
{
"" 150
}
ObjProp "Electro Shock" "Scripts"
{
"Script 0" NVRemovePropertyTrap
}
+ObjProp "Electro Shock" "ObjList"
{
"" NVRemovePropertyTrapOn="BeginScript"; NVRemovePropertyTrapProp="SelfLit"; NVRemovePropertyTrapReAdd=1; NVRemovePropertyTrapCount=1;
}
add to gamesys.dml or shock2.gam.dml, SS2tool patched install required.
« Last Edit: 13. August 2021, 08:17:34 by voodoo47 »

665c6e5f94db3NeilHoward17

665c6e5f94dfd
I added the code verbatim into gamesys.dml but right at the bottom, I tested the rapier in a dark spot, no result. Is there somewhere specific in the file it should go?

665c6e5f94e96voodoo47

665c6e5f94edf
no, but already existing concretes need to be fixed as well, as it turns out. updated the code.

665c6e5f94f6eNeilHoward17

665c6e5f94fb9
updated code worked immediately, thank you very much, Voodoo. :)
Acknowledged by: voodoo47

665c6e5f950d6ZylonBane

665c6e5f951de
So is this guy trying to add glowing laser rapiers to SCP... which already has glowing laser rapiers?

665c6e5f952c0voodoo47

665c6e5f9530e
nope, I assume he is running vanilla (or some obscure gamesys/map mod), and just wants the rapiers to glow, nothing else. people sometimes want to add such tiny bits to their mod loadout.

665c6e5f95398ZylonBane

665c6e5f953e2
But in the first post he says he has SCP installed.

665c6e5f95483voodoo47

665c6e5f954cc
oh, he does. missed that somehow. so yeah, that's weird - maybe beta4 is missing the self illum prop on one of the concretes? I better check.

665c6e5f95574ZylonBane

665c6e5f955bc
There are concrete laser rapiers in command2 (2179), eng1 (862), hydro2 (1011), hydro3 (102), and ops4 (354). They all have dynamic lighting added.

The hydro3 rapier also has several redundant inherited properties added for some reason.

665c6e5f95640voodoo47

665c6e5f95688
well, maybe he can tell us what's up.

665c6e5f95728NeilHoward17

665c6e5f95781
To test the effect, I did use console commands to give myself the rapier, so I never picked up the rapiers Zylon listed above.
« Last Edit: 14. August 2021, 09:23:16 by NeilHoward17 »

665c6e5f9581fZylonBane

665c6e5f95867
Summoned laser rapiers in SCP also glow. There is no sane reason why you wouldn't have been seeing a glow. DML patches should not be required.

665c6e5f95946NeilHoward17

665c6e5f9598f
I don't know what to tell you, I did the same thing I always do, install ss2tool from here, then scp, shtup-nd, Four Hundred v20u, made sure they were active, and then go, I remembered it because I use the rapier as a make-shift torch like the Dragon's Tooth Sword in Deus Ex.

Adding that line of code Voodoo put up resolved the issue. Everything else seems to be absolutely fine, SCP is definitely running, it's confirmed the moment you get of the tram.

665c6e5f95a2avoodoo47

665c6e5f95a72
so basically, you are telling us that SCP beta4 rapiers do not glow. pics? you will have to deactivate the code and load a save made before activating the code.

665c6e5f95b27NeilHoward17

665c6e5f95b70
I think I got you guys up for a transient error, my apologies, I just removed the code from gamesys, went into the game, summoned the rapier, and the thing fell to the ground and glowed. I have absolutely no idea why that didn't work first time.

665c6e5f95bfbvoodoo47

665c6e5f95c43
well, it's not like the code will make the rapiers glow twice.

665c6e5f95d37NeilHoward17

665c6e5f95d85
I just redid the whole set up like I did before on a fresh reinstall, rapiers are glowing like intended. I'm not sure, I'm running the steam release of SS2, no cloud sync happened as far as I can tell, no conflict warnings from SS2tool. So I think SCP Beta4 is absolutely fine. The caustics of walls near water, level dressing changes, all worked, just for some reason the rapier didn't on the first new game.
1 Guest is here.
the quantum information stored in its buffer, naturally decays into background noise
Contact SMF 2.0.19 | SMF © 2016, Simple Machines | Terms and Policies
FEEP
665c6e5f96ad3