Raised This Month: $159 Target: $400
 39% 

Random weapons mode 2.0


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Fun Stuff       
BeasT
Senior Member
Join Date: Apr 2007
Location: Lithuania
Old 11-21-2009 , 19:15   Random weapons mode 2.0
Reply With Quote #1

Description:

Using this plugin there is a chance (according to cvar) that a special round will happen and all players will get random weapons.

Cvars:


rrwm_enabled (default: 1)
  • 0: plugin disabled
  • 1: plugin enabled
rrwm_checkmap (default: 1)
  • 0: leave enabled on knife maps
  • 1: disable on knife maps
rrwm_c4 (default: 1)
  • 0: strip c4 bomb on random weapons mode
  • 1: leave c4 bomb on random weapons mode (at de_ maps only)
rrwm_nade (default: 1)
  • 0: don't randomize nades
  • 1: randomize nades
rrwm_nodrop (default: 1)
  • 0: players will be able to drop weapons on random weapons mode
  • 1: players wont be able to drop weapons on random weapons mode
rrwm_chance (default: 10) - 1/10 chance that random weapons mode will be activated. Bigger value - lower chances.


Notes:

- Modules required:

HamSandwich

Cstrike
Fakemeta
Engine
Fun

- Put
rrwm_weapons.ini to configs folder

Change log:

Code:
2.0:
- Added cvars:
 rrwm_enabled
 rrwm_checkmap
- Added rrwm_weapons.ini
- Fixed bugs

1.0:
- Public release

Credits:


ConnorMcLeod
MeRcyLeZZ

Attached Files
File Type: ini rrwm_weapons.ini (338 Bytes, 123 views)
File Type: sma Get Plugin or Get Source (rrwm.sma - 632 views - 6.9 KB)

Last edited by BeasT; 01-08-2010 at 16:07. Reason: minor changes
BeasT is offline
Send a message via Skype™ to BeasT
mando127
Veteran Member
Join Date: Dec 2006
Location: virginia
Old 11-21-2009 , 19:28   Re: Random <random weapons> mode
Reply With Quote #2

nice plugin
__________________
mando127 is offline
Send a message via Skype™ to mando127
DarkSkif
Member
Join Date: Oct 2009
Location: Russia
Old 11-22-2009 , 02:58   Re: Random <random weapons> mode
Reply With Quote #3

I like it, good job ;)
DarkSkif is offline
crazyeffect
Veteran Member
Join Date: Jul 2008
Location: Belgium
Old 11-22-2009 , 04:10   Re: Random <random weapons> mode
Reply With Quote #4

Nice
__________________
crazyeffect is offline
Send a message via MSN to crazyeffect
worldspawn
Senior Member
Join Date: Aug 2009
Location: Russia, Yekaterinburg
Old 11-22-2009 , 04:25   Re: Random <random weapons> mode
Reply With Quote #5

so i think it will be better to make an ini file(for example) to set there what weapons can be given to players, how much ammo can be in clip...oh like this one
http://forums.alliedmods.net/showthread.php?p=646639
worldspawn is offline
Send a message via ICQ to worldspawn Send a message via Skype™ to worldspawn
Old 11-22-2009, 11:02
Anggara_nothing
This message has been deleted by Anggara_nothing. Reason: i know,......it's different
BeasT
Senior Member
Join Date: Apr 2007
Location: Lithuania
Old 11-22-2009 , 12:14   Re: Random <random weapons> mode
Reply With Quote #6

Quote:
Originally Posted by worldspawn View Post
so i think it will be better to make an ini file(for example) to set there what weapons can be given to players, how much ammo can be in clip...oh like this one
http://forums.alliedmods.net/showthread.php?p=646639
No. My idea was that all weapons would be enabled. I don't see why would someone want to disable some weapons. But if there will be more people asking for this, I guess I'll make it.
BeasT is offline
Send a message via Skype™ to BeasT
xbatista
Veteran Member
Join Date: Mar 2008
Location: Lithuania
Old 11-22-2009 , 12:22   Re: Random <random weapons> mode
Reply With Quote #7

Quote:
Originally Posted by BeasT View Post
No. My idea was that all weapons would be enabled. I don't see why would someone want to disable some weapons. But if there will be more people asking for this, I guess I'll make it.
I want to use it on my server and I really want to disable some weapons , thanks.
__________________
xbatista is offline
Send a message via Skype™ to xbatista
DruGzOG
Veteran Member
Join Date: Nov 2007
Location: Unknown
Old 11-23-2009 , 21:41   Re: Random <random weapons> mode
Reply With Quote #8

Design a ini file based to restrict certain weapons.
__________________

Home of the AMX SUPER
Discord
DruGzOG is offline
Send a message via AIM to DruGzOG
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 11-23-2009 , 23:35   Re: Random <random weapons> mode
Reply With Quote #9

Modification != ALL
Category != Admin Commands
__________________
fysiks is offline
BeasT
Senior Member
Join Date: Apr 2007
Location: Lithuania
Old 11-25-2009 , 17:07   Re: Random <random weapons> mode
Reply With Quote #10

Updated
Code:
2.0:
- Added cvars:
 rrwm_enabled
 rrwm_checkmap
- Added rrwm_weapons.ini
- Fixed bugs

Last edited by BeasT; 11-29-2009 at 05:00.
BeasT is offline
Send a message via Skype™ to BeasT
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 12:53.


Powered by vBulletin®
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Theme made by Freecode