[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

Battlefield Modding Tutorials
It is currently Sat Apr 27, 2024 8:54 pm

All times are UTC




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 49 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7  Next
Author Message
 Post subject: Re: Laser Dot Sight
PostPosted: Mon Aug 31, 2009 10:49 pm 
Offline
User avatar

Joined: Sun Sep 16, 2007 2:33 pm
Posts: 1809
Location: Your moms house
okay jump on xfire we gonna do it m way now :twisted:


Top
 Profile Send private message E-mail  
 
 Post subject: Re: Laser Dot Sight
PostPosted: Tue Sep 01, 2009 9:27 am 
Offline

Joined: Sat Jan 26, 2008 11:58 am
Posts: 206
Location: UK / Sweden
Coroner.. buggy or not.. thats some fucking nice modding there dude :)


Top
 Profile Send private message E-mail  
 
 Post subject: Re: Laser Dot Sight
PostPosted: Tue Sep 01, 2009 1:52 pm 
Offline

Joined: Tue Nov 27, 2007 7:56 pm
Posts: 1226
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.


Top
 Profile Send private message E-mail  
 
 Post subject: Re: Laser Dot Sight
PostPosted: Tue Sep 01, 2009 5:40 pm 
Offline
User avatar

Joined: Fri Oct 03, 2008 4:37 pm
Posts: 513
Location: Levelland, Texas
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.

_________________
ImageImage
I have cameras in your head!


Top
 Profile Send private message E-mail  
 
 Post subject: Re: Laser Dot Sight
PostPosted: Tue Sep 01, 2009 9:04 pm 
Offline
User avatar

Joined: Mon Oct 20, 2008 9:25 pm
Posts: 103
Location: Canada
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:

_________________
Image
Pray hard, die fast


Top
 Profile Send private message E-mail  
 
 Post subject: Re: Laser Dot Sight
PostPosted: Tue Sep 01, 2009 10:15 pm 
Offline
User avatar

Joined: Thu Oct 23, 2008 6:47 pm
Posts: 935
Location: Charleston S.C.
sweeet. well let us know if you perfect it.

_________________
Image


Top
 Profile Send private message E-mail  
 
 Post subject: Re: Laser Dot Sight
PostPosted: Wed Sep 02, 2009 6:38 pm 
Offline
User avatar

Joined: Fri Oct 03, 2008 4:37 pm
Posts: 513
Location: Levelland, Texas

_________________
ImageImage
I have cameras in your head!


Top
 Profile Send private message E-mail  
 
 Post subject: Re: Laser Dot Sight
PostPosted: Thu Sep 03, 2009 12:52 am 
Offline
User avatar

Joined: Mon Oct 20, 2008 9:25 pm
Posts: 103
Location: Canada
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.

_________________
Image
Pray hard, die fast


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.  [ 49 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 264 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