![]()
|
|
I can easily see why it makes the gun heavier - in UFO4P DLC03_mod_Custom_Weapon_M4 "M4 Carbine" [OMOD:03014457] has a MUL+ADD Weight property with value 0.100000 (probably added by #21182, but should have been -0.100000 to reduce the weight). Vanilla FO4 has the MUL+ADD Weight property already, but with value 0.0 (confusingly).
It was a bit harder to track down why the speed change failed on this legendary but worked on "Rapid" - it comes down to priority of which mod is applied first: with Rapid, the automatic receiver performs a SET and possibly a MUL+ADD on the "Speed" of the rifle, then Rapid performs a MUL+ADD. With "December's Child" aka M4 Carbine, the MUL+ADD of the legendary is applied first, then the SET and the MUL+ADD of the automatic receiver, which cancels out the speed changes of the replica. As far as I can tell, this happens because the "Rapid" legendary OMOD has the "NAM1 - Priority" record set to 100, but "M4 Carbine" has it set to 156. I tested a replica OMOD of M4 Carbine with priority set to 100, and it affected the automatic receivers properly, but broke the .38 and .308 receivers - with those, the gun still used 5.56 ammo.
An alternative way to implement the December's Child rifle (which I'm confused Bethesda didn't use, but the UFO4P devs might decide is changing too much) is to copy the combat rifle as a new record, give it 5.56 ammo and lighter weight in the weapon record (as opposed to with a legendary effect OMOD), then doing the rest with the "M4 Carbine" legendary effect with priority set to 100 (at this point it would have the same effects as Rapid, but a different description to mention the ammo and weight changes). I tested such a replica weapon with a small mod, added the "Rapid" legendary, and confirmed it could switch to automatic and .38/.308 receivers properly (at least according to the Weapon Workbench preview).
It was a bit harder to track down why the speed change failed on this legendary but worked on "Rapid" - it comes down to priority of which mod is applied first: with Rapid, the automatic receiver performs a SET and possibly a MUL+ADD on the "Speed" of the rifle, then Rapid performs a MUL+ADD. With "December's Child" aka M4 Carbine, the MUL+ADD of the legendary is applied first, then the SET and the MUL+ADD of the automatic receiver, which cancels out the speed changes of the replica. As far as I can tell, this happens because the "Rapid" legendary OMOD has the "NAM1 - Priority" record set to 100, but "M4 Carbine" has it set to 156. I tested a replica OMOD of M4 Carbine with priority set to 100, and it affected the automatic receivers properly, but broke the .38 and .308 receivers - with those, the gun still used 5.56 ammo.
An alternative way to implement the December's Child rifle (which I'm confused Bethesda didn't use, but the UFO4P devs might decide is changing too much) is to copy the combat rifle as a new record, give it 5.56 ammo and lighter weight in the weapon record (as opposed to with a legendary effect OMOD), then doing the rest with the "M4 Carbine" legendary effect with priority set to 100 (at this point it would have the same effects as Rapid, but a different description to mention the ammo and weight changes). I tested such a replica weapon with a small mod, added the "Rapid" legendary, and confirmed it could switch to automatic and .38/.308 receivers properly (at least according to the Weapon Workbench preview).
Showing Comments 1 - 1 of 1