View unanswered posts | View active topics


Post a new topicPost a reply
Previous topic | Next topic 

  Beginner BeginnerMember since: 18.10.2011, 19:32Posts: 92Location: germany Likes: 0
 

 Post Topic: how to stick an entity to another entity
PostPosted 20.05.2012, 13:55 
hello!
my question is: how to make throwing knife in the free sdk via flowgraph? i already have the flowgraph for throwing it, but how how can i make that the knife sticks to the first object it touched?i have tried to set the damping up to 9999 that worked, but when i throwed it to a grunt the animation stopped till the knife was away.i dont know but probably the knife must stick to the bone of the grunt?and if it so, what i must do? :)) i have seen that is possible (archery mod for free sdk) but it wasnt released now :unsure:

User avatar   Beginner BeginnerMember since: 13.08.2008, 14:45Posts: 51Location: USA Likes: 0
 

 Post Topic: Re: how to stick an entity to another entity
PostPosted 20.05.2012, 17:09 
I do not work with the FreeSDK.
I would like to see the new stuff in that SDK added to Crysis2 ModSDK.

To help you out, try placing the knife where you want it to be on the map after throwing it.
In the FG that you have, put a knife entity node, hide it at start, and unhide it after throwing the knife.
It sounds like the knife that is thrown disappears from the map after the animation.

Hope this Helps!


My Current Projects:
Demo Flight
Battle Zone
Convoy
AI Initiative Action
Cooperative Animation System
9 single player level projects are now available.
Learn CryEngine3 with Crysis2 MODSDK – Enhance your learning with FREESDK !
  Beginner BeginnerMember since: 18.10.2011, 19:32Posts: 92Location: germany Likes: 0
 

 Post Topic: Re: how to stick an entity to another entity
PostPosted 20.05.2012, 17:36 
thank you but that isnt the problem, the problem is that when i throw the knife it dont diappear or so, but look: in that video the arrows hit the grunt and get stucked and the grunt falling down
http://www.crydev.net/viewtopic.php?f=308&p=957873#p957873
in my case the knife get stucked too but when it hits the grunt, its like the grunt get "freezed"
i mean he doesnt move anymore till i have resetted the knife
probably i have to use a constraint object? and not to set the damping to 999?
its a little bit difficult to explain that
another thing: the knife is not animated. i meant, when the grunt turn into ragdoll mode and the knife get stucked the grunt freezes
here a video:
http://youtu.be/RDF0AYT-ekw
User avatar   Beginner BeginnerMember since: 13.08.2008, 14:45Posts: 51Location: USA Likes: 0
 

 Post Topic: Re: how to stick an entity to another entity
PostPosted 21.05.2012, 00:07 
I am sorry I could not help.
Good Luck!!


My Current Projects:
Demo Flight
Battle Zone
Convoy
AI Initiative Action
Cooperative Animation System
9 single player level projects are now available.
Learn CryEngine3 with Crysis2 MODSDK – Enhance your learning with FREESDK !
User avatar   Hardcore Modder Hardcore ModderMember since: 16.06.2010, 11:41Posts: 867Location: West Lafayette, Indiana Likes: 0
 

 Post Topic: Re: how to stick an entity to another entity
PostPosted 21.05.2012, 07:26 
It's not hard, when it hits, just use the Entity:AttachChild node.


BEWARE: Flaming aliens are generally more grumpy than normal ones.
  Beginner BeginnerMember since: 18.10.2011, 19:32Posts: 92Location: germany Likes: 0
 

 Post Topic: Re: how to stick an entity to another entity
PostPosted 21.05.2012, 10:59 
thank you! :)) :))
but have you an example please? so how you get the object id of the object that the knife hits? ?(
User avatar   Beginner BeginnerMember since: 30.05.2012, 06:27Posts: 1 Likes: 0
 

 Post Topic: Re: how to stick an entity to another entity
PostPosted 30.05.2012, 06:30 
hi imnew here and i found it interesting..i agree to u da3dsoul good idea :)

___________________

“A man of courage never needs weapons like camillus, but he may need bail.”
Man Of Courage: ninjakid


Last edited by ninjakid on 02.06.2012, 07:39, edited 1 time in total.
User avatar   Hardcore Modder Hardcore ModderMember since: 16.06.2010, 11:41Posts: 867Location: West Lafayette, Indiana Likes: 0
 

 Post Topic: Re: how to stick an entity to another entity
PostPosted 30.05.2012, 20:33 
Hmmmm... I think I'd need to make a custom flownode for that.


BEWARE: Flaming aliens are generally more grumpy than normal ones.
  Trainee TraineeMember since: 23.02.2012, 02:47Posts: 101 Likes: 0
 

 Post Topic: Re: how to stick an entity to another entity
PostPosted 08.06.2012, 02:28 
There's like a node in the Crysis subgroup that allows it. I forget exactly what it's called though.
  Beginner BeginnerMember since: 18.10.2011, 19:32Posts: 92Location: germany Likes: 0
 

 Post Topic: Re: how to stick an entity to another entity
PostPosted 08.06.2012, 18:52 
i have tried the flownode "crysis:hitinfo" but the knife isnt a projectile, but i think the solution is to create a new bullet type and not via flowgraph so have someone an idea how that new bullet type have to look ? :)
User avatar   Hardcore Modder Hardcore ModderMember since: 16.06.2010, 11:41Posts: 867Location: West Lafayette, Indiana Likes: 0
 

 Post Topic: Re: how to stick an entity to another entity
PostPosted 09.06.2012, 16:29 
projectile id applies to all ammo types, even those without the "Projectile" type


BEWARE: Flaming aliens are generally more grumpy than normal ones.