Search found 341 matches

by Termos
Sun Nov 17, 2019 15:29
Forum: WIP Mods
Topic: Mobkit - Entity API [mobkit][alpha]
Replies: 503
Views: 36336

Re: Mobkit - Entity API [mobkit][alpha]

The code below is when a mob dies. The collisionbox is changed. I do not what it does, it was a suggestion from you. local props = self.object:get_properties() props.collisionbox[2] = props.collisionbox[1] self.object:set_properties({collisionbox=props.collisionbox}) Somebody must have been on pige...
by Termos
Sun Nov 17, 2019 12:34
Forum: Mod Releases
Topic: [Mod] Petz [v17] [petz]
Replies: 1119
Views: 72629

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

Please try today's mobkit update and let me know if it helped.
by Termos
Sun Nov 17, 2019 11:43
Forum: WIP Mods
Topic: Mobkit - Entity API [mobkit][alpha]
Replies: 503
Views: 36336

Re: Mobkit - Entity API [mobkit][alpha]

Collissionbox is OK. Initial value might look allright, but mobkit is definitely receiving a zero height box, that's the only way division by zero can occur. The colbox could be modified later on, also minetest set_properties() isn't bug free. Anyway, dimension of 0 makes no sense as far as physics...
by Termos
Sat Nov 16, 2019 21:40
Forum: WIP Mods
Topic: Mobkit - Entity API [mobkit][alpha]
Replies: 503
Views: 36336

Re: Mobkit - Entity API [mobkit][alpha]

runs wrote: A mobkit error, but can be caused by a follow or run away behaviour in flying mobs.
The only way this could happen is if a collisionbox had height of zero. I bet that's unintended, if this is the case please make sure your mobs collsionbox y is nonzero.
by Termos
Sat Nov 16, 2019 17:47
Forum: WIP Mods
Topic: [mod] Sailing Kit [sailing_kit][wip]
Replies: 15
Views: 2259

Re: [mod] Sailing Kit [sailing_kit][wip]

Update 191116

changes:
  • fixed turn rate
    previously due to certain operations on dtime turn rate on some servers could be slower than intended, now it should be consistent regardless of server performance.

    fixed undeclared global variable warning
This update requires latest mobkit as well
by Termos
Sat Nov 16, 2019 12:26
Forum: WIP Mods
Topic: Mobkit - Entity API [mobkit][alpha]
Replies: 503
Views: 36336

Re: Mobkit - Entity API [mobkit][alpha]

I set static_save to false, so when a mapblock is unloaded they will vanish. Still they seem to be staying forever on ZT. The demo wasn't intended to run on servers as is, I hope Extex doesn't mind if I package his model into another more server friendly demo. A fluidly flying mob? It's about time....
by Termos
Fri Nov 15, 2019 11:48
Forum: WIP Mods
Topic: Mobkit - Entity API [mobkit][alpha]
Replies: 503
Views: 36336

Re: Mobkit - Entity API [mobkit][alpha]

Well, is done! This one I could reposition. How do you do that there are no keyframes just that neat diamond chart? https://forum.minetest.net/download/file.php?mode=view&id=20549&sid=f0c30e7c88c20f423297b2275731c0a3 What I had to do: rotate it 180 around Z so it's facing the right way (for...
by Termos
Thu Nov 14, 2019 20:29
Forum: WIP Mods
Topic: Mobkit - Entity API [mobkit][alpha]
Replies: 503
Views: 36336

Re: Mobkit - Entity API [mobkit][alpha]

Thanks, that worked. Now it is running on Zombietest. That's unexpected ;), I hope you enabled timeout at least, so they don't stay forever. P.S. Do you think could help me fix the rigging on my eagle? I'll see what i can do :) If you guys don't mind my opinion, I think it would be best if the pivo...
by Termos
Wed Nov 13, 2019 18:35
Forum: WIP Mods
Topic: Mobkit - Entity API [mobkit][alpha]
Replies: 503
Views: 36336

Re: Mobkit - Entity API [mobkit][alpha]

Gundul wrote:attempt to call field 'cross' (a nil value)
I forgot, vector cross product has been introduced in 5.1.0

To make it work in an older version quick, copy over vector.cross function from 5.1.0's builtin/common/vector.lua
by Termos
Wed Nov 13, 2019 11:48
Forum: WIP Mods
Topic: Mobkit - Entity API [mobkit][alpha]
Replies: 503
Views: 36336

Re: Mobkit - Entity API [mobkit][alpha]

Assignment to undeclared global Yup, my bad. Update 191113 should fix it. ____________________________________________________________________ For those whom this may concern: download the flight preview: aerotest.zip https://forum.minetest.net/download/file.php?mode=view&id=20537&sid=7b9e4...
by Termos
Wed Nov 13, 2019 11:05
Forum: WIP Mods
Topic: Mobkit - Entity API [mobkit][alpha]
Replies: 503
Views: 36336

Re: Mobkit - Entity API [mobkit][alpha]

zombies were not always damaged by a player punching (they could not be always knocked back). And also they sometimes hover instead of attacking. Zombies can only be killed if hit on the head with a stone tool or better. Tool range is reduced so if you have object selections boxes on it may be misl...
by Termos
Sun Nov 10, 2019 18:36
Forum: Mod Releases
Topic: [Mod] Petz [v17] [petz]
Replies: 1119
Views: 72629

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

Red_King_Cyclops wrote:Why does Santa Claus want to kill me? I thought giving out coal was the worst thing he could do.
You must have been naughty.
by Termos
Thu Nov 07, 2019 20:05
Forum: WIP Mods
Topic: Mobkit - Entity API [mobkit][alpha]
Replies: 503
Views: 36336

