Engy mod-where is the script stored?
-
Does anyone know where the core lua scripts for Engymod are stored? I know it was integrated into FAF-I want to see how it works.
-
Probs best to jsut scroll back in the git hub repository to around 2013/2014 if it gose that far back.
-
The main part would be this https://github.com/FAForever/fa/blob/deploy/fafdevelop/lua/sim/Unit.lua#L361 but it's in other places as well
-
Yes, I found that. Thank you!
My other question is, how would you mod that?
It doesn't look like the hook thing would be straitforward, since you have to convince the game engine to run your modified script alongside that one-but if you just copy the Units.lua script into hook/lua/sim and modify it there, it just messes things up since hook concatenates it onto the original.
-
You could do a destructive hook. Or you could your changes on a factional level. If you want to look, the SCTA, has its own version of Engi Mod.