Flashlight/Vest Light Rework
- Troydav98
- Registered user
- Posts: 39
- Joined: 15 May 2015, 20:59
- Location: You will NEVER find me ... ever
- Contact:
Re: Flashlight/Vest Light Rework
I understand your first concern but the second one how would it lag the sever t make it "near unplayable"
DEAD: Drone(564): Says" And Charles's noble stand with a scaple against a Ravenger"
- Jen_Llama
- Registered user
- Posts: 111
- Joined: 31 Aug 2015, 23:28
Re: Flashlight/Vest Light Rework
Lighting in baycode it sketchy at best. It is up there with atmospherics for lag generation due to the similar way in which they are handled.
- Saidas
- Registered user
- Posts: 7
- Joined: 20 Jan 2016, 01:05
- Location: Odessa, Ukraine
- Contact:
Re: Flashlight/Vest Light Rework
Pretty nice idea in terms of immersion and gameplay balance, but terrible from the coders perspective.
Let me point this out for you: currently the code just updates highlighted area in a specific radius around each end every marine. Let's say it takes from one to two logic operations just to track the marines position and static light sources. Now imagine that we need to constantly track the direction in which EVERY marine is currently looking and calculate the angle of highlighted area. That raises an amount of logical operations from 1-2 to 3-4 at least. So it's two times harder for server to calculate this amount of data.
So, we need to think carefully before implementing something like this. Surely, this would change the current game balance. A lot. But does it worth it? I am personally not sure. But I like this idea and it would be great if dev-team would find a way to make it be, so it's a+1 from me.
BTW: it would be interesting to play with current FOV. What if we'll forget about the light rework and just shift the Field of View from center to the direction each marine's facing? Make it like the current Scope system works (but without range increment).
Let me point this out for you: currently the code just updates highlighted area in a specific radius around each end every marine. Let's say it takes from one to two logic operations just to track the marines position and static light sources. Now imagine that we need to constantly track the direction in which EVERY marine is currently looking and calculate the angle of highlighted area. That raises an amount of logical operations from 1-2 to 3-4 at least. So it's two times harder for server to calculate this amount of data.
So, we need to think carefully before implementing something like this. Surely, this would change the current game balance. A lot. But does it worth it? I am personally not sure. But I like this idea and it would be great if dev-team would find a way to make it be, so it's a+1 from me.
BTW: it would be interesting to play with current FOV. What if we'll forget about the light rework and just shift the Field of View from center to the direction each marine's facing? Make it like the current Scope system works (but without range increment).
- Nick123q23
- Posts: 455
- Joined: 07 Jul 2015, 12:44
- Location: LV-1201
- Byond: Nick123q23
Re: Flashlight/Vest Light Rework
Lifeweb managed to do it, if we really, really want this, it's possible. I don't have any money to bribe the devs with unfortunately. +1 form me though.
Player of faceless xenomorphs of the species XX121, Miranda 'Mira' Laporte, Daniel Gryphon, Kia and Akl'iiya Quatza-rij
Proudly played as and won a round as an Ancient Empress
Proudly played as and won a round as an Ancient Empress
-
- Registered user
- Posts: 41
- Joined: 23 Jan 2016, 16:17
Re: Flashlight/Vest Light Rework
This is more than possible on 510.
- Troydav98
- Registered user
- Posts: 39
- Joined: 15 May 2015, 20:59
- Location: You will NEVER find me ... ever
- Contact:
Re: Flashlight/Vest Light Rework
As Ive seen no negative votes, good
DEAD: Drone(564): Says" And Charles's noble stand with a scaple against a Ravenger"
-
- Registered user
- Posts: 141
- Joined: 22 Nov 2015, 07:59
Re: Flashlight/Vest Light Rework
I think most people want this, but the work it will take and the lag it would produce makes it undesireable to do from a developers perspective. Maybe they will do this in a few months when everything else has been done, but I dont see it happening any time soon.
I am Conner Scott.
- SecretStamos (Joshuu)
- Registered user
- Posts: 1291
- Joined: 15 Oct 2014, 12:32
- Location: Stars & Stripes
Re: Flashlight/Vest Light Rework
All the positive votes in the world won't make it feasible.Troydav98 wrote:As Ive seen no negative votes, good
If we wanted to make this change, we'd probably have to switch codebases. Which would take months.
- Pilcrow
- Registered user
- Posts: 31
- Joined: 06 Jan 2016, 07:05
- Location: Elemental Plane of Rage
Re: Flashlight/Vest Light Rework
not quite, lighting is usually pretty much all kept in a single file (as part of the lighting controller) so you can easily swap it out with a controller of your own if you know what you're doing and have the timeRosa wrote:entire codebase
if the lighting controller isn't kept in a single file and relatively centralised in baycode then i'm going to have to question what the fuck baycoders have been drinking
anyway it's still a pretty hefty demand but i can see why people make the suggestion and why they won't initially understand how it's difficult to code
overall, would be a wonderful addition (directional lighting and/or proper vision cones add a shitload of depth and atmosphere to a game - see lifeweb, for example) but it's something the dev(s) would have to dedicate a fair bit of time to working on, and probably leave a few other projects in the dust for a while.
- Jen_Llama
- Registered user
- Posts: 111
- Joined: 31 Aug 2015, 23:28
Re: Flashlight/Vest Light Rework
Baycode is sort of a coding worst case scenario in that regard.Pilcrow wrote:i'm going to have to question what the fuck baycoders have been drinking
- forwardslashN
- Community Contributor
- Posts: 2495
- Joined: 14 Dec 2015, 23:12
- Byond: forwardslashN
Re: Flashlight/Vest Light Rework
Bay lighting is a module, so it should be easy to replace. In theory, anyway.
The ambivalent giant white baldie in a jungle near you.
- Troydav98
- Registered user
- Posts: 39
- Joined: 15 May 2015, 20:59
- Location: You will NEVER find me ... ever
- Contact:
Re: Flashlight/Vest Light Rework
"Theory"
DEAD: Drone(564): Says" And Charles's noble stand with a scaple against a Ravenger"
- Infernus
- Registered user
- Posts: 985
- Joined: 16 Oct 2014, 17:02
- Location: Croatia
Re: Flashlight/Vest Light Rework
Duplicate.