Closed Ben10164 closed 2 years ago
Hi, thanks for opening this issue. For reference all of the dynamic lights in game are defined in our lights.json file. This COX brazier could serve as a good starting point if you want to give adding these lights a try. All of the fields in between the {}
braces are what define the properties for a light. So if you duplicate that entry you can change the IDs field and have something that immediately works but will need some tweaking.
It's fine if you would rather not do it of course. I just thought you might appreciate a little information :smile:
Hi, thanks for opening this issue. For reference all of the dynamic lights in game are defined in our lights.json file. This COX brazier could serve as a good starting point if you want to give adding these lights a try. All of the fields in between the
{}
braces are what define the properties for a light. So if you duplicate that entry you can change the IDs field and have something that immediately works but will need some tweaking.It's fine if you would rather not do it of course. I just thought you might appreciate a little information 😄
Perfect! Thank you so much! I'll get started on it and open up a pull-req when I think it is ready :)
This should be closed now :)
Describe the solution you'd like For both aesthetic and continuity purposes, I think it would be nice for the Burning Braziers in Wintertodt to have a light source emitting from it.
Currently the Doors of Dihn have the requested light hue: Whereas the Burning Braziers do not: Note: The green part of the Brazier is part of the objects color, not any sign of a light source
Describe alternatives you've considered I tried making my own changes to the source code, but couldn't figure out how to implement the changes I made in ObjectProperties.java
Example of Syntax
https://github.com/RS117/RLHD/blob/79196ad302a3321b2bdc7b171cb704a0783071c3/src/main/java/rs117/hd/model/objects/ObjectProperties.java#L137-L138 My botched code:
Additional context According to the Wiki, the IDs are
29314, 31926
for Burning Brazier See id3 in the Source for the WikiAlso, I feel like this might be a relatively quick addition since I believe all the methods are already made, but if not I would love to help/do it if someone where to give me some insight on how lighting is handled with specific object IDs!