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

Healthkit from dead


Post New Thread Reply   
 
Thread Tools Display Modes
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 11-30-2011 , 06:13   Re: Healthkit from dead
Reply With Quote #21

Quote:
Originally Posted by GrO View Post
Great plugin, but I have one question:

what's the purpose of:
while we can set maxheal here:
ok... hfd_maxheal = player max health !
if hfd_maxheal 500 = player can pick up healthkits till get 500 HP
and if hfd_maxheal 50 = player who have less HP than 50, can pick healhtkits. And will heal maximum 50

hfd_heal "15 , 100" = healthkits give heal random between 15HP and 100HP
__________________
Do not Private Message @me

Last edited by Bacardi; 11-30-2011 at 06:20.
Bacardi is offline
GrO
Veteran Member
Join Date: Jun 2010
Location: Poland
Old 11-30-2011 , 06:49   Re: Healthkit from dead
Reply With Quote #22

Quote:
Originally Posted by Bacardi View Post
ok... hfd_maxheal = player max health !
if hfd_maxheal 500 = player can pick up healthkits till get 500 HP
and if hfd_maxheal 50 = player who have less HP than 50, can pick healhtkits. And will heal maximum 50

hfd_heal "15 , 100" = healthkits give heal random between 15HP and 100HP
Understood, thanks for explanation.
GrO is offline
wawazy
Member
Join Date: Aug 2009
Old 12-12-2011 , 00:14   Re: Healthkit from dead
Reply With Quote #23

well i installed on TF2 but i want use my own medkit skin

i dont know if i read correcly but i think i dont need another plugin to make files downloaded.

if im correct why with this plugin my files not download ??

thanks and sorry for bad english

wa
wawazy is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 12-12-2011 , 00:46   Re: Healthkit from dead
Reply With Quote #24

Quote:
Originally Posted by wawazy View Post
well i installed on TF2 but i want use my own medkit skin
- Your own, files what are not already in steam files ?
-And is model with texture, not only texture ?
- Check and make sure it have own "collision" or show me that file.
Quote:
Originally Posted by wawazy View Post
i dont know if i read correcly but i think i dont need another plugin to make files downloaded.

if im correct why with this plugin my files not download ??

thanks and sorry for bad english

wa
- If you use custom model what not exist in game, you need give these files to players or else they see it BIG ERROR.
- This plugin not add files in server downloadtable so players start automatically download files.
You need alternative plugin for this.
__________________
Do not Private Message @me
Bacardi is offline
wawazy
Member
Join Date: Aug 2009
Old 12-12-2011 , 18:57   Re: Healthkit from dead
Reply With Quote #25

Thanks for respond fast



well what i ant its player drop this

http://forums.tf2maps.net/downloads.php?do=file&id=2984

the onlty thing i do i add 1 folder named custom in the path

and use mdlindexer and VTFEdit to change path to reflect my change

i only want use the turkey big health kit lol

i try this to make it download but file look be download but when i look in my folder game nothing

oh and i test it on in SDK to seeid im ok and i was

wa
Attached Files
File Type: zip Noel.zip (708.5 KB, 209 views)

Last edited by wawazy; 12-12-2011 at 18:59.
wawazy is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 12-13-2011 , 10:32   Re: Healthkit from dead
Reply With Quote #26

Quote:
Originally Posted by wawazy View Post
oh and i test it on in SDK to seeid im ok and i was

wa
Good, but what I mention already before start use that model in this plugin.
It must have own collision/physic (red wireframe)

So don't use or it will crash server and will pop up error.
I have just tested.

*edit
seems this dynamic model can use in these entyties, what plugin not use:
Quote:
Originally Posted by Bacardi View Post
TF2:
Item_healthkit_small = (Restores 20.5% health.)
item_healthkit_medium = (restores 50% of full health.)
item_healthkit_full = (full healing.)
Attached Thumbnails
Click image for larger version

Name:	turkey.jpg
Views:	979
Size:	57.2 KB
ID:	96642  
__________________
Do not Private Message @me

Last edited by Bacardi; 12-13-2011 at 11:34. Reason: must must
Bacardi is offline
wawazy
Member
Join Date: Aug 2009
Old 12-13-2011 , 23:29   Re: Healthkit from dead
Reply With Quote #27

im not really good with all those thing but did you think we can add something on your plugin to drop this medkit when player die lol

a turkey for christmas lol

wa
wawazy is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 12-14-2011 , 08:42   Re: Healthkit from dead
Reply With Quote #28

Quote:
Originally Posted by wawazy View Post
im not really good with all those thing but did you think we can add something on your plugin to drop this medkit when player die lol

a turkey for christmas lol

wa
As you wish. I made this for you (TF2)
- I replace prop_physics_multiplayer to item_healthkit_small, heal 20.5% (TF2)
- Can't configure hfd_heal, hfd_maxheal not in use anymore
- Not need SDKHooks anymore
- Assuming, can use any model now... maybe (edit plugin source code)
- Some hfd_mode modes not in use (sound, noblock, printhinttext, bots can't pick up)

I added your custom model path already in this plugin source code. Just remember add in hfd_mode number 1


Even add wrong model to healthkit entity, it will show default one. Not crash server.

*edit edit
You need that another plugin to upload files to players. (example)
Attached Thumbnails
Click image for larger version

Name:	turkey1.jpg
Views:	997
Size:	85.9 KB
ID:	96692  
Attached Files
File Type: sp Get Plugin or Get Source (tf2_healthkit_from_dead.sp - 633 views - 9.2 KB)
File Type: ini downloads_simple_example.ini (519 Bytes, 220 views)
__________________
Do not Private Message @me

Last edited by Bacardi; 12-14-2011 at 08:52.
Bacardi is offline
wawazy
Member
Join Date: Aug 2009
Old 12-14-2011 , 19:57   Re: Healthkit from dead
Reply With Quote #29

Oh well thanks alot going get fun to see people get drop lol


i cant say enough thanks to you for that

wa
wawazy is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 12-24-2011 , 05:19   Re: Healthkit from dead
Reply With Quote #30

unfortunately, I had get 3 times bug called "physical mayhem",
where weapons drop through ground and other stuff floats on ground.

Assuming, it come from this plugin when enabled "noblock" to healthkits. (Not 100% sure)
By chance, there came that Valve Grab Gift in same time.
So if you get this same problem, just take "noblock"-mode out.
Merry Xmas

*edit
Can see from server console output, if you get these a lot
Code:
12/24/2011 - 01:21:58: Ignoring unreasonable position (-2667.313721,-8.259109,-249329.937500) from vphysics! (entity weapon_usp)
__________________
Do not Private Message @me

Last edited by Bacardi; 12-24-2011 at 05:29.
Bacardi 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 01:55.


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