Trace attack
So this is a good question, can I create my own Trace Attack and can I use it that my custom weapon bullet would go though walls
|
Re: Trace attack
I like where this idea is going....:D
I'd say trace attack of origin and vector, then spawn the round again on the same vector at the other end of the wall. How to know where the wall is beats me. Or take the vector and draw the vector across the length of the map. taking origins of each player and if they intercept, deal damage. Just throwing out ideas. Actual code is up to you. :P |
Re: Trace attack
If I'm not mistaking trace attack makes it's own extra line when a wall is hitted.
It would be very nice if Arkshine or Connor would interact in this forum. |
Re: Trace attack
Quote:
|
Re: Trace attack
Quote:
Or in this case I wouldn't leave the search button out either: https://forums.alliedmods.net/showthread.php?t=70705 That looks like your best bet, but by the looks of it you'll only get it through one wall. |
Re: Trace attack
It uses trace line and I want to use Trace attack because by my theory that it will go automaticly trough walls by default of game
|
Re: Trace attack
Not sure to follow, if you want to fire like in CS, use CBaseEntity::FireBullets3(), through Rage module.
But, basically, just a matter of throwing some traceline. |
Re: Trace attack
I dont like "Rage" because I want that plugin would be amxx only. And now I will ask you the same boring question that your abored of, could you give me an example of trace lines that go trough walls?
BTW: I want that the method would be Trace Attack because I want that weapon would be like real, and some plugins uses Trace attack to block it. |
Re: Trace attack
The thing is using Rage is way far more efficient than a pawn plugin and others plugins will be able to hook TraceAttack.
|
Re: Trace attack
I know that "Rage" is maybe better but I don't want amxx plugin with "Rage" in my server, and I think that I will even release my weapon, but how many plugins has a F**king "Rage" with amxx
|
| All times are GMT -4. The time now is 00:19. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.