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

Advanced Bullet Time - 12/8/06


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Fun Stuff       
knekter
Senior Member
Join Date: Mar 2004
Location: PA
Old 12-08-2006 , 19:20   Advanced Bullet Time - 12/8/06
Reply With Quote #1

Advanced Bullet Time V1.0.0
- By knekter

Description:
This plugin simulates the bullet time effect from the movies series The Matrix.

Cvars:
bt_bulletspeed - Normal bullet speed. default: 800
bt_sniperspeed - Sniper bullet speed. default: 2000
bt_red - Amount of red in bullet trail. default: 193
bt_green - Amount of green in bullet trail. default: 193
bt_blue - Amount of blue in bullet trail. default: 191

Commands:
bt_toggle - <1/on | 0/off>. default: on

Compiling:
If you wish to compile this plugin by yourself you'll need to download the FakeMeta Utilities by VEN.

It took me a while to finally update this so sorry to all of you who have been waiting. I plan on adding functionality for shotguns and weapons who have burst fire. I will also add some voting to this plugin just for some kicks.

This plugin hasn't been extensivley tested so be sure to post any bugs you find in this forum. Enjoy!
Attached Files
File Type: sma Get Plugin or Get Source (bullettime.sma - 4242 views - 8.8 KB)
File Type: amxx bullettime.amxx (15.1 KB, 3230 views)
__________________
More updates for Matrix Mod!

Last edited by knekter; 12-08-2006 at 19:30.
knekter is offline
Send a message via AIM to knekter Send a message via MSN to knekter
[CFF] gr3ed
Senior Member
Join Date: Oct 2006
Location: UNKNOWN, USA
Old 12-08-2006 , 19:45   Re: Advanced Bullet Time - 12/8/06
Reply With Quote #2

Correct me if I'm wrong but wasn't that already made? I think so. There is a plugin called something very similar to this.
[CFF] gr3ed is offline
Send a message via MSN to [CFF] gr3ed Send a message via Yahoo to [CFF] gr3ed
Alka
AMX Mod X Plugin Approver
Join Date: Dec 2006
Location: malloc(null)
Old 12-08-2006 , 19:49   Re: Advanced Bullet Time - 12/8/06
Reply With Quote #3

no...you rong ....that is "bullet glow efect"! ;)
Alka is offline
knekter
Senior Member
Join Date: Mar 2004
Location: PA
Old 12-08-2006 , 19:51   Re: Advanced Bullet Time - 12/8/06
Reply With Quote #4

Quote:
Originally Posted by gr3ed View Post
Correct me if I'm wrong but wasn't that already made? I think so. There is a plugin called something very similar to this.
The glow one from the specialist is as similar as it gets, yet he used my code and credits me in the post (you can check).
__________________
More updates for Matrix Mod!
knekter is offline
Send a message via AIM to knekter Send a message via MSN to knekter
Alka
AMX Mod X Plugin Approver
Join Date: Dec 2006
Location: malloc(null)
Old 12-08-2006 , 19:58   Re: Advanced Bullet Time - 12/8/06
Reply With Quote #5

when i have this plugin,after i exit,in server console,apear a lots of msg. something with debug,i add "debug" ater the name o plugins but not working!!!what should i do?? :-??
Alka is offline
AndraX2000
Member
Join Date: Mar 2006
Location: 39°57' N 83°14' W
Old 12-08-2006 , 23:32   Re: Advanced Bullet Time - 12/8/06
Reply With Quote #6

If you are using the latest version of AMXX and fakemeta_utils you will need to change fm_velocity_by_aim to velocity_by_aim before compiling.
AndraX2000 is offline
[CFF] gr3ed
Senior Member
Join Date: Oct 2006
Location: UNKNOWN, USA
Old 12-09-2006 , 00:05   Re: Advanced Bullet Time - 12/8/06
Reply With Quote #7

http://forums.alliedmods.net/showthread.php?p=204454

That is what I thought it was, never mind, scratch that.
[CFF] gr3ed is offline
Send a message via MSN to [CFF] gr3ed Send a message via Yahoo to [CFF] gr3ed
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 12-09-2006 , 00:07   Re: Advanced Bullet Time - 12/8/06
Reply With Quote #8

Very nice. It puts The Fag (err... Specialist) in his place too!
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
imported_Slayer
Senior Member
Join Date: Nov 2005
Old 12-09-2006 , 01:08   Re: Advanced Bullet Time - 12/8/06
Reply With Quote #9

hahah nice plugin knekter ;)
imported_Slayer is offline
VEN
Veteran Member
Join Date: Jan 2005
Old 12-09-2006 , 07:54   Re: Advanced Bullet Time - 12/8/06
Reply With Quote #10

You should make sure that your code compatible with the latest FMU.
All vector natives had already been moved to the core, so fm_velocity_by_aim are not in the FMU anymore.

You should pass sizeof array - 1 instead of sizeof(array) - remember about zero terminator.

Don't hardcode view offset, it's a non-constant value, you have to retrieve it from the view_ofs pev.

Your bullet fire detection method isn't accurate. Bullet hit spot and aim spot are different, i don't think i should say why. I recommend you to hook the TraceLine and filter out the fire trace. So it will also allow to create a multiple fake shells for the shotgun/burst fire.

Last edited by VEN; 12-30-2006 at 07:41. Reason: minor typo
VEN is offline
Reply


Thread Tools
Display Modes

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 11:48.


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