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

Admin giving christmas presents plugin


Post New Thread Reply   
 
Thread Tools Display Modes
Madness
Member
Join Date: Aug 2005
Old 12-07-2005 , 16:20  
Reply With Quote #11

Quote:
Originally Posted by Lord_Destros
lol, this seems funny as hell . anyone have a rudolph model . lol you can find a santa clause model of super hero mod's website and make all admins look like santa's .
Would you be replacing the "Llama-ficated" people with Rudolph?
Madness is offline
Jordan
Veteran Member
Join Date: Aug 2005
Old 12-07-2005 , 16:22  
Reply With Quote #12

These are better models:

http://news-info.wustl.edu/images/2002/ectasy-6.jpg

Jordan is offline
Kensai
Veteran Member
Join Date: Aug 2005
Location: San Diego, California
Old 12-07-2005 , 17:04  
Reply With Quote #13

This is a tight idea. I could do the commands if someone wants to help me add the model spawning?

AIM: t3h lil pimp

EDIT: For "presents" I got this so far.

Invisiblity
Noclip
Godmode
Weapons
Speed
Glow
Unlimited ammo

I was thinking about making cvars to control how long you get noclip for example.

Like "amx_noclip_present <time>"

What do ya think?
Kensai is offline
Send a message via AIM to Kensai Send a message via MSN to Kensai
Lt Llama
Senior Member
Join Date: Aug 2004
Old 12-08-2005 , 05:43  
Reply With Quote #14

Quote:
Originally Posted by Kensai
This is a tight idea. I could do the commands if someone wants to help me add the model spawning?

AIM: t3h lil pimp

EDIT: For "presents" I got this so far.

Invisiblity
Noclip
Godmode
Weapons
Speed
Glow
Unlimited ammo

I was thinking about making cvars to control how long you get noclip for example.

Like "amx_noclip_present <time>"

What do ya think?
I have a request that you dont make this mod specific. Would Weapons and and Ammo work for any mod?

Wouldnt it be better to use 2 arguments and a config.

amx_present <type of present> <value>
Example:
amx_present (picks a random line in the config)
amx_present glow (picks amx_glow and the color from config)
amx_present glow yellow (picks amx_glow and yellow from config)
amx_present noclip 30 (picks noclip from config and runs it for 30 seconds)

So the script does the following:
1. Read the user input
2. If there is no argument read the config file and pick a random item and its value.
3. If there is 1 argument read the config file and pick the value.
4. If there are 2 arguments read the config and get the amx command.
5. Spawn the present with fetched values.

amx_present.ini

"noclip" "single" "amx_noclip" "30" "Happy Christmas! Enjoy your noclip"
"godmode" "single" "amx_godmode" "30" "Happy Christmas! Enjoy your godmode"
"glow" "multiple" "amx_glow" "yellow" "Happy Christmas! You are now glowing yellow"
"ghost" "single" "amx_ghost" "30" "Happy Christmas! You are now invisible"
"slap" "single" "amx_slap" "30" "You have been naughty this year and need some slapping"
"rudolph" "single" "amx_rudolph" "30" "Happy Christmas Rudolph "

So config have
1. The tag which the plugin compares to the first argument in the user input
2. Tells the plugin if the amx command for this present has a value of 1/0 (single) or can have multiple values (multiple).
3. amx command
4. How long time should it last (for single) or what type (for multiple).
5. Client message (maybe with client name added somewhere)

By using a config it can be used by any mod and anyone can add any type of custom content or commands. It could call another plugin.

I see a problem with the differant kinds of amx commands:
1. A command like amx_noclip is set to 1 or 0.
2. A command like amx_glow can have multiple values.
3. A command like amx_slap you may want to repeat X times instead of running for a certain amount of time.

Hmm, not to well analyzed. Well, just my two cents. It would be an absolute awsome plugin if this was possible to do.
Lt Llama is offline
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 12-08-2005 , 07:28  
Reply With Quote #15

Quote:
Originally Posted by satanwoj
Dayum, I gotta get me some of those! ;)
__________________
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
MaximusBrood
Veteran Member
Join Date: Sep 2005
Location: The Netherlands
Old 12-08-2005 , 08:02  
Reply With Quote #16

Quote:
Originally Posted by v3x
Quote:
Originally Posted by satanwoj
Dayum, I gotta get me some of those! ;)
Allright, RIP v3x
__________________
Released six formerly private plugins. Not active here since ages.
MaximusBrood is offline
Kensai
Veteran Member
Join Date: Aug 2005
Location: San Diego, California
Old 12-08-2005 , 17:50  
Reply With Quote #17

Actually, I think making a config file would be tougher for this. Instead we could just have it print a message when the command is entered. And I agree with having just the command with mulitple args, having a bunch of cvars got pretty tough.

So I could either try, just making it pick a random value when you type "amx_glow" or i could have it so you pick exactly what kind of glow.
Kensai is offline
Send a message via AIM to Kensai Send a message via MSN to Kensai
Charming
BANNED
Join Date: Nov 2005
Location: Canada
Old 12-14-2005 , 14:00  
Reply With Quote #18

oky i have a snowman and a christmas model i dunno if these will help but here]
id like make it so the plugin snows and has snow on the ground and use these models and there like everywhere and a snow man is at the bombsites that would be pretty cool
Attached Files
File Type: rar models.rar (20.7 KB, 124 views)
Charming is offline
Send a message via ICQ to Charming Send a message via AIM to Charming Send a message via MSN to Charming Send a message via Yahoo to Charming
MaximusBrood
Veteran Member
Join Date: Sep 2005
Location: The Netherlands
Old 12-14-2005 , 15:18  
Reply With Quote #19

I already made a xmas presents plugin that randomly drop presents from the sky but I won't release it.

You make something, it gets trashed for no reason. The way amxx doesn't work right.
__________________
Released six formerly private plugins. Not active here since ages.
MaximusBrood is offline
Lord_Destros
Veteran Member
Join Date: Jul 2004
Location: With stupid.
Old 12-14-2005 , 21:44  
Reply With Quote #20

Quote:
Originally Posted by MaximusBrood
I already made a xmas presents plugin that randomly drop presents from the sky but I won't release it.

You make something, it gets trashed for no reason. The way amxx doesn't work right.
OOOOOOOOOOO I WANT IT!!!!!!!!!
__________________
Quote:
Originally Posted by Twilight Suzuka
Don't worry m'lord. The turtles day will come.
Lord_Destros is offline
Send a message via AIM to Lord_Destros
Reply



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 09:46.


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