Raised This Month: $95 Target: $400
 23% 

Pallets with Bags


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Fun Stuff        Approver:   VEN (29)
SAMURAI16
BANNED
Join Date: Sep 2006
Old 03-22-2007 , 11:27   Pallets with Bags
Reply With Quote #1

Pallets with Bags
Author : SAMURAI
Version : 0.2c
Wath a trailer with plugin in action

Changelog :
Version 0.2c:
Removed the cvar for set it to make pallets with bags destroyable or no.
To be destroyable, just set the health > 0.

Version 0.2b:
Added an cvar to set if can destroy pallets with bagsAdded an cvar to set the health of pallets with bags Removed checks for hull vacant Added a new check to see if user is trying to place models on the sky
Version 0.2:

Code optimized
Fixed grammar problems
Fixed the problem with new round event

Version 0.1:
Initial version.

Plugin details:
With this plugin, admins have posibilty to place anywhere on map pallets with bags. Looks like walls used on wars.
The pallets with bags are solid, can be destroyed or not (set the health 0 and will be undestroyable), and if you want, you can place one over one.

Cvars:
pallets_wbags - Enable / Disable the plugin.
1 = Enabled (default). 0 = Disabled.

pallets_wbags_nroundrem - On new round, if this cvar is enabled, all palets with bags placed will be removed.
1 = Enabled
0 = Disabled (default) .

pallets_wbags_max - Set the maximum of pallets with bags that can be placed
Default = 64
pallets_wbags_health - Set the health of a pallet with bags . If the health is > 0, you will can destroy pallets with bags. So if you want to make it undestroyable, set the health 0
Default = 0.
Required Modules:
- Fakemeta

Admin Commands:

say pallets_menu - Open the menu of pallets with bags, and there you can choose:
1 - Place a pallet with bags
2 - Remove a pallet with bags
- To remove an pallet with bags you must aiming at a valid pallet with bags.
3 - Remove all pallets with bags
- This will remove the all pallets with bags placed on map.

NOTE :
- Admins must have RCON acces to use pallets with bags menu.
- Available are 2 models, will be set a random of them.
- The pallets with bags are placed where you are aiming
- To destroy a pallet with bags, set the cvar "pallets_wbags_health" > 0. An pallet with bags, to can be destroyed, set the health before place a pallet with bags

Install:
- Install the plugin like any plugin
- Extract the models arhive on your \cstrike\models\ folder.

Credits:
- P34nut for get_user_hitpoint stock.
-
Avalanche some indicates
- manchimocyrus for trailer

Download the last version of this plugin : http://www.cs-utilz.net/viewtopic.ph...st=0&sk=t&sd=a

See screenshot:

Attached Thumbnails
Click image for larger version

Name:	screenshot.JPG
Views:	20311
Size:	62.2 KB
ID:	14851  
Attached Files
File Type: zip models.zip (166.8 KB, 6542 views)
File Type: sma Get Plugin or Get Source (pallets_wbags.sma - 11420 views - 8.2 KB)

Last edited by SAMURAI16; 01-01-2008 at 14:39.
SAMURAI16 is offline
Send a message via MSN to SAMURAI16
jim_yang
Veteran Member
Join Date: Aug 2006
Old 03-22-2007 , 11:41   Re: Pallets with Bags
Reply With Quote #2

seems funny
__________________
Project : CSDM all in one - 99%
<team balancer#no round end#entity remover#quake sounds#fake full#maps management menu#players punishment menu#no team flash#colored flashbang#grenade trails#HE effect#spawn protection#weapon arena#weapon upgrade#auto join#no weapon drop#one name>
jim_yang is offline
hip_hop_x
Senior Member
Join Date: Apr 2006
Old 03-22-2007 , 11:58   Re: Pallets with Bags
Reply With Quote #3

yup, it's a good plugin.
hip_hop_x is offline
Send a message via MSN to hip_hop_x Send a message via Yahoo to hip_hop_x
vvg125
AMX Mod X Beta Tester
Join Date: Dec 2006
Location: Queens (Douglaston), New
Old 03-22-2007 , 12:52   Re: Pallets with Bags
Reply With Quote #4

Interesting, I'll test it out soon... However I would just like to point out two grammatical errors in your screenshot.

Code:
1. Place an pallet with bags
2. Remove an pallet with bags
should be:

Code:
1. Place a pallet with bags
2. Remove a pallet with bags
__________________
vvg125 is offline
Send a message via AIM to vvg125 Send a message via MSN to vvg125 Send a message via Yahoo to vvg125
VEN
Veteran Member
Join Date: Jan 2005
Old 03-22-2007 , 14:12   Re: Pallets with Bags
Reply With Quote #5

Code:
register_event("ResetHUD","event_newround","b");
This isn't a new round event, see here for details: http://forums.alliedmods.net/showthread.php?t=42159

Code:
stock get_user_hitpoint(id, Float:hOrigin[3])
FYI, there are also
Code:
stock fm_get_aim_origin(index, Float:origin[3])
in the Fakemeta Utilities.

Quote:
for tell me about is_hull_vacant stock
Of course it's good that you've been informed about this stock but unfortunately you haven't been informed how to use it. I.e.
Code:
hull = pev(id, pev_flags) &  HULL_HUMAN
Do you realise what you are doing here? Please tell me.
VEN is offline
MultiShot
Junior Member
Join Date: Mar 2007
Location: The Majesty and the Wond
Old 03-22-2007 , 21:31   Re: Pallets with Bags
Reply With Quote #6

Um, a quick question:
so this mainly blocks a path so people can't get through?
__________________
Coding help or general issues available via PM.
+Karma is required before help.

MultiShot is offline
Send a message via ICQ to MultiShot Send a message via AIM to MultiShot Send a message via Skype™ to MultiShot
ThomasNguyen
Senior Member
Join Date: May 2006
Old 03-22-2007 , 23:26   Re: Pallets with Bags
Reply With Quote #7

Not quite. I think its main purpose is to allow the admin to place the bags in certain area's so players can take cover.. Making the map more fun.
ThomasNguyen is offline
sytremelaker
Senior Member
Join Date: Jun 2006
Location: Staples Center, Los Ange
Old 03-23-2007 , 00:08   Re: Pallets with Bags
Reply With Quote #8

Do you mind adding the option of making them destroyable after taking (x) amount of damage? It shouldn't be anything easy to destroy.
__________________
@ PC Shop Gaming
LetShannonDunk.com - 2010 All-Star Dunk Contest hopeful!
sytremelaker is offline
Send a message via AIM to sytremelaker
Brad
AMX Mod X Team Member
Join Date: Jun 2004
Old 03-23-2007 , 09:25   Re: Pallets with Bags
Reply With Quote #9

Ideally the damage needed to destroy a bag would be set by a CVAR.
__________________
Brad is offline
hjkwe654
Member
Join Date: Sep 2005
Location: Taiwan
Old 03-23-2007 , 10:33   Re: Pallets with Bags
Reply With Quote #10

.sma ?
hjkwe654 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 02:35.


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