Create "Weapon Class/loadout" tables in a shared file or server file?
1 replies, posted
I'm creating a simple team deathmatch gamemode and I can't decide between these two options.
Create the class list in a shared file so the client and the server has access to it.
OR
Create the class list in a server file and make the client request the list and network it back to them when they join the game or open the class menu.
I'm leaning more towards the first one because networking it seems pointless if you can just "duplicate" the classes clientside. I just wanted some opinions/suggestions in case I don't know about any dangers doing it one way or the other or if there's a better way to do this. Thanks in advance.
I would go with the first one, it is very taxing to network a table, so it would be better to just have it shared in both server and client.
Sorry, you need to Log In to post a reply to this thread.