PDA

View Full Version : Rifle Only


PoSSe
04-26-2004, 07:37 PM
OK, I have Objective and Roundbase maps running on our server. We use ck realism. I have a custom mixmap mod I use. I can open the scipts to any map on the server and add/delete things. On the Omaha Beach map I took out the turret guns by putting "removeclass TurretGun" in the script, I also added some extra barbwire and fog.. I want to turn just this one map into a rifle only map and keep the others as they are. I want to lose all weapons except for the Mauser and M1. Is there a command that will work? Something like "removeclass mg". This only removes item from the map not the players. Do I need to take the weapons tik for each weapon and put it in the script with no ammo?

GaSplat
04-26-2004, 11:54 PM
I don't know if it precaches the weapon tiks once on original server start up, or on each map load, but I believe that is your best bet for what you are trying to do. I don't think the remove class will do what you want (though I am not an expert modder).

I suggest you be more generous with the respawn / change weapon times so your machine gunners from the previous map don't suddenly find themselves stuck with only a pistol after the map change.

PoSSe
04-27-2004, 12:49 AM
I'll set the script up so that no matter what weapon they pick they will have a rifle. I was looking for an easier way but, I guess I'll do it the long way. Thx anyway.