The player_change_default_size() function in co-op mode seems to only affect the local player. It generates an "invalid hash" error on the remote player side. Is this a problem with the mod (or my installation of the mod), or with the game itself?
If the problem is with the game, is there a way to force a player_change_default_size() call on both the local player side and remote player side? It seems like keycombo_thread() only runs on the host's end, which I assume means sr3_city_main() is only called on the host's side. Are there any functions that get called whenever the game loads? sr3_city_init() or sr3_city_init_client() perhaps?
Sorry for the noob questions, but I couldn't find any documentation on any of this stuff.
Edit:
Figured out part of it. There is a way to run functions on the client side. sr3_city_main_client() will run on the second player's system.
If the problem is with the game, is there a way to force a player_change_default_size() call on both the local player side and remote player side? It seems like keycombo_thread() only runs on the host's end, which I assume means sr3_city_main() is only called on the host's side. Are there any functions that get called whenever the game loads? sr3_city_init() or sr3_city_init_client() perhaps?
Sorry for the noob questions, but I couldn't find any documentation on any of this stuff.
Edit:
Figured out part of it. There is a way to run functions on the client side. sr3_city_main_client() will run on the second player's system.
Last edited: