Battlefield Modding Tutorials BFMODS https://battlefieldmodding.com/ssm/phpBB3/ |
|
Laser Dot Sight https://battlefieldmodding.com/ssm/phpBB3/viewtopic.php?f=3&t=5201 |
Page 6 of 7 |
Author: | freddy [ Sat Sep 05, 2009 7:03 pm ] |
Post subject: | Re: Laser Dot Sight |
i think it will always cut of after a short time period, we have tested some before without finding any solution. one idea i had was if one somehow could set the input trigger as they do with engines, eg the rocketengine is always on, but i havent got that to work as for now anyway. |
Author: | WhatThe [ Sat Sep 05, 2009 8:17 pm ] |
Post subject: | Re: Laser Dot Sight |
"round of fire -1 and have its ammo at -1 rate of fire 10000" Me earlier in thread...... |
Author: | [TKO]Twist [ Sat Sep 05, 2009 8:37 pm ] |
Post subject: | Re: Laser Dot Sight |
Maybe it makes for the roundoffire indeed. Is that zero? |
Author: | WhatThe [ Sat Sep 05, 2009 11:22 pm ] |
Post subject: | Re: Laser Dot Sight |
isn't -1 considered infinite in weapons, thus my thinking is that it will fire indefinitely at an incredible rate |
Author: | Coroner47 [ Sun Sep 06, 2009 5:37 am ] |
Post subject: | Re: Laser Dot Sight |
The laser dot sight is done! It still lags a bit, but works much better then before. I change the "ObjectTemplate.roundOfFire" to "-1" as WhatThe suggested & it seemed to smooth the effect out a bit. Not sure what this variable does... can't find info on MDT website about it. Another bug i found with the laser dot sight, is that not all objects have collision meshes... for example the us_assault_backpack. The laser dot also dances around on the soldiers. Overall though it works pretty good! Here's the files for it if anyones wants for the object/mesh of the projectile i just used the "bullet_m1.rs" & changed the mat id to 1051. |
Author: | [TKO]Twist [ Sun Sep 06, 2009 8:21 am ] |
Post subject: | Re: Laser Dot Sight |
-1 is infine, so it has a infinite round of fire. This might very well be the solution for autofire |
Author: | Coroner47 [ Sun Sep 06, 2009 3:15 pm ] |
Post subject: | Re: Laser Dot Sight |
i just tried it with "ObjectTemplate.roundOfFire -1" & "ObjectTemplate.magSize -1" together & it still cuts out after about 5secs. where is this autofire listed anyways? i can't find it anywhere on the MDT website... only here. |
Author: | [TKO]Twist [ Sun Sep 06, 2009 3:39 pm ] |
Post subject: | Re: Laser Dot Sight |
Page 6 of 7 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |