AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Position of bullets (https://forums.alliedmods.net/showthread.php?t=317319)

wilianmaique 07-07-2019 12:49

Position of bullets
 
Let's say I'm with X gun, and I want her bullets going X right, is it possible to do that as a plugin?

CrazY. 07-07-2019 13:31

Re: Position of bullets
 
You could
  • Hook FireBullets3 (FireBullets for shotguns) and edit the shooting direction vector (ReAPI, Rage or maybe Okapi)
  • Hook Ham_TraceAttack and edit the TR_vecEndPos
  • Override default shooting function with yours (remake the weapon PrimaryAttack)

Not sure if that's what you was asking, there are not many details in your post.

wilianmaique 07-07-2019 14:34

Re: Position of bullets
 
Quote:

Originally Posted by CrazY. (Post 2658134)
You could
  • Hook FireBullets3 (FireBullets for shotguns) and edit the shooting direction vector (ReAPI, Rage or maybe Okapi)
  • Hook Ham_TraceAttack and edit the TR_vecEndPos
  • Override default shooting function with yours (remake the weapon PrimaryAttack)

Not sure if that's what you was asking, there are not many details in your post.

I need the shots from my gun to go up a bit.

PT-BR: Preciso que os tiros da minha arma suba um pouco para cima


All times are GMT -4. The time now is 17:23.

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