Author
|
Message
|
Junior Member
|
04-27-2009
, 16:05
[L4D] Server side weapon mods
|
#1
|
I run a modded server for l4d and would like to make some weapon mods using the weapon script files.
I managed to have it so when people would connect the changes would be in place, but some of it would behave weird.
I changed the magazine sizes on some of the weapons, the new changes would show up for people when they connected, and would work for the most part.
Here's the most noticeable thing that happened. When the weapon's magazine was full with the new value, 20rounds for sniper. You could attempt to reload, and the animation would start, 15rounds would appear for a instant, then it would stay at 20 again. The complete reload animation would not play.
Reloading from a partial magazine worked fine, and would load the new value.
It didn't seem to hurt anything, it was just odd.
I edited the weapon script files on the server, then set it to non pure server for testing.
Everyone that joined had the changes, so I do believe a server side weapon mod can be made.
Has anyone else done any testing on this? I would like to make the weapons more realistic on my own server, without having everyone download files.
-Edit
Alright, I got this working, but the server uninstalled the mod itself. Like it checked for files that were not original, then replaced them. The mod was installed and working, then the server went down after a game, and couldn't be restarted for maybe 10min or so. Then when it came back online, the mod was gone.
Is there a way to keep it from auto updating itself?
Last edited by Rifleman; 04-27-2009 at 23:24.
|
|
|
|