[Mod] Petz [v15.9] [petz]

Replace lamb with new models [viewtopic.php?p=372165#p372165]?

Yeah!
7
37%
Nope.
12
63%
 
Total votes: 19

User avatar
runs
Member
Posts: 1744
Joined: Sat Oct 27, 2018 08:32
GitHub: runsy

Re: [MOD] Petz (petz) [mobs_redo|mobkit] (v5.4)

by runs » Post

Foxy won the poll!

Image
WIP

My ideas:
- It loves to kill hens and ducks.

Any suggestion to this petz?
Day 42 of the quarantine

Red_King_Cyclops
Member
Posts: 299
Joined: Sun Jun 16, 2019 20:17
Location: Earth

Re: [MOD] Petz (petz) [mobs_redo|mobkit] (v5.4)

by Red_King_Cyclops » Post

runs wrote:Foxy won the poll!

Image
WIP

My ideas:
- It loves to kill hens and ducks.

Any suggestion to this petz?
Maybe you could base its behaviour off of domesticated foxes. I would imagine that it would behave similarly to a dog, but slightly more wild.
My best mods: space_travel, time_travel, and rocket.

User avatar
ElCeejo
Member
Posts: 68
Joined: Thu Feb 28, 2019 23:29
In-game: ElCeejo
Location: The darkest corner in your house

Re: [MOD] Petz (petz) [mobs_redo|mobkit] (v5.4)

by ElCeejo » Post

I think it should behave like a shy wolf. IRL Foxes are very skittish and won't attack anything bigger than themselves. So maybe it would attack hens and ducks, maybe hamsters, and run away from everything else.

User avatar
runs
Member
Posts: 1744
Joined: Sat Oct 27, 2018 08:32
GitHub: runsy

Re: [MOD] Petz (petz) [mobs_redo|mobkit] (v5.4)

by runs » Post

v5.5
Foxy
Image
- Shy animal.
- Tamable with raw chicken.
- Ducky/Chicken/hamster hunter.
Day 42 of the quarantine

User avatar
runs
Member
Posts: 1744
Joined: Sat Oct 27, 2018 08:32
GitHub: runsy

Re: [MOD] Petz (petz) [mobs_redo|mobkit] (v5.5)

by runs » Post

v5.5.4
- Foxy scaled down: small.
- Now Mr Pumpkin launches Jack-'o-lantern Grenades when attack.
Day 42 of the quarantine

Rochambeau
Member
Posts: 119
Joined: Tue Sep 23, 2014 11:37

Re: [MOD] Petz (petz) [mobs_redo|mobkit] (v5.5.4)

by Rochambeau » Post

With the current spawn mechanism, I only see petz when I stay in one place for some time.
When I explore new regions, I never meet any petz as long as I'm moving.
Could you please implement something like "register_on_generated" to spawn some mobs on world generation, so I could run into mobs while going where no man has gone before?

User avatar
runs
Member
Posts: 1744
Joined: Sat Oct 27, 2018 08:32
GitHub: runsy

Re: [MOD] Petz (petz) [mobs_redo|mobkit] (v5.5.4)

by runs » Post

Rochambeau wrote:With the current spawn mechanism, I only see petz when I stay in one place for some time.
When I explore new regions, I never meet any petz as long as I'm moving.
Could you please implement something like "register_on_generated" to spawn some mobs on world generation, so I could run into mobs while going where no man has gone before?
Yes, you have to await some time to mobs to appear in an area, and always if a player is on it. This is due to in the origin spawn point not to be quickly saturated of mobs when the game starts.

But that is a good idea, some mods generated when area loads and then generating more mobs slowly till the limit.
Day 42 of the quarantine

User avatar
runs
Member
Posts: 1744
Joined: Sat Oct 27, 2018 08:32
GitHub: runsy

Re: [MOD] Petz (petz) [mobs_redo|mobkit] (v5.5.4)

by runs » Post

Well, I've checked to spawn with register_on_generated and a lot of mobs could be really spawned, but the mapchuncks are so big (80x80x80 nodes) than mobs are very difficult to find. And a lot of entities would be in the map and could be never found by a player.

So it is preferable for efficiency reasons to leave the default spawn system. It is used in all mobs engines, the mob spawn system primarly depends on the players positions and directions.

If you want mobs appearing more quickly then reduce spawn_interval = 1, so you can see mobs even moving, or even increase the max_mobs setting in the 'petz.conf' file.
Last edited by runs on Tue Nov 05, 2019 23:16, edited 1 time in total.
Day 42 of the quarantine

User avatar
runs
Member
Posts: 1744
Joined: Sat Oct 27, 2018 08:32
GitHub: runsy

Re: [MOD] Petz (petz) [mobs_redo|mobkit] (v5.5.4)

by runs » Post

v5.6
- Added 'spawn_chance' setting in the 'petz.conf' file. Chance to spawn a mob if there are no other objects in area. 0.3 by default. Increase till 1 to get more mobs spawned.
Day 42 of the quarantine

User avatar
runs
Member
Posts: 1744
Joined: Sat Oct 27, 2018 08:32
GitHub: runsy

Re: [MOD] Petz (petz) [mobs_redo|mobkit] (v5.5.4)

by runs » Post

Rochambeau wrote:With the current spawn mechanism, I only see petz when I stay in one place for some time.
When I explore new regions, I never meet any petz as long as I'm moving.
Could you please implement something like "register_on_generated" to spawn some mobs on world generation, so I could run into mobs while going where no man has gone before?
Change spawn_chance = 1 and spawn_interval = 1 in petz.conf to solve it.
Day 42 of the quarantine

Termos
Member
Posts: 318
Joined: Sun Dec 16, 2018 12:50

Re: [MOD] Petz (petz) [mobs_redo|mobkit] (v5.6)

by Termos » Post

Maybe try experimenting with the reduction parameter of get_spawn_pos_abr, constant of 0.2 is quite low.
For example setting the chance reasonably high like 0.2 and reduction quite drastic like 0.95, this usually gets you the first spawn attempt within a minute, second mob per abr is way less likely, third should almost never happen.

User avatar
Imk
Member
Posts: 361
Joined: Mon Nov 05, 2018 19:15
In-game: Imk
Location: Crimea, Russia
Contact:

Re: [MOD] Petz (petz) [mobs_redo|mobkit] (v5.6)

by Imk » Post

petz-v5.1

Code: Select all

2019-11-06 21:37:55: ERROR[Main]: ServerError: AsyncErr: ServerThread::run Lua: Runtime error from mod 'petz' in callback luaentity_Step(): /home/imk/minetest/bin/../mods/mobkit/init.lua:871: Invalid float vector dimension range 'y' (expected -2.14748e+06 < y < 2.14748e+06 got -nan).
2019-11-06 21:37:55: ERROR[Main]: stack traceback:
2019-11-06 21:37:55: ERROR[Main]:       [C]: in function 'set_acceleration'
2019-11-06 21:37:55: ERROR[Main]:       /home/imk/minetest/bin/../mods/mobkit/init.lua:871: in function 'stepfunc'
2019-11-06 21:37:55: ERROR[Main]:       ...inetest/bin/../mods/petz/petz/petz/pigeon_mobkit.lua:82: in function <...inetest/bin/../mods/petz/petz/petz/pigeon_mobkit.lua:81>

User avatar
runs
Member
Posts: 1744
Joined: Sat Oct 27, 2018 08:32
GitHub: runsy

Re: [MOD] Petz (petz) [mobs_redo|mobkit] (v5.6)

by runs » Post

Imk wrote:petz-v5.1

Code: Select all

2019-11-06 21:37:55: ERROR[Main]: ServerError: AsyncErr: ServerThread::run Lua: Runtime error from mod 'petz' in callback luaentity_Step(): /home/imk/minetest/bin/../mods/mobkit/init.lua:871: Invalid float vector dimension range 'y' (expected -2.14748e+06 < y < 2.14748e+06 got -nan).
2019-11-06 21:37:55: ERROR[Main]: stack traceback:
2019-11-06 21:37:55: ERROR[Main]:       [C]: in function 'set_acceleration'
2019-11-06 21:37:55: ERROR[Main]:       /home/imk/minetest/bin/../mods/mobkit/init.lua:871: in function 'stepfunc'
2019-11-06 21:37:55: ERROR[Main]:       ...inetest/bin/../mods/petz/petz/petz/pigeon_mobkit.lua:82: in function <...inetest/bin/../mods/petz/petz/petz/pigeon_mobkit.lua:81>
Related:
https://forum.minetest.net/viewtopic.php?f=9&t=22112&start=225#p360208

It is a mobkit bug. Do an update to the latest mobkit an petz (5.6). It was solved.

Thanks for report.
Day 42 of the quarantine

User avatar
Imk
Member
Posts: 361
Joined: Mon Nov 05, 2018 19:15
In-game: Imk
Location: Crimea, Russia
Contact:

Re: [MOD] Petz (petz) [mobs_redo|mobkit] (v5.6)

by Imk » Post

ок

User avatar
Imk
Member
Posts: 361
Joined: Mon Nov 05, 2018 19:15
In-game: Imk
Location: Crimea, Russia
Contact:

Re: [MOD] Petz (petz) [mobs_redo|mobkit] (v5.6)

by Imk » Post

petz-5.6 (6 ‎ноября ‎2019 ‎г.) mobkit (‎2 ‎ноября ‎2019 ‎г)

Code: Select all

2019-11-07 02:29:48: ERROR[Main]: ServerError: AsyncErr: ServerThread::run Lua: Runtime error from mod 'default' in callback luaentity_Step(): /home/imk/minetest/bin/../mods/mobkit/init.lua:417: attempt to index field 'sounds' (a nil value)
2019-11-07 02:29:48: ERROR[Main]: stack traceback:
2019-11-07 02:29:48: ERROR[Main]:       /home/imk/minetest/bin/../mods/mobkit/init.lua:417: in function 'make_sound'
2019-11-07 02:29:48: ERROR[Main]:       ...mk/minetest/bin/../mods/petz/petz/api/api_on_die.lua:51: in function 'on_die'
2019-11-07 02:29:48: ERROR[Main]:       ...k/minetest/bin/../mods/petz/petz/misc/behaviours.lua:609: in function 'logic'
2019-11-07 02:29:48: ERROR[Main]:       /home/imk/minetest/bin/../mods/mobkit/init.lua:932: in function 'stepfunc'
2019-11-07 02:29:48: ERROR[Main]:       ...inetest/bin/../mods/petz/petz/petz/turtle_mobkit.lua:73: in function <...inetest/bin/../mods/petz/petz/petz/turtle_mobkit.lua:72>
Eran submitted a PR that fixes this https://github.com/TheTermos/mobkit/pull/9


locale rus v5.6
Attachments
petz.ru.zip
(3.23 KiB) Downloaded 6 times

User avatar
runs
Member
Posts: 1744
Joined: Sat Oct 27, 2018 08:32
GitHub: runsy

Re: [MOD] Petz (petz) [mobs_redo|mobkit] (v5.6)

by runs » Post

Imk wrote:petz-5.6 (6 ‎ноября ‎2019 ‎г.) mobkit (‎2 ‎ноября ‎2019 ‎г)

Code: Select all

2019-11-07 02:29:48: ERROR[Main]: ServerError: AsyncErr: ServerThread::run Lua: Runtime error from mod 'default' in callback luaentity_Step(): /home/imk/minetest/bin/../mods/mobkit/init.lua:417: attempt to index field 'sounds' (a nil value)
2019-11-07 02:29:48: ERROR[Main]: stack traceback:
2019-11-07 02:29:48: ERROR[Main]:       /home/imk/minetest/bin/../mods/mobkit/init.lua:417: in function 'make_sound'
2019-11-07 02:29:48: ERROR[Main]:       ...mk/minetest/bin/../mods/petz/petz/api/api_on_die.lua:51: in function 'on_die'
2019-11-07 02:29:48: ERROR[Main]:       ...k/minetest/bin/../mods/petz/petz/misc/behaviours.lua:609: in function 'logic'
2019-11-07 02:29:48: ERROR[Main]:       /home/imk/minetest/bin/../mods/mobkit/init.lua:932: in function 'stepfunc'
2019-11-07 02:29:48: ERROR[Main]:       ...inetest/bin/../mods/petz/petz/petz/turtle_mobkit.lua:73: in function <...inetest/bin/../mods/petz/petz/petz/turtle_mobkit.lua:72>
Eran submitted a PR that fixes this https://github.com/TheTermos/mobkit/pull/9


locale rus v5.6
OK.
Day 42 of the quarantine

User avatar
runs
Member
Posts: 1744
Joined: Sat Oct 27, 2018 08:32
GitHub: runsy

Re: [MOD] Petz (petz) [mobs_redo|mobkit] (v5.6)

by runs » Post

Vote for the next Petz in the first post!
Day 42 of the quarantine

Bread
Member
Posts: 39
Joined: Tue Mar 17, 2015 14:29

Re: [MOD] Petz (petz) [mobs_redo|mobkit] (v5.6)

by Bread » Post

It is hard to click Saddlebag icon when "tamagochi_mode = false".

Image


There is a Saddle icon on top of Saddlebag Inventory form.

Image
Attachments
petzcamel2.png
(129.57 KiB) Not downloaded yet
petzcamel1.png
(128.42 KiB) Not downloaded yet

User avatar
runs
Member
Posts: 1744
Joined: Sat Oct 27, 2018 08:32
GitHub: runsy

Re: [MOD] Petz (petz) [mobs_redo|mobkit] (v5.6)

by runs » Post

v5.7
- Fixed: Saddlebag button not accesible when not in tamagochi mode.
- Fixed: Sadlebag icon in form.
Day 42 of the quarantine

CalebJ
Member
Posts: 312
Joined: Sat Dec 29, 2018 19:21
GitHub: KaylebJay
IRC: KaylebJay
In-game: CalebJ
Location: Tunnelers' Abyss

Re: [MOD] Petz (petz) [mobs_redo|mobkit] (v5.7)

by CalebJ » Post

Hoping penguin will win the poll ... our snow flats are barren atm :-)
If you want realism, you're in the wrong place. Get off your mobile.

