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

[HL] Flying Crowbar Fix


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
CyanSquare
Junior Member
Join Date: Jan 2024
Old 01-17-2024 , 12:42   [HL] Flying Crowbar Fix
Reply With Quote #1

I found this fun old plugin called flying crowbar, but unfortunately each time you throwing the crowbar it stays in players hand thus allowing you to throw it infinitely (until you select another weapon). Can someone fix this please?

Tested on AMXX 1.10 and the lastest steam version of HL.
Attached Files
File Type: sma Get Plugin or Get Source (fly_crowbar.sma - 62 views - 6.5 KB)
CyanSquare is offline
DJEarthQuake
Veteran Member
Join Date: Jan 2014
Location: Astral planes
Old 01-19-2024 , 16:01   Re: [HL] Flying Crowbar Fix
Reply With Quote #2

You can try to compare it to this one. I never had enough interest to test.

Quote:
Originally Posted by DJEarthQuake View Post
The crowbar plugin took some searching and it's untested!!

Crowbar plugin was added onto your version of powerplay. I remade it from ground up on Github without the crowbar. Karma on the non-payment.
__________________
DJEarthQuake is offline
CyanSquare
Junior Member
Join Date: Jan 2024
Old 01-20-2024 , 11:13   Re: [HL] Flying Crowbar Fix
Reply With Quote #3

Just tested it, unfortunately it has the same problem I described above (also it throws crowbar on primary fire instead of secondary).
CyanSquare is offline
DJEarthQuake
Veteran Member
Join Date: Jan 2014
Location: Astral planes
Old 01-22-2024 , 12:41   Re: [HL] Flying Crowbar Fix
Reply With Quote #4

So how do you want it to operate like 1 shot then have to go retrieve it?
__________________
DJEarthQuake is offline
CyanSquare
Junior Member
Join Date: Jan 2024
Old 01-22-2024 , 15:05   Re: [HL] Flying Crowbar Fix
Reply With Quote #5

exactly c:
so you couldn't just spam it
CyanSquare is offline
DJEarthQuake
Veteran Member
Join Date: Jan 2014
Location: Astral planes
Old 01-23-2024 , 15:55   Re: [HL] Flying Crowbar Fix
Reply With Quote #6

When I finally tested there was no spam, just fakemeta invalid entity. I updated it. Script was written for Windows only and hard-coded. I fixed that and added another feat so when it is thrown at walls and breakables, etc, there's a list; it shatters them to boot. I had to retrieve the crowbar each time. People usually do not stay alive long enough in Half-Life to make this a spam problem. I got mp5'ed a bunch of times trying to slap a bot with this crowbar plugin. Crowbar never was stuck in hand. What are you running please?
__________________

Last edited by DJEarthQuake; 01-24-2024 at 07:25.
DJEarthQuake is offline
DJEarthQuake
Veteran Member
Join Date: Jan 2014
Location: Astral planes
Old 01-23-2024 , 16:54   Re: [HL] Flying Crowbar Fix
Reply With Quote #7

Also just ported this to flying knife and pipe_wrench for Opposing Forces both as separate plugins. Will combine maybe early in the morning some day.
__________________

Last edited by DJEarthQuake; 01-23-2024 at 16:55.
DJEarthQuake is offline
CyanSquare
Junior Member
Join Date: Jan 2024
Old 01-24-2024 , 13:57   Re: [HL] Flying Crowbar Fix
Reply With Quote #8

Hmm, strange, but your updated version doesn't work, crowbar is not being thrown neither on primary fire nor secondary (sma file compiled perfectly fine). I'm using AMXX 1.10.0.5461 and Metamod-r v1.3.0.138 on steam version of Half-Life
CyanSquare is offline
DJEarthQuake
Veteran Member
Join Date: Jan 2014
Location: Astral planes
Old 01-26-2024 , 12:07   Re: [HL] Flying Crowbar Fix
Reply With Quote #9

So you are using Windows and that RE. I use steamcmd to get my hlds software. It is a secondary attack. Weapon has to be retrieved.

Code:
meta version
Metamod v1.21.1-am  2013-09-26 (5:13)
by Will Day <[email protected]>
   http://www.metamod.org/
compiled: Sep 26 2013, 17:09:41 -0500 (optimized)

amxx version
AMX Mod X 1.10.0.5462
Compiled: Feb 28 2023 22:52:35
Built from: https://github.com/alliedmodders/amx...ommit/49a8b959
Build ID: 5462:49a8b959-SPINX
Core mode: JIT+ASM32
__________________
DJEarthQuake 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 07:17.


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