AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   Pallets with Bags (https://forums.alliedmods.net/showthread.php?t=52927)

SAMURAI16 03-22-2007 10:27

Pallets with Bags
 
3 Attachment(s)
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:


jim_yang 03-22-2007 10:41

Re: Pallets with Bags
 
seems funny

hip_hop_x 03-22-2007 10:58

Re: Pallets with Bags
 
yup, it's a good plugin.

vvg125 03-22-2007 11:52

Re: Pallets with Bags
 
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


VEN 03-22-2007 13:12

Re: Pallets with Bags
 
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.

MultiShot 03-22-2007 20:31

Re: Pallets with Bags
 
Um, a quick question:
so this mainly blocks a path so people can't get through?

ThomasNguyen 03-22-2007 22:26

Re: Pallets with Bags
 
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.

sytremelaker 03-22-2007 23:08

Re: Pallets with Bags
 
Do you mind adding the option of making them destroyable after taking (x) amount of damage? It shouldn't be anything easy to destroy.

Brad 03-23-2007 08:25

Re: Pallets with Bags
 
Ideally the damage needed to destroy a bag would be set by a CVAR.

hjkwe654 03-23-2007 09:33

Re: Pallets with Bags
 
.sma ?


All times are GMT -4. The time now is 01:51.

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