Raised This Month: $12 Target: $400
 3% 

Random Armoury


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Fun Stuff        Approver:   devicenull (200)
Johnny got his gun
Veteran Member
Join Date: Jan 2004
Location: Tokyo
Old 07-16-2005 , 08:34   Random Armoury
Reply With Quote #1

Randomizes the position of all weapons that are on ground on maps like fy_iceworld, fy_pool_day...
Randomizing occur at map load, and between each round.

A new mode (set cvar randomarmoury_mode to 1) makes the plugin randomize in a different way.
Between each round it will change each weapon/item type into another one, even if it's not in the map from start.
Attached Files
File Type: sma Get Plugin or Get Source (random_armoury.sma - 2123 views - 5.3 KB)
Johnny got his gun is offline
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 07-16-2005 , 09:22  
Reply With Quote #2

Nice idea!
__________________
What am I doing these days? Well, I run my own Rust server. It's heavily modded. If you'd like to join, the ip is 167.114.101.67:28116

I also created a website called Rust Tools. It will calculate and tell you the raw amounts of resources needed to craft items.
v3x is offline
Johnny got his gun
Veteran Member
Join Date: Jan 2004
Location: Tokyo
Old 07-18-2005 , 04:16  
Reply With Quote #3

0.2 up.
Johnny got his gun is offline
wackygoose1
Junior Member
Join Date: Jul 2005
Old 07-21-2005 , 21:41  
Reply With Quote #4

can i disable some kind of weapons ??? i need this because i play on aim_ak-colt and it sux when some1 is with awp or the famous rambo gun

how can i do it ?

ill take a look into the code but my coding experience is very very very poor


THX FOR THE NICE PLUUUUUGIIIIINNNNNNNNN
wackygoose1 is offline
Johnny got his gun
Veteran Member
Join Date: Jan 2004
Location: Tokyo
Old 07-22-2005 , 14:15  
Reply With Quote #5

You should try Armoury Editor instead. I think it does exactly what you're asking for. You can change unwanted weapons into something harmless, like vests without helmets.
Johnny got his gun is offline
wackygoose1
Junior Member
Join Date: Jul 2005
Old 07-22-2005 , 14:34  
Reply With Quote #6

Quote:
Originally Posted by Johnny got his gun
You should try Armoury Editor instead. I think it does exactly what you're asking for. You can change unwanted weapons into something harmless, like vests without helmets.

can i use both on same time ??
wackygoose1 is offline
Blitz
Senior Member
Join Date: Jul 2005
Location: Google
Old 07-22-2005 , 21:31  
Reply With Quote #7

Cool plugin. Simple and fun.
__________________
[img]http://img268.**************/img268/7071/blitz4ek.jpg[/img]

In the beginning, God created the search button.
Blitz is offline
Johnny got his gun
Veteran Member
Join Date: Jan 2004
Location: Tokyo
Old 02-18-2006 , 05:58  
Reply With Quote #8

I noticed that when using this plugin on Linux, it doesn't work. You have to change

#define ARMOURYWEAPONOFFSET 34

to

#define ARMOURYWEAPONOFFSET 33

And recompile...
Johnny got his gun is offline
Twilight Suzuka
bad
Join Date: Jul 2004
Location: CS lab
Old 02-19-2006 , 12:53  
Reply With Quote #9

You could set it up to switch between the two, instead of forcing a recompile. ^^

For instance, you could subtract the result of
Code:
 is_linux_server ( )
from a global variable on init or precache ^^
__________________
Twilight Suzuka is offline
Send a message via AIM to Twilight Suzuka Send a message via MSN to Twilight Suzuka
Johnny got his gun
Veteran Member
Join Date: Jan 2004
Location: Tokyo
Old 02-21-2006 , 18:17  
Reply With Quote #10

I forgot there was such a native. Thanks :-)
Johnny got his gun is offline
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 17:58.


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