I had a problem with my OPWeapons. When a player shot a homing rocket near another player, it would start orbiting that other player. I fixed it by putting the +NOTAUTOAIMED flag on the player.
Now, I notice that hitscan monsters are not aiming at the player. I can stand in front of a mastermind and take no damage, unless I jump, because he is shooting over my head. I finally figured out that it is the =NOTAUTOAIMED flag that is causing it.
If there is a flag or property to put on the homing rocket to make it home only on hostile monsters, I could then remove +NOTAUTOAIMED from the player. Can this be done?
[DECORATE] +NOTAUTOAIMED is affecting monsters aim, too
[DECORATE] +NOTAUTOAIMED is affecting monsters aim, too
"For the world is hollow, and I have touched the sky."
[DECORATE] Re: +NOTAUTOAIMED is affecting monsters aim, too
You can try changing the monsters to use A_FaceTarget(0, 0) instead. It's the pitch property that makes them not aim properly at you probably.
=== RAGNAROK DM ON ... uh... dead forever? ===
=== ALWAYS BET ON ... uh... dead forever? ===
=== Who wanta sum wang? ===
=== Death and Decay - A new Monster/Weapon replacer ===
=== ALWAYS BET ON ... uh... dead forever? ===
=== Who wanta sum wang? ===
=== Death and Decay - A new Monster/Weapon replacer ===
[DECORATE] Re: +NOTAUTOAIMED is affecting monsters aim, too
Thanks I didn't know that A_FaceTarget even had parameters. Unfortunately, it didn't fix the problem. The monster is still shooting over my head.
I just realized something, only hitscan attacks are affected. The monsters' projectiles and railguns correctly aim for me, and their homing projectiles home on me correctly.
I just realized something, only hitscan attacks are affected. The monsters' projectiles and railguns correctly aim for me, and their homing projectiles home on me correctly.
"For the world is hollow, and I have touched the sky."
[DECORATE] Re: +NOTAUTOAIMED is affecting monsters aim, too
I have come up with a solution of sorts. I just need to always have sv_smartaim 3 on the server, then I can remove +NOTAUTOAIMED from the OPPlayer class.
"For the world is hollow, and I have touched the sky."