Model's constraints

Get some help with creating maps or modding.
Need a map editor or other tools, look here!
User avatar
Moro_Nick
Trained
Trained
Posts: 66
Joined: 07 Jan 2009, 21:41

Re: Model's constraints

Post by Moro_Nick »

the last several posts in the following thread may be of some relevance:

viewtopic.php?f=5&t=3337&p=39124#p39124

Edit: ahhh. i get it now. good to know. alas, pattern recognition can take up the slack for a host of lacuna & deficiencies, leading like a homing missile to the sage value of waste not, want not. it all comes out in the wash with exquisite karmic pungency. :...:
Last edited by Moro_Nick on 16 Oct 2009, 12:15, edited 1 time in total.
User avatar
MaNGusT
Art contributor
Posts: 1154
Joined: 22 Sep 2006, 10:31
Location: Russia

Re: Model's constraints

Post by MaNGusT »

Per wrote:Meshes other than the first are controlled by the animation "scripts". If you want them to display but not animate, I believe you need a dummy animation file.
It doesn't work. :(
AR.wz
You do not have the required permissions to view the files attached to this post.
Image
Per
Warzone 2100 Team Member
Warzone 2100 Team Member
Posts: 3780
Joined: 03 Aug 2006, 19:39

Re: Model's constraints

Post by Per »

MaNGusT wrote:Ok, another question. How can I tell to the game when I want to start the animation and when I want to stop? or do we have only the cyclic animation?
Currently only cyclic.

I'll try to look at the issue more closely this weekend.
User avatar
XANAX
Trained
Trained
Posts: 189
Joined: 09 Jul 2009, 22:05

Re: Model's constraints

Post by XANAX »

you may have to set up the models like the standard cyborgs
one pie file is the animation & the other is the stationary
but difference is that the left and right of the props

so we would need
wheels.ani
wheels_driving.pie (1left - 1right)
wheels_stationary.pie (1left - 1right)


5 files in total

6 files if you need 2 .ani files for left and right
User avatar
virgilglyph
Trained
Trained
Posts: 33
Joined: 11 Jun 2008, 13:01

Re: Model's constraints

Post by virgilglyph »

Per
Warzone 2100 Team Member
Warzone 2100 Team Member
Posts: 3780
Joined: 03 Aug 2006, 19:39

Re: Model's constraints

Post by Per »

Looks like the types of animations are hard-coded, so adding ANIM_3D_TRANS animations to droids will require code changes. The animation code really screams for a rewrite. I will look at solutions, but it will take some time.

Sorry.
User avatar
MaNGusT
Art contributor
Posts: 1154
Joined: 22 Sep 2006, 10:31
Location: Russia

Re: Model's constraints

Post by MaNGusT »

Per wrote:Looks like the types of animations are hard-coded, so adding ANIM_3D_TRANS animations to droids will require code changes. The animation code really screams for a rewrite. I will look at solutions, but it will take some time.

Sorry.
Thank you. It's better than nothing. :)
Image
Per
Warzone 2100 Team Member
Warzone 2100 Team Member
Posts: 3780
Joined: 03 Aug 2006, 19:39

Re: Model's constraints

Post by Per »

Question to you artists - what tool do you use to convert your models to PIE files? The blender plugin, the 3ds2pie program, or something else?
User avatar
MaNGusT
Art contributor
Posts: 1154
Joined: 22 Sep 2006, 10:31
Location: Russia

Re: Model's constraints

Post by MaNGusT »

Per wrote:Question to you artists - what tool do you use to convert your models to PIE files? The blender plugin, the 3ds2pie program, or something else?
the blender plugin.
Image
User avatar
astorian
Trained
Trained
Posts: 159
Joined: 29 Jun 2009, 12:26

Re: Model's constraints

Post by astorian »

Per wrote:Looks like the types of animations are hard-coded, so adding ANIM_3D_TRANS animations to droids will require code changes. The animation code really screams for a rewrite. I will look at solutions, but it will take some time.

Sorry.
I have tested both animation types on the cyborgs - working. I am glad you are looking into it.
Per wrote:Question to you artists - what tool do you use to convert your models to PIE files? The blender plugin, the 3ds2pie program, or something else?
blender plugin