new-ospgl icon indicating copy to clipboard operation
new-ospgl copied to clipboard

Port all entities to lua and convert entity to lua only

Open tatjam opened this issue 3 years ago • 1 comments

Self explanatory, to be done soon as current entities are vehicle and building, which are really simple. Further entities would be written in lua from the start.

tatjam avatar Oct 15 '22 20:10 tatjam

Kind of done already, some problems that have arised:

  • Vehicles must spawn entities, we use a function in vehicle.lua for this so future mods can hook it and add custom stuff to vehicle
  • There's a fair bit of boilerplate code to be written in lua

Will close once it's fully done and compiles with a commit.

tatjam avatar Oct 20 '22 08:10 tatjam

Completed.

tatjam avatar Feb 10 '23 12:02 tatjam