3rd person view

For people working on the C++ code.
User avatar
stormchaser3000
Member
Posts: 420
Joined: Sun Oct 06, 2013 21:02
GitHub: stormchaser3000

by stormchaser3000 » Post

BlockMen wrote:
4aiman wrote:@ Blockmen:
How can I see animations?
Logging in with another account.
With this patch animations are broken. And in the 3rd person animations are broken too.
W/o this patch animation's "ok".
ok, now you have proven that you cant differ between single- and multiplayer mode, congrats.


@Amaz, if you are still interested in this patch, its rebased and improved now, also it should compile without any problems. But keep in mind, that the animations in multiplayer dont work since no server is using this patch yet and therefore your client has not information how to animate your player.


EDIT: And a new win-build https://www.dropbox.com/s/jlpzolw5wurst ... .9-tpv.zip

exept my server and iluvpeeps7's server because those servers run off of a previos build of 3rd person


EDIT: nvm i tried and this did not work with the two servers i mentioned
Last edited by stormchaser3000 on Tue Apr 08, 2014 21:05, edited 1 time in total.

User avatar
BlockMen
Developer
Posts: 768
Joined: Fri Mar 01, 2013 17:24
GitHub: BlockMen
Location: Germany

by BlockMen » Post

stormchaser3000 wrote:
BlockMen wrote:
4aiman wrote:@ Blockmen:
How can I see animations?
Logging in with another account.
With this patch animations are broken. And in the 3rd person animations are broken too.
W/o this patch animation's "ok".
ok, now you have proven that you cant differ between single- and multiplayer mode, congrats.


@Amaz, if you are still interested in this patch, its rebased and improved now, also it should compile without any problems. But keep in mind, that the animations in multiplayer dont work since no server is using this patch yet and therefore your client has not information how to animate your player.


EDIT: And a new win-build https://www.dropbox.com/s/jlpzolw5wurst ... .9-tpv.zip

exept my server and iluvpeeps7's server because those servers run off of a previos build of 3rd person


EDIT: nvm i tried and this did not work with the two servers i mentioned
The way of sending the animation frames to the client has changed and is more flexible now. After updating your server make sure that this get called when player joins

Code: Select all

player:set_local_animation({x=0, y=79}, {x=168, y=187}, {x=189, y=198}, {x=200, y=219}, 30)
or simply use the minetest_game in that last win build.

User avatar
Inocudom
Member
Posts: 3096
Joined: Sat Sep 29, 2012 01:14
IRC: Inocudom
In-game: Inocudom

by Inocudom » Post

Could you show the link to this patch to Fess and explain to him how to compile it in his 64-bit builds?
You can now find my videos at BitChute: https://www.bitchute.com/channel/some_cheeky_jinuskian/

User avatar
BlockMen
Developer
Posts: 768
Joined: Fri Mar 01, 2013 17:24
GitHub: BlockMen
Location: Germany

by BlockMen » Post

Inocudom wrote:Could you show the link to this patch to Fess and explain to him how to compile it in his 64-bit builds?
There is nothing special about the compiling. Just ask him to compile this branch: https://github.com/BlockMen/minetest/tr ... erson_view

User avatar
BrunoMine
Member
Posts: 1073
Joined: Thu Apr 25, 2013 17:29
GitHub: BrunoMine
Location: SP-Brasil
Contact:

by BrunoMine » Post

There is a version for linux?
My small square universe under construction ... Minemacro
Comunidade Minetest Brasil
www.minetestbrasil.com

User avatar
hoodedice
Member
Posts: 1374
Joined: Sat Jul 06, 2013 06:33
GitHub: hoodedice
IRC: hoodedice
In-game: hoodedice
Location: world
Contact:

by hoodedice » Post

brunob.santos wrote:There is a version for linux?
No, but I can compile it for *buntu
7:42 PM - Bauglio: I think if you go to staples you could steal firmware from a fax machine that would run better than win10 does on any platform
7:42 PM - Bauglio: so fudge the stable build
7:43 PM - Bauglio: get the staple build

User avatar
BrunoMine
Member
Posts: 1073
Joined: Thu Apr 25, 2013 17:29
GitHub: BrunoMine
Location: SP-Brasil
Contact:

by BrunoMine » Post

hoodedice wrote:
brunob.santos wrote:There is a version for linux?
No, but I can compile it for *buntu
Please! I'll be happy
My small square universe under construction ... Minemacro
Comunidade Minetest Brasil
www.minetestbrasil.com

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

by MirceaKitsune » Post

Although I really hate to invalidate another developer's work, I made another patch which offers both the ability for a 3rd person view and a lot more features. I added a Lua function which can specify a position / rotation / FOV offset for the camera, making it practical for many mods. Code from here might be helpful to improve the local player model however, which is currently still networked in my patch.

For those interested, see this thread. A choice between it and this might have to be taken sadly.
Last edited by MirceaKitsune on Thu Apr 10, 2014 16:09, edited 1 time in total.

User avatar
hoodedice
Member
Posts: 1374
Joined: Sat Jul 06, 2013 06:33
GitHub: hoodedice
IRC: hoodedice
In-game: hoodedice
Location: world
Contact:

by hoodedice » Post

brunob.santos wrote:
hoodedice wrote:
brunob.santos wrote:There is a version for linux?
No, but I can compile it for *buntu
Please! I'll be happy
Opened up Xubuntu after a long time; Seems like it is only 5 days to 14.04, so I'll build after Trusty is out.
7:42 PM - Bauglio: I think if you go to staples you could steal firmware from a fax machine that would run better than win10 does on any platform
7:42 PM - Bauglio: so fudge the stable build
7:43 PM - Bauglio: get the staple build

User avatar
gsmanners
Member
Posts: 159
Joined: Fri Jan 10, 2014 21:37

by gsmanners » Post

/me prepares to apt-get dist-upgrade

User avatar
Johnyknowhow
Member
Posts: 358
Joined: Fri Sep 21, 2012 15:17
In-game: Minetestian
Location: Washington, USA

Re: 3rd person view

by Johnyknowhow » Post

Is this going to be in 4.10?

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

Re: 3rd person view

by sfan5 » Post

Johnyknowhow wrote:Is this going to be in 4.10?
Of course, this was already added to the dev versions.
Mods: Mesecons | WorldEdit | Nuke & Minetest builds for Windows (32-bit & 64-bit)

User avatar
Calinou
Moderator
Posts: 3164
Joined: Mon Aug 01, 2011 14:26
GitHub: Calinou
IRC: Calinou
In-game: Calinou
Location: Troyes, France
Contact:

Re: 3rd person view

by Calinou » Post

Johnyknowhow wrote:Is this going to be in 4.10?
Yes!

http://dev.minetest.net/Changelog

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest