[Mod] 3D Players [3d_player]

User avatar
PilzAdam
Member
 
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
Location: Germany
GitHub: PilzAdam
IRC: PilzAdam

[Mod] 3D Players [3d_player]

by PilzAdam » Thu Nov 01, 2012 13:28

Hello everyone!
This mod adds simple 3D, 1px thick players.

Screenshots:
Image

License:
See README.txt.

Dependencies:
None.

GitHub:
https://github.com/PilzAdam/3d_player

Download:
https://github.com/PilzAdam/3d_player/zipball/master
Last edited by PilzAdam on Thu Nov 01, 2012 14:50, edited 1 time in total.
 

User avatar
rubenwardy
Moderator
 
Posts: 5546
Joined: Tue Jun 12, 2012 18:11
Location: United Kingdom
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

by rubenwardy » Thu Nov 01, 2012 14:08

Awesome, and they said it was not possible in Lua...

Do you have any screen shots?
 

User avatar
PilzAdam
Member
 
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
Location: Germany
GitHub: PilzAdam
IRC: PilzAdam

by PilzAdam » Thu Nov 01, 2012 14:29

rubenwardy wrote:Do you have any screen shots?

Its just the default player textures.
 

User avatar
Jordach
Member
 
Posts: 4518
Joined: Mon Oct 03, 2011 17:58
Location: Blender Scene
GitHub: Jordach
IRC: Jordach
In-game: Jordach
 

User avatar
rubenwardy
Moderator
 
Posts: 5546
Joined: Tue Jun 12, 2012 18:11
Location: United Kingdom
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

by rubenwardy » Thu Nov 01, 2012 14:38

PilzAdam wrote:
rubenwardy wrote:Do you have any screen shots?

Its just the default player textures.


As in, how the player look to other players, like this: http://krisi12345.lima-city.de/Screen-Pics/3D-Player.png
 

User avatar
PilzAdam
Member
 
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
Location: Germany
GitHub: PilzAdam
IRC: PilzAdam
 

User avatar
BrandonReese
Member
 
Posts: 839
Joined: Wed Sep 12, 2012 00:44
Location: USA
GitHub: bremaweb
IRC: BrandonReese
In-game: BrandonReese

by BrandonReese » Thu Nov 01, 2012 15:30

Could this be used to set different textures for each player on the server, or do they all have to be the same?
 

User avatar
PilzAdam
Member
 
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
Location: Germany
GitHub: PilzAdam
IRC: PilzAdam

by PilzAdam » Thu Nov 01, 2012 15:41

BrandonReese wrote:Could this be used to set different textures for each player on the server, or do they all have to be the same?

Nice idea, I will test it.
 

User avatar
PilzAdam
Member
 
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
Location: Germany
GitHub: PilzAdam
IRC: PilzAdam

by PilzAdam » Thu Nov 01, 2012 16:03

BrandonReese wrote:Could this be used to set different textures for each player on the server, or do they all have to be the same?

http://minetest.net/forum/viewtopic.php?id=3587
But its not compatible with this mod.
 

User avatar
MirceaKitsune
Member
 
Posts: 837
Joined: Sat May 21, 2011 22:31
Location: Romania, Bucharest
GitHub: MirceaKitsune
IRC: Taoki
In-game: MirceaKitsune

by MirceaKitsune » Thu Nov 01, 2012 16:21

This is a good idea, until my 3D models code will be ready. Hope all important servers will install it in the meantime, the fully flat players are weird :P
 

User avatar
BrandonReese
Member
 
Posts: 839
Joined: Wed Sep 12, 2012 00:44
Location: USA
GitHub: bremaweb
IRC: BrandonReese
In-game: BrandonReese

by BrandonReese » Thu Nov 01, 2012 16:49

PilzAdam wrote:
BrandonReese wrote:Could this be used to set different textures for each player on the server, or do they all have to be the same?

http://minetest.net/forum/viewtopic.php?id=3587
But its not compatible with this mod.


It would work if you defined a nodebox for each player texture.

  • Offer 2,3,4 or so textures, define nodeboxes for all
  • Use chat commands (ie /settexture 1), or special blocks they can punch to allow player to select texture
  • Save the name or number of the texture they selected to file
  • When they log in get the texture they selected from file
  • set their texture to appropriate nodebox
 

