[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/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 - Laser Dot Sight
Battlefield Modding Tutorials BFMODS
https://battlefieldmodding.com/ssm/phpBB3/

Laser Dot Sight
https://battlefieldmodding.com/ssm/phpBB3/viewtopic.php?f=3&t=5201
Page 4 of 7

Author:  MR PINK BALLS [ Mon Aug 31, 2009 10:49 pm ]
Post subject:  Re: Laser Dot Sight

okay jump on xfire we gonna do it m way now :twisted:

Author:  fo0k [ Tue Sep 01, 2009 9:27 am ]
Post subject:  Re: Laser Dot Sight

Coroner.. buggy or not.. thats some fucking nice modding there dude :)

Author:  [TKO]Twist [ Tue Sep 01, 2009 1:52 pm ]
Post subject:  Re: Laser Dot Sight

Yeah it's awesome!

EDIT: Hey, what about autofire? That worked, but you had to trigger it once. So you make it the way WhatThe described and have in triggered by altfire or something.

Author:  Apache Thunder [ Tue Sep 01, 2009 5:40 pm ]
Post subject:  Re: Laser Dot Sight

FYI you can addTemplate a normal firearm (like one normally used on a vehicle) onto a handweapon and get it to fire along with your handweapon. During the early stages of my development of the APMine code I had a arming device that would fire the arming projectile. It was addTemplated to the APMine hand fire arm and worked on right click.

Author:  Coroner47 [ Tue Sep 01, 2009 9:04 pm ]
Post subject:  Re: Laser Dot Sight

I tried the "ObjectTemplate.autoFire 1" but it kills soldiers on spawn when you attach to a handfirearm.

Hey Apache... so if i added a custom "firearm" to an existing "handfirearm", how would i fire the "firearm"? Would i be using the "altfireonce"?

I tweaked my code a bit. Now im using a PCO that dies on collision after being spit through an emitter. But 1 out 20 particles out of the emitter will cause a collision, bounce off in some weird direction & cause another collision. Don't know why? :? Also, i can't up the "ObjectTemplate.positionalSpeedInDof" of the emitter above 100 without losing collisions/laser dot within the 1st 10 meters. But using a speed of 100+ causes delayed visuals on an object at about 80+ meters. It looks nice but i don't think it'll ever work this way.

One kewl thing that came out of this... if i flip the attGroup & defGroup on the laser material... ive now got a laser that cuts through vehicles & soldiers like a hot knife through butter! :twisted:

Author:  mrhowdoimod [ Tue Sep 01, 2009 10:15 pm ]
Post subject:  Re: Laser Dot Sight

sweeet. well let us know if you perfect it.

Author:  Apache Thunder [ Wed Sep 02, 2009 6:38 pm ]
Post subject:  Re: Laser Dot Sight


Author:  Coroner47 [ Thu Sep 03, 2009 12:52 am ]
Post subject:  Re: Laser Dot Sight

alright i understand. i think this will work much better. i guess i'll just have to hold down the altfire key for it to continually fire... which is good, cause then you can turn the laser sight on & off. im guessing the bots will no longer be able to use the laser sight with this method. :cry: it looks pretty sweet when there's laser dots moving all over the soldiers.

Page 4 of 7 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/