Raised This Month: $ Target: $400
 0% 

Weapon Modifier v1.56 (Damage, Recoil, Speed and more...)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
DZHEX
Junior Member
Join Date: Mar 2015
Old 03-18-2024 , 11:29   Re: Weapon Modifier v1.56 (Damage, Recoil, Speed and more...)
Reply With Quote #40

The bots I use needed the specialbot = true in the relevant `RegisterHam`s, which required moving from amxmodx 1.8.2 to 1.8.3, but after that the damage seems to work.

...is there a reason for HE grenades being excluded from the damage modification

edit - I started messing around with it, and it seems that the plugin applies the damage based on the active weapon - works fine for hitscan, but it's kinda funny how pulling out a boosted gun makes the grenade cause the boosted damage, but dropping that weapon makes it do regular damage. It seems that it needs some sort of special exception for inflictor entity of class "grenade". I will try to make this work.

edit2 - attached a version where grenades seem to work. I only focused on damage, no idea whether any other feature works, probably not. Needs amxmodx 1.8.3: http://www.amxmodx.org/snapshots.php
I wanted the updated version for hamsandwich weird bot compatibility thing, but you can edit the RegisterHam lines that have the true argument to make it work with 1.8.2 - remove the trues (the `, true` part, the comma has to go, too) and it *should* be good to go on 1.8.2.
Attached Files
File Type: sma Get Plugin or Get Source (weapon_modifier.sma - 35 views - 36.0 KB)

Last edited by DZHEX; 03-19-2024 at 14:36. Reason: specifying what to remove
DZHEX is offline
 



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 06:54.


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