Good point, I never saw this. When I finish the fixes I already have on my plate, I'll add this in.
(FYI, I almost completely re-wrote Remote Control, and fixed (fixing) a few other little things.)
If you are in a Pod hooked to an Adv Pod Controller and then enable the crosshairs they appear. If you then leave the pod and enter the pod again even though the value was 1 and the crosshairs should be there, they are not. If you then try enabling them again, internally it is then disabling them and then you need to hit it again to make it finally go back to enable. To fix this Adv Pod Controller needs to be modified to apply the current Crosshairs disable or enable on enter.
if (self.crossvar == 1) then
self.Ply:CrosshairEnable()
else
self.Ply:CrosshairDisable()
end
I think this is the code that needs to be entered into the ENT:Think() function in init.lua after the check RC check.
Good point, I never saw this. When I finish the fixes I already have on my plate, I'll add this in.
(FYI, I almost completely re-wrote Remote Control, and fixed (fixing) a few other little things.)
Another bug I found in the process of finding this one. In certain cases the you can disable your crosshairs of y ourself even if you are out of the pod. What you do is hook the Active output of the Adv pod controller through an expression chip to the input of the Crosshairs. Which you think would make it so that when it is active the crosshairs are turned on and then when you get out they turn off. The problem is at the instant you get out it turns off the crosshairs such that the game sees you as already being out of the pod but you are still connected to the pod. So it turns off your crosshairs of when you are outside the pod.
Here is the expression chip code to do this. With the version of wire that I first reported this bug with.
N@Toggle
I@Active
O@Out
clk() & Out -> Out = 0, end;
~Active -> schedule(20), Out = 1;
Wire Active to the Active output of the Adv Pod Controller and wire Out to the CrossHairs input of the Adv Pod Controller
Thanks for that one too.
Bookmarks