Gamestudio Links
Zorro Links
Newest Posts
loading historical data 1st time
by AndrewAMD. 04/14/23 12:54
Trade at bar open
by juanex. 04/13/23 19:43
Bug in Highpass2 filter
by rki. 04/13/23 09:54
Adding Limit Orders For IB
by scatters. 04/11/23 16:16
FisherN
by rki. 04/11/23 08:38
AUM Magazine
Latest Screens
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Hecknex World
Who's Online Now
3 registered members (AndrewAMD, Grant, Neb), 908 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
rki, FranzIII, indonesiae, The_Judge, storrealba
18919 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
ent_vertex? #1624
03/27/01 13:22
03/27/01 13:22

A
Anonymous OP
Unregistered
Anonymous OP
Unregistered
A



I noticed in the magazine in hot features an idea of using the ent_vertex for attatching/combining animations as in player, player with sword, player with shield, player with sword and shield etc.

It was said that the models would need to be animated together, but saved sepperately...can someone help clarify this.

I'm picturing a player model, fully animated, and a non animated sword model that attatches to the vertex of the players hand. Why would they need to be animated together, wouldnt the sword work with any animated model, as long as it is attatched to the right vertex coords?

Am I lost?


Re: ent_vertex? #1625
03/27/01 22:30
03/27/01 22:30

A
Anonymous OP
Unregistered
Anonymous OP
Unregistered
A



nope that doesn't work cause a VERTEX has
no PAN TILT AND ROLL
only X,Y,Z

Re: ent_vertex? #1626
03/27/01 23:52
03/27/01 23:52

A
Anonymous OP
Unregistered
Anonymous OP
Unregistered
A



But you could calculate the Arm-Angle.

------------------
Sarkasmus, meine Lebenseinstellung


Re: ent_vertex? #1627
03/28/01 00:06
03/28/01 00:06

A
Anonymous OP
Unregistered
Anonymous OP
Unregistered
A



Take 2
If you have two vertices you can calculate
the angle between them easily.
This should help you to rotate the weapon in
the correct direction.

Re: ent_vertex? #1628
03/28/01 00:14
03/28/01 00:14

A
Anonymous OP
Unregistered
Anonymous OP
Unregistered
A



I put a script for this here in the Forum in January.

------------------
Sarkasmus, meine Lebenseinstellung


Re: ent_vertex? #1629
03/28/01 02:20
03/28/01 02:20
Joined: Mar 2001
Posts: 1,825
London, England
Keith B [Ambit] Offline
Expert
Keith B [Ambit]  Offline
Expert

Joined: Mar 2001
Posts: 1,825
London, England
Hi, Master PSCJ could you please tell me the title of the January thread you mentioned? I've done a search on your name and on ent_vertex and angle, but I can't find the thread with your script in... Or if possible maybe you could repost the script? Appreciated if you do, no probs if not.
Thanks.

Re: ent_vertex? #1630
03/28/01 04:16
03/28/01 04:16

A
Anonymous OP
Unregistered
Anonymous OP
Unregistered
A



So this brings up another question
Thanks by the way!

Can you specifically control or 'rename' a vertex number in the model editor?

Here is the theory.:
To have a model building standard for my game that requires all models to have vertices in key locations specificaly numbered. (right hand = 100, right forearm = 125, right elbow =150, left hand = 200, top of head =300, back of neck = 400, center of sternum = 500)

Then we can have armor and weapon items attatch to the model based on whether they are equipted or not.

Would this work, or is there no control over the numbering of vertices?

If there is no control, I suppose I could keep a text file that holds the vertice numbers for each key location, per model, and load it into an array when that model type is loaded, then I could refference the array for my ent_vertice functions....

If I attatch 2 points on a sword handle to 2 points on a hand (or one for that matter) would the sword take on the relative pitch and roll of the hand, or would I need to calculate it and animate the sword to match the hand motion?

I suppose I could model the sword so that the x,y,z, axis are identicle to the x,y,z axis of the forarm, based on 3 refference points, and set them to equal each other at run time for the proper angles on the sword.

Is there an easier solution for this? am I on the right track?

I am brand new to A5. I'm still reading the tutorials to find out how A5 deals with these things, so my ideas are pure theory at this point.

Thanks again for any advice!


Re: ent_vertex? #1631
03/28/01 08:52
03/28/01 08:52

A
Anonymous OP
Unregistered
Anonymous OP
Unregistered
A



Hi,

ASallade: There is no control over the numbering of vertices. But you are on right track .... the array ....

Heinz


Re: ent_vertex? #1632
03/30/01 11:16
03/30/01 11:16

A
Anonymous OP
Unregistered
Anonymous OP
Unregistered
A



This one is still an unknown for me...

>If I attatch 2 points on a sword handle to 2 points on a hand (or one for that matter) would the sword take on the relative pitch and roll of the hand, or would I need to calculate it and animate the sword to match the hand motion?

I suppose I could model the sword so that the x,y,z, axis are identicle to the x,y,z axis of the forarm, based on 3 refference points, and set them to equal each other at run time for the proper angles on the sword.

>
Does anyone have experience on this theory?


Re: ent_vertex? #1633
03/31/01 08:09
03/31/01 08:09

A
Anonymous OP
Unregistered
Anonymous OP
Unregistered
A



Yes I have. You would need to calculate it and animate the sword with the motion of the hand.

It works great.

Heinz


Page 1 of 2 1 2

Moderated by  HeelX, Spirit 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1