r/explainlikeimfive • • May 21 '19

Technology ELI5: Why do some video game and computer program graphical options have to be "applied" manually while others change the instant you change the setting?

9.0k Upvotes

355 comments sorted by

View all comments

Show parent comment

3

u/VenomB May 21 '19

So here's a question involving WoW:

There were plenty of mods that required the UI to be reloaded, which could happen by just hitting a button. Is that possible, without any real interruptions to the player, for stuff that isn't just UI-based?

8

u/YimYimYimi May 21 '19

I'd imagine UI would be handled completely separately from everything else. Blizzard put a decent amount of work into making the UI customizable and modifiable, so it'd make sense they they'd make it so you didn't have to restart the whole game just to mess with your UI.

2

u/DempseyRoller May 21 '19

Why do you need to restart/relog to the game when some npc is missing or a quest is bugged?

6

u/YimYimYimi May 21 '19

I'd think whatever caused the NPC to not show up or your quest to bug wasn't accounted for by Blizzard. I mean, if they knew what caused it they would've just fixed it before it was a problem.

They don't have a means to account for that happening because they don't expect it to. Restarting/relogging starts everything over.

6

u/UnsignedRealityCheck May 21 '19

Some stuff is completely UI-based and require just a quick reload on your local machine. UI mods handle altering visuals and data that comes INTO your computer and have already happened in the game. However things that are present ON the game world that is visible to all need to be in the server so that everyone's interaction with them is equal.

2

u/drjeats May 22 '19 edited Jun 18 '19

I work on an online game. Our dev servers can hot reload most things like NPC and item definitions. You just wind up with different versions of them active at runtime. Usually you /kill_target and respawn the entity in question to get the updated version.

Our designers are also able to go and push updates on individual live server instances. Usually that's used for beta testing with raiders.

Making those changes permanent is a different thing, since design data is usually baked into something that's efficient for loading, and doesn't have as much metadata as editable versions of the files and we don't have (and don't see as much value in) doing little partial pushes to all server instances.

Look up the GDC tech talk for Overwatch's ECS system, scripting, and replication if you want to see how a fairly sophisticated system works under the hood.

1

u/VenomB May 22 '19

Thanks for the run down. Its honestly all over my head, but I think its crazy interesting.