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

Weapon Balance Mod


Post New Thread Reply   
 
Thread Tools Display Modes
MPNumB
Veteran Member
Join Date: Feb 2007
Location: Lithuania
Old 08-31-2013 , 06:14   Re: Weapon Balance Mod
Reply With Quote #11

Yes. Double-shot fires two bullets at once (like in half-life).
__________________
Skill and no annoying bugs with fixed balance issues is my goal!
My approved plugins what don't show up in Approved List:
* Bomb/Death/CSS Radar
* HotVision
___
Need help? Please check this documentation first.
MPNumB is offline
Send a message via Skype™ to MPNumB
wicho
Veteran Member
Join Date: Feb 2012
Location: GuateAmala
Old 09-02-2013 , 18:28   Re: Weapon Balance Mod
Reply With Quote #12

Interesting maybe u can make this an extra item to zombie plague with tracers remain good..

Last edited by wicho; 09-02-2013 at 20:30.
wicho is offline
MPNumB
Veteran Member
Join Date: Feb 2007
Location: Lithuania
Old 09-03-2013 , 11:24   Re: Weapon Balance Mod
Reply With Quote #13

Updated to 1.6
Added: sniper_zoom_reset cvar to reset awp and scout zoom after fire.

(36 downloads reset)
__________________
Skill and no annoying bugs with fixed balance issues is my goal!
My approved plugins what don't show up in Approved List:
* Bomb/Death/CSS Radar
* HotVision
___
Need help? Please check this documentation first.
MPNumB is offline
Send a message via Skype™ to MPNumB
wicho
Veteran Member
Join Date: Feb 2012
Location: GuateAmala
Old 03-10-2014 , 00:22   Re: Weapon Balance Mod
Reply With Quote #14

I dunno why but the tracers of shotgun dont work for me, i mean never appear...

Last edited by wicho; 03-10-2014 at 00:24.
wicho is offline
MPNumB
Veteran Member
Join Date: Feb 2007
Location: Lithuania
Old 03-11-2014 , 04:34   Re: Weapon Balance Mod
Reply With Quote #15

Quote:
Originally Posted by wicho View Post
I dunno why but the tracers of shotgun dont work for me, i mean never appear...
The tracers are very fast to see. Also make sure, that the cvar number is right. For others to see, it must have 2, and for you to see 1 (total result 3) or 4 (total result 6).
__________________
Skill and no annoying bugs with fixed balance issues is my goal!
My approved plugins what don't show up in Approved List:
* Bomb/Death/CSS Radar
* HotVision
___
Need help? Please check this documentation first.
MPNumB is offline
Send a message via Skype™ to MPNumB
wicho
Veteran Member
Join Date: Feb 2012
Location: GuateAmala
Old 03-11-2014 , 15:30   Re: Weapon Balance Mod
Reply With Quote #16

Ok i have another question how i can make when the player use the double shot he need to wait two seconds to shoot again (like half-life)?
wicho is offline
MPNumB
Veteran Member
Join Date: Feb 2007
Location: Lithuania
Old 03-12-2014 , 03:12   Re: Weapon Balance Mod
Reply With Quote #17

If doubleshot function is enabled, the delay between shots is a bit longer anyway.
__________________
Skill and no annoying bugs with fixed balance issues is my goal!
My approved plugins what don't show up in Approved List:
* Bomb/Death/CSS Radar
* HotVision
___
Need help? Please check this documentation first.
MPNumB is offline
Send a message via Skype™ to MPNumB
wicho
Veteran Member
Join Date: Feb 2012
Location: GuateAmala
Old 03-12-2014 , 04:59   Re: Weapon Balance Mod
Reply With Quote #18

No much that the why i want to change..

Last edited by wicho; 03-12-2014 at 04:59.
wicho is offline
MPNumB
Veteran Member
Join Date: Feb 2007
Location: Lithuania
Old 03-14-2014 , 13:04   Re: Weapon Balance Mod
Reply With Quote #19

