3D meshes for players and creatures [Models are now upstream!]
- MirceaKitsune
- Member
- Posts: 970
- Joined: Sat May 21, 2011 22:31
- GitHub: MirceaKitsune
- IRC: Taoki
- In-game: MirceaKitsune
- Location: Romania, Bucharest
Wielded items are planned and should be fully possible with the current lua api. We just need to maintain one lua entity as the wielded item for each player (spawned when the player joins and removed when the player unjoins), have it copy the visuals of the item that player is holding, and have it attached to the tip of the right arm.
-
- Member
- Posts: 51
- Joined: Sun Mar 11, 2012 22:06
That's what i was thinking about. If we texturize them, then we can make them walk like a 3d player!Melkor wrote:hey! i made an Oerkii and a DM some time ago, it still need to be texturized!Josh wrote:Now that we have 3d players, let's create 3d Oerkii's and Dungeon Master's that walk
here: http://minetest.net/forum/viewtopic.php ... 952#p19952
-
- Member
- Posts: 211
- Joined: Tue Jul 31, 2012 20:37
I like how the Oerkii seemed to glide or hover. I wouldn't even give it a walking animation o.o Kind of like a ghost.Josh wrote:That's what i was thinking about. If we texturize them, then we can make them walk like a 3d player!Melkor wrote:hey! i made an Oerkii and a DM some time ago, it still need to be texturized!Josh wrote:Now that we have 3d players, let's create 3d Oerkii's and Dungeon Master's that walk
here: http://minetest.net/forum/viewtopic.php ... 952#p19952
- MirceaKitsune
- Member
- Posts: 970
- Joined: Sat May 21, 2011 22:31
- GitHub: MirceaKitsune
- IRC: Taoki
- In-game: MirceaKitsune
- Location: Romania, Bucharest
Ah. That I don't know for sure, but I think not. Models are for players and lua entities, so unless a wield item can be set to "mesh" drawtype instead of "wielditem" then no. But that shouldn't be too hard to adapt to the current code I believe.lord_james wrote:I'm sorry. I didn't explain so good. It could be possible create a 3d mesh for a wieded item? For example, a 3d brick or a 3d gun.
- MirceaKitsune
- Member
- Posts: 970
- Joined: Sat May 21, 2011 22:31
- GitHub: MirceaKitsune
- IRC: Taoki
- In-game: MirceaKitsune
- Location: Romania, Bucharest
Not me. Might make some other models for personal use, but later. I think the big concern is 3D animals / mobs for now, but I doubt I'll be diving into that myself (Blender is easy to use and the maker of the Mob Framework knows best what's needed).Ragnar wrote:wait, does that mean, that you are making another 3D player?
AWESOME
would be interesting if we could see our characters, as in minecraft
Bem vindos Brasileiros,eu sou primeiro brasileiro daqui do forum, espero que tragam bastante mods
[MOD] torch http://minetest.net/forum/viewtopic.php?id=3021
[MOD]HATCHE:http://minetest.net/forum/viewtopic.php?id=3458
[MOD] torch http://minetest.net/forum/viewtopic.php?id=3021
[MOD]HATCHE:http://minetest.net/forum/viewtopic.php?id=3458
excuse me, but i've ran into a problem with trying to get models to my dwarves game. what should i do to add model-stuff into a game?
what mods can block the loading?
what mods can block the loading?
Last edited by Mito551 on Fri Nov 30, 2012 20:27, edited 1 time in total.
- MirceaKitsune
- Member
- Posts: 970
- Joined: Sat May 21, 2011 22:31
- GitHub: MirceaKitsune
- IRC: Taoki
- In-game: MirceaKitsune
- Location: Romania, Bucharest
Could be done with some code changes I think. A character editor menu will be needed at some point... it would be nice if the player's appearance could be shown there too. Also, we need a way to toggle between third person and first person views later on.babe223 wrote:would be interesting if we could see our characters, as in minecraft
Make a rigged model in Blender, animate it in the timeline, and export it to the x format (enable the DirectX mesh exported in preferences -> addons first). Then in the lua script, set the entity's object properties mesh="filename.x" and visual = "mesh". See the player.lua script for the whole thing and how to change animations.Mito551 wrote:excuse me, but i've ran into a problem with trying to get models to my dwarves game. what should i do to add model-stuff into a game?
what mods can block the loading?
3rd person perspective is possible its a matter of changing the position of the camera scene node and drawing the player on the clients screen. IIRC editing the position of the camera node is simple although I am not quite sure about drawing the player.
Zen S.D.
The next generation of tranquility!malheureusement mon français n'est pas bon :<
Owner of the Zelo's
In game name: MuadTralk, spdtainted, sdzen, sd zen, sdzeno
no-no-no, you misunderstood me. i'm trying to get your model, your script into my game.MirceaKitsune wrote:Could be done with some code changes I think. A character editor menu will be needed at some point... it would be nice if the player's appearance could be shown there too. Also, we need a way to toggle between third person and first person views later on.babe223 wrote:would be interesting if we could see our characters, as in minecraft
Make a rigged model in Blender, animate it in the timeline, and export it to the x format (enable the DirectX mesh exported in preferences -> addons first). Then in the lua script, set the entity's object properties mesh="filename.x" and visual = "mesh". See the player.lua script for the whole thing and how to change animations.Mito551 wrote:excuse me, but i've ran into a problem with trying to get models to my dwarves game. what should i do to add model-stuff into a game?
what mods can block the loading?
nevermind i figured it out

Last edited by Mito551 on Sat Dec 01, 2012 07:34, edited 1 time in total.
- MirceaKitsune
- Member
- Posts: 970
- Joined: Sat May 21, 2011 22:31
- GitHub: MirceaKitsune
- IRC: Taoki
- In-game: MirceaKitsune
- Location: Romania, Bucharest
Oh... just copy the models folder and player.lua script from minetest_game in the same position for your game. I think you need to reference player.lua in init.lua too and that's all. Glad it worksMito551 wrote:no-no-no, you misunderstood me. i'm trying to get your model, your script into my game.
nevermind i figured it out

hey, I was just thinking that if we used a programmable model generator like POV-Ray then user could easily customize colors, and their set of characters could be generated, would also allow for things like clothes to be relatively easy to implement, by tweaking the generator program.
Last edited by streondj on Wed Dec 05, 2012 08:31, edited 1 time in total.
- kotolegokot
- Member
- Posts: 131
- Joined: Mon Jul 02, 2012 17:03
- Location: Russia, Ishim
Why textures are blurry?
I'm creator of these mods: Locked sign, Locked furnace, Money. And I'm a developer of The RealTest Game.
- MirceaKitsune
- Member
- Posts: 970
- Joined: Sat May 21, 2011 22:31
- GitHub: MirceaKitsune
- IRC: Taoki
- In-game: MirceaKitsune
- Location: Romania, Bucharest