News:

Welcome to World of Banished!

Main Menu

Changing trees in the naturalresourcetree file... animations??

Started by Necora, March 21, 2017, 03:56:43 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

RedKetchup

Luke had no idea to make animations ^^

he did a certain way and made the code to make work his attempts lol
> > > Support Mods Creation developments with Donations by Paypal  < < <
Click here to Donate by PayPal .

kid1293

Yes, you're right. He wrote the graphics code himself,
that's why we can't get standard stuff into it. Sad facts.  :(
There are so many nice animated models out there I want to use.

RedKetchup

Quote from: kid1293 on March 24, 2017, 01:54:51 AM

There are so many nice animated models out there I want to use.

no kidding :(
all the animated animals !!
> > > Support Mods Creation developments with Donations by Paypal  < < <
Click here to Donate by PayPal .

kid1293


RedKetchup

> > > Support Mods Creation developments with Donations by Paypal  < < <
Click here to Donate by PayPal .

embx61

Hi guys
long time not see.

Had a long break from modding but I am slowly trying to come back to it.

ShockPuppet did some animations on some animals in CC so there must be a way to do it with a purchased animal. ( I guess that BL bought the animals)
I purchased an animated wild boar mesh a good while ago but was not able to make chocolate out of it so send the files to Kralyerg so BL could use it but it seems like they not get it to work. (yet) as it is months ago I send the files and did not hear anything yet.

No big deal as the mesh was pretty cheap but my guess is that Shock must have found a way to put some animated animals in the game.
[size=8pt][color=teal]My beloved Kathy
As you were you will always be
Treasured forever in my memory[/color][/size]

[size=10pt]For my list of Mods with download links go here[/size]

RedKetchup

Quote from: embx61 on March 24, 2017, 11:42:30 AM
Hi guys
long time not see.

Had a long break from modding but I am slowly trying to come back to it.

ShockPuppet did some animations on some animals in CC so there must be a way to do it with a purchased animal. ( I guess that BL bought the animals)
I purchased an animated wild boar mesh a good while ago but was not able to make chocolate out of it so send the files to Kralyerg so BL could use it but it seems like they not get it to work. (yet) as it is months ago I send the files and did not hear anything yet.

No big deal as the mesh was pretty cheap but my guess is that Shock must have found a way to put some animated animals in the game.

oh yeah but he had to delete everything but the animal and redo everything, like the cows i bought. was animated, got to delete and redo the skellie (bones) and then redo the animations frames.

yes it is possible but the way it works for banished is not the same as usual
> > > Support Mods Creation developments with Donations by Paypal  < < <
Click here to Donate by PayPal .

Bartender

So essentially, unless Shock decides to sit down for a week to write us an extensive tutorial, we're not going to get anywhere?

RedKetchup

Quote from: Bartender on March 24, 2017, 03:18:08 PM
So essentially, unless Shock decides to sit down for a week to write us an extensive tutorial, we're not going to get anywhere?

we are not going anywhere :(

unless you are enough intelligent to understand how luke make it work (and shock succeed to make it work as Luke did)
personally my IQ is not enough big to understand ^^
> > > Support Mods Creation developments with Donations by Paypal  < < <
Click here to Donate by PayPal .

RedKetchup

so since i am making some trees for the asian theme....

and i was looking at the animation part...



so far personally ....

the toolkit accept my code... the toolkit doesnt bug me but .... the falling animation isnt happening in game

oh and in my resource file the animation is ON:

ModelDescription model
{
    MeshGroup _meshes
    [
        {
            AnimationGroup _animations = "Models\JapaneseBambooTree1Anims.rsc";
            GraphicsMesh _mesh [ "Models\JapaneseBambooTree1Mesh.rsc" ]
        }
    ]

    int _displayIndex = 0;
    int _subIndex = 0;   
    bool _randomIndex = false;
}


and



    bool _animated = true;
    Time _preAnimateTime = 6.0;
    Time _postAnimateTime = 3.0;   
    ToolType _toolType = Axe;






my tree anim file set 3 points:

AnimationGroup resource
{
    Animation _animations
    [
        {
            String _meshName = "Models\JapaneseBambooTree1Mesh.rsc"; String _sourceName = "Models\JapaneseBambooTree1.fbx";
            String _name = "Fall";
            int _startFrame = 0;
            int _endFrame = 60;
            float _rate = 15.000000;
            bool _looping = false;
        }
        {
            String _meshName = "Models\JapaneseBambooTree1Mesh.rsc"; String _sourceName = "Models\JapaneseBambooTree1.fbx";
            String _name = "Sink";
            int _startFrame = 60;
            int _endFrame = 150;
            float _rate = 15.000000;
            bool _looping = false;
        }
        {
            String _meshName = "Models\JapaneseBambooTree1Mesh.rsc"; String _sourceName = "Models\JapaneseBambooTree1.fbx";
            String _name = "Remove";
            int _startFrame = 0;
            int _endFrame = 150;
            float _rate = 15.000000;
            bool _looping = false;
        }
    ]
}



it find the Fall and the Remove at 0 , and the Sink at 60.
and this is probably why it doesnt bug me when i compile but ....


in game ... the tree disappear and it is not actually falling



for info at 60 = screen 2 , at 90 = screen 3 and at 150 = screen 4.



i dunno what i am missing
> > > Support Mods Creation developments with Donations by Paypal  < < <
Click here to Donate by PayPal .

Necora

@RedKetchup  that is similar to what I did for my first bunch of trees, linked them to my own anims file. I think the maple tree I made was using the fig example and still had the camera and things from that. This meant it didn't crash, but wasn't animated.

Bartender

I applaud your bravery for trying to figure this out @RedKetchup  ;).

I expect that the only way it will work is if you use the exact same way of animating as Luke used in the originals. I don't understand much of 3DSMax, but it seems that your models don't have a bone structure? From what I could see in the FigTree.fbx, his trees seem to have bones.



RedKetchup

Quote from: Bartender on March 31, 2017, 12:47:18 AM
I applaud your bravery for trying to figure this out @RedKetchup  ;).

I expect that the only way it will work is if you use the exact same way of animating as Luke used in the originals. I don't understand much of 3DSMax, but it seems that your models don't have a bone structure? From what I could see in the FigTree.fbx, his trees seem to have bones.

i dont know, when i load figtree.fbx i dont see bones. usually 3dsmax should show them to me :S
unless it is again a non conventionnal .... bones :S
> > > Support Mods Creation developments with Donations by Paypal  < < <
Click here to Donate by PayPal .

Bartender

That's odd, when I load it in Blender it does show me an armature (see the screenshot).

RedKetchup

> > > Support Mods Creation developments with Donations by Paypal  < < <
Click here to Donate by PayPal .