@uveso so why is v18 still in the Vault, should it not be this one?
BlackOpsFAF-Unleashed only for FAF v24
@Jip
this should be fixed inside FAF.
Adding "DamageRadius = 1," inside modded unit blueprints does not work (still outputs 0 as radius)
self.DamageData.DamageRadius or 1` is also not working because the DamageData defaults the radius to 0 when its not existend.
Kind of funny:
local FriendlyFire = self.DamageData.DamageFriendly and radius ~=0
DamageArea( self, pos, radius, 1, 'Force', FriendlyFire )
FriendlyFire is only true if radius is not 0, and the function crashes when radius is 0. Nice ^^
@DDDX
Are you talking about Black Ops ACU v18 or Black Ops Unleashed V19 ?
well...I am looking at the mods listed in FAF when I type in "Blackops", Unleashed has last been updated 12/20/2020 and it says v18.
Is there a v19 in the Vault that is not showing there? I mean, I might be wrong here, but I do not see it.
When I host, I host v19 though.
@uveso What file and line is that?
nvm - related to the post before.
A work of art is never finished, merely abandoned
@uveso nvm, if this (v18) were an issue it would have manifested long ago.
I can report the same projectile error with the Juggernaut battlestation unit BEL0307.
@dddx said in BlackOpsFAF-Unleashed only for FAF v19:
@uveso nvm, if this (v18) were an issue it would have manifested long ago.
I can report the same projectile error with the Juggernaut battlestation unit BEL0307.
Anything that uses the "Railgun01" projectile is affected. I found like 5 units that use it (they're all UEF units).
@Uveso Is this mod still up to date on the FAF client? I can't see a version number on there,
And Lambda seems to be broken
yes the Black Ops FAF version is the latest one.
When you say Lambda is broken, what unit do you mean ?
Is the lambda in the Black Ops ACU mod working ?
@Uveso After some quick testing, it does seem to work? Sort of, an experimental lambda PD couldn't block a tech 1 Tank Hunter Mobile PD from UEF.
And even the ACU or lambda bots don't do it consistently,
the Lambda blocking only 1 shot out of 10 or so, and the ACU every third shot?
But most importantly, it doesn't have any visuals, for none of them.
I quickly tried to check in code what could be wrong, and in for example BSB0001_Script.lu, on line 8 it imports seraphimunits.lua, but that file didn't exist in my install
well, i found the issue. Had to go back to october 2016.
The Lambda defence was changed by icedreamer in 2016.
First the Lambda was defending 100% of all projectiles.
After the patch it only deflect 5-30% of the projectiles depending on the unit.
This was the patch:
https://github.com/aeoncleanse/Mods/commit/a13d536ecddbd24a697ee9d7732f634b69e9892f#diff-0e3f7a0c9511aade8883d320fb0ca2d44a6b5bb93c40afd86ead5503d6ba8546
I checked the code for more errors, but the code itself is running as designed.
So there is no error, it was a balance decision to reduce the reflect rate of the Lambda field.
[edit]
The file seraphimunits.lua can be found in:
\Mods\BlackOpsFAF-ACUs\hook\lua\seraphimunits.lua
and in the original game files in :
SupCom\gamedata\lua\seraphimunits.lua
(its packed inside the lua.scd file, rename the .SCD to .ZIP and you can unpack the archive)
I use the Lambda field in my mod for my survival, and I can confirm that it does stop projectiles - albeit irregularly. Which would be consistent with a 5-30% chance to trigger.
So that part works as it should i guess.
No visuals though.
@Uveso Oh sweet, then sorry for the false report!
But yeah, i distinctly remember from back then that there were visuals for lambda?