Try this.BlazeGamingUnltd wrote:How do you install this. I keep seeing the error that there is no such directory. Please reply!!!
viewtopic.php?f=46&t=10360
Try this.BlazeGamingUnltd wrote:How do you install this. I keep seeing the error that there is no such directory. Please reply!!!
I think this is how it works in MC, if I remember correctly.Wuzzy wrote:a group of monsters that is passive towards you, and they have group_attack=true, then you punch one of them, and that single punch kills the monster instantly, then the other monsters fail to attack you back!
The one shown here perhaps, post-347944?Lone_Wolf wrote:That cow mod someone posted...
Yep, thanks! Should have checked...WayBack Machine wrote:The one shown here perhaps, post-347944?Lone_Wolf wrote:That cow mod someone posted...
https://web.archive.org/web/20190405224 ... start=1725
Code: Select all
local line_of_sight=function(self, pos1, pos2, stepsize)
local ray=minetest.raycast(pos1, pos2, true, false)
local thing=ray:next()
while thing do
if thing.type=="object" and thing.ref~=self.object and not thing.ref:is_player() then return false end
if thing.type=="node" then
local name=minetest.get_node(thing.under).name
if minetest.registered_items[name].walkable then return false end
end
thing=ray:next()
end
return true
end
Hey TenPlus1, I'm just curious and thought you might know, is that a core engine limitation or something else?TenPlus1 wrote:Collision boxes do not rotate with an entity, so you would have to make one that covers the entire mob to stop it glitching into walls and such, and this would make it unusable in going through doors or fence gates and the like.
Code: Select all
2019-05-21 22:17:40: WARNING[Server]: ScriptApiBase::objectrefGetOrCreate(): Pushing ObjectRef to removed/deactivated object, this is probably a bug.
Code: Select all
self.tamed = true
self.owner = clicker:get_player_name()
mobs:capture_mob(self, clicker, 0, 100, 100, true, nil)
Code: Select all
if force_take == true then
begin
self.tamed = true
self.owner = ...
end
Users browsing this forum: No registered users and 39 guests