HomePortalFAQSearchMemberlistUsergroupsRegisterLog in
Meet the new KITO admins & hear their plans here.
You can use google search to find threads and posts here now. Example

Share | 
 

 Critters hitboxis off

Go down 
AuthorMessage
Tigg

avatar

Game username : Tigg
Server : Impressive Title by Tigg
Female Posts : 122
Join date : 2017-08-01
Age : 34
Location : Austria

PostSubject: Critters hitboxis off   Wed Apr 25, 2018 6:12 pm

So i have added some critters, their centerpoint in blender is in the middle of the mesh, along with the centerpoint of the armature.
But on some critters, their hitting box is set to attackList=-50,30,0,0,3
Now ehen it runs to you, its far away and hits you. I tried to decrease the number of 30 and even added a minus to it but that wont change that the hitbox is in front of the critter.
When i attack the prey i stand at the centerpoint, attack it and i hurt it. But when it attacks back it wont hurt me at all it doesnt even hit me. so its box is like in front of it.

hitbox Critter

[____] elephant

Only for like 3 critter i have. and all are made the same way as the others. i added more critters and it works fine on them :/

Any help?
Back to top Go down
http://www.tiggcreations.com
ThylaSteve

avatar

Game username : Steve
Server : It's a secret (for now)
Male Posts : 142
Join date : 2014-04-24
Age : 21
Location : In the shadows

PostSubject: Re: Critters hitboxis off   Wed Apr 25, 2018 7:14 pm

First thing I would check is the coordinates in object mode (and scale and rotation values). The coordinates of the object and skeleton should all be 0, and the scale should all be "1.000". If not, the mesh will have ingame defects. if you change the coordinates to what i suggested and it moves the critter out of place, change it back to the correct position/size in edit mode only.

If this is not the problem, then maybe there is a stray part of the mesh that is out of bounds. do you have ogre meshy? View the mesh in meshy and select "show bounding box" (drops down from the "view" tab). The measurements of the box should be about the same as the mesh it's self.

Should look something like this:
Spoiler:
 
If the box is much, much larger than the mesh it's self, or in a completely different spot, you will have to go back in blender and find/delete stray polygons that aren't intended to be a part of the mesh.

If it's not this either, do you mind posting the entire cd1 code for this particular critter? There could be an error.
Back to top Go down
Tigg

avatar

Game username : Tigg
Server : Impressive Title by Tigg
Female Posts : 122
Join date : 2017-08-01
Age : 34
Location : Austria

PostSubject: Re: Critters hitboxis off   Wed Apr 25, 2018 9:01 pm

THank you for all the suggestions.

I went to blender and cleared all scale, rotation and reset the coordinates.
That didnt do the thing.

Meshy views a perfectly nice box only arround the mesh x,x

I start to think i did somthing wrong but if so i cant find the problem.

Heres the whole cd1 info about that said critter:

[Cow]
mesh=moomoo
scale=0.5
maxSpeed=75
hp=2000
decisionMin=30
decisionDeviation=7
skillDrop=Tame,25
attackList=-50,10,0,0,0
sound=moohmooh.mp3

EDIT:
i even tried to just copypaste the cd1 info of another critter (except for the mesh part) and noope, even that wont work. I dont know whats happening x,x
Back to top Go down
http://www.tiggcreations.com
ThylaSteve

avatar

Game username : Steve
Server : It's a secret (for now)
Male Posts : 142
Join date : 2014-04-24
Age : 21
Location : In the shadows

PostSubject: Re: Critters hitboxis off   Wed Apr 25, 2018 10:41 pm

I doubt it's the cd1 then. If you are able to trust me, could you send me the blend file through pm?(would also like to know what version of blender you used).

If I find the cause of the problem, I will state my findings in this thread in case somebody else has this problem in the future.

If I am not allowed to look at the file, I'm not sure what else to suggest.

Edit: hold on, let me test out the cd1 code first to see if there is anything wrong with it at all
Edit2: tried it using wildebeest as the mesh and it worked fine. So it's not the cd1 entry.
Back to top Go down
Tigg

avatar

Game username : Tigg
Server : Impressive Title by Tigg
Female Posts : 122
Join date : 2017-08-01
Age : 34
Location : Austria

PostSubject: Re: Critters hitboxis off   Wed Apr 25, 2018 11:03 pm

I believe it IS something wrong in blender but i dunno what.
Id rather not share the blend file ^^`
But i can make screenshots of everything that you would need?
Im using blender 2.49 or was 2.5. I dont remember by now, im already in bed and just on phone x,x
Back to top Go down
http://www.tiggcreations.com
ThylaSteve

avatar

Game username : Steve
Server : It's a secret (for now)
Male Posts : 142
Join date : 2014-04-24
Age : 21
Location : In the shadows

PostSubject: Re: Critters hitboxis off   Wed Apr 25, 2018 11:08 pm

Sure, post the screenshots. I'm not experienced with that version of blender, but maybe i could still spot the problem. If not, maybe somebody else could.
Back to top Go down
lazyzim

™
avatar

Server : Dragon's Den
Male Posts : 758
Join date : 2011-11-27

PostSubject: Re: Critters hitboxis off   Thu Apr 26, 2018 11:50 am

attackList=-50,10,0,0,0

Increase the second number to 100 from 10 and observe the result.
Back to top Go down
Sponsored content




PostSubject: Re: Critters hitboxis off   

Back to top Go down
 
Critters hitboxis off
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Keeping I.T. Open :: SUPPORT :: Support-
Jump to: