[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/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 5 of 7

Author:  [TKO]Twist [ Thu Sep 03, 2009 7:22 pm ]
Post subject:  Re: Laser Dot Sight

Once again, with autofire you can put it on once and it will go endless unless switched to a other weapon.

Author:  Coroner47 [ Fri Sep 04, 2009 4:40 am ]
Post subject:  Re: Laser Dot Sight

ok i think im lost. ive never created a firearm or handfirearm. can you attach the "firearm" to the "handfirearm"? looking at the code for the A10 from DC 0.7, which has 2 weps for the pilot... both firearms are addTemplated to the Lod which is addTemplated to a PCO. Do i have to add something to the handfirearm to tell it to use the firearm for the alternative fire button? I can't see how you can add a firearm to another firearm or handfirearm? I must be adding firearm the wrong way. Do i have to add it to the kit or soldier?

Author:  Apache Thunder [ Fri Sep 04, 2009 4:43 am ]
Post subject:  Re: Laser Dot Sight

You add it to the HandFireArm that you want the laser sight on. So yes, you would be addTemplating a firearm to another fire arm.

Make sure it's the last child object. AddTemplate it AFTER the lodobject addTemplate entry. Failure to do this might brake reload animations or certain meshes contained in a reload animation wont be present. Don't addTemplate it to the soldier or anywhere else as it won't work like that.

Author:  freddy [ Fri Sep 04, 2009 8:42 am ]
Post subject:  Re: Laser Dot Sight


Author:  Coroner47 [ Sat Sep 05, 2009 4:07 am ]
Post subject:  Re: Laser Dot Sight


Author:  Coroner47 [ Sat Sep 05, 2009 4:08 am ]
Post subject:  Re: Laser Dot Sight

thanx freddy... seeing your code did help also!

Author:  [TKO]Twist [ Sat Sep 05, 2009 2:13 pm ]
Post subject:  Re: Laser Dot Sight

It cuts off after a while because it runs out of ammo?

Author:  Coroner47 [ Sat Sep 05, 2009 2:23 pm ]
Post subject:  Re: Laser Dot Sight


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