Yes, but doubleshot also makes less damage then 2 bullets fired separately, and bullet spread is bigger.
__________________
Skill and no annoying bugs with fixed balance issues is my goal!
My approved plugins what don't show up in Approved List:
* Bomb/Death/CSS Radar
* HotVision
___
Need help? Please check this documentation first.
MPNumB is offline
Send a message via Skype™ to MPNumB
wicho
Veteran Member
Join Date: Feb 2012
Location: GuateAmala
Old 03-14-2014 , 17:09   Re: Weapon Balance Mod
Reply With Quote #20

Yes i know i use this on zombie mod and i change the damage of shotgun but i want to make too if the player use the double shot he need to wait 2 sec to shoot again.. i think i need to change something on post attack, can u tell what thing i need to change?

PHP Code:
public Ham_Attack_shotgun_Post(iEnt)
{
    if( 
g_iFMFwd_TraceLine_Pre )
    {
        
unregister_forward(FM_TraceLineg_iFMFwd_TraceLine_Pre0);
        
g_iFMFwd_TraceLine_Pre 0;
    }
    
    if( 
g_iFMFwd_PlrPostThink_Post )
    {
        
unregister_forward(FM_PlayerPostThinkg_iFMFwd_PlrPostThink_Post1);
        
g_iFMFwd_PlrPostThink_Post 0;
    }
    
    if( 
g_iOldClip>get_pdata_int(iEntm_iClip4) )
    {
        
g_fLastAttack[g_iShotgunOwner] = (get_gametime()+0.5);
        
        if( !
g_bDoubleShot )
        {
            if( 
g_iOldClip>&& get_pcvar_num(g_iCvarShotGunDoubleShot) && pev(g_iShotgunOwnerpev_button)&IN_ATTACK2 )
            {
                static 
Float:s_fAngleDifferenceFloat:s_fOldAngle;
                
set_pdata_float(iEntm_flNextPrimaryAttack0.04);
                
set_pdata_float(iEntm_flNextSecondaryAttack0.04);
                
set_pev(g_iShotgunOwnerpev_punchangleg_fBackupAngle);
                
s_fOldAngle g_fBackupAngle[0];
                
g_bDoubleShot true;
                
ExecuteHamB(Ham_Weapon_PrimaryAttackiEnt);
                
g_bDoubleShot false;
                
pev(g_iShotgunOwnerpev_punchangleg_fBackupAngle);
                
s_fAngleDifference = (g_fBackupAngle[0]-s_fOldAngle);
                if( 
get_pdata_int(iEntm_iId4)==CSW_XM1014 )
                {
                    if( 
g_fBackupAngle[0]>-25.0 && g_fBackupAngle[0]<0.0 )
                    {
                        
s_fAngleDifference *= 1.6;
                        
g_fBackupAngle[0] = (s_fOldAngle+s_fAngleDifference);
                        if( 
g_fBackupAngle[0]<-25.0 )
                            
g_fBackupAngle[0] = -25.0;
                        
set_pev(g_iShotgunOwnerpev_punchangleg_fBackupAngle);
                    }
                    
                    
set_pdata_float(iEntm_flNextPrimaryAttack0.454); // animation 2 (super), 1 (normal)
                    
set_pdata_float(iEntm_flNextSecondaryAttack0.454); // but uh... ping will mess up animations
                
}
                else if( 
g_fBackupAngle[0]>-25.0 && g_fBackupAngle[0]<0.0 )
                {
                    
s_fAngleDifference *= 2.1;
                    
g_fBackupAngle[0] = (s_fOldAngle+s_fAngleDifference);
                    if( 
g_fBackupAngle[0]<-25.0 )
                        
g_fBackupAngle[0] = -25.0;
                    
set_pev(g_iShotgunOwnerpev_punchangleg_fBackupAngle);
                }
            }
            else if( 
get_pdata_int(iEntm_iId4)==CSW_M3 // speedup bullet reload from 0.875 to 0.75
            
{
                
set_pdata_float(iEntm_flNextPrimaryAttack0.754); // animation 1 (super), 2 (normal)
                
set_pdata_float(iEntm_flNextSecondaryAttack0.754); // but uh... ping will mess up animations
            
}
        }
    }
    
    
g_bM3 false;


Last edited by wicho; 03-14-2014 at 17:19.
wicho 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 12:33.


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