TenPlus1 wrote:Unless you separate sheep and sheep_shaved and have them as two different entities to possess, that way you have to feed either through right-clicking or eating as a resident to regain the wool...
Irrlicht log: Irrlicht Engine version 1.8.1
Irrlicht log: Microsoft Windows 7 Ultimate Edition Service Pack 1 (Build 7601)
Irrlicht log: Using renderer: OpenGL 2.1.2
Irrlicht log: GeForce 6150SE nForce 430/integrated/SSE2: NVIDIA Corporation
Irrlicht log: OpenGL driver version is 1.2 or better.
Irrlicht log: GLSL version: 1.2
Irrlicht log: Resizing window (800 600)
21:14:44: ERROR[main]: ========== ERROR FROM LUA ===========
21:14:44: ERROR[main]: Failed to load and run script from
21:14:44: ERROR[main]: D:\ABNew\Minetest 0.4.12\bin\..\mods\creatures\creatures\init.lua:
21:14:44: ERROR[main]: ...t 0.4.12\bin\..\mods\creatures\creatures/api_players.lua:188: attempt to call field 'register_on_player_hpchange' (a nil value)
21:14:44: ERROR[main]: stack traceback:
21:14:44: ERROR[main]: ...t 0.4.12\bin\..\mods\creatures\creatures/api_players.lua:188: in main chunk
21:14:44: ERROR[main]: [C]: in function 'dofile'
21:14:44: ERROR[main]: ...Minetest 0.4.12\bin\..\mods\creatures\creatures\init.lua:278: in main chunk
21:14:44: ERROR[main]: ======= END OF ERROR FROM LUA ========
21:14:44: ERROR[main]: Server: Failed to load and run D:\ABNew\Minetest 0.4.12\bin\..\mods\creatures\creatures\init.lua
21:14:44: ERROR[main]: ModError: ModError: Failed to load and run D:\ABNew\Minetest 0.4.12\bin\..\mods\creatures\creatures\init.lua
23:23:02: ERROR[main]: generate_shader(): failed to generate "nodes_shader", addHighLevelShaderMaterial failed.
23:23:02: ACTION[ServerThread]: singleplayer [127.0.0.1] joins game.
23:23:02: ACTION[ServerThread]: singleplayer joins game. List of players: singleplayer
Irrlicht log: Could not open file of texture: oerkki.png
23:23:06: ERROR[main]: ServerError: ...st 0.4.12\bin\..\mods\creatures\creatures/logic_mobs.lua:309: attempt to call field 'find_nodes_in_area_under_air' (a nil value)
23:23:06: ERROR[main]: stack traceback:
23:23:06: ERROR[main]: ...st 0.4.12\bin\..\mods\creatures\creatures/logic_mobs.lua:309: in function 'logic_mob_step'
23:23:06: ERROR[main]: ...2\bin\..\mods\creatures\creatures_races_default\init.lua:2909: in function <...2\bin\..\mods\creatures\creatures_races_default\init.lua:2908>
Diamond knight wrote:question: how do you change the look height of the player
ExeterDad wrote:Very Cool!
Now I must peek at the code to see how you did this! Hey... at least I'm honest :D
I'm not exactly good at editing the init.lua, so can you make a download link to the latest Minetest version (0.4.13)'s lua with the edit added to it, and i might not use this mod because i'm worried, because it involves editing defaul lua files.MirceaKitsune wrote:After several days of working around the clock, I'm happy to announce one of the mods I've been most eager to create. It's intended for a game I will be making later, but for now I'm releasing a minetest_game version.
Important: For the mod to work properly, you must first disable the default player script. To do that, open minetest_game/mods/default/init.lua and comment out the dofile line for player.lua.
- Mod information:
So... what is this all about? The Creatures mod is mob framework forked from PilzAdam's SimpleMobs. It is based on a different approach to what players and monsters should be like. Typically, players are players and the "superior race" of the Minetest world... while mobs only exist to attack them, let them farm meat, or have a pet.
Creatures changes that. It works by defining races, which are played by mobs and players equally. All races have their own alliances, and the player can be part of any species he wishes. What can the player reincarnate as? Anything! Players can become mice, sheep, monsters, oerkkis, or the normal player who was now turned into a mob (humans spawn in the same areas as sheep). Of course, small or non-intelligent races have limited abilities. For example, mice only offer an 1 x 1 crafting grid and have 4 inventory slots rather than 32, while having less hit points and a lower eye position (camera view offset).
By default, players start as ghosts, and need to possess a mob in order to become part of their species. Each mob has a random chance of being possessible. Possessible mobs will typically walk toward the player, who punches them in order to assume their body. When a player dies, it becomes a ghost again. Ghost players are never attacked by any race, as they are not considered part of the living world. On the other hand, ghosts are not able to have any inventory (items are instantly deleted) and cannot dig or place nodes. When the player is a ghost, the sky and screen are purple while a spooky ambient sound can be heard.
- Technical stuff:
Most work was on ensuring that the differences between players and mobs are as few as possible, and making all elements common. At the time, mobs and players both: Take environmental damage (water or light), play random sounds, have the same walk speed, the same maximum health, and more. For example, mobs use the server's default walking and running speed which assures they always match that of players, while the "speed" offset of the race equally applies to both. There's only one creature definition containing the creature's parameters.
On the downside, there are a few things I couldn't add. For instance, the collision box cannot be changed for players yet... so if the player possesses a mouse, it still can't go through tunnels which are 1 block high. Lava damage can also not be disabled... so while stone monster mobs are immune to lava, stone monster players are still hurt by it. I'm hoping I may request a few engine changes in the spirit of this mod later on.
Otherwise, I implemented several new features and abilities to the existing mob framework, while keeping it simple and lightweight. Most important one is that mobs can also attack and kill each other, not just players. I also added several new sound effects, which give the world a lot of extra depth.
I will continue to develop the mod until I feel it has everything it could and should have. Most importantly, the mod is open to new features and ideas. Also, if you wish to add something which I don't feel like coding, feel free to submit a pull request. Do however mention what you intend to do first, as there are changes I might not accept. Please let me know what you think or if you find any bugs, and I hope you all enjoy the mod!
- Screenshots and download:
Github page
http://i57.tinypic.com/22cj10.png
http://i62.tinypic.com/14ag22e.png
http://i60.tinypic.com/2i1ziid.png
http://i60.tinypic.com/eb6643.png
http://i60.tinypic.com/11l3q4p.png
http://i57.tinypic.com/2dqitkp.png
http://i58.tinypic.com/4hp8j9.png
http://i58.tinypic.com/348r19j.png
- License:
Code by MirceaKitsune (LGPL), based on SimpleMobs by PilzAdam (WTFPL). Media (models, textures, sounds) by various authors and under various licenses. Full license information included in the README.txt.
TailsTheFoxDoes MT wrote:I'm not exactly good at editing the init.lua, so can you make a download link to the latest Minetest version (0.4.13)'s lua with the edit added to it, and i might not use this mod because i'm worried, because it involves editing defaul lua files.
ABJ wrote:Excuse me, I may be wrong, as I honestly don't know why I am doing thiso
nne
You download the mod, extract the mod folder out of zip file, and place him in mods folder of minetest folder. Then you delete his name and rename him minetest_mods_creatures
Users browsing this forum: No registered users and 13 guests