You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is because the GLua function require is the lua 5.1 version.
The file must look like;
--Method Two: Lua 5.0 & 5.1module("testModuleTwo",package.seeall)
functionTestTwo()
print("Lua 5.0 Module Loaded Successfully.")
print("Test Two Succeeded")
end
A possible workaround would be to override the require function to our own require function that searches (using the file library) through the module folder and includes them. This would mean the file no longer contains a 'return' at the end
The text was updated successfully, but these errors were encountered:
Fair enough if Gmod is using 5.1 we'll stick with that system. Workaround would cause some issues, I'd prefer not to change default language implementation.
Also regarding perma poly welds;
1: The Prop_physics are changed to prop_dynamic
2: A new entity, called Perma Poly Weld is generated using the meshes from the prop_dynamics
3: the Prop_dynamic is parented to the gmod_poly
The problem comes from the gmod_poly having a model of that old blue Hoverball. This is why the new perma weld props seem to roll, as well as the Center of Mass being off ( I presume, perhaps it's unrelated).
If we could solve this problem I believe the perma poly welds would be a much more viable option for the welding.
Don't know how correct this order is, gives an idea of what happens though.
Modules must be done in the 'old way'
This is because the GLua function require is the lua 5.1 version.
The file must look like;
A possible workaround would be to override the require function to our own require function that searches (using the file library) through the module folder and includes them. This would mean the file no longer contains a 'return' at the end
The text was updated successfully, but these errors were encountered: