Torchmodders

Mod Projects => Kva3imoda's Playground => Topic started by: Kva3imoda on February 03, 2015, 04:30:02 pm


Title: *.ANIMATION features
Post by: Kva3imoda on February 03, 2015, 04:30:02 pm
I decided to create this topic to collect useful information, questions and solutions.

First I will discuss my problem.  :)
I need to show/hide this cannon holder, for my TT Knight.

(http://i.imgur.com/GBmfFZj.jpg)

Until wardrobe, I used these commands. This works fine for non-wardrobed models.
Code: [Select]
[KEY]
<STRING>NAME:HIDE MATERIAL
<FLOAT>FRAME:10
<STRING>LAYOUT:holder
[KEY]
<STRING>NAME:SHOW MATERIAL
<FLOAT>FRAME:15
<STRING>LAYOUT:holder
[/KEY]

But it does not work with wardrobe.  :-[ (may be necessary to use other names or structure)
I decided to use another method - Particles.
Now I can summon this Holder-Particle when changing weapons, but how to remove it when changing animation?

Earlier, I wanted to use a  Particle duration = Animation duration. Like this:
Code: [Select]
[KEY]
<STRING>NAME:SPAWNPARTICLE_STOP_ON_DEATH
<FLOAT>FRAME:0
<STRING>LAYOUT:media\particles\ttk\c_holder.layout
<STRING>BONE:Bip01 L Hand
[BONEOFFSET]
<FLOAT>X:0
<FLOAT>Y:0
<FLOAT>Z:0
[/BONEOFFSET]
[/KEY]

But today
I found this command:

Code: [Select]
<STRING>NAME:REMOVEANIMATIONPARTICLES
but have not tried it yet.  :) Would it work?
Title: Re: *.ANIMATION features
Post by: Kva3imoda on February 05, 2015, 03:14:16 am
but have not tried it yet.  :) Would it work?
I tried it! Works fine, as I need.  ;D

test video: http://www.youtube.com/watch?v=Ijo93UObXuI&feature=youtu.be

Similar method I suggested to use for the Alchemist - сreate particles "E-gauntlet". This particles could have a different look and depend on the type of weapon (ie. depend on an animation. These E-Gauntlets could look absolutely amazing. Rotating gears/rings/ beams/embers, any color and configuration - it all depends on our imagination).

Regarding my TTK, I still want to find a way to hide/show wardrobe parts.  :-[ The reason - the color of the holder, for one particle is always one color.
Title: Re: *.ANIMATION features
Post by: Kva3imoda on February 05, 2015, 03:50:09 am
But it does not work with wardrobe.  :-[
Damn, checked again - this works fine!  ???

(http://i.imgur.com/FjxnQJ2.jpg)

Looks like I made a mistake somewhere before. Hooray - it solves all my problems!  :D Now I can make a variety of death - the explosions with disappearing parts!

In any case, we can always continue experimenting with E-gauntlets.  ;)
Title: Re: *.ANIMATION features
Post by: Vkoslak on February 05, 2015, 04:01:33 pm
That is pretty neat.  I'll have to find an excuse to use this.
Title: Re: *.ANIMATION features
Post by: Kva3imoda on February 05, 2015, 08:54:04 pm
Hey Vkoslak. If you will have any questions, I am ready to help. I have some experience with models, wardrobe, etc.