[Mod] 3d Armor form for mobile users [3d_armor_mobile]

Post Reply
User avatar
Lone_Wolf
Member
Posts: 2576
Joined: Sun Apr 09, 2017 05:50
GitHub: LoneWolfHT
IRC: LandarVargan
In-game: LandarVargan

[Mod] 3d Armor form for mobile users [3d_armor_mobile]

by Lone_Wolf » Post

3d Armor form for mobile users

Adds a command to bring up a formspec that allows mobile users to put on armor

Image

Downloads: Latest Stable

View: On ContentDB
View: Source Code

License: MIT

Depends: 3d_armor
Optional Depends: None

On quite a few servers there are players that can't access the tabs in sfinv due to their mobile device being too small.
The best way to fix this is to join a singleplayer world, grant yourself all privs. And run /set gui_scaling 0.8 (Or 0.7, I doubt it though). There is no official Minetest client for the Apple's App Store though. And I've tested with 34+ different clones. There is no way (That I know of. And I've tried quite a few things) to fix the gui scaling problem in those clones. Probably due to the versions mostly being 0.4.13.
One of the problems with the tabs not being visible for these players is the fact that 3d_armor has an armor tab which is used for changing armor. The players can't put on armor then. So I've made this mod with the hope that it will fix most mobile user's inability to put on armor.
Last edited by Lone_Wolf on Tue Feb 11, 2020 16:01, edited 3 times in total.

User avatar
TalkLounge
Member
Posts: 324
Joined: Sun Mar 26, 2017 12:42
GitHub: TalkLounge
In-game: TalkLounge
Location: Germany

Re: [Mod] 3d_armor mobile [3d_armor_mobile]

by TalkLounge » Post

Code: Select all

minetest.register_on_joinplayer(function(player)
local name = player:get_player_name()
end)
Why? xd
Subgames Server: Sky World Subgames German Survival Server: Wildes Land 2 E-Mail: talklounge@yahoo.de

User avatar
Stix
Member
Posts: 1385
Joined: Fri Aug 04, 2017 14:19
IRC: nil
In-game: Stix [+alts]
Location: USA

Re: [Mod] 3d_armor mobile [3d_armor_mobile]

by Stix » Post

Great idea! But really the best solution would be to have the official mobile client available on the Apple-store. Unfortunately this won't happen as Apple doesn't allow/respect the license MT uses.
Hey, what can i say? I'm the bad guy.

User avatar
Lone_Wolf
Member
Posts: 2576
Joined: Sun Apr 09, 2017 05:50
GitHub: LoneWolfHT
IRC: LandarVargan
In-game: LandarVargan

Re: [Mod] 3d_armor mobile [3d_armor_mobile]

by Lone_Wolf » Post

TalkLounge wrote:

Code: Select all

minetest.register_on_joinplayer(function(player)
local name = player:get_player_name()
end)
Why? xd
hmmm. I should look at the code again. I wrote this a year ago when I first started modding. I don't think I was thinking multiplayer at the time
I released it now to put it on the content db. Should have checked that
My ContentDB -|- Working on CaptureTheFlag -|- Minetest Forums Dark Theme!! (You need it)

Post Reply

Who is online

Users browsing this forum: No registered users and 30 guests