rain_gloom Posted January 14, 2013 Posted January 14, 2013 Since MTA:DayZ is getting so popular, but lacks REALLY dark nights-which is crucial-this function could be implemented, so the server can overwrite the client's brightness setting. If it doesn't, then people who drop their brightness for better experience will be in disadvantage for the ones who don't. It would also make time settings useful. With 100% brightness the difference between day and night is only the sky color. My GitHub function brain() return nil end
Anderl Posted January 17, 2013 Posted January 17, 2013 You should also add "No, this isn't needed." option for voting. "[...] If you don’t love it, if you’re not having fun doing it, you don’t really love it, you’re going to give up." - Steve Jobs, 2007
Cadu12 Posted January 18, 2013 Posted January 18, 2013 You can make with shader. This isn't needed. Ingame nick: Cadu12
diegofkda Posted January 18, 2013 Posted January 18, 2013 I don't think you can, Cadu12. GTA brightness doesn't just change the screen brightness, it also sets the density of the building shadows (also the brightness of a shader would look depending of the brightness setting anyway). It doesn't seem to be an effect of a traditional brightness effect because I made a shader that changed the brightness (supossing that it's a traditional one), used it with the default MTA brightness quantiy, compared it and it was really different, so in my opinion this feature wouldn't be a bad idea, together with setShadowType and setGrassEffectEnabled. "Everything exists, because otherwise nothing would", Bob Marley, 2015.
Carveso Posted January 21, 2013 Posted January 21, 2013 If it's possible to do, I'm supporting it. Darker nights would be great for a lot of game-modes. - SERVER ADVERTISEMENT
rain_gloom Posted February 21, 2013 Author Posted February 21, 2013 If it's possible to do, I'm supporting it. Darker nights would be great for a lot of game-modes. like DayZ it's a shame you closed your server My GitHub function brain() return nil end
Forrest Posted March 20, 2013 Posted March 20, 2013 dxDrawRectangle on the screen, big black alpha'd one. That's what I did, lol.
rain_gloom Posted March 22, 2013 Author Posted March 22, 2013 so you darkened the screen? please tell me how cool shadows it produced? maybe lighting settings won't be enough, anyone knows a good night/shadows shader? not like I wont google it My GitHub function brain() return nil end
MIKI785 Posted April 12, 2013 Posted April 12, 2013 That would be useful. Lua Scripter Owner of mshost.cz MTA portal.
Forrest Posted April 13, 2013 Posted April 13, 2013 setBrightness wouldn't actually do anything I'd suspect, since it would basically be a function to control graphic brightness, in which case you may aswell use a dxDrawRectangle on the screen as I mentioned. Or, use a pixel shader. I use one and it works very well.
rain_gloom Posted April 17, 2013 Author Posted April 17, 2013 setBrightness wouldn't actually do anything I'd suspect, since it would basically be a function to control graphic brightness, in which case you may aswell use a dxDrawRectangle on the screen as I mentioned.Or, use a pixel shader. I use one and it works very well. pixel shader lags or refuses to work on slow machines, all I want is a setting that's already in-game to be forced by script. If it's possible with binds, why is it so hard with other functions? I'm no expert in MTA's inner script, but I don't think it's more than 5 minutes of work for an experienced developer. My GitHub function brain() return nil end
Forrest Posted April 17, 2013 Posted April 17, 2013 And as I said, dxDrawRectangle would work the exact same as setBrightness, since it would just control the brightness of their screen, thus making it lighter, or darker. A alpha'd black rectangle would do that.
Woovie Posted April 17, 2013 Posted April 17, 2013 And as I said, dxDrawRectangle would work the exact same as setBrightness, since it would just control the brightness of their screen, thus making it lighter, or darker. A alpha'd black rectangle would do that. Precisely. MTA has brightness reading functions that are very inaccurate and get it from the lightmap or something. Just script this yourself with a custom brightness script. "The humble beet is the answer to all riddles." - Rolf
Recommended Posts