coding for online use
I have created a vehicle for UT2K4 and am adding it to the game using the mutator swaptool1.1. In instant action everything works fine and when I run a dedicated server on my system it works for me with the exeption of 1 sound effect that won't play(ping not good enough for anyone else to join). However when the Admin of the server I made it for tries to put it on an odd glitch occures.
When the modified manta is supposed to spawn it shows the build effect but the mesh won't apperar. When you walk accross the area it messes up your view and if you press 'use' you can get in but all the controles exept 'use' lock up. Bots can use it like a normal manta but the vehicle is invisible.
Is there some code that I must put into the main file to make it work online?
did you put "serverpackages = (yourpackagename)" in the serverpackages section of your ut2004.ini ?
That was added but it still doesn't work.
Originally Posted by ghouck
I am beginning to wonder if it is a conflict with one of the mods running. I have tried it with all the mods in use that I have installed on my system, but I know I am missing 1 gun and 1 vehicle.
I take it you have learned what replication is?
Looks like your MOD/MUT needs some replication.
If you creating objects that spawn and have effects, you will need to replicate this to the clients, or ta da - they won't see it and can stuff the entire match up.
Learn replication dude.
Just double checked the code and I don't have any replication code in there.
I am just starting to learn coding and none of the tutorials I have read/watched yet have dealt with online use and they didn't mention replication. :noob:
Thanks for the help. I am off to find more coding tutorials.