Raised This Month: $ Target: $400
 0% 

Artificial Bullet Spread(regarding velocity_by_aim)[SOLVED]


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
_Master_
Senior Member
Join Date: Dec 2006
Old 06-23-2007 , 03:23   Re: Artificial Bullet Spread(regarding velocity_by_aim)
Reply With Quote #1

You could use the traces generated by TE_MULTIGUNSHOT...
_Master_ is offline
Matsumoto123
New Member
Join Date: Oct 2008
Old 10-04-2008 , 08:30   Re: Artificial Bullet Spread(regarding velocity_by_aim)[SOLVED]
Reply With Quote #2

sorry for bumping into an old topic, but i'm kinda interested in this. could you pls tell me how to get this plugin to work and what other plugins/moules i have to set up for that? i tried compiling the plugin and it did without problems. but on the server i can't see any change at all. i would really appreciate any help regarding this matter.
Matsumoto123 is offline
Dores
Veteran Member
Join Date: Jun 2008
Location: You really don't wanna k
Old 10-09-2008 , 21:48   Re: Artificial Bullet Spread(regarding velocity_by_aim)[SOLVED]
Reply With Quote #3

To make this plugin work you need to:

A) Have these modules -
Code:
#include <fakemeta>
#include <hamsandwich>
B) Have the laserbeam.spr file at the <mod>/sprites/ directory.

C) type "fire" (without quotes) in console.

If you play Counter-Strike for example, mod = cstrike.
__________________
O o
/Ż________________________
| IMMA FIRIN' MAH LAZOR!!!
\_ŻŻŻ
Dores is offline
cs1.7
Senior Member
Join Date: Oct 2008
Old 01-10-2009 , 17:40   Re: Artificial Bullet Spread(regarding velocity_by_aim)[SOLVED]
Reply With Quote #4

why does XxAvalanchexX's code not work? Anyone tested it?
cs1.7 is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 01-10-2009 , 19:58   Re: Artificial Bullet Spread(regarding velocity_by_aim)[SOLVED]
Reply With Quote #5

This code simulates bullet spread, not remove the spread.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
nato
Junior Member
Join Date: Jul 2011
Old 01-17-2013 , 11:27   Re: Artificial Bullet Spread(regarding velocity_by_aim)[SOLVED]
Reply With Quote #6

Hello XxAvalanchexX. If understand correctly damage to any part of the body will be the same. How to make more damage depends on the standard weapon damage that is I want to implement something like this

PHP Code:
public fw_TakeDamage(victiminflictorattackerFloat:damagedamage_bits)
{    
    
SetHamParamFloat(4damage 3.0)

I think something like that but not sure

PHP Code:
 if ( iDamage && pev_valid(pEntity) )
 {
            new 
Floatdamage
           pev
(pEntitypev_dmg_takedamage);
                
ExecuteHamHam_TakeDamagepEntityany:pevAttackerany:pevAttacker, (damage3.0), any:(DMG_BULLET | ((iDamage 16) ? DMG_ALWAYSGIB DMG_NEVERGIB)) );
                
                
/* TEXTURETYPE_PlaySound(&tr, vecSrc, vecEnd, iBulletType);
                DecalGunshot( &tr, iBulletType ); */
  

Sorry for bad english

Last edited by nato; 01-17-2013 at 11:34.
nato 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 21:24.


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