Bouncing bullets
2 Attachment(s)
This plugin will make every bullets bouncing upon walls/floor.
cvars : amx_showrebound 0 | 1 : will show the rebound of your bullet You need Fakemeta and hamsandwich modules I used the Detect fired particle creation/type/number/attack/obstacle/vector tutorial by VEN. Thank you VEN. v1.1 : - clean up / optimize the code - removed unnecessary code (thank you VEN again) - detect now if CS or CZ is running then use correct decals (requested by vittu and thank you for the CS decals numbers) v1.0 : - initial release |
Re: Bullets rebound
Code:
You should use english language by default. |
Re: Bullets rebound
ahm so wat does this plugins exactly do?
bullets rebounding? i dont get what you mean. |
Re: Bullets rebound
i saw the code but i don't really get it. but a quesition, will the rebounded bullets register damage if they hit a player\something breakable?
|
Re: Bullets rebound
Quote:
But does the bullet lose damage/speed upon bouncing off a surface? Will it bounce several times or just once? etc. |
Re: Bullets rebound
ok, sorry for my bad english.
with this plugin every bullets shots bounce upon a wall or floor or object ... if you set sv_showrebound to 1, you will understand what i mean. i will try to post a screenshot soon. The bullet bounce one time only and make damages with traceattack() function. @BlackMilk : No, the bullet doesnt lose damage or speed and it will bounce one time only. @arkshine : thank you but it is just a "test" message to let everyone put his own message instead. I have "translated" the message in english for clarity. |
Re: Bullets rebound
Can you add a cvar for how many times it will rebound?
|
Re: Bullets rebound
Oh well guess it won't hurt to give it a go.
|
Re: Bullets rebound
Quote:
|
Re: Bullets rebound
Change fm_is_valid_ent(entity) to pev_valid(entity) and then you don't need to #include <fakemeta_util>
You better use engfunc(EngFunc_WriteCoord, ...) instead of write_coord(...), then you don't need to round vectors. Also for example i do not see how g_shotgun_shot_particle_number[] is useful here. Snippets/tutorilas is to show you some scripting aspects/technique. You have to read and understand it not just copy/paste code blocks. |
All times are GMT -4. The time now is 04:27. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.