splewis / csgo-retakes

CS:GO Sourcemod plugin for a site-retake gamemode
GNU General Public License v3.0
328 stars 115 forks source link

Create a simple weapon allocator plugin #1

Closed splewis closed 9 years ago

splewis commented 9 years ago

By default the plugin gives ak/m4's and no nades.

I'd like to have a lightweight plugin that uses the Retakes_SetPlayerInfo native inside the Retakes_OnWeaponsAllocated forward that does some smarter things.

Ideally, it could also have pistol rounds and would have some configuration values. (e.g. several cvars or a keyvalue file defining what players can have, probabilities they have them, etc.)

splewis commented 9 years ago

Started in https://github.com/splewis/csgo-retakes/blob/master/scripting/retakes_standardallocator.sp

xPaw commented 9 years ago

I've checked your server out, and you seem to already have pistol rounds and nade allocation, why not release that?

splewis commented 9 years ago

Because it's terrible code with arbitrary, non-configurable design decisions baked into it.

I'd rather have it replaced by a good plugin.

splewis commented 9 years ago

Donezo.