Preventing certain weapon's buying Created 16 years ago2008-02-10 04:17:28 UTC by qwerty123 qwerty123

Created 16 years ago2008-02-10 04:17:28 UTC by qwerty123 qwerty123

Posted 16 years ago2008-02-10 04:17:28 UTC Post #245411
I'm making maps for cs:cz. Does anyone play as_oilrig? Did u notice that some weapons are not available for buying? This is not like a knife arena map, u can still buy other available guns. How can i make this effect? Can anyone please help? Thanks.
Posted 16 years ago2008-02-10 08:09:04 UTC Post #245412
Have you tried google for it first? I dont know lot about cz mapping, but I think it should be some sort of cfg file controlling that, like in dod. Try looking for as_oilrig.cfg in the map or root folder of cz, if it exist one, copy it and rename it to your-map.cfg and edit the commands there.

(and yeah, html doesnt work on this forum, you need to use bbcode)
Posted 16 years ago2008-02-10 12:27:34 UTC Post #245420
I believe that is for the server to decide, and the map-maker has no control except to recommend certain guns be banned.
Posted 16 years ago2008-02-10 13:25:51 UTC Post #245421
It's defined by certain entities in the map.
Like, if it's a bomb defuse map, you add a func_bomb_target to enable that game mode (Terrorists recieve C4, etc.)

Same with as_oilrig, once a func_vip_safetyzone is placed in the map, the teams are restricted of buying some of the weapons.
You couldn't really implement this in a non-as_ map, though, since with the safetyzone in the level - one of the CTs would always spawn as the VIP.
Daubster DaubsterVault Dweller
Posted 16 years ago2008-02-11 05:31:32 UTC Post #245456
I have tried google-ing it many times, and this forum is my last resort. There are no cfg files, there are only bsp, nav and lst. I've decompiled the map, but there are no entities that have anything to do with the weapons. Btw, cz is similar to cs1.6.
You must be logged in to post a response.