CS 1.6 Weapon restrictions in a map Created 13 years ago2011-07-28 14:06:59 UTC by Frozen Storm Frozen Storm

Created 13 years ago2011-07-28 14:06:59 UTC by Frozen Storm Frozen Storm

Posted 13 years ago2011-07-28 14:08:51 UTC Post #297091
I didn't think this was possible, but today I played the map as_tundra ( http://www.cstrike-planet.com/maps/225-as_tundra ), and it has an incorporated restriction for certain weapons. I.e. as a terrorist you can't buy the semi-automatic sniper, scout, or the 4th rifle (called Krieg in my version).

How do you do that? I thought that was only possible as a server setting, but I didn't set any restrictions when I ran it.
I decompiled the map and checked the entities, but didn't find anything.

Also, does this just restrict buying that weapon or does it fully restrict that weapon in a map? Because I'd like to make a map in which you can't buy awp, but there is a tower in the middle of the map with an awp on the roof.

P.S. Coincidentally, is there a way to set the amount of ammo you get when you pick up a gun spawned with the armoury_entity? I can't seem to set it to anything other than the default 1 clip in the weapon + 2 extras.
Posted 13 years ago2011-07-28 16:55:08 UTC Post #297092
That server probably ran an AMX X server. And with it you can configure weapon restriction.
Stojke StojkeUnreal
Posted 13 years ago2011-07-28 17:09:07 UTC Post #297093
All VIP maps have the same weapon restrictions. I think it's a bug, actually.
Posted 13 years ago2011-07-28 17:51:51 UTC Post #297094
Oh, I see.
Posted 13 years ago2011-07-28 19:32:41 UTC Post #297097
Yeah, same goes for es_ maps.
Try decompiling it, see if there's anything special there. Check the entity report for any odd stuff.

That or it might automatically restrict some of the weapons for Ts if any of the as_ specific entities (vip_escape_zone, etc.) are found in the map. Doubt it's a bug either way - was probably just some weird early attempt at balancing the gametype.
Daubster DaubsterVault Dweller
Posted 13 years ago2011-07-28 19:40:23 UTC Post #297098
You can restrict weapons with an entity setup. but i think it prevents buying...
Stojke StojkeUnreal
Posted 13 years ago2011-07-29 19:25:39 UTC Post #297137
You can restrict weapons with an entity setup. but i think it prevents buying...
How?
Posted 13 years ago2011-07-29 21:34:29 UTC Post #297147
Its like in knife maps.

Here take this:

http://localhostr.com/files/6jpbLGy/player_equip.rmf

Configure it to suit you.
Stojke StojkeUnreal
You must be logged in to post a response.