Need help with updating gadgethandler
Posted: 01 Apr 2016, 10:17
Using this branch:
https://github.com/EvolutionRTS/Evolution-RTS/tree/101
The issue is that I have implemented the custom unit shader. Everything works initially, but when a unit dies, so does the gadget handler.
E.G.:
Additionally, when a unit cloaks and then decloaks, they lose their normalmap.
I've been at this for days trying to fix it. Hoko tells me that my gadget handler is out of date, but updating with the one in base (102-rc1) just makes matters worse.
Need some help mere because in the past few days I have exhausted my knowledge of what might be going on.
https://github.com/EvolutionRTS/Evolution-RTS/tree/101
The issue is that I have implemented the custom unit shader. Everything works initially, but when a unit dies, so does the gadget handler.
E.G.:
Code: Select all
[f=0002028] Error: LuaRules::RunCallIn: error = 2, RenderUnitDestroyed, [Internal Lua error: Call failure] [string "LuaRules/gadgets.lua"]:523: attempt to call upvalue 'selffunc' (a nil value)
stack traceback:
[string "LuaRules/gadgets.lua"]:523: in function <[string "LuaRules/gadgets.lua"]:522>
I've been at this for days trying to fix it. Hoko tells me that my gadget handler is out of date, but updating with the one in base (102-rc1) just makes matters worse.
Need some help mere because in the past few days I have exhausted my knowledge of what might be going on.