Game Development Community

Transfers between server and client

by Derk Adams · in Torque Game Engine · 06/20/2004 (11:35 pm) · 4 replies

As I slog through all these new concepts, I am having trouble figuring out exactly what files are transfered between the server and client during mission setup and what files the client is required to have.

Is the mission file, terrain, and lightmap sent from the server to the client? Are there other files?

And I assume all the models have to be on the client (although missing textures aren't a problem) for the system to run.

Thanks,
Derk

#1
06/21/2004 (8:10 am)
All of the files ought to be on the client side althought it will attempt to transfer them for you if they're missing. Torque mostly transfers ghost information at connection start, not files - the file transfer functionality is there only to provide a safety net for mods and the like.
#2
06/21/2004 (9:04 am)
Ben,

I want to exploit the file transfer function by generating mission files and terrains (if possible) at run time and pushing them to the client. I expect to have all models on the client at game time.

How much can I get away with?

Thanks,
Derk
#3
06/21/2004 (10:07 am)
Mission files are irrelevant, as the server is the authoritative source - all relevant information is sent over the network at connect time, and the client never looks at the mission file.

Terrains are pretty small (few hundred k) so you should be ok to transfer them.
#4
04/07/2007 (2:41 am)
Hello,

Just wanted to bring this up again: what functions are available to enable me to tranfer files to clients?

Thanks

--Amr