It took eight builds since Lua was first introduced, but there are now primitive draw functions that allow modders to, well, draw stuff. Things like simple boxes, circles, and lines can be drawn using Lua, instead of having to make a bunch of MOSRotating or MOSParticle objects with the sprites of what the modder wants displayed.

FrameMan:DrawCirclePrimitive(Vector pos, int radius, int color)

FrameMan:DrawCircleFillPrimitive(Vector pos, int radius, int color)

FrameMan:DrawLinePrimitive(Vector start, Vector end, int color)

FrameMan:DrawBoxPrimitive(Vector start, Vector end, int color)

FrameMan:DrawBoxFillPrimitive(Vector start, Vector end, int color)

On the content balancing end of things, we’re aiming on giving each faction there own strengths and weaknesses in terms of durability and weapons, along with a differing play-style for each faction.

Feedback thread and more information here.

FrameMan:DrawCirclePrimitive(Vector pos, int radius, int color) FrameMan:DrawCircleFillPrimitive(Vector pos, int radius, int color) FrameMan:DrawLinePrimitive(Vector start, Vector end, int color) FrameMan:DrawBoxPrimitive(Vector start, Vector end, int color) FrameMan:DrawBoxFillPrimitive(Vector start, Vector end, int colorssda

You can follow any responses to this entry through the RSS 2.0 feed.

Both comments and pings are currently closed.