
Sceny
Joined: Nov 20, 2010
Awesome Faggot!
|
Posted: May 8, 2011 08:00 PM
Msg. 1 of 4
This afternoon out of pure boredom, i decided to give a modified marine ai, which now uses the cyborg biped, a energy sword. I've tried to get every file that is needed to make it actually use the weapon, but all attempts have failed. I was wondering if anyone had a solution to making it use the energy sword. Video of failing to use sword: http://www.xfire.com/video/4661ca/
|
|
|

SeanTheLawn
Joined: Sep 4, 2007
|
Posted: May 8, 2011 08:32 PM
Msg. 2 of 4
You'll need to modify the model so that it has an extra marker, "#melee". You might be able to use Kornman00's version of Guerilla to just duplicate and rename the right hand marker for that. You'll also need to edit the actor/actor variant tag to make it only use melee rather than ranged combat. Also, it looks like it needs an airborne idle animation for the sword (probably could just use the stand unarmed airborne animation). Lastly you'll need to assign a "stand melee" animation in the animations tag with a keyframe at the point where it would make contact.
|
|
|

Sceny
Joined: Nov 20, 2010
Awesome Faggot!
|
Posted: May 8, 2011 08:35 PM
Msg. 3 of 4
Shouldn't it already have those as its using the same animations as the player biped?
|
|
|

SeanTheLawn
Joined: Sep 4, 2007
|
Posted: May 8, 2011 08:41 PM
Msg. 4 of 4
The player biped was never meant for AI. That's why it doesn't have the #melee marker, as player melee does not use that. Also, the stock cyborg biped does not have animations for the sword so obviously your animations have been edited in some way to allow use of an energy sword, but someone forgot to assign an airborne idle animation. Edited by SeanTheLawn on May 8, 2011 at 08:41 PM
|
|
|