|
|
|
ilovegamemaking  |
Beginner | Member since: 18.10.2011, 19:32 | Posts: 92 | Location: germany |
Likes: 0 |
| |
|
Post Topic: how to stick an entity to another entity Posted 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
|
|
|
|
|
|
|
|
 |
ridgeline  |
Beginner | Member since: 13.08.2008, 14:45 | Posts: 49 | Location: USA |
Likes: 0 |
| |
|
Post Topic: Re: how to stick an entity to another entity Posted 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 6 single player level projects are now available. Learn CryEngine3 with Crysis2 MODSDK – Enhance your learning with FREESDK !
|
|
|
|
|
|
|
ilovegamemaking  |
Beginner | Member since: 18.10.2011, 19:32 | Posts: 92 | Location: germany |
Likes: 0 |
| |
|
Post Topic: Re: how to stick an entity to another entity Posted 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#p957873in 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
|
|
|
|
|
|
|
 |
ridgeline  |
Beginner | Member since: 13.08.2008, 14:45 | Posts: 49 | Location: USA |
Likes: 0 |
| |
|
Post Topic: Re: how to stick an entity to another entity Posted 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 6 single player level projects are now available. Learn CryEngine3 with Crysis2 MODSDK – Enhance your learning with FREESDK !
|
|
|
|
|
|
|
 |
da3dsoul  |
Hardcore Modder | Member since: 16.06.2010, 11:41 | Posts: 862 | Location: West Lafayette, Indiana |
Likes: 0 |
| |
|
Post Topic: Re: how to stick an entity to another entity Posted 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.
|
|
|
|
|
|
|
ilovegamemaking  |
Beginner | Member since: 18.10.2011, 19:32 | Posts: 92 | Location: germany |
Likes: 0 |
| |
|
Post Topic: Re: how to stick an entity to another entity Posted 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?
|
|
|
|
|
|
|
 |
ninjakid  |
Beginner | Member since: 30.05.2012, 06:27 | Posts: 1 |
Likes: 0 |
| |
|
Post Topic: Re: how to stick an entity to another entity Posted 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.
|
|
|
|
|
|
|
 |
da3dsoul  |
Hardcore Modder | Member since: 16.06.2010, 11:41 | Posts: 862 | Location: West Lafayette, Indiana |
Likes: 0 |
| |
|
Post Topic: Re: how to stick an entity to another entity Posted 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.
|
|
|
|
|
|
|
JasoLon  |
Trainee | Member since: 23.02.2012, 02:47 | Posts: 101 |
Likes: 0 |
| |
|
Post Topic: Re: how to stick an entity to another entity Posted 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.
|
|
|
|
|
|
|
ilovegamemaking  |
Beginner | Member since: 18.10.2011, 19:32 | Posts: 92 | Location: germany |
Likes: 0 |
| |
|
Post Topic: Re: how to stick an entity to another entity Posted 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 ?
|
|
|
|
|
|
|
 |
da3dsoul  |
Hardcore Modder | Member since: 16.06.2010, 11:41 | Posts: 862 | Location: West Lafayette, Indiana |
Likes: 0 |
| |
|
Post Topic: Re: how to stick an entity to another entity Posted 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.
|
|
|
|
|