[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4668: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4670: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4671: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4672: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
Battlefield Modding Tutorials BFMODS • View topic - zoom altfire etc

Battlefield Modding Tutorials BFMODS

Battlefield Modding Tutorials
It is currently Tue Jun 17, 2025 3:33 pm

All times are UTC




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 16 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: zoom altfire etc
PostPosted: Mon Sep 22, 2008 11:41 pm 
Offline

Joined: Thu Sep 16, 2004 12:00 am
Posts: 75
Location: London, UK
I'm attempting to get the knife to altfire - ideally with a zoom from the m82 scope, and for the knife "projectile" to fire further when zoomed. No matter how much I play about with the code, I cant seem to get it in the right direction. Any assistance would be appreciated.

TIA.

_________________

My main rig:

Pelt cooled 6600 Quad Core (4° on idle)
2x WD Raptors in RAID 0, 4x Samsung 500Gb in RAID 5
4Gb (2x 2Gb) Corsair TwinX
9600GT 512Mb
Samsung 21.3" TFT @ 1600x1200
Vista X64 Ultimate


Top
 Profile Send private message E-mail  
 
 Post subject: Re: zoom altfire etc
PostPosted: Tue Sep 23, 2008 12:50 am 
Offline
User avatar

Joined: Sun Dec 31, 2006 12:13 am
Posts: 2027
Hmm, I don't think you can have a weapon fire more than 1 projectile.

It all depends on what you want to do, I guess. One idea would be to make the knife projectile inaccurate while moving, so you would have to stop and zoom/aim to hit a target far away.

This would work for a map mod, or minimod, but definitely not server side. Just throwing that out there since its hard to tell what u had in mind for it. :?


Top
 Profile Send private message E-mail  
 
 Post subject: Re: zoom altfire etc
PostPosted: Tue Sep 23, 2008 1:08 am 
Offline

Joined: Thu Sep 16, 2004 12:00 am
Posts: 75
Location: London, UK
Well, imagine the knife "as is" then add the option of rightclicking to bring up a scope, and being able to "snipe" with the knife.

Thats what I'm actually trying to achieve :)

_________________

My main rig:

Pelt cooled 6600 Quad Core (4° on idle)
2x WD Raptors in RAID 0, 4x Samsung 500Gb in RAID 5
4Gb (2x 2Gb) Corsair TwinX
9600GT 512Mb
Samsung 21.3" TFT @ 1600x1200
Vista X64 Ultimate


Top
 Profile Send private message E-mail  
 
 Post subject: Re: zoom altfire etc
PostPosted: Tue Sep 23, 2008 6:54 am 
Offline

Joined: Thu Jun 15, 2006 9:36 am
Posts: 2015
Snipe on 1 feet distance, hmm, feels like overkill.
As this is clientside code only, serverside it will not work.

_________________
In the beginning everybody was a SSM NooB.
BFV SSM on server 66.55.142.243
Server Homepage


Top
 Profile Send private message E-mail  
 
 Post subject: Re: zoom altfire etc
PostPosted: Thu Sep 25, 2008 11:24 am 
Offline

Joined: Thu Sep 16, 2004 12:00 am
Posts: 75
Location: London, UK

_________________

My main rig:

Pelt cooled 6600 Quad Core (4° on idle)
2x WD Raptors in RAID 0, 4x Samsung 500Gb in RAID 5
4Gb (2x 2Gb) Corsair TwinX
9600GT 512Mb
Samsung 21.3" TFT @ 1600x1200
Vista X64 Ultimate


Top
 Profile Send private message E-mail  
 
 Post subject: Re: zoom altfire etc
PostPosted: Thu Sep 25, 2008 12:21 pm 
Offline

Joined: Thu Jun 15, 2006 9:36 am
Posts: 2015
So your best thought was to ad a sniper sight.

As knife only have 2 game frames of life, try to make it live longer.

Think velocity is quite high aswell, might tone it down alot.
Unlimited ammo, fires fast as hell with high velocity, one hit one kill, silent. :? Glad it only kills humans and not vehicles.

_________________
In the beginning everybody was a SSM NooB.
BFV SSM on server 66.55.142.243
Server Homepage


Top
 Profile Send private message E-mail  
 
 Post subject: Re: zoom altfire etc
PostPosted: Thu Sep 25, 2008 4:57 pm 
Offline

Joined: Thu Mar 15, 2007 2:22 pm
Posts: 1253


Top
 Profile Send private message E-mail  
 
 Post subject: Re: zoom altfire etc
PostPosted: Thu Sep 25, 2008 6:13 pm 
Offline

Joined: Thu Jun 15, 2006 9:36 am
Posts: 2015
Image
Sometimes players amaze me, not with there quick minds though.

_________________
In the beginning everybody was a SSM NooB.
BFV SSM on server 66.55.142.243
Server Homepage


Top
 Profile Send private message E-mail  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 16 posts ]  Go to page 1, 2  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 42 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group