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 bags ◦ Added 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: |
Re: Pallets with Bags
seems funny
|
Re: Pallets with Bags
yup, it's a good plugin.
|
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 Code:
1. Place a pallet with bags |
Re: Pallets with Bags
Code:
Code:
Code:
Quote:
Code:
|
Re: Pallets with Bags
Um, a quick question:
so this mainly blocks a path so people can't get through? |
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.
|
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.
|
Re: Pallets with Bags
Ideally the damage needed to destroy a bag would be set by a CVAR.
|
Re: Pallets with Bags
.sma ?
|
Re: Pallets with Bags
Quote:
|
Re: Pallets with Bags
samurai16 the .sma??????????????
|
Re: Pallets with Bags
Quote:
|
Re: Pallets with Bags
Quote:
Please tell a good method to use it |
Re: Pallets with Bags
Quote:
Quote:
Quote:
|
Re: Pallets with Bags
not verry sure . Can explain me with high details ?
I used that way, because that comes on my brain, i tested an worked anyway |
Re: Pallets with Bags
HULL_* isn't related to entity flags constants directly because flags is using FL_* constants, so you can't just do: hull = pev(id, pev_flags) & HULL_HUMAN but you can detect player's hull number (HULL_*) based on his ducking (FL_DUCKING) state check.
If you would like to know how actually you can use is_hull_vacant() you have to look into the source code of Teleport Smoke Grenade (where this function was originally used). If you going to read hlsdk_const.inc carefully, you'll see: Quote:
|
Re: Pallets with Bags
with this:
PHP Code:
Or, i think isn't required tracehull on my plugin, and i don't understand how can my code ( if(pev(id,pev_flags) & HULL_HUMAN) ) can works. Only what i want on my plugin, is to check if users isn't aiming at sky, i think its enough only that. Any suggestions ? how works tracemodel and gethullbounds ? |
Re: Pallets with Bags
Quote:
Quote:
Quote:
|
Re: Pallets with Bags
this is good ?
PHP Code:
|
Re: Pallets with Bags
No just
Quote:
|
Re: Pallets with Bags
works, thanks
Now wait untill i will can upload the sma. |
Re: Pallets with Bags
Quote:
|
Re: Pallets with Bags
see in the first post, i posted the plugin on a free host untill site will work correct.
|
Re: Pallets with Bags
The link works. Thanks.
|
Re: Pallets with Bags
▪ Version 0.2b released
◦Added an cvar to set if can destroy pallets with bags ◦Added 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 |
Re: Pallets with Bags
◦Added an cvar to set if can destroy pallets with bags
◦Added an cvar to set the health of pallets with bags Not works |
Re: Pallets with Bags
thanks, fixed . Read on notes how to make to can destroy a pallet with bags
|
Re: Pallets with Bags
Version 0.2c released
◦ Removed the cvar for set it to make pallets with bags destroyable or no. To be destroyable, just set the health > 0. |
Re: Pallets with Bags
Not works man is the same thing. Pallets with bags can not be destroyd.
|
Re: Pallets with Bags
it's work . I tested . Just set the health 50 for example and shoot on it. Works 100 %
|
Re: Pallets with Bags
- Added a movie with plugin in action ; see in first post :o
|
Re: Pallets with Bags
Hints:
Quote:
Quote:
Instead of Quote:
Quote:
Quote:
Quote:
Also i do not know whether it was planned or not to not check the distance between player and bag, in fact the bag may be placed far away from a player. |
Re: Pallets with Bags
done
see now |
Re: Pallets with Bags
So if I set some bags up in a corner with the cvar : pallets_wbags_nroundrem set to disable , and having the health set to 75, the pallet will return next new round if destroyed?
Also would be nice to have them save to a file so that every time the map changes to the map these were set on it would be there :), if that's possible. |
Re: Pallets with Bags
so, pallets_wbags_nroundrem is disable, bags have health 75, on nextround, woun't be destroyed . But if you shoot o a pallet with bags, that will be destroyed.
|
Re: Pallets with Bags
Awesome plugin! the plugin would even be greater for me if it is possible to set some coordinates in a .ine file so when the map reloads the pallets are still there, Anyway briljant job mate!
|
Re: Pallets with Bags
yea if the pallets would stay at map change that would be awesome!
still crazy plugin though props given keep it up |
Re: Pallets with Bags
Quote:
|
Re: Pallets with Bags
Quote:
|
All times are GMT -4. The time now is 08:41. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.