User avatar
PilzAdam
Member
 
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
Location: Germany
GitHub: PilzAdam
IRC: PilzAdam

by PilzAdam » Thu Nov 01, 2012 17:02

BrandonReese wrote:
  • Offer 2,3,4 or so textures, define nodeboxes for all

You know that I worked 30 mins. on this nodebox?
 

User avatar
BrandonReese
Member
 
Posts: 839
Joined: Wed Sep 12, 2012 00:44
Location: USA
GitHub: bremaweb
IRC: BrandonReese
In-game: BrandonReese

by BrandonReese » Thu Nov 01, 2012 17:37

PilzAdam wrote:
BrandonReese wrote:
  • Offer 2,3,4 or so textures, define nodeboxes for all

You know that I worked 30 mins. on this nodebox?


That's a big time investment
 

User avatar
Mito551
Member
 
Posts: 1271
Joined: Sat Jun 16, 2012 15:03
 

User avatar
PilzAdam
Member
 
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
Location: Germany
GitHub: PilzAdam
IRC: PilzAdam
 

User avatar
terminalerror
Member
 
Posts: 33
Joined: Tue Oct 30, 2012 22:46
Location: The Sar-Chasm

by terminalerror » Thu Nov 01, 2012 18:46

Yes, please do this for mobs! Sheep are not meant to be flat...
ERROR[main]: ModError: Failed to load and run a sarcastic remark.
 

User avatar
Mito551
Member
 
Posts: 1271
Joined: Sat Jun 16, 2012 15:03

by Mito551 » Thu Nov 01, 2012 19:37

terminalerror wrote:Yes, please do this for mobs! Sheep are not meant to be flat...


rats bug me more...
 

Josh
Member
 
Posts: 1146
Joined: Fri Jun 29, 2012 23:11
Location: Victoria, Australia

by Josh » Fri Nov 02, 2012 02:06

This look's cool! great job PilzAdam. I thought i could only be made in c++ how did you make it in lua?
Last edited by Josh on Fri Nov 02, 2012 02:17, edited 1 time in total.
 

User avatar
sfan5
Moderator
 
Posts: 3772
Joined: Wed Aug 24, 2011 09:44
Location: Germany
GitHub: sfan5
IRC: sfan5

by sfan5 » Fri Nov 02, 2012 07:00

Nice Mod!
You could make real 3d players with this
Mods: Mesecons | WorldEdit | Nuke & Minetest builds for Windows (32-bit & 64-bit)
 

User avatar
PilzAdam
Member
 
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
Location: Germany
GitHub: PilzAdam
IRC: PilzAdam

by PilzAdam » Fri Nov 02, 2012 09:14

Josh wrote:This look's cool! great job PilzAdam. I thought i could only be made in c++ how did you make it in lua?

With the same "wielditem" hack as for animals. You can use player:set_object_proberties() to change the visuals of the player (somehow like Lua entities).
 

User avatar
PilzAdam
Member
 
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
Location: Germany
GitHub: PilzAdam
IRC: PilzAdam

by PilzAdam » Fri Nov 02, 2012 09:14

sfan5 wrote:Nice Mod!
You could make real 3d players with this

Without animation...
 

breinzter11
Member
 
Posts: 39
Joined: Sat Sep 08, 2012 10:43

by breinzter11 » Fri Nov 02, 2012 13:03

Do you have another texture ??
 

User avatar
PilzAdam
Member
 
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
Location: Germany
GitHub: PilzAdam
IRC: PilzAdam

by PilzAdam » Fri Nov 02, 2012 13:06

breinzter11 wrote:Do you have another texture ??

With other textures you have to change the nodebox. Its easy (but very time intensive) so you can do it yourself. Go to the init.lua and put a 1 in the 2D table at the top for every pixel that is not transparent and a 0 for transparent pixels.
 

breinzter11
Member
 
Posts: 39
Joined: Sat Sep 08, 2012 10:43
 

User avatar
PilzAdam
Member
 
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
Location: Germany
GitHub: PilzAdam
IRC: PilzAdam

by PilzAdam » Fri Nov 02, 2012 13:15

breinzter11 wrote:i got error

This post is not very useful. Try to give more information.
 

Next

Return to Old Mods



Who is online

Users browsing this forum: No registered users and 0 guests