User avatar
runs
Member
Posts: 1744
Joined: Sat Oct 27, 2018 08:32
GitHub: runsy

Re: [MOD] Petz (petz) [mobs_redo|mobkit] (v5.7)

by runs » Post

CalebJ wrote:Hoping penguin will win the poll ... our snow flats are barren atm :-)
Yes, iced landscapes and deserts are that, inhospitable places in Minetest and Minecraft too. I hate when I spawn there.
Day 42 of the quarantine

User avatar
Melkor
Member
Posts: 358
Joined: Sat Sep 24, 2011 01:03
Location: Underground

Re: [MOD] Petz (petz) [mobs_redo|mobkit] (v5.7)

by Melkor » Post

No votes for the squirrel? here have one

User avatar
runs
Member
Posts: 1744
Joined: Sat Oct 27, 2018 08:32
GitHub: runsy

Re: [MOD] Petz (petz) [mobs_redo|mobkit] (v5.7)

by runs » Post

Penguin won the poll!!!
Image
Day 42 of the quarantine

User avatar
runs
Member
Posts: 1744
Joined: Sat Oct 27, 2018 08:32
GitHub: runsy

Re: [MOD] Petz (petz) [mobs_redo|mobkit] (v5.7)

by runs » Post

Image
Cooming in Christmas time.

- Two new mobs: Penguin and polar bear.
- Santa Killer comes to town to KILL you.
- A Christmas Chest with incorporated Christmas card.

Any suggestion to add related to winter/Christmas/artic? :-D
Last edited by runs on Sun Nov 10, 2019 23:17, edited 3 times in total.
Day 42 of the quarantine

Red_King_Cyclops
Member
Posts: 299
Joined: Sun Jun 16, 2019 20:17
Location: Earth

Re: [MOD] Petz (petz) [mobs_redo|mobkit] (v5.7)

by Red_King_Cyclops » Post

Why does Santa Claus want to kill me? I thought giving out coal was the worst thing he could do.
My best mods: space_travel, time_travel, and rocket.

Post Reply

Who is online

Users browsing this forum: No registered users and 10 guests