Skip to content

Conversation

@WibleWobble
Copy link

flashbulb.mp4

Hello,

I recently had the idea to add remote flashes to the mod. With my current code, you are able to bind placed flashbulbs to a camera and when the camera flashes, they flash as well. The item is currently untextured and the code is not very clean as I wanted to get some insight as to if this feature has a place within the mod and if I should continue working on it or not.

I find that when playing in survival with this mod, there are times where I want to stage the look and feel of a shot a little more than just standing in a location and shooting, or I want a controllable light source but I am standing far away from the subject so the light does not reach very well, if it does at all.

Here is an example of what I mean:

No Flash
WibleWobble_16230

Camera Flash Only (Notice how only one side of the structure is lit, and it is not very strong)
WibleWobble_16457

Flashbulbs + Camera Flash
WibleWobble_16789

And here is the placement of the flashbulbs
WibleWobble_18787

This is definitely more of a niche and cosmetic feature than a functional one, and that is exactly why I am doing this PR; if it does not fit into the mod, its not too far along so no harm done. And if it makes the cut, it is far along enough to be easily finished.

@mortuusars
Copy link
Owner

This is a really good idea, I'll add it (or something close to it) for sure. Thanks!
I'm currently busy with other projects though, so it'll have to wait a bit.

@WibleWobble
Copy link
Author

Completely understandable. I will take some time to continue working and get to a nice and presentable state. I also just noticed a funny bug where moving a bound flashbulb to another stand causes it to flash at the old stand's location, I am not short on work :D

@mortuusars
Copy link
Owner

I haven't spent much time thinking about it, but maybe it would be better to just activate all stands in range? Then on/off toggle can be added to the stand itself (by sneak using, for example), so individual flashes can be enabled/disabled this way.

This would remove the need to track their id's and bind them to the camera.

@WibleWobble
Copy link
Author

WibleWobble commented Jun 23, 2025

This could work, But I think it would end up being the same gameplay as the ID's however, as you still need to go around clicking on cameras you do/dont want, so it kind of comes down to what code is better.

Doing a radius is definitely cleaner, I just think it could take away from a bit of the explicit intent of binding cameras because there could be some user error in forgetting to enable or disable a bulb before shooting

Edit: I also intended to have a feature at some point to put a quick highlight or marker on bound flashbulbs as a nice tip

@mortuusars
Copy link
Owner

Yeah, I envision some indicator on bulbs to show which are turned on.

@WibleWobble
Copy link
Author

Oh that could be nice, a little red light on the top or something. I am working on revamping/texturing the model right now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants