Jump to content

Home

server side stuff


JK Legacy

Recommended Posts

Posted

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?

Posted

depends on what you want to edit..., if u want 2 replace eg. bla.jpg from assest2.pk3 with your own picture, u can just make sure u put it in the same path and give it the same name in your mod dir.

Posted

yeah thats what i meant, is it the same for anythin in the assets? i just wanna be able to do .efx files.

 

also, if i make a change to bg_weapons in game, do i have to compile cgame?

Posted

so if i wanted to make a sort of adminmod that allows easy kicking and such like vulcanus adminmod, it'd be possible to make it work without having to have clients download it?

Posted

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.

Posted

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.

Archived

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

×
×
  • Create New...