What files in Minetest's source code https://github.com/minetest/minetest and what line have something to do with entities or mobs?
Where and to what file should some mob api be ported from lua to c++?
What lines of Minetest sourcecode have something todo wmobs?
-
- Member
- Posts: 4290
- Joined: Sun Sep 09, 2012 17:31
- GitHub: Sokomine
- IRC: Sokomine
- In-game: Sokomine
Re: What lines of Minetest sourcecode have something todo wm
To my knowledge there's no direct support of mobs at all. Entities do exist. As to where they are handled in the code..I'd have to search that as well. If you're seriously intrested, please take a basic look at the code yourshelf and then get into contact with the devellopers on IRC in channel #minetest-dev on the freenode network.
A list of my mods can be found here.
- sorcerykid
- Member
- Posts: 1847
- Joined: Fri Aug 26, 2016 15:36
- GitHub: sorcerykid
- In-game: Nemo
- Location: Illinois, USA
Re: What lines of Minetest sourcecode have something todo wm
There is nothing on the CPP side that controls mobs; all of that logic is currently Lua only. You would have to define a new class (perhaps a subclass of LuaEntity SAO) and develop a suitable API from scratch.
Who is online
Users browsing this forum: No registered users and 8 guests