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

Healthkit (like in HL)


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Fun Stuff        Approver:   v3x (159)
VEN
Veteran Member
Join Date: Jan 2005
Old 03-03-2006 , 14:14   Healthkit (like in HL)
Reply With Quote #1

I wrote that plugin for fun by a request: http://forums.alliedmods.net/showthread.php?t=24832
I tryed to search for similar plugin on this forums and found nothing like this.
So if you like this plugin - enjoy.

Edit:
- tested on CS successfully
- on DOD seems like it didn't work
- not tested on other mods so i mark it as for CS only

Description:
  • This plugin basically provides an ability to spawn HL healthkits.
    If healthkit is collected it would appear again later like in HL.
    Note:Engine module required.
Commands:
  • healthkit_spawn [save] - spawns a healthkit at the origin of a player who typed that command
    • if "save" argument is specified then origin would be added to the end of the file
      $configsdir/maps/<currentmap>.cfg (file would be created if it is not exists)
      that would allow to spawn saved healthkits every specific map load
      Note: to avoid error create $configsdir/maps folder if it is not exists.

    healthkit_load <x> <y> <z> - spawns a healthkit at the specified origin

    healthkit_clear - removes all spawned healthkits

    Commands access level is ADMIN_CFG (falg "h") can be redefined (#define ACCESS_LEVEL)
Attached Files
File Type: sma Get Plugin or Get Source (healthkit.sma - 4640 views - 2.9 KB)
VEN is offline
Kraugh
Senior Member
Join Date: Jan 2006
Location: barrington, ri
Old 03-03-2006 , 15:36  
Reply With Quote #2

are you sure this will work? what if the mod this is for has removed the code for item_healthkit?
__________________
"You can not restrain a fool from speaking, but nothing obliges you to listen."
Kraugh is offline
Send a message via AIM to Kraugh
diamond-optic
Veteran Member
Join Date: May 2005
Old 03-03-2006 , 17:26  
Reply With Quote #3

yeah, no health kit seems to be created when using the commands in day of defeat

and running developer 1

my console spits out this:

Code:
Can't create entity: item_healthkit
but this is a good idea.. i'd like to be able to add a health pack in a spot or two

would look nice on a table using some of the sub models from the medcrate_gibs mdl or whatever the filename was.. the one with the bandaids and the needles lmao
__________________
diamond-optic is offline
VEN
Veteran Member
Join Date: Jan 2005
Old 03-04-2006 , 01:59  
Reply With Quote #4

Okay
- tested on CS successfully
- on DOD seems like it didn't work
- not tested on other mods so i mark it as for CS only
VEN is offline
Sir Apocalypse
Member
Join Date: Jul 2005
Location: Finland
Old 03-04-2006 , 02:10  
Reply With Quote #5

You should create spawnpoints to healthpack like in csdm.
Like they're ready in a zip or something
__________________
[img]http://img56.**************/img56/864/sirapocalypse1yh.gif[/img]
Sir Apocalypse is offline
Send a message via MSN to Sir Apocalypse
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 03-04-2006 , 04:17  
Reply With Quote #6

Nice plugin, taught me something ;]
__________________
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
XCoder
Member
Join Date: Mar 2006
Location: Worldwide
Old 03-27-2006 , 01:57  
Reply With Quote #7

Hello,

Really nice Plugin our players love it!

But now they want also Ammunation Packages...

I think you know them also from Opposing Force or Original Half Life 1.
Is there any way to make this?

I hope you can do this.

Great work, and thanks for your time
XCoder is offline
VEN
Veteran Member
Join Date: Jan 2005
Old 03-27-2006 , 05:46  
Reply With Quote #8

I'm not sure. If you want another plugin - post a request in "Suggestions / Requests" forums section - probably someone would make it for you. There Healthkit talks only. Thanks for understanding.
VEN is offline
XCoder
Member
Join Date: Mar 2006
Location: Worldwide
Old 03-28-2006 , 05:38  
Reply With Quote #9

Sorry, i thought you can do this...

And i was so happy about your stuff, so i just asked...
Have postet new thread: http://forums.alliedmods.net/showthr...=224135#231059

Thanks


XCoder
XCoder is offline
SlimDog
Junior Member
Join Date: Mar 2006
Location: Lithuania
Old 03-28-2006 , 13:31  
Reply With Quote #10

Plugin is cool, but it's source is cooler I mean its realy good for learning origin basics.... Finally I know how to add a new object to world You should write tutorials! Good luck.
__________________
SlimDog is offline
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 20:54.


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