Raised This Month: $105 Target: $400
 26% 

Half-Life UT Style Weapons Floating


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Half-Life        Category:   Fun Stuff        Approver:   Hawk552 (427)
tuty
Veteran Member
Join Date: Jul 2008
Location: Romania
Old 03-28-2010 , 08:17   Half-Life UT Style Weapons Floating
Reply With Quote #1

Half-Life Weapons Floating


Description:

- Well, in CS 1.6 GHW made a floating weapon plugin and is cool, so, let's see in Half-Life floating all ammo/weapons/items and spining and have some random colors glow !!!

- All credits to GHW Chronic for idea and some code


Cvars:

- hl_fw_enabled - 1 -
enabled / 0 - disabled
- hl_fw_glow - 1 - all weapons/ammo/items are with glow / 0 - disabled glow
- hl_fw_speed - 25.0 - weapon spinning speed
- hl_fw_glow_thickness - 10.0 - glow thickness


Modules:

- engine
- hamsandwich


Video:

http://www.youtube.com/watch?v=s19uQdV0BEs


This plugin works awesome with Connor's Weaponbox plugin
http://forums.alliedmods.net/showthr...144#post989144 (a suggestion to use it.. give more color on server life )



Changelog:

  • Version
    --------

    1.0.0 - first release
    1.0.1 - updated code, and removed that bug, items will climb up a little bit but you don't need to jump after them
    1.0.2 - added random angles too look awesome. Added support for item_suit too..
    2.0.0 - fixed some stuff




.
Attached Files
File Type: sma Get Plugin or Get Source (HL_WeaponFloating.sma - 2480 views - 3.4 KB)
__________________
All my lifetime work is there (includin private big ass plugins and stuff) https://github.com/tutyamxx


Last edited by tuty; 02-28-2012 at 12:30.
tuty is offline
Send a message via ICQ to tuty Send a message via AIM to tuty
KadiR
Unnecessary Member
Join Date: Aug 2008
Location: Zürich / Switzerland
Old 03-28-2010 , 08:19   Re: HL Weapons Floating
Reply With Quote #2

Cool stuff! Good job!
KadiR is offline
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 03-28-2010 , 08:25   Re: HL Weapons Floating
Reply With Quote #3

Gj.

Put gHalfLifeItemNames and gHalfLifeWeaponEntitiesNames in plugin_init so the memory will be cleared after exiting function
__________________
xPaw is offline
tuty
Veteran Member
Join Date: Jul 2008
Location: Romania
Old 03-29-2010 , 08:01   Re: Half-Life UT Style Weapons Floating
Reply With Quote #4

uhm, nobody like it ?
__________________
All my lifetime work is there (includin private big ass plugins and stuff) https://github.com/tutyamxx

tuty is offline
Send a message via ICQ to tuty Send a message via AIM to tuty
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 03-29-2010 , 08:15   Re: Half-Life UT Style Weapons Floating
Reply With Quote #5

There are not much people who run HL. Only ~50 servers. You could add an editor to change the weapon angles, saving in a file.
__________________
Arkshine is offline
Owyn
Veteran Member
Join Date: Nov 2007
Old 03-29-2010 , 08:55   Re: Half-Life UT Style Weapons Floating
Reply With Quote #6

http://forums.alliedmods.net/showthread.php?t=53023
__________________
☜ Free Mozy ☂backup\҉sync user
Quote:
Американский форум - Задаёшь вопрос, потом тебе отвечают.
Израильский форум - Задаёшь вопрос, потом тебе задают вопрос.
Русский форум - Задаёшь вопрос, потом тебе долго рассказывают, какой ты мудак.
Owyn is offline
Send a message via ICQ to Owyn
tuty
Veteran Member
Join Date: Jul 2008
Location: Romania
Old 03-29-2010 , 09:54   Re: Half-Life UT Style Weapons Floating
Reply With Quote #7

arkshine - too much work for each map
Owyn - that is only for cs, only one entity is hooked.. "weaponbox". In half-life are more than one...
__________________
All my lifetime work is there (includin private big ass plugins and stuff) https://github.com/tutyamxx

tuty is offline
Send a message via ICQ to tuty Send a message via AIM to tuty
hcxx
Senior Member
Join Date: Jan 2007
Location: 127.0.0.1
Old 03-29-2010 , 11:48   Re: Half-Life UT Style Weapons Floating
Reply With Quote #8

Thx tuty just installed this on my server.

nice to see new hldm plugin aigan

-EDIT-

Your plugin have a bug. the items go to high and you cant get them if some1 havent take some item long time. here is a picture for you. you have to jump to get longjump package eg.

[IMG]http://img717.**************/img717/5716/halflife02.th.jpg[/IMG]

Last edited by hcxx; 03-29-2010 at 12:12.
hcxx is offline
tuty
Veteran Member
Join Date: Jul 2008
Location: Romania
Old 03-29-2010 , 12:23   Re: Half-Life UT Style Weapons Floating
Reply With Quote #9

uhm, i will try to fix that
__________________
All my lifetime work is there (includin private big ass plugins and stuff) https://github.com/tutyamxx

tuty is offline
Send a message via ICQ to tuty Send a message via AIM to tuty
worldspawn
Senior Member
Join Date: Aug 2009
Location: Russia, Yekaterinburg
Old 03-29-2010 , 13:14   Re: Half-Life UT Style Weapons Floating
Reply With Quote #10

may be there is the same bug as in GHW's
if you drop weapon at the wall, you won't be able to pick it up

if there's no such, GJ
worldspawn is offline
Send a message via ICQ to worldspawn Send a message via Skype™ to worldspawn
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 15:28.


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