Jump to content

Home

server side stuff


JK Legacy

Recommended Posts

am I right in thinking you can edit stuff out of the assets files, put them in a server side mod and have clients download from the server w/o the need for a seperate client side download?

 

if so, what are the limitations? does it work well for jk2?

Link to comment
Share on other sites

Server side MODs work with JK2.

 

Compile the game source (game, not cgame) and have the server run it. Players who join see all the changes.

 

If you didn't change cgame, it can run serverside.

 

What I've been doing, I make my changes in the game source, such as increasing blaster projectile speeds to 24000. Then test it on my LAN.

 

Compile it to a vm. Stick it into your mod's vm folder, then run the game with a shortcut pointing at your mod.

If you create a listen server, other players can join and play with your changes.

 

The weapon firerate code is in bg_weapons.c

It's well commented, so you shouldn't have trouble finding it. It's also a pretty short file.

Link to comment
Share on other sites

Strange...

 

Works for me.

 

Try to make sure you don't have any client side changes at all.

 

I would say install a new copy of the source code, open it up and change the missile speed for the bryar pistol.

Then run game.bat

Follow the instructions to test the mod with a qvm outside of a pk3. It's the one where you run jk2mp with command line parms to point it at your mod.

 

Maybe I'm wrong about this, but it seems to work for me. I haven't tested it with multiple pc's for a while, I'll go do that again to see if I made a mistake here.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...