Re: Mobkit - Entity API [mobkit][alpha]

Looks like I won't get away without another bugfix release before flight mechanics, so: Update 191107 changes: thanks to Eran: all newly improved make_sound() added gain, fade and pitch control, the parameters can also be randomized within specified range. In addition to that multiple entries can be...
by Termos
Thu Nov 07, 2019 12:32
Forum: WIP Mods
Topic: Mobkit - Entity API [mobkit][alpha]
Replies: 503
Views: 36336

Re: Mobkit - Entity API [mobkit][alpha]

I've submitted a PR that fixes this https://github.com/TheTermos/mobkit/pull/9 Thanks, I'm out on the road so I just merged it blind, hope it works. https://forum.minetest.net/download/file.php?mode=view&id=20490&sid=c3b47bc5fea170fae0ef79448317b746 Looks great to me. So, can I have it? ;)
by Termos
Wed Nov 06, 2019 19:24
Forum: Mod Releases
Topic: [Mod] Petz [v17] [petz]
Replies: 1119
Views: 72629

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

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...
by Termos
Wed Nov 06, 2019 19:05
Forum: WIP Mods
Topic: Mobkit - Entity API [mobkit][alpha]
Replies: 503
Views: 36336

Re: Mobkit - Entity API [mobkit][alpha]

Extex wrote:I have a video of the eagle flapping and the gif is too big to upload
I'd try importing it into gimp and exporting it back, it should compress the hell out of it. Or record with something that uses compression, I'm using Gifcam.
by Termos
Tue Nov 05, 2019 11:32
Forum: WIP Mods
Topic: Mobkit - Entity API [mobkit][alpha]
Replies: 503
Views: 36336

Re: Mobkit - Entity API [mobkit][alpha]

I've proposed mobkit philosophy as a solution to the Minetest mob dead-end. Thanks, I'm curious where that conversation is gonna go. P.S. How do you do you gifs? The most important part is having as much still background as possible to keep the size small, so stationary camera, if there's water I s...
by Termos
Mon Nov 04, 2019 19:22
Forum: WIP Mods
Topic: Mobkit - Entity API [mobkit][alpha]
Replies: 503
Views: 36336

Re: Mobkit - Entity API [mobkit][alpha]

Is there a way to use different animation for a mob in special behaviours ? Let's say for example eagles when they see some pray and change from circling to attack. Which means no wing movement but shoot straight down to the earth. Yup. I'm implementing this as a low level behavior. One of the para...
by Termos
Mon Nov 04, 2019 12:01
Forum: WIP Mods
Topic: Mobkit - Entity API [mobkit][alpha]
Replies: 503
Views: 36336

Re: Mobkit - Entity API [mobkit][alpha]

I will try. But a flag is required to difference between pure aquatic and semiaquatic mobs, if they share the same behaviour. Not necessarily, if transitions are separate behaviors then pure mobs simply won't think of doing them (that is their logic never initiate these behaviors) Of course there a...
by Termos
Mon Nov 04, 2019 11:02
Forum: WIP Mods
Topic: Mobkit - Entity API [mobkit][alpha]
Replies: 503
Views: 36336

Re: Mobkit - Entity API [mobkit][alpha]

My suggestion is to maybe have a "toggle" (Like fears_land or fears_water) so that some mobs won't avoid going in/out of water. Mobkit differs significantly in this regard to typical MT mob mods where you have a ready to go code and toggle switches. This is an api that gives you infinitel...
by Termos
Sun Nov 03, 2019 19:25
Forum: WIP Mods
Topic: Mobkit - Entity API [mobkit][alpha]
Replies: 503
Views: 36336

Re: Mobkit - Entity API [mobkit][alpha]

Extex wrote:Image
Perfect!
Now onto the most important part, wings:
can you please make sure that with the wings spread, wing span is slightly greater than body length?
by Termos
Sat Nov 02, 2019 20:44
Forum: WIP Mods
Topic: Mobkit - Entity API [mobkit][alpha]
Replies: 503
Views: 36336

Re: Mobkit - Entity API [mobkit][alpha]

Extex wrote: But what do you think of it so far?
Looks great to me, the beak too.

The thing I'd change is the tail,
it would look better in flight if spread horizontally,
and in rest position if pointing slightly down.
by Termos
Thu Oct 31, 2019 22:09
Forum: WIP Mods
Topic: Mobkit - Entity API [mobkit][alpha]
Replies: 503
Views: 36336

Re: Mobkit - Entity API [mobkit][alpha]

The model appears a bit simplistic. I can try to make one for you as soon as the power gets turned back on where my computer is Yeah, this is primarily about flight mechanics, the model is just a placeholder really. Actually it could be great if you tried making a bird model with flapping wings ani...
by Termos
Thu Oct 31, 2019 12:29
Forum: WIP Mods
Topic: Mobkit - Entity API [mobkit][alpha]
Replies: 503
Views: 36336

Re: Mobkit - Entity API [mobkit][alpha]

Coming up next

Image
by Termos
Tue Oct 29, 2019 10:12
Forum: WIP Mods
Topic: Mobkit - Entity API [mobkit][alpha]
Replies: 503
Views: 36336

Re: Mobkit - Entity API [mobkit][alpha]

Actually the limit applies to each acceleration component (x,y and z) Please ignore the function for now, I'm working on a better way of preventing extremities. It is essential to know the difference between velocity and acceleration, the former is actual momentary value, the latter is how velocity ...