[MOD] Petz (petz) [mobs_redo|mobkit] (v5.12)

Santa Claus should be a killer or a friendly guy?

Poll runs till Tue Dec 10, 2019 19:57

Killer
4
57%
Friendly
3
43%
 
Total votes : 7

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

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

by runs » Fri Nov 01, 2019 21:01

Foxy won the poll!

Image
WIP

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

Any suggestion to this petz?
 

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

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

by Red_King_Cyclops » Fri Nov 01, 2019 21:13

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: 47
Joined: Thu Feb 28, 2019 23:29
In-game: ElCeejo

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

by ElCeejo » Sat Nov 02, 2019 07:50

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: 897
Joined: Sat Oct 27, 2018 08:32
GitHub: runsy

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

by runs » Sun Nov 03, 2019 00:35

v5.5
Foxy
Image
- Shy animal.
- Tamable with raw chicken.
- Ducky/Chicken/hamster hunter.
 

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

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

by runs » Sun Nov 03, 2019 12:32

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

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

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

by Rochambeau » Tue Nov 05, 2019 11:49

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: 897
Joined: Sat Oct 27, 2018 08:32
GitHub: runsy

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

by runs » Tue Nov 05, 2019 11:57

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.
 

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

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

by runs » Tue Nov 05, 2019 22:35

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.
 

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

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

by runs » Tue Nov 05, 2019 23:14

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.
 

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

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

by runs » Tue Nov 05, 2019 23:20

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.
 

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

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

by Termos » Wed Nov 06, 2019 19:24

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: 214
Joined: Mon Nov 05, 2018 19:15
Location: Crimea, Russia
In-game: Imk

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

by Imk » Wed Nov 06, 2019 21:19

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: 897
Joined: Sat Oct 27, 2018 08:32
GitHub: runsy

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

by runs » Wed Nov 06, 2019 22:40

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.
 

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

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

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

by Imk » Thu Nov 07, 2019 00:47

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 1 time
 

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

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

by runs » Thu Nov 07, 2019 15:02

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.
 

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

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

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

by Bread » Fri Nov 08, 2019 13:02

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: 897
Joined: Sat Oct 27, 2018 08:32
GitHub: runsy

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

by runs » Fri Nov 08, 2019 15:35

v5.7
- Fixed: Saddlebag button not accesible when not in tamagochi mode.
- Fixed: Sadlebag icon in form.
 

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

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

by CalebJ » Fri Nov 08, 2019 21:46

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: 897
Joined: Sat Oct 27, 2018 08:32
GitHub: runsy

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

by runs » Fri Nov 08, 2019 22:39

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.
 

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

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

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

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

by runs » Sun Nov 10, 2019 16:09

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.
 

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

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

by Red_King_Cyclops » Sun Nov 10, 2019 18:16

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.
 

PreviousNext

Return to WIP Mods



Who is online

Users browsing this forum: Norore and 5 guests