is there a way to shrink

Post Reply
cybervision
Member
Posts: 31
Joined: Wed Jan 10, 2018 05:45
GitHub: tonsb
In-game: cybervision

is there a way to shrink

by cybervision » Post

i would like to know if i can shrink in minetest

Byakuren
Member
Posts: 816
Joined: Tue Apr 14, 2015 01:59
GitHub: raymoo
IRC: Hijiri
In-game: Raymoo + Clownpiece

Re: is their a way to shrink

by Byakuren » Post

Not that I know of, though it should be possible to write such a mod with the dev version or in the next release.

I think someone tried to make an eat people mod before, but I don't think it got anywhere.
Every time a mod API is left undocumented, a koala dies.

cybervision
Member
Posts: 31
Joined: Wed Jan 10, 2018 05:45
GitHub: tonsb
In-game: cybervision

Re: is their a way to shrink

by cybervision » Post

ok thanks i am new to this so i am only making texture packs

User avatar
Hybrid Dog
Member
Posts: 2747
Joined: Thu Nov 01, 2012 12:46
GitHub: HybridDog

Re: is their a way to shrink

by Hybrid Dog » Post

Of course, you can shrink:

Code: Select all

minetest.get_player_by_name"singleplayer":set_properties{visual_size = {x=0.5, y=0.5}}
(untested, but should work)
I think you also should to reduce the collision box and camera height.

‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪

cybervision
Member
Posts: 31
Joined: Wed Jan 10, 2018 05:45
GitHub: tonsb
In-game: cybervision

Re: is there a way to shrink

by cybervision » Post

thanks a lot
how do i reduce collision box and camera height?

cybervision
Member
Posts: 31
Joined: Wed Jan 10, 2018 05:45
GitHub: tonsb
In-game: cybervision

Re: is their a way to shrink

by cybervision » Post

Hybrid Dog wrote:Of course, you can shrink:

Code: Select all

minetest.get_player_by_name"singleplayer":set_properties{visual_size = {x=0.5, y=0.5}}
(untested, but should work)
I think you also should to reduce the collision box and camera height.
How do i reduce the collision box and camera height
i am using the luacmd mod

User avatar
Hybrid Dog
Member
Posts: 2747
Joined: Thu Nov 01, 2012 12:46
GitHub: HybridDog

Re: is there a way to shrink

by Hybrid Dog » Post

For the collision box you can also use set_properties, to change the camera height you can use the eye offset function.
https://github.com/minetest/minetest/bl ... .txt#L3632
https://github.com/minetest/minetest/bl ... .txt#L3786

‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪

cybervision
Member
Posts: 31
Joined: Wed Jan 10, 2018 05:45
GitHub: tonsb
In-game: cybervision

Re: is there a way to shrink

by cybervision » Post

didn't work :(

User avatar
Hybrid Dog
Member
Posts: 2747
Joined: Thu Nov 01, 2012 12:46
GitHub: HybridDog

Re: is there a way to shrink

by Hybrid Dog » Post

What's the problem?

‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪

cybervision
Member
Posts: 31
Joined: Wed Jan 10, 2018 05:45
GitHub: tonsb
In-game: cybervision

Re: is there a way to shrink

by cybervision » Post

it just dosent work
it says invalid command

User avatar
paramat
Developer
Posts: 3619
Joined: Sun Oct 28, 2012 00:05
GitHub: paramat
IRC: paramat
Location: UK

Re: is there a way to shrink

by paramat » Post

Everything you need to enlarge or shrink the player (including custom camera height, step height, collisionbox etc.) has been added to MT 0.5 dev version so will be in MT 0.5 stable.

User avatar
Hybrid Dog
Member
Posts: 2747
Joined: Thu Nov 01, 2012 12:46
GitHub: HybridDog

Re: is there a way to shrink

by Hybrid Dog » Post

invalid command means it's unavailable I think
"/help lua" should show how to use it if it's there

‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪

cybervision
Member
Posts: 31
Joined: Wed Jan 10, 2018 05:45
GitHub: tonsb
In-game: cybervision

Re: is there a way to shrink

by cybervision » Post

thanks
Last edited by cybervision on Fri Feb 09, 2018 21:00, edited 1 time in total.

cybervision
Member
Posts: 31
Joined: Wed Jan 10, 2018 05:45
GitHub: tonsb
In-game: cybervision

Re: is there a way to shrink

by cybervision » Post

how do i get 5.0

User avatar
Hybrid Dog
Member
Posts: 2747
Joined: Thu Nov 01, 2012 12:46
GitHub: HybridDog

Re: is there a way to shrink

by Hybrid Dog » Post

What do you mean?

‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪

cybervision
Member
Posts: 31
Joined: Wed Jan 10, 2018 05:45
GitHub: tonsb
In-game: cybervision

Re: is there a way to shrink

by cybervision » Post

i mean how do i get 0.5 update or has it not come out yet

User avatar
GreenXenith
Member
Posts: 1311
Joined: Wed Oct 28, 2015 01:26
GitHub: GreenXenith
IRC: GreenXenith
In-game: GreenXenith
Location: SCP-3008
Contact:

Re: is there a way to shrink

by GreenXenith » Post

You need to compile it yourself from GitHub. This is harder to do on Windows machines, fyi.
Y▹uTube | Mods | Patre●n | Twitter | Minetest Discord | GreenXenith#3232

Hey, you. You're finally awake.
You were trying to view their profile, right? Found the rest of their signature, same as us, and that guest over there.

cybervision
Member
Posts: 31
Joined: Wed Jan 10, 2018 05:45
GitHub: tonsb
In-game: cybervision

Re: is there a way to shrink

by cybervision » Post

i run linux mint
and how do i compile it

User avatar
paramat
Developer
Posts: 3619
Joined: Sun Oct 28, 2012 00:05
GitHub: paramat
IRC: paramat
Location: UK

Re: is there a way to shrink

by paramat » Post

Compiling is easy on Linux, instructions are in the README of the engine repository at Github.

User avatar
Hybrid Dog
Member
Posts: 2747
Joined: Thu Nov 01, 2012 12:46
GitHub: HybridDog

Re: is there a way to shrink

by Hybrid Dog » Post

you can also add the daily minetest ppa:
https://code.launchpad.net/~minetestdev ... ly-builds/

‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪

cybervision
Member
Posts: 31
Joined: Wed Jan 10, 2018 05:45
GitHub: tonsb
In-game: cybervision

Re: is there a way to shrink

by cybervision » Post

thanks

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests