long range weapons

Anything related to Wolfire Games and/or its products
User avatar
Endoperez
Posts: 5668
Joined: Sun Jan 11, 2009 7:41 am
Location: cold and dark and lovely Finland

Re: long range weapons

Post by Endoperez » Sat Aug 20, 2011 4:30 pm

Yeah, it's probably something like that. Perhaps it's using the position of right hand as origo or something like that? That'd leave the head in a pretty weird angle.

User avatar
Korban3
Posts: 4146
Joined: Tue May 31, 2011 9:14 pm
Location: 42nd St E, Hell

Re: long range weapons

Post by Korban3 » Sat Aug 20, 2011 11:11 pm

Yeah. I think the attachment system is set up for weapons alone, so that might be it. That was what I was planning to use for the mount system. I was going to use David's code to treat the player like a weapon and attach them to the mount's spine bone.

User avatar
Endoperez
Posts: 5668
Joined: Sun Jan 11, 2009 7:41 am
Location: cold and dark and lovely Finland

Re: long range weapons

Post by Endoperez » Sun Aug 21, 2011 3:58 am

There is a command for attaching an item, which is independent from the weapon pick up code. It's only used for picking up weapons so far, though.

However, I don't think you can use that, since it probably needs an XML file defined as a dynamic item with an attachment point, and characters don't have that.

It is possible to animate several characters at once, like in the Judo throw, but I don't know how that is done.

User avatar
Korban3
Posts: 4146
Joined: Tue May 31, 2011 9:14 pm
Location: 42nd St E, Hell

Re: long range weapons

Post by Korban3 » Sun Aug 21, 2011 1:46 pm

*Sigh*
I have to write new code now. Oh well, I need the experience.

MarkHill256
Posts: 1
Joined: Wed Nov 23, 2011 12:39 am

Re: long range weapons

Post by MarkHill256 » Sun Nov 27, 2011 8:13 pm

Perhaps it's using the position of right hand as origo or something like that?

Post Reply