I use lua to programming all these NPCs, it looks pretty verbose, comparing to the legacy mir2 script.
It's just easier for me to maintain, since I am the only one developer on it.
Lua is a language can be picked up in 10 minutes.
Anyone interested can help to port all NPC scripts, it's a huge mount of labor.
Yes the mapeditor loads wemade map format, but I save it into another format to load in the game.
It's prettry same, 1 2x2 grid uses 1 block, and then compress with zip, to get smaller size. there are utility to convert back and forth.
Database is using flat file type, keep a table of file offset.
I didn't bring any magic new to the database/map format, it works pretty good till now.
Post automatically merged:
Imported all Mon_Def/xxx.gen files, converted to lua table.
I found some monster gen script in Mon_Def contains invalid rectangle which is trying to add monster outside of the map.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.