Ben1138 / SWBF2Phoenix

A re-implementation of the old Star Wars Battlefront II (2005) game, utilizing the Unity game engine
GNU Affero General Public License v3.0
73 stars 12 forks source link

Fixed the endor and space maps not loading #31

Closed Shirkie01 closed 1 week ago

Shirkie01 commented 2 years ago

Endor wasn't loading due to the Lua method 'SetStayInTurrets(int)' missing and HoloIcon being null, and the Space maps weren't loading due to the Lua callbacks 'OnObjectKill()' and 'OnObjectRepair()' missing. In order to be able to load these maps, I added 50 more lua callbacks and changed the Lua.cs class to make future additions a